CN1411198A - Method of detecting and restoring lost data in radio communication and its system - Google Patents

Method of detecting and restoring lost data in radio communication and its system Download PDF

Info

Publication number
CN1411198A
CN1411198A CN 01140871 CN01140871A CN1411198A CN 1411198 A CN1411198 A CN 1411198A CN 01140871 CN01140871 CN 01140871 CN 01140871 A CN01140871 A CN 01140871A CN 1411198 A CN1411198 A CN 1411198A
Authority
CN
China
Prior art keywords
frame
data
wireless signal
receiving system
signal receiving
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
CN 01140871
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.)
Elan Microelectronics Corp
Original Assignee
Elan Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Elan Microelectronics Corp filed Critical Elan Microelectronics Corp
Priority to CN 01140871 priority Critical patent/CN1411198A/en
Publication of CN1411198A publication Critical patent/CN1411198A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and system for data lost detection and recover is to add data sequential identification code column in wireless communication data frame, expressing the sequential number of the said data from, by which a wireless signal receiving device examines the data sequential identification code value of the received data frame to see if the last data frame received by the wireless signal receiver is a continuous one to decide if the said data frame is continuous, if so it shows on data lost, then to decode the data packet of the received data frame then transfer the decoded data to the host. If the data frame is not continuous, which expresses data lost than to send out alarm signal and informs users the data lost problem, or the wireless signal receiving device sends repeat request to the send terminal for resending the data.

Description

The method and system of the detection of loss of data and recovery in the radio communication
Technical field
The invention relates to the method and system of data loss detection and recovery in radio communication, particularly about in the Frame of radio communication, adding data sequence identification code (data sequenceidentification) field, represent the sequence numbering (sequence number) of this Frame, so that when receiving terminal receives data, the problem that judges whether loss of data takes place, and when the problem of loss of data takes place, recover the data of losing.
Technical background
On present electronic correlation product, use radio input device (wireless input device) to come the basic tool of importing as the user, in vogue gradually along with the high level of development of wireless communication technology.The radio input device major part is to adopt the radio wave (RF) or the transmission means of infrared ray (IR), and is electrically connected between the wireless signal receiving system of main frame (as PC) and communicates.Because radio input device is to adopt wireless signal to carry out the transmission of data to replace traditional cable (cable), therefore have advantages such as easy to carry and transmission speed be fast.
Fig. 1 a represents to use radio input device to carry out the system schematic that uni-directional wireless is communicated by letter with the wireless signal receiving system.In Fig. 1 a, radio input device 11 comprises input 111, data is imported from input 111 for the user.After the user imports data from input 111, just can trigger a series of data-signal and produce.These data-signals convert these data-signals to scan code (scan code) by microcontroller 113 after being stored in input block 112 (can be FIFObuffer) earlier again.The encoder (not shown) that microcontroller 113 includes is with these scan code codings, and the information format that makes the data of wishing transmission form Frame (data frame) sends.After the program of digital coding was finished, the Frame that is produced just can be sent to radio communication sending module 114, was that carrier wave passes through passage 14 (representing with arrow in the drawings) wireless signal is sent with wireless signals such as radio wave or infrared rays.At the same time, the Frame that is sent out also can be recorded in the memory 115 of radio input device 11, for example in the push-up storage (FIFO memory).
Behind the wireless signal process channel transfer that is loaded with Frame, just can receive via wireless signal receiving system 12.After the radio communication receiver module 121 of wireless signal receiving system 12 receives the wireless signal that is transmitted, just can decode to the packet in the Frame according to the operation program of being stored (this program can be stored in the memory as buffer 124) by the decoder (not shown) in the microcontroller 122, coded data bag is reduced into original data content.After decoding finished, original data just can be sent to data on the main frame 13 by cable 15 from wireless signal receiving system 12.The operation that main frame 13 just can be correlated with according to the data that sent.
Yet, if comprise mistake in the packet that microcontroller 122 is found to be received in the process of Data Receiving and decoding, then microcontroller 122 just can drive alarm signal generation device 125 (can be buzzer) and send alarm signal, and the alarm user has the problem of data error to produce.
Fig. 1 b represents to use radio input device and wireless signal receiving system to carry out the system schematic of two-way wireless communication.The represented wireless communication system of Fig. 1 b is similar to Fig. 1 a, but because of it is two-way communication, so in radio input device 11 and wireless signal receiving system 12, also comprise radio communication receiver module 116 and radio communication sending module 123 respectively.When mistake having occurred in the process of Data Receiving and decoding, microcontroller 122 just can send the control signal that comprises error message, is sent to radio input device 11 by radio communication sending module 123.After the radio communication receiver module 116 of radio input device 11 receives this control signal, just can handle according to the error message content in this control signal.
Fig. 2 represents the form of Frame in the radio communication.Data frame structure in radio communication comprises header (preamble) 21, opens beginning bit (start bit) 22, device identification code (deviceID) 23, the packet (data packet) 24 that the back is and then to be transmitted as shown in the figure.Caudal end place at packet 24, it then is data error error detecting code 25, can be inspection summation (checksum) data value, parity check (parity check) data value or the Cyclic Redundancy Check data value of this packet, whether comprise mistake in order to the content of checking packet.What follow later at data error error detecting code 25 is end bit (stop bit) 26, the end of representative data frame.
See also Fig. 3.If the user then has four Frame A, B, C, D and is sent out away at transmitting terminal in four data of radio input device input.In the process of transfer of data, if be subjected to ectocines such as spurious signal interference, and cause Frame C in data transmission procedure, to lose or damage, will cause receiving terminal can't receive Frame C.But by above-mentioned data error detection technique, receiving terminal only can detect the mistake in the received packet, and can't detect the error of loss of data or damage.Therefore, receiving terminal can't be learnt the information of loss of data or damage, the data loss problem that the user also has no way of understanding in the data transmission procedure and occurred.
In view of the defective of prior art skill, the applicant thinks the detection of loss of data in a kind of radio communication of its necessary exploitation and the method and system of recovery, to overcome the problem that prior art is run into.
Summary of the invention
Whether therefore, one object of the present invention is to develop the data loss detection method in a kind of radio communication, have the problem of loss of data to take place in the radio communication when receiving data to judge.
Another object of the present invention is to develop the loss of data restoration methods in a kind of radio communication, with the data of recovering to be lost in the radio communication.
Another purpose of the present invention is to develop a kind of wireless communication system, and whether can be operated to detect has the problem of loss of data to take place when receiving data in the radio communication.
A further object of the present invention is to develop a kind of wireless communication system, can be operated the data of being lost in the radio communication to recover.
Whether another purpose more of the present invention is to provide a kind of data frame structure of communication protocol, can have the problem of loss of data to take place in the radio communication when receiving data for judging.
According to a first aspect of the invention, in radio communication, provide a kind of in order to detect the method for loss of data, this method comprises the following step: receiving data frames in the wireless signal receiving system, wherein this Frame comprises a sequence numbering representing this Frame, and the sequence numbering of this wireless signal receiving system received data frame is represented in this wireless signal receiving system storage; Whether the sequence numbering of this Frame of representative that relatively this Frame comprised is identical with the sequence numbering of this wireless signal receiving system received data frame of representative that this wireless signal receiving system is stored, and whether comprises loss of data to judge this radio communication.
According to above-mentioned first aspect, this method also comprises the following step: if the sequence numbering of this wireless signal receiving system received data frame of representative that the sequence numbering of this Frame of representative that this Frame comprised and this wireless signal receiving system are stored is different, then send an alarm signal from this wireless signal receiving system; The sequence numbering of this wireless signal receiving system received data frame of representative that this wireless signal receiving system is stored adds one and be stored in this wireless signal receiving system; And the decoded packet data that is comprised in this Frame become a series of data-signals, and this data-signal is sent to main frame by this wireless signal receiving system.
And if the sequence numbering of this wireless signal receiving system received data frame of representative that the sequence numbering of this Frame of representative that this Frame comprised and this wireless signal receiving system are stored is different, this wireless signal device transmits a control signal to radio input device, makes this radio input device retransmit this Frame to this wireless signal receiving system.
According to a second aspect of the invention, in radio communication, method in order to recover data losses, this method comprises the following step: receive a Frame at the wireless signal receiving system, wherein this Frame comprises a sequence numbering representing this Frame, and a sequence numbering of this wireless signal receiving system received data frame is represented in this wireless signal receiving system storage; Whether the sequence numbering of this Frame of representative that relatively this Frame comprised is identical with the sequence numbering of this wireless signal receiving system received data frame of representative that this wireless signal receiving system is stored; And if the sequence numbering of this wireless signal receiving system received data frame of representative of being stored of the sequence numbering of this Frame of representative that this Frame comprised and this wireless signal receiving system is different, transmit a control signal to radio input device from this wireless signal receiving system, make this radio input device transmit this Frame to this wireless signal receiving system.
According to above-mentioned second aspect, this method also comprises the following step: the sequence numbering of this wireless signal receiving system received data frame of representative that this wireless signal receiving system is stored adds one and be stored in this wireless signal receiving system; And the decoded packet data that is comprised in this Frame become a series of data-signals, and this data-signal is sent to main frame by this wireless signal receiving system.
According to a third aspect of the invention we, a kind of wireless communication system, comprise a radio input device, can be operated to become the wireless signal that Frame and emission are loaded with Frame to encoding from the data-signal of this radio input device input, this Frame comprises a sequence numbering representing this Frame; A passage is in order to transmit this wireless signal; And radio receiver, the sequence numbering of this wireless signal receiving system received data frame is represented in storage, it can be operated the Frame that receives from this passage, and relatively whether this Frame comprises a sequence numbering representing this Frame and stores with this wireless signal receiving system and represent the sequence numbering of this wireless signal receiving system received data frame identical, and when this Frame comprise a sequence numbering representing this Frame and this wireless signal receiving system store represent this wireless signal receiving system received data frame sequence numbering not simultaneously, send an alarm signal.
According to the above-mentioned third aspect, this radio input device comprises an input and imports a data-signal for the user, an input block, a FIFO buffer (FIFO buffer) for example, in order to store this data-signal, microcontroller with encoder, in order to this data-signal is encoded into a Frame, a wireless signal sending module, in order to send out this wireless signal that is loaded with Frame, and a memory, a push-up storage (FIFO memory) for example is in order to write down the Frame that this radio input device sends.
According to the above-mentioned third aspect, this wireless signal receiving system comprises a wireless signal receiver module, in order to receive wireless signal from this passage, microcontroller with decoder is in order to be decoded into a series of data-signal to a packet that is comprised in this Frame, a buffer, represent the sequence numbering of this wireless signal receiving system received data frame in order to storage, and an alarm signal generation device, buzzer for example is in order to produce this alarm signal.
In addition, this wireless communication system also comprises a main frame, and PC for example is in order to be electrically connected to this wireless signal receiving system, in order to receive and to handle these a series of data-signals with cable.
According to a forth aspect of the invention, a kind of wireless communication system, this system comprises a radio input device, can be operated with data-signal and be encoded into the wireless signal that a Frame and emission are loaded with this Frame this radio input device input certainly, and receive a control signal, wherein this Frame comprises a sequence numbering representing this Frame; A passage is in order to transmit this wireless signal; And wireless signal receiving system, the sequence numbering of this wireless signal receiving system received data frame is represented in storage, it can be operated from wireless signal of this passage receiving data frames and transmission, and relatively this Frame whether comprise the sequence numbering that sequence numbering representing this Frame and this wireless signal receiving system store this wireless signal receiving system received data frame identical, and when this Frame comprises sequence numbering that a sequence numbering representing this Frame and this wireless signal receiving system store this wireless signal receiving system received data frame not simultaneously, send a control signal to this radio input device, make this radio input device transmit this Frame to this wireless signal receiving system.
According to above-mentioned fourth aspect, this radio input device comprises an input and imports a data-signal for the user, an input block, a FIFO buffer (FIFO buffer) for example, in order to store this data-signal, microcontroller with encoder, in order to this data-signal is encoded into a Frame, a radio communication sending module is in order to send out this wireless signal that is loaded with Frame, a radio communication receiver module, in order to receive this control signal, and a memory, a push-up storage (FIFO memory) for example is in order to write down the Frame that this radio input device sends.
According to above-mentioned fourth aspect, this wireless signal receiving system comprises a radio communication receiver module, in order to receive the wireless signal that is loaded with this Frame from this passage, a radio communication sending module, in order to send this control signal, microcontroller with decoder, in order to the packet that this Frame comprised is decoded into a series of data-signal, a buffer, represent the sequence numbering of this wireless signal receiving system received data frame in order to storage, and an alarm signal generation device, a buzzer for example is in order to produce this alarm signal.
In addition, this wireless communication system also comprises a main frame, and PC for example is in order to be electrically connected to this wireless signal receiving system, to receive and to handle these a series of data-signals with cable.
According to a fifth aspect of the invention, the data frame structure in a kind of communication protocol is characterized in that this data frame structure comprises a field, and a sequence numbering of this Frame is represented in storage, in order in a radio communication, judges whether this Frame is lost.
Wherein, this data frame structure also comprises a field, represents the data error detected value of this Frame, in order in this radio communication, judges whether the packet that this Frame comprises comprises mistake.And this data error detected value comprises inspection summation (checksum) data value or parity check (parity check) data value or Cyclic Redundancy Check data value.
Description of drawings
By will more deep understanding being arranged to above-mentioned each purpose of the present invention and advantage and characteristics below in conjunction with the description of accompanying drawing, wherein each accompanying drawing is:
Figure 1A represents to use radio input device to carry out the system schematic that uni-directional wireless is communicated by letter with the wireless signal receiving system;
Figure 1B represents to use radio input device and wireless signal receiving system to carry out the system schematic of two-way wireless communication;
Fig. 2 represents the schematic diagram of the data frame format of known radio communication;
Fig. 3 represents the schematic diagram of the transfer of data of known radio communication;
Fig. 4 represents the schematic diagram according to the data frame format of radio communication of the present invention;
Fig. 5 represents the schematic diagram according to the transfer of data of radio communication of the present invention;
Fig. 6 A and Fig. 6 B represent that uni-directional wireless according to the present invention communicates by letter respectively at the data transmission flow chart of transmitting terminal and receiving terminal; And
Fig. 7 A and Fig. 7 B represent according to two-way wireless communication of the present invention respectively at the flow chart of the data transmission of transmitting terminal and receiving terminal.
The implication of each label is represented in the accompanying drawing:
Radio input device 11 inputs 111
Wireless signal receiving system 12 main frames 13
Input block 112 microcontrollers 113,122
Radio communication sending module 114,123
Radio communication receiver module 121,116
Memory 115 passages 14
Buffer 124 alarm signal generation devices 125
Cable 15
Embodiment
The detection of loss of data and restoration methods are based on the field that adds the data sequence identification code in the data frame structure of radio communication in the radio communication of the present invention, represent the sequence numbering (sequence number) of this Frame.So the data frame format that forms sends and is received by the wireless signal receiving system by wireless signal.The wireless signal receiving system is just stored the sequence numbering of representing this wireless signal receiving system data accepted frame according to it, compares with the numerical value of data sequence identification code field in the Frame that is received.If comparative result is identical, then expression does not have loss of data.If comparative result is inequality, representative has the problem of loss of data to take place, just the wireless signal receiving system can send the problem generation that an alarm signal has loss of data to notify the user; Or send a re-send request may signal to radio input device, retransmit the data of being lost by radio input device, with the data content that recovers to be lost.Below disclosed embodiment, can make the professional and technical personnel implement to finish the present invention according to this according to disclosed content.Yet enforcement of the present invention is not necessarily by enforcement kenel that following examples limited.
Fig. 4 represents the form schematic diagram of wireless communication data frame according to a preferred embodiment of the present invention.In the formed data frame format of radio communication, be the communication protocol (protocol) that adopts according to this wireless communication system and decision.Represented data frame format only is for illustrative purposes among Fig. 4, is not to be restrictive form.In transmission course, be subjected to ectocines such as spurious signal interference for fear of data, make receiving terminal when receiving data, produce loss of data and whether problem that the judgment data of having no way of is lost produces, in the structure of Frame, added the field 44 of data sequence identification code (datasequence identification).The meaning of the numerical value representative of data sequence identification code promptly is the sequence numbering (sequence number) of Frame.All comprise the sequence numbering of representing this Frame itself in each group Frame, when transmitting terminal transmits data, the sequence numbering that Frame can be stored according to data sequence identification code field in order sends out Frame, and the Frame that sends out is stored in (for example FIFO memory) in the memory.As shown in Figure 5, Frame A, B, C, D are continuous Frame, and they all comprise the sequence numbering of data recognition sequence sign indicating number field 51 store frames of data.The sequence numbering of Frame A is 1, and the sequence numbering of Frame B is 2, and the sequence numbering of Frame C is 3, and the sequence numbering of Frame D is 4.Transmitting terminal just according to the sequence numbering of each Frame, sends Frame in regular turn.If in the process of transfer of data, be subjected to ectocines such as spurious signal interference, cause receiving terminal only to receive Frame A, B, D and lost the C Frame, then produced the problem of loss of data.Yet, receiving terminal is when receiving data, whether sequence numbering that can record received data frame and can compare the sequence numbering that sequence numbering and buffer write down of the Frame that received in a buffer, continuous to judge this Frame and a last Frame.If it is discontinuous that comparative result is represented the Frame that is received, then represent the problem that loss of data is arranged in the process of radio communication to take place, the alarm signal generation device that the wireless signal receiving system just drives such as buzzer sends an alarm signal, loss of data is arranged during alarm user Data Receiving, perhaps send a re-send request may (retransmission request) signal to transmitting terminal, the request transmitting terminal begins to retransmit from the loss of data part.
Fig. 6 a and Fig. 6 b represent that uni-directional wireless according to the present invention communicates by letter respectively at the data transmission flow chart of transmitting terminal and receiving terminal.According to a preferred embodiment of the present invention, the data transport stream journey of transmitting terminal is by step 700 beginning of Fig. 6 a.In judgement formula 701, whether the input block of radio input device is examined has data to judge whether the user imports data to the input of radio input device.If the input block does not have data, represent the user not import data, just then radio input device is failure to actuate.If there are data the input block, represent the user to import data and the data-signal imported is stored in the input block, and carry out the coding of data to produce a Frame by the microcontroller of radio input device.In step 702, the step of digital coding at first is to add a header (preamble), the beginning of representative data frame.In step 703, one is opened beginning bit (start bit) and is added in the header back.In step 704, a device identification code (device ID) is added in and opens beginning bit back.In step 705, a data recognition sequence sign indicating number (data sequence ID) is added in the device identification code back.In step 706, the data-signal of being imported is encoded into the form of a packet and is added in the back of data sequence identification code.Whether comprise mistake in order to want to detect packet, tail end at packet and then is a data error detecting code (data error detectioncode), and it can be inspection summation (checksum) data value or parity check (parity check) data value or a Cyclic Redundancy Check data value (step 707) of this packet.Frame be an end bit (stop bit) at last, represent the end of a Frame, a data frame structure like this just forms (step 708).After Frame formed, the wireless signal sending module of radio input device just can send the wireless signal that is loaded with Frame, and the Frame that is sent can be stored in the FIFO memory of radio input device (step 710).The FIFO memory also can be stored the Frame sequence number that is sent, after Frame sends, the data sequence identification code that is recorded in the FIFO memory just can add one, when being beneficial to the receiving terminal loss of data, correctly seeks out the sequence numbering of the Frame of desire repeating transmission.
With reference to Fig. 6 b, the Data Receiving flow process of receiving terminal is by step 711 beginning of Fig. 6 b.After the wireless signal receiving system receives Frame (step 712), program can judge whether to receive header (judgement formula 713) earlier.If received is not header,, the data that received continue to wait for the next record data just being rejected.If received is header, then begin to carry out the reception and the decoding (step 714) of data.In judgement formula 715, the data error error detecting code of packet caudal end is examined whether to comprise mistake in the judgment data bag.If packet comprises mistake,, can't retransmit this data by transmitting terminal, just these data can be rejected owing to be to adopt unidirectional radio communication.If packet does not comprise mistake, just then whether the device identification code in the Frame is examined with the identification code of judging dispensing device correct (judgement formula 716).If device identification code is incorrect, just these data can be rejected.If device identification code is correct, then the numerical value of the data sequence identification code in the Frame (sequence numbering of Frame) just with the sequence buffer of wireless signal receiving system in write down and represent the sequence numbering of wireless signal receiving system received data frame more identical, to judge these data whether continuously (judgement formula 717).If comparative result is inequality,, remind the generation (step 718) of user's data loss problem just then the alarm signal generation device of wireless signal receiving system is driven and sends alarm signal.If comparative result is identical, then packet is decoded and original data are sent to main frame (step 719).In step 720, the sequence numbering of representing wireless signal receiving system received data frame that writes down is added a back storage in the sequence buffer, finishes the program of Data Receiving.
Fig. 7 a and Fig. 7 b represent according to two-way wireless communication of the present invention respectively at the data transmission flow chart of transmitting terminal and receiving terminal.Fig. 7 a and Fig. 7 b and Fig. 6 a and Fig. 6 b are compared, its difference be two-way wireless communication can transmitting terminal with receiving terminal between do two-way communicating by letter, therefore when receiving data, detect the problem of loss of data when receiving terminal, just can ask the data of transmitting terminal retransmits lost.The data transport stream journey of transmitting terminal is by step 800 beginning of Fig. 7 a.In step 801, if the wireless signal input unit is received the re-send request may information that is transmitted by receiving terminal, just can carry out the program of data re-transmitting.In judgement formula 803, the number of times of request repeat is examined whether reach communication protocol default overtime (timeout) value.If reached communication protocol default overtime (timeout) value,, send alarm signal (step 806) and send the alarm signal generation device that control signal drives receiving terminal by radio input device just the data of being lost are not retransmitted.If do not reach communication protocol default overtime (timeout) value as yet, in judgement formula 804, it is the scope that exceeds the FIFO memory that the data bulk of request repeat is examined.If the data bulk of request repeat exceeds the scope of FIFO memory,, send alarm signal (step 806) and send the alarm signal generation device that control signal drives receiving terminal by radio input device just the data of being lost can't be retransmitted.If the data bulk of request repeat does not exceed the scope of FIFO memory, just then the data of being lost can be by beginning to be retransmitted to receiving terminal by the bit of losing in the recorded data in the FIFO memory, with the data of recovering to be lost (step 805).As for step 802 to step 815, be with above-mentioned Fig. 6 a in step 701 identical to step 710, so in this in addition in addition deep discussion.
At Fig. 7 b, the Data Receiving flow process of receiving terminal is by step 816 beginning of Fig. 7 b.Step 816 among Fig. 7 b is similar to step 720 to the step 711 among Fig. 6 b to step 824, different is to be in the judgement formula 822 of Fig. 7 b, if detecting the problem of loss of data takes place, then receiving terminal sends the data (step 825) of a re-send request may information to transmitting terminal request transmitting terminal retransmits lost, and the step 718 that replaces among Fig. 6 b takes place with the problem that the alarm signal generation device sends alarm signal alarm user loss of data.After treating that the wireless signal receiving system sends re-send request may information, the radio communication receiver module of radio input device just can receive this re-send request may information, and carry out step 803 among Fig. 7 a as previously mentioned to the data re-transmitting program of step 806, the defective of avoiding loss of data in the radio communication to produce thereby the data that will lose are recovered.
By above explanation as can be known, the notable attribute of the detection of loss of data and recovery is to utilize in the Frame of radio communication in the radio communication of the present invention increases a data recognition sequence sign indicating number field, represent the sequence numbering of this Frame, and when Data Receiving, whether these data of numerical check that receiving terminal utilizes this data sequence identification code field are continuous with last data, whether produce loss of data thereby detect.When loss of data takes place, receiving terminal makes the alarm signal generation device send the problem generation that alarm signal is reminded user's loss of data, perhaps send a re-send request may signal and begin to transmitting terminal request transmitting terminal from the data bit of losing to retransmit, to recover the data that receiving terminal is lost.
In brief, the method and system of the detection of loss of data and recovery are available for users to when using radio input device input data in the radio communication of the present invention, can under disturbing, the spurious signal in the external world transfer data to the wireless signal receiving system, and the data that when receiving terminal receives data, can detect the generation of loss of data and recover automatically to lose, what make that the main frame of far-end can be correct receives complete and correct data to handle, and finishes user's input and represents.Can significantly understand thus, the method and system of the detection of loss of data and recovery can be separated knownly with the problem that technology ran in the radio communication of the present invention, also can improve the quality of radio communication, are a kind of invention creation of the progressive that possesses skills.
Should be noted that; though the present invention is described in the mode of an embodiment; but for the professional and technical personnel, still on the basis that does not break away from by claims of the present invention, make various variations or modification, yet all these variations or modification should be considered as in protection scope of the present invention all.

Claims (38)

1. method that detects loss of data in radio communication is characterized in that this method comprises the following step:
A) receiving data frames in the wireless signal receiving system, wherein Frame comprises the sequence numbering of representing this Frame, and the sequence numbering of this wireless signal receiving system received data frame is represented in this wireless signal receiving system storage; And
B) whether the sequence numbering of this wireless signal receiving system received data frame of representative of being stored of the sequence numbering of this Frame of representative that relatively this Frame comprised and this wireless signal receiving system is identical, to judge this radio communication whether loss of data takes place.
2. data loss detection method as claimed in claim 1, wherein this method also comprises the following step:
C) if the sequence numbering of this wireless signal receiving system received data frame of representative that the sequence numbering of this Frame of representative that Frame comprised and this wireless signal receiving system are stored is different, send an alarm signal from this wireless signal receiving system;
D) sequence numbering of this wireless signal receiving system received data frame of the representative that this wireless signal receiving system is stored adds one and be stored in this wireless signal receiving system; And
E) decoded packet data that is comprised in this Frame is become a series of data-signals, and this data-signal is sent to a main frame by this wireless signal receiving system.
3. data loss detection method as claimed in claim 2, wherein step c) also comprises the following step:
C1) if the sequence numbering of this wireless signal receiving system received data frame of representative that the sequence numbering of this Frame of representative that this Frame comprised and this wireless signal receiving system are stored is different, transmit a control signal to radio input device, make this radio input device retransmit this Frame to this wireless signal receiving system.
4. the method for a recover data losses in radio communication is characterized in that this method comprises the following step:
A) receiving data frames in the wireless signal receiving system, wherein Frame comprises the sequence numbering of representing this Frame, and the sequence numbering of this wireless signal receiving system received data frame is represented in this wireless signal receiving system storage;
B) whether the sequence numbering of this wireless signal receiving system received data frame of representative of being stored of the sequence numbering of this Frame of representative that relatively this Frame comprised and this wireless signal receiving system is identical; And
C) if the sequence numbering of this wireless signal receiving system received data frame of representative that the sequence numbering of this Frame of representative that this Frame comprised and this wireless signal receiving system are stored is different, transmit a control signal to radio input device from this wireless signal receiving system, make this radio input device retransmit this Frame to this wireless signal receiving system.
5. data reconstruction method as claimed in claim 4, wherein this method also comprises the following step:
D) sequence numbering of this wireless signal receiving system received data frame of the representative that this wireless signal receiving system is stored adds one and be stored in this wireless signal receiving system; And
E) decoded packet data that is comprised in this Frame is become a series of data-signals, and the data-signal of being decoded is sent to a main frame by this wireless signal receiving system.
6. wireless communication system is characterized in that comprising:
A radio input device can be operated with to encoding from the data-signal of this radio input device input, becomes the wireless signal that Frame and emission are loaded with this Frame, and this Frame comprises the sequence numbering of representing this Frame;
A passage is in order to transmit this wireless signal; And
A radio receiver, the sequence numbering of this wireless signal receiving system received data frame is represented in storage, it can be operated from this passage receiving data frames, and relatively whether this Frame comprises the sequence numbering of representing this Frame and stores with this wireless signal receiving system and represent the sequence numbering of this wireless signal receiving system received data frame identical, and when this Frame comprise the sequence numbering of representing this Frame and this wireless signal receiving system store represent this wireless signal receiving system received data frame sequence numbering not simultaneously, send an alarm signal.
7. communication system as claimed in claim 6, wherein this radio input device comprises an input for user's input data signal, and an input block is in order to store this data-signal.
8. communication system as claimed in claim 7, wherein this input block comprises a FIFO buffer (FIFO buffer).
9. communication system as claimed in claim 6, wherein this radio input device also comprises a microcontroller with encoder, in order to this data-signal is encoded into Frame.
10. communication system as claimed in claim 6, wherein this radio input device also comprises a wireless signal delivery module, in order to send this wireless signal that is loaded with this Frame.
11. communication system as claimed in claim 6, wherein this radio input device also comprises a memory, in order to write down the Frame that this radio input device sends.
12. communication system as claimed in claim 11, wherein this memory comprises a push-up storage (FIFO memory).
13. communication system as claimed in claim 6, wherein this wireless signal receiving system is to comprise a wireless signal receiver module, in order to receive wireless signal from this passage.
14. communication system as claimed in claim 6, wherein this wireless signal receiving system also comprises a microcontroller with decoder, becomes a series of data-signals in order to the packet that is comprised in this Frame is decoded.
15. communication system as claimed in claim 6, wherein this wireless signal receiving system also comprises a buffer, represents the sequence numbering of this wireless signal receiving system received data frame in order to storage.
16. communication system as claimed in claim 6, wherein this wireless signal receiving system also comprises an alarm signal generation device, in order to produce this alarm signal.
17. communication system as claimed in claim 16, wherein this alarm signal generation device comprises a buzzer.
18. communication system as claimed in claim 14, wherein this wireless communication system also comprises a main frame, is electrically connected to this wireless signal receiving system with cable, in order to receive and to handle these a series of data-signals.
19. communication system as claimed in claim 18, wherein this main frame comprises PC.
20. a wireless communication system is characterized in that comprising:
A radio input device, can be operated to become Frame encoding from the data-signal of this radio input device input, and send the wireless signal that is loaded with this Frame, and receive control signal, wherein this Frame comprises a sequence numbering representing this Frame;
A passage is in order to transmit this wireless signal; And
A wireless signal receiving system, the sequence numbering of this wireless signal receiving system received data frame is represented in storage, it can be operated from this passage receiving data frames and send a wireless signal, and relatively this Frame whether comprise the sequence numbering that sequence numbering representing this Frame and this wireless signal receiving system store this wireless signal receiving system received data frame identical, and when this Frame comprises sequence numbering that the sequence numbering of representing this Frame and this wireless signal receiving system store this wireless signal receiving system received data frame not simultaneously, send a control signal to this radio input device, make this radio input device transmit this Frame to this wireless signal receiving system.
21. communication system as claimed in claim 20, wherein this radio input device comprises an input for user's input data signal, and an input block is in order to store this data-signal.
22. communication system as claimed in claim 21, wherein this input block comprises a FIFO buffer (FIFO buffer).
23. communication system as claimed in claim 20, wherein this radio input device comprises a microcontroller with encoder, becomes Frame in order to this data-signal is encoded.
24. communication system as claimed in claim 20, wherein this radio input device also comprises a radio communication sending module, in order to sending the wireless signal that is loaded with Frame, and a radio communication receiver module, in order to receive this control signal.
25. communication system as claimed in claim 20, wherein this radio input device also comprises a memory, in order to write down the Frame that this radio input device sends.
26. communication system as claimed in claim 25, wherein this memory comprises a push-up storage (FIFO memory).
27. communication system as claimed in claim 20, wherein this wireless signal receiving system comprises a radio communication receiver module, in order to receiving the wireless signal that is loaded with Frame from this passage, and a radio communication sending module, in order to send control signal.
28. communication system as claimed in claim 20, wherein this wireless signal receiving system also comprises a microcontroller with decoder, becomes a series of data-signals in order to the packet that is comprised in this wireless signal receiving system received data frame is decoded.
29. communication system as claimed in claim 20, wherein this wireless signal receiving system also comprises a buffer, represents the sequence numbering of this wireless signal receiving system received data frame in order to storage.
30. communication system as claimed in claim 20, wherein this wireless signal receiving system also comprises an alarm signal generation device, in order to produce alarm signal.
31. communication system as claimed in claim 30, wherein this alarm signal generation device comprises a buzzer.
32. communication system as claimed in claim 28, wherein this system also comprises a main frame, is electrically connected to this wireless signal receiving system with cable, in order to receive and to handle these a series of data-signals.
33. communication system as claimed in claim 32, wherein this main frame comprises PC.
34. the data frame structure in the communication protocol is characterized in that this data frame structure comprises a field, a sequence numbering of this Frame is represented in storage, in order in radio communication, judges whether this Frame is lost.
35. data frame structure as claimed in claim 34, wherein this data frame structure also comprises a field, represents the data error detected value of this Frame, in order in this radio communication, judges whether the packet that this Frame comprises comprises mistake.
36. data frame structure as claimed in claim 35, wherein this data error detected value comprises inspection summation (checksum) data value.
37. data frame structure as claimed in claim 34, wherein this data error detected value comprises a parity check (parity check) data value.
38. data frame structure as claimed in claim 35, wherein this data error detected value comprises a redundant cyclic check (CRC) data value.
CN 01140871 2001-09-25 2001-09-25 Method of detecting and restoring lost data in radio communication and its system Pending CN1411198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01140871 CN1411198A (en) 2001-09-25 2001-09-25 Method of detecting and restoring lost data in radio communication and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01140871 CN1411198A (en) 2001-09-25 2001-09-25 Method of detecting and restoring lost data in radio communication and its system

Publications (1)

Publication Number Publication Date
CN1411198A true CN1411198A (en) 2003-04-16

Family

ID=4676015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01140871 Pending CN1411198A (en) 2001-09-25 2001-09-25 Method of detecting and restoring lost data in radio communication and its system

Country Status (1)

Country Link
CN (1) CN1411198A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315279C (en) * 2003-04-26 2007-05-09 三星电子株式会社 Apparatus and method for retransmitting data packets in mobile ad hoc network environment
CN100364258C (en) * 2004-01-08 2008-01-23 索尼株式会社 Reception apparatus and method, program and recording medium
CN102163462A (en) * 2010-01-29 2011-08-24 三星电子株式会社 Semiconductor memory device
CN102970104A (en) * 2012-10-24 2013-03-13 北京经纬恒润科技有限公司 Method for acquiring data and server
CN103516404A (en) * 2013-08-30 2014-01-15 展讯通信(上海)有限公司 Data transmission method and system, sending end equipment and receiving end equipment
CN103532681A (en) * 2012-07-05 2014-01-22 上海无线电设备研究所 Cooperative measurement system response-type bidirectional data communication method
CN104426636A (en) * 2013-09-11 2015-03-18 松下电器产业株式会社 Communication control apparatus and communication control method
CN104486047A (en) * 2014-12-11 2015-04-01 广州广电运通金融电子股份有限公司 Self-service terminal monitoring method, self-service terminal monitoring device and self-service terminal monitoring system
CN104714424A (en) * 2013-12-16 2015-06-17 上海华兴数字科技有限公司 Communication system and method used for industrial controller
CN104795073A (en) * 2015-03-26 2015-07-22 无锡天脉聚源传媒科技有限公司 Method and device for processing audio data
CN104991749A (en) * 2015-06-29 2015-10-21 刘兴华 Wireless communication method for vision persistence based LED display apparatus
CN105391523A (en) * 2015-12-18 2016-03-09 福建星海通信科技有限公司 Voice optimization transmission method and device
CN105610544A (en) * 2015-12-18 2016-05-25 福建星海通信科技有限公司 Voice data transmission method and device
CN109544161A (en) * 2018-11-28 2019-03-29 杭州有盾网络科技有限公司 Block chain data processing method, system and equipment and sequence number generation method
CN112511277A (en) * 2020-11-24 2021-03-16 广州技象科技有限公司 Data processing method and device
CN114500329A (en) * 2021-12-13 2022-05-13 杭州晨晓科技股份有限公司 Method and device for detecting lost frame

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315279C (en) * 2003-04-26 2007-05-09 三星电子株式会社 Apparatus and method for retransmitting data packets in mobile ad hoc network environment
CN100364258C (en) * 2004-01-08 2008-01-23 索尼株式会社 Reception apparatus and method, program and recording medium
CN102163462A (en) * 2010-01-29 2011-08-24 三星电子株式会社 Semiconductor memory device
CN103532681B (en) * 2012-07-05 2018-03-23 上海无线电设备研究所 Cooperation measurement systems response formula bidirectional data communication method
CN103532681A (en) * 2012-07-05 2014-01-22 上海无线电设备研究所 Cooperative measurement system response-type bidirectional data communication method
CN102970104B (en) * 2012-10-24 2016-01-27 北京经纬恒润科技有限公司 A kind of method and server obtaining data
CN102970104A (en) * 2012-10-24 2013-03-13 北京经纬恒润科技有限公司 Method for acquiring data and server
CN103516404A (en) * 2013-08-30 2014-01-15 展讯通信(上海)有限公司 Data transmission method and system, sending end equipment and receiving end equipment
CN104426636A (en) * 2013-09-11 2015-03-18 松下电器产业株式会社 Communication control apparatus and communication control method
CN104714424A (en) * 2013-12-16 2015-06-17 上海华兴数字科技有限公司 Communication system and method used for industrial controller
CN104714424B (en) * 2013-12-16 2018-04-03 上海华兴数字科技有限公司 A kind of communication system and method for industrial control unit (ICU)
CN104486047A (en) * 2014-12-11 2015-04-01 广州广电运通金融电子股份有限公司 Self-service terminal monitoring method, self-service terminal monitoring device and self-service terminal monitoring system
CN104486047B (en) * 2014-12-11 2018-08-31 广州广电运通金融电子股份有限公司 Self-aided terminal monitoring method, device and system
CN104795073A (en) * 2015-03-26 2015-07-22 无锡天脉聚源传媒科技有限公司 Method and device for processing audio data
CN104991749A (en) * 2015-06-29 2015-10-21 刘兴华 Wireless communication method for vision persistence based LED display apparatus
CN104991749B (en) * 2015-06-29 2018-05-08 深圳市悦创空间科技有限公司 A kind of wireless communication method for the LED display that view-based access control model persists
CN105391523A (en) * 2015-12-18 2016-03-09 福建星海通信科技有限公司 Voice optimization transmission method and device
CN105391523B (en) * 2015-12-18 2018-06-08 福建星海通信科技有限公司 A kind of voice-optimizing transmission method and device
CN105610544B (en) * 2015-12-18 2018-07-20 福建星海通信科技有限公司 A kind of voice data transmission method and device
CN105610544A (en) * 2015-12-18 2016-05-25 福建星海通信科技有限公司 Voice data transmission method and device
CN109544161A (en) * 2018-11-28 2019-03-29 杭州有盾网络科技有限公司 Block chain data processing method, system and equipment and sequence number generation method
CN112511277A (en) * 2020-11-24 2021-03-16 广州技象科技有限公司 Data processing method and device
CN112511277B (en) * 2020-11-24 2021-08-06 广州技象科技有限公司 Data processing method and device
CN114500329A (en) * 2021-12-13 2022-05-13 杭州晨晓科技股份有限公司 Method and device for detecting lost frame

Similar Documents

Publication Publication Date Title
CN1411198A (en) Method of detecting and restoring lost data in radio communication and its system
AU2010239821B2 (en) Data communication using 2D bar codes
CN1097883C (en) Communication system for wireless bar code reader
CN1287567C (en) Multimedium communication method and apparatus on grouped channels
CN101800757B (en) No-feedback one-way data transmission method based on single fiber structure
KR20030079995A (en) Automatic repeat request system with punctured retransmission
CN101729224A (en) Transmission data generating device and receiving machine
CN1351438A (en) packet data transmission with mixed automatic request to resend
CN1277767A (en) Bidirectional ARQ apparatus and method
CN1159109A (en) Error control method and error control device for digital communication
US20020071421A1 (en) Method and system for data loss detection and recovery in wireless communication process
WO2006028058A1 (en) Classifying-synthesizing transmission method of multi-user feedback information at base station
CN1534877A (en) Encoder/decoder and encoding/decoding method
CN1303773C (en) Method of transmitting data packets
CN101621367A (en) HARQ decoding method based on packet check information
CN1385982A (en) Method for retransmitting information by changing intersection length through merging data package
CN1489347A (en) Wireless communication method and wireless communication device
CN1144429C (en) Data transmission method with packet check
CN102148665A (en) Decoding method for LT (language translation) codes
EP1596523B1 (en) Reception method for packetized information with automatic repeat request
CN101764677B (en) Frame grade encoding and decoding method based on forward error correction
CN103944690B (en) Bitmap compression method in RLC data retransmission system
CN101079685A (en) An automatic re-transfer request method for multi-antenna communication system
CN113366785B (en) Communication transmitter for retransmitting MAC Protocol Data Units (MPDUs)
CN100352190C (en) Mixed automatic repeat request method and device based on turbo product code

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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