CN109561467B - Wireless data processing method and wireless transmitting and receiving equipment - Google Patents

Wireless data processing method and wireless transmitting and receiving equipment Download PDF

Info

Publication number
CN109561467B
CN109561467B CN201811611922.0A CN201811611922A CN109561467B CN 109561467 B CN109561467 B CN 109561467B CN 201811611922 A CN201811611922 A CN 201811611922A CN 109561467 B CN109561467 B CN 109561467B
Authority
CN
China
Prior art keywords
data
bit
bits
characteristic word
coded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811611922.0A
Other languages
Chinese (zh)
Other versions
CN109561467A (en
Inventor
赖志鹏
刘俊斌
江新福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Elevator China Co Ltd
Original Assignee
Hitachi Elevator China 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 Hitachi Elevator China Co Ltd filed Critical Hitachi Elevator China Co Ltd
Priority to CN201811611922.0A priority Critical patent/CN109561467B/en
Publication of CN109561467A publication Critical patent/CN109561467A/en
Application granted granted Critical
Publication of CN109561467B publication Critical patent/CN109561467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control

Abstract

The application relates to a wireless data processing method and wireless transmitting and receiving equipment. The method comprises the following steps: acquiring coded data obtained after coding processing; the coded data is coded output data corresponding to data to be sent; spreading the coded data into characteristic word data; the characteristic word data is used for modulation and wireless transmission processing. By adding the enhanced coding processing in the data sending process, the coded data output after the traditional coding is unfolded into the characteristic word data and then modulated and output, when the error code occurs due to the fact that signals are interfered through air wireless transmission, the error code can be corrected to reduce the error code to the maximum extent when the demodulated characteristic word data is correspondingly restored into the coded data, and therefore the error rate caused by the error code in the data transmission process is greatly reduced, the application of wireless communication in the long-distance and high-interference communication environment of an elevator shaft is facilitated, and the communication cost is reduced.

Description

Wireless data processing method and wireless transmitting and receiving equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wireless data processing method and a wireless transmitting and receiving device.
Background
With the development of communication technology, the wireless communication technology is breaking through from birth to the present, and is becoming high-speed and efficient. The application range of the wireless communication technology covers the aspects of social production and life, such as the application of public mobile communication, private network communication, home wireless network and the like. Wherein, in the elevator equipment field, wireless communication technology is the essential basic technology of daily operation such as realizing elevator calling, position control in the elevator equipment operation process. The traditional wireless communication system applied to the elevator equipment is composed of a sending end and a receiving end, wherein the sending end mainly comprises a sending processor, an encoding module, a modulating module, a sending module and the like, and the receiving end correspondingly mainly comprises a receiving module, a demodulating module, a decoding module, a receiving processor and the like, so that the wireless transmission of data in the elevator operation process is realized.
However, in the implementation process, the inventor finds that the running distance of the elevator is continuously increased, the communication environment interference is large, and at least the problem of high wireless communication error rate exists in the conventional wireless communication system.
Disclosure of Invention
In view of the above, it is necessary to provide a wireless data processing method, a wireless transmitting apparatus and a wireless receiving apparatus capable of effectively reducing the error rate of wireless communication.
In order to achieve the purpose, the embodiment of the invention adopts the following technical scheme:
in one aspect, an embodiment of the present invention provides a wireless data processing method, including:
acquiring coded data obtained after coding processing; the coded data is coded output data corresponding to data to be sent;
spreading the coded data into characteristic word data; wherein, the characteristic word data is used for modulation and wireless transmission processing.
In one embodiment, the step of expanding the encoded data into feature word data comprises:
and with 1 bit as a unit, expanding each bit of the coded data into the characteristic word data with preset bit number.
In one embodiment, the preset number of bits is 8 bits;
the step of expanding each bit of the encoded data into the feature word data with a preset number of bits by using 1 bit as a unit includes:
when each bit of the coded data is expanded by taking 1 bit as a unit, if the data bit of the coded data is 0, the characteristic word data expanded into 8 bits is 0xA5;
if the data bit of the encoded data is 1, the characteristic word data expanded into 8 bits is 0x5A.
In one embodiment, the preset number of bits is 16 bits;
the step of expanding each bit of the encoded data into the feature word data with a preset number of bits by using 1 bit as a unit includes:
when each bit of the coded data is expanded by taking 1 bit as a unit, if the data bit of the coded data is 0, the characteristic word data expanded into 16 bits is 0xA5A5;
if the data bit of the coded data is 1, the characteristic word data expanded into 16 bits is 0x5A5A.
In another aspect, another wireless data processing method is provided, including:
acquiring demodulated feature word data;
restoring the characteristic word data to obtain coded data; the encoded data is used for decoding processing.
In one embodiment, the step of performing a restoration process on the feature word data to obtain encoded data includes:
restoring the characteristic word data into the coded data by taking a preset bit number as a unit; wherein, a plurality of bits are preset in each bit of the characteristic word data, and are correspondingly reduced to 1 data bit in the coded data.
In one embodiment, the predetermined number of bits is 8 bits;
the step of reducing the feature word data to the code number by using a preset bit number as a unit includes:
when the characteristic word data is restored into the coded data by taking 8 bits as a unit, performing exclusive OR operation on received data X corresponding to each 8-bit characteristic word data and the corresponding 8-bit characteristic word data, and counting the number n1 of bits which are not equal to zero in an operation result X1; wherein, the corresponding 8 bits of the characteristic word data are 0xA5;
carrying out XOR operation on the received data X and the feature word data of the corresponding 8 bits, and counting the number n2 of bits which are not equal to zero in an operation result X2;
if n1 is greater than n2, reducing the received data X to be data bit 0 of the coded data with 1 bit, otherwise, reducing the received data X to be data bit 1 of the coded data with 1 bit.
In one embodiment, the predetermined number of bits is 16 bits;
the step of reducing the feature word data to the code number by taking a preset bit number as a unit comprises the following steps:
when the characteristic word data is restored into the coded data by taking 16 bits as a unit, performing exclusive-nor operation on received data Y corresponding to each 16-bit characteristic word data and the corresponding 16-bit characteristic word data, and counting the number m1 of bits which are not equal to zero in an operation result Y1; wherein, the corresponding 16 bits of the feature word data is 0xA5A5;
carrying out XOR operation on the received data Y and the corresponding 16-bit characteristic word data, and counting the number m2 of bits which are not equal to zero in an operation result Y2;
if m1 is greater than m2, reducing the received data Y to data bit 0 of the coded data with 1 bit, otherwise, reducing the received data Y to data bit 1 of the coded data with 1 bit.
In still another aspect, a wireless transmitting device is further provided, which includes an encoder, an enhancement encoder, a modulator, and a transmitter connected in sequence;
the enhancement encoder is used for expanding the coded data output by the encoder into characteristic word data and outputting the characteristic word data to the modulator for modulation to form a carrier signal, and the transmitter is used for wirelessly transmitting the carrier signal.
In still another aspect, a wireless receiving device is further provided, which includes a receiver, a demodulator, an enhanced decoder, and a decoder connected in sequence;
the receiver is configured to receive a carrier signal, the demodulator is configured to demodulate the carrier signal to obtain feature word data and output the feature word data to the turbo decoder, and the turbo decoder is configured to restore the feature word data to the encoded data and output the encoded data to the decoder for decoding; the feature word data is used to correct error data in the encoded data input to the decoder.
One of the above technical solutions has the following advantages and beneficial effects:
according to the wireless data processing method, the enhancement coding processing is added in the wireless communication process, the coded data output after the traditional coding is expanded into the characteristic word data, and then the modulation output is carried out, so that when the signal is interfered by the air wireless transmission and the error code occurs, the demodulated characteristic word data can be correspondingly restored into the coded data by expanding the coded data into the characteristic word data for transmission, the error code can be corrected to reduce the error code to the maximum extent, so that the error probability caused by the error code during the data transmission process is greatly reduced, the application of the wireless communication in the long-distance and high-interference communication environment of the elevator shaft is facilitated, and the communication cost is reduced.
Drawings
FIG. 1 is a schematic diagram of a wireless transmitting device in one embodiment;
FIG. 2 is a schematic diagram of a wireless receiving device in one embodiment;
FIG. 3 is a flow diagram illustrating a method for wireless data processing according to one embodiment;
FIG. 4 is a flow diagram illustrating enhancement coding in one embodiment;
FIG. 5 is a flow chart of enhancement coding in another embodiment;
FIG. 6 is a flow chart illustrating a method for wireless data processing in accordance with another embodiment;
FIG. 7 is a flow diagram illustrating enhanced decoding in one embodiment;
FIG. 8 is a flow chart illustrating enhanced decoding in another embodiment;
FIG. 9 is a schematic diagram illustrating a signal processing flow at the receiving side according to an embodiment;
FIG. 10 is a timing diagram of an enhancement codec according to an embodiment;
fig. 11 is a flow chart illustrating a method of receiving wireless data according to an embodiment;
FIG. 12 is a block diagram showing the structure of a wireless data processing apparatus according to an embodiment;
fig. 13 is a block diagram showing the structure of a wireless data processing apparatus according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that when an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, in one embodiment, the wireless transmission apparatus 100 provided herein includes an encoder 124, an enhancement encoder 122, a modulator 126, and a transmitter 128, which are connected in sequence. The enhancement encoder 122 is coupled between an encoder 124 and a modulator 126. The enhancement encoder 122 is configured to spread the encoded data output by the encoder 124 into signature data, and output the signature data to the modulator 126 for modulation to form a carrier signal. The transmitter 128 is configured to perform wireless transmission processing on the carrier signal.
It is to be understood that the wireless transmitting apparatus 100 may be formed by a transmitting end in a conventional wireless communication system with the addition of the above-described enhancement encoder 122. The enhancement encoder 122 may be an independently provided encoder such as an additional programmable logic device for enhancement encoding. The enhancement encoder 122 may also be an encoder disposed on the same PCB substrate as the encoder 124 on the transmitting end, for example, the aforementioned enhancement encoder 122 is configured in a programmable logic circuit provided on the PCB substrate by way of software configuration. The enhancement encoder 122 may be implemented by development techniques of encoding module circuitry conventional in the art, as long as the required processing functionality of the encoded data into the feature word data is provided.
The characteristic word data is transmission data with a set arrangement sequence of each data bit, and is used for expanding the coded data of each bit into the characteristic word data and then carrying out traditional modulation and wireless transmission processing. In the data sending process, the data to be sent is output by the sending processor and then is coded by the coding module. And transmitting the coded data obtained after coding to an enhanced coding module. The enhancement coding module spreads the input coded data into characteristic word data, and then outputs the characteristic word data to the regulating module for modulation. Therefore, the carrier signal corresponding to the modulated characteristic word data can contain the data bit arrangement characteristic of the characteristic word data, so that the signal receiving side can conveniently compare the data bits when carrying out corresponding decoding, and correct the erroneous data bits in the received data.
The wireless transmission device 100 expands the encoded data output after the conventional encoding into the feature word data by adding the processing of the enhanced encoding module in the processing process of the data transmission side, and then performs modulation output. Therefore, by spreading the coded data into the characteristic word data for transmission, when the signal is interfered by the wireless transmission in the air and the error code occurs, the error code can be corrected to reduce the error code rate to the maximum extent when the demodulated characteristic word data is correspondingly restored into the coded data, so that the error rate caused by the error code during the data transmission process is greatly reduced, and the communication cost is reduced.
Referring to fig. 2, in one embodiment, a wireless receiving device 200 provided herein includes a receiver 142, a demodulator 144, an enhanced decoder 146, and a decoder 148 connected in sequence. The turbo decoder 146 is connected between the demodulator 144 and the decoder 148. The receiver 142 is used to receive the carrier signal. The demodulator demodulates the carrier signal to obtain signature data, and outputs the signature data to the turbo decoder 146. The turbo decoder 146 is configured to restore the signature data output from the demodulator 144 to encoded data, and output the encoded data to the decoder 148 for decoding. The signature data is used to correct error data in the encoded data of the input decoder 148.
Accordingly, the wireless receiving apparatus 200 may be formed by adding the above-described enhancement encoder 122 to a receiving end in a conventional wireless communication system. The turbo decoder 146 may also be a decoder separately disposed, for example, a programmable logic device added for turbo decoding, or a decoder disposed on the same PCB substrate as the decoder 148 on the receiving end, for example, the aforementioned turbo decoder 146 is configured in a programmable logic circuit provided on the PCB substrate by means of software configuration. The turbo decoder 146 may be implemented by development techniques of decoding module circuitry that are conventional in the art, as long as the required functionality of restoring the demodulated signature data to encoded data is provided.
After the wireless receiving device 200 receives the signature data transmitted by the wireless transmitting device 100, the data bits that are locally erroneous due to interference in the wireless receiving process can be recovered according to the set arrangement sequence included in the signature data used by the wireless transmitting device 100 when the encoded data is subjected to the presentation processing, and further, after the received signature data is reversely restored according to the expansion process, the encoded data on the receiving side that is consistent with the encoded data transmitted by the wireless transmitting device 100 is obtained.
It can be understood that the error data is some error data bits caused by interference received from a transmission environment when a signal is wirelessly transmitted over the air, for example, a certain data bit should be 1 when it is correct, and becomes 0 after being corrupted, or a plurality of local data bits are corrupted, so that the plurality of corrupted local data bits in the signature data output by the demodulation module are inconsistent with a plurality of data bits at corresponding local positions on the signature data when it is transmitted, and the like. In the process of not being processed by the enhanced coding module and the enhanced decoding module, the error position in the data transmitted by wireless cannot be determined, so that the decoded and output data is error, and finally the error is directly reflected on the processing output result of the receiving processor. Based on the characteristic word data, error data bits can be effectively recovered, error data generated due to interference in the wireless transmission process of the coded data can be corrected, and the error rate in the wireless communication process can be effectively reduced.
The above wireless receiving device 200 adds a corresponding enhanced decoding link in the processing process of the data receiving side, and restores the demodulated and outputted corresponding feature word data into encoded data, and then decodes and outputs the encoded data. Therefore, when the demodulated characteristic word data is restored into the coded data, the error data bit can be effectively recovered, and the error rate is reduced to the greatest extent, so that the error probability of the coded data at the receiving side due to error code generation is greatly reduced, the reliable application of wireless communication in the communication environment with long distance and large interference of the elevator shaft is facilitated, and the communication cost is reduced.
Referring to fig. 3, in one embodiment, a wireless data processing method is provided, which can be applied to, but is not limited to, the wireless transmitting apparatus 100 shown in fig. 1. Comprising the following steps S12 and S14:
s12, acquiring coded data obtained after coding processing; the coded data is coded output data corresponding to data to be sent;
s14, unfolding the coded data into feature word data; the characteristic word data is used for modulation and wireless transmission processing.
It is understood that the data to be transmitted is transmission data generated from a signal source, such as a transmitting processor, and transmitted to a receiving side wirelessly after being encoded and modulated. Modulation, i.e., the loading of encoded data onto a carrier in a conventional wireless communication system, forms a carrier signal output. The wireless transmission processing may be signal transmission processing performed in a conventional wireless communication system by transmitting a carrier signal to the air after performing processing such as filtering and power amplification.
On the signal transmitting side, data to be transmitted is output by a transmitting processor and then is subjected to encoding processing by an encoding module. And the enhanced coding module expands coded data obtained after coding into characteristic word data and then outputs the characteristic word data to a subsequent module for modulation and wireless transmission processing. Therefore, the carrier signal corresponding to the modulated characteristic word data can contain the data bit arrangement characteristic of the characteristic word data, so that the signal receiving side can conveniently compare the data bits during enhanced decoding and correct the erroneous data bits in the received data.
According to the wireless data processing method, the enhanced coding processing is added in the data sending process, the coded data output after the traditional coding is expanded into the characteristic word data, and then the modulation output is carried out. Therefore, by spreading the coded data into the characteristic word data for transmission, when the signal is interfered by the air wireless transmission and the error code occurs, the demodulated characteristic word data can be correspondingly restored into the coded data, the error code is corrected to reduce the error code rate to the maximum extent, so that the error rate is greatly reduced due to the error code during the data transmission process, the application of the wireless communication in the long-distance and high-interference communication environment of the elevator shaft is facilitated, and the communication cost is reduced.
In one embodiment, regarding the step S14, the step of expanding the encoded data into the feature word data includes:
and expanding each bit of the coded data into feature word data with a preset bit number by taking 1 bit as a unit.
The preset number of bits is the total number of data bits of the characteristic word data expanded correspondingly to each bit of the encoded data, and the specific number of bits may be determined according to the number of data bits included in a single characteristic word data used. It can be understood that, in the process of performing enhancement coding processing, each data bit, that is, 1 bit, of the coded data may be correspondingly expanded into feature word data with a preset number of bits, and a specific expansion manner may be determined by performing and operation on the feature word data with the preset number of bits corresponding to one data bit of the coded data.
The coded data is continuously input into the enhanced coding module, and the enhanced coding module correspondingly and continuously outputs transmission data obtained by expanding each bit of the coded data into characteristic word data. Compared with the transmission data output by the coding module in the traditional wireless communication system, each preset bit number (for example, 8 bits) in the transmission data after enhanced coding corresponds to 1 bit in the transmission data output by the coding module. In this way, by expanding each bit of the encoded data into the character data, each data bit of the encoded data can be represented by the character data. When some data bits go wrong due to interference of wireless transmission, recovery can be performed according to the set arrangement sequence of each data bit of the feature word data, so that the purpose of effectively reducing the error rate is achieved, and the accuracy of the data received by a receiving side is improved.
Referring to fig. 4, in one embodiment, the predetermined number of bits is 8 bits. With regard to the above steps:
the step of expanding each bit of the encoded data into the feature word data with a preset number of bits by using 1 bit as a unit may specifically include the following steps S141 and S143:
s141, when each bit of the encoded data is expanded in units of 1 bit, if the data bit of the encoded data is 0, the signature data expanded into 8 bits is 0xA5.
Optionally, in the process of expanding the encoded data into the feature word data, 8-bit feature word data may be used, that is, data bits of one encoded data are expanded into 8-bit feature word data. The 8-bit signature data may be any octal data suitable for modulation in the art. In this embodiment, data bit 0 in the encoded data may correspond to feature word data 0xA5 (also referred to as a feature word) expanded into 8 bits.
S143, if the data bit of the encoded data is 1, the 8-bit signature data is 0x5A.
Correspondingly, the data bit 1 in the encoded data can be correspondingly expanded into 8-bit characteristic word data 0x5A, so that the introduction of other 8-bit characteristic word data with larger data bit arrangement sequence difference, which results in the complexity of the enhanced encoding and enhanced decoding process and increases the operation amount, can be avoided. By performing enhanced coding on the data bits of the coded data by using the 8-bit characteristic word data, the bit error rate can be effectively reduced, and meanwhile, a higher signal processing rate is maintained, thereby avoiding higher calculation resource consumption of the wireless transmission device 100.
Referring to fig. 5, in one embodiment, the predetermined number of bits is 16 bits. With regard to the above steps:
the step of expanding each bit of the encoded data into the feature word data with a preset number of bits by using 1 bit as a unit may specifically include the following steps S142 and S144:
s142, when each bit of the encoded data is expanded in a unit of 1 bit, if the data bit of the encoded data is 0, the feature word data expanded to 16 bits is 0xA5A5;
s144, if the data bit of the encoded data is 1, the signature data expanded into 16 bits is 0x5A.
Optionally, in the process of expanding the encoded data into the feature word data, 16 feature word data may also be used, that is, data bits of one encoded data are expanded into 16-bit feature word data. The 16-bit signature word data may be any of a variety of hexadecimal data suitable for modulation in the art. In this embodiment, data bit 0 in the encoded data may correspond to the character word data 0xA5A5 expanded into 16 bits. Correspondingly, the data bit 1 in the encoded data can be correspondingly expanded into 16-bit characteristic word data 0x5A, so that the introduction of other 16-bit characteristic word data with larger data bit arrangement sequence difference can be avoided, the complexity of the encoding and decoding enhancement process can be increased, and the operation amount can be increased. By performing enhanced coding on the data bits of the coded data by using the 16-bit characteristic word data, the bit error rate can be effectively reduced while a higher signal processing rate is maintained, thereby avoiding higher calculation resource consumption of the wireless transmission device 100.
Referring to fig. 6, there is also provided a wireless data processing method, which can be applied to, but is not limited to, the wireless receiving device 200 shown in fig. 2, and the wireless data processing method includes the following steps S13 and S15:
s13, acquiring demodulated feature word data;
s15, restoring the characteristic word data to obtain coded data; the encoded data is used for decoding processing.
On the signal receiving side, the carrier signal is received and then demodulated to obtain demodulated signature data. The enhancement decoding module performs enhancement decoding processing, i.e., restoration processing, which is the reverse of the enhancement encoding process, on the demodulated character data to restore the character data to encoded data. Because the arrangement rule (sequence) of each data bit of the characteristic word data used in the enhanced coding process is predetermined, the arrangement sequence of each data bit in the enhanced decoding process can be compared in real time according to the arrangement rule determined by each data bit of the characteristic word data in the enhanced decoding process, and when a certain data bit is wrong or a certain data bit is wrong, the data bit can be restored to be the data bit consistent with the corresponding correct data bit on the original characteristic word data, namely, the error code is corrected. And obtaining the receiving side coded data which is consistent with the coded data output by the transmitting side after the enhanced decoding. The error rate can be reduced to the maximum extent by decoding the encoded data output after the reduction processing, so that the error probability of the encoded data at the receiving side due to error codes is greatly reduced, and the accuracy and reliability of the data obtained by the receiving processor are ensured.
According to the wireless data processing method, the enhancement decoding link corresponding to the enhancement coding is added in the wireless data processing process, the corresponding character data output after demodulation is restored into the coding data, and then decoding output is carried out. Therefore, the error rate can be reduced to the greatest extent, the error probability of the coded data at the receiving side due to error code generation is greatly reduced, the application of wireless communication in the communication environment with long distance and large interference of the elevator shaft is facilitated, and the communication cost is reduced.
In an embodiment, the step S15 may specifically include the following steps:
restoring the characteristic word data into coded data by taking a preset bit number as a unit; wherein, each preset bit in the feature word data has a plurality of bits, and the bits are correspondingly reduced to 1 data bit in the coded data.
It can be understood that the preset number of bits is also the preset number of bits corresponding to the single feature word data used in the enhancement encoding process. In the process of restoring the characteristic word data output after demodulation to the encoded data, a plurality of data bits per preset bit, that is, one characteristic word data, correspond to the data bits of one encoded data (each characteristic word data is continuously arranged to form transmission data), so that the encoded data corresponding to the transmission side can be restored. Since the process of turbo decoding is the inverse process of turbo coding, repeated description is not repeated here.
Therefore, the characteristic word data output after demodulation is restored into the coded data, when data bits in the demodulated characteristic word data are wrong, the data can be restored according to the set arrangement sequence of the data bits of the characteristic word data, the purpose of effectively reducing the error rate is achieved, and the accuracy of the data received by the receiving side is improved.
Referring to fig. 7, in one embodiment, the predetermined number of bits is 8 bits. With regard to the above steps:
the step of restoring the feature word data to the encoded data in units of the preset number of bits may specifically include the following steps S151 to S155:
s151, when the characteristic word data are restored into coded data by taking 8 bits as a unit, performing exclusive OR operation on received data X corresponding to each 8-bit characteristic word data and the corresponding 8-bit characteristic word data, and counting the number n1 of bits which are not equal to zero in an operation result X1; wherein, the corresponding 8 bits of characteristic word data is 0xA5.
The received data X is also transmission data corresponding to one data bit in the encoded data. The number n1 of bits not equal to zero is the number of data bits other than 0 in the result (i.e., the operation result X1) obtained by performing an exclusive nor operation on the received data X and the 8-bit feature word data restored to the received data X.
It can be understood that, when the feature word data used in the enhancement encoding process is 8-bit feature word data 0xA5 and 0x5A for enhancement encoding, the enhancement decoding process may perform enhancement decoding by using 8-bit feature word data 0xA5 and 0x5A correspondingly. In this process, each time the 8-bit feature word data is reduced to a piece of received data X, the received data X and the corresponding 8-bit feature word data are subjected to an exclusive nor operation to determine the number of bits n1 not equal to zero in the operation result.
S153, carrying out XOR operation on the received data X and corresponding 8-bit characteristic word data, and counting the number n2 of bits which are not equal to zero in the obtained operation result X2;
it will be appreciated that the received data X is also exclusive-ored with the corresponding 8 bits of feature word data 0xA5 to determine the number of bits n2 in the result of the operation which is not equal to zero.
S155, if n1 is greater than n2, the received data X is restored to data bit 0 of 1-bit encoded data, otherwise, the received data X is restored to data bit 1 of 1-bit encoded data.
When n1 is determined to be larger than n2, the received data X can be restored to data bit 0 of the encoded data; when it is determined that n1 is smaller than n2, the received data X can be restored to data bit 1 of the encoded data. Therefore, the recovery processing process is continuously carried out on each subsequent received data X, so that the coded data of the receiving side consistent with the coded data output after the coding processing can be obtained, and the error code appearing in the characteristic word data output after the demodulation is effectively eliminated, thereby greatly reducing the error rate of the coded data and improving the accuracy of the transmitted data received by the receiving processor.
Referring to fig. 8 to 10, in one embodiment, the predetermined number of bits is 16 bits. With regard to the above steps:
as shown in fig. 8, the step of restoring the feature word data to the encoded data in units of the preset number of bits may specifically include the following steps S152 to S156:
s152, when the characteristic word data are restored into coded data by taking 16 bits as a unit, performing exclusive OR operation on received data Y corresponding to each 16-bit characteristic word data and the corresponding 16-bit characteristic word data, and counting the number m1 of bits which are not equal to zero in an operation result Y1; wherein, the corresponding 16-bit characteristic word data is 0xA5A5;
the received data Y is also transmission data corresponding to one data bit in the encoded data. The number m1 of bits not equal to zero is the number of data bits other than 0 in the received data Y and the result (i.e., the operation result Y1) obtained by performing an exclusive nor operation on the received data Y and the 16-bit feature word data restored to the received data Y.
It is understood that when the feature word data used in the enhancement encoding process is 16-bit feature word data 0xA5A5 and 0x5A for enhancement encoding, the enhancement decoding process may use 16-bit feature word data 0xA5A5 and 0x5A for enhancement decoding. In this process, each time the 16-bit feature word data is reduced to a piece of received data Y, the received data Y and the corresponding 16-bit feature word data 0xA5A5 may be subjected to an exclusive or operation, and it is determined that the number of bits m1 in the operation result is not equal to zero.
S154, carrying out XOR operation on the received data Y and corresponding 16-bit characteristic word data, and counting the number m2 not equal to zero in the obtained operation result Y2;
s156, if m1 is greater than m2, restoring the received data Y to data bit 0 of 1-bit encoded data, otherwise restoring to data bit 1 of 1-bit encoded data.
As shown in fig. 9 (taking the 8-bit signature word data as an example), it can be understood that the received data Y is further subjected to an exclusive or operation with the corresponding 16-bit signature word data being 0xA5A5, and the number m2 of bits not equal to zero in the operation result is determined. When m1 is determined to be larger than m2, the received data Y can be restored to data bit 0 of the encoded data; when m1 is determined to be smaller than m2, the received data Y can be restored to data bit 1 of the encoded data. Thus, the above reduction processing process is continuously performed on each subsequent received data Y, as shown in fig. 10, so that the encoded data on the receiving side consistent with the encoded data output by the encoding module can be obtained, and the error code appearing in the feature word data output by the demodulation module is effectively eliminated, thereby greatly reducing the error code rate of the encoded data and improving the accuracy of the transmitted data (also called received message) received by the receiving processor.
In one embodiment, during the enhancement encoding and enhancement decoding, the enhancement encoding module and the enhancement decoding module can switch the type of character data used according to the communication distance between the transmission and the reception of the signal; the types include a first set number of bits of feature word data, such as the 8-bit feature word data (0 xA5 and 0x 5A) described above, and a second set number of bits of feature word data, such as the 16-bit feature word data (0 xA5A5 and 0x 5A) described above.
It can be understood that in the wireless communication process, the actual communication distance between the signal transmission and the signal reception can be known in real time through a position detection device, such as an absolute position device on an elevator car, so that the type of the used characteristic word data can be switched according to the actual communication distance and the set switching distance. For example, but not limited to, the set switching distance is 50m, and when the communication distance is less than 50m, the turbo coding module performs turbo coding using 8-bit feature word data (such as 0xA5 and 0x5A described above), and the corresponding turbo decoding module also performs turbo decoding using the same 8-bit feature word data. When the communication distance is greater than 50m, the enhancement coding module performs enhancement coding by using 16-bit feature word data (such as 0xA5A5 and 0x5A described above), and the corresponding enhancement decoding module performs enhancement decoding by using the same 16-bit feature word data. Therefore, when the communication distance is short, the processing rate of the enhanced coding and decoding is matched with the actual short-distance communication, the error rate reduction efficiency is high, and the waste of system resources is avoided. When the communication distance is longer, the processing rate of the enhanced coding and decoding is matched with the actual long-distance communication, the bit error rate reduction efficiency is higher, and the waste of system resources is avoided.
Referring to fig. 11, in an embodiment, the transmitting module may further perform forward adjustment on the output power according to a communication distance between signal transmission and signal reception. The forward adjustment is: the transmitting module increases the output power when the actual communication distance increases and decreases the output power when the actual communication distance decreases.
It is understood that the output power of the transmitting module also corresponds to the transmitting power of the transmission signal. The output power adjustment process of the transmitting module may be linear adjustment or stepped adjustment, for example, a plurality of output power adjustment distances (i.e., a plurality of communication distances for triggering output power adjustment) are set, and when the actual communication distance reaches the output power adjustment distance, one output power adjustment is performed, and the adjustment length may be set in advance according to the interference degree and the transmission distance of the signal transmission environment.
By dynamically adjusting the output power of the transmitting module along with the communication distance, the signal strength under the interference of a signal transmission environment can be better enhanced, and the error code influence of the interference on a transmission signal is weakened. Thus, the error rate can be further reduced by matching with the enhanced coding and decoding, so that the adaptability of the wireless communication in the communication environment with long distance and large interference of the elevator shaft is stronger, and the communication cost is further reduced.
It should be understood that, although the respective steps in the flowcharts of fig. 3 to 8 are sequentially shown as indicated by arrows, the steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3-8 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Referring to fig. 12, in an embodiment, a wireless data processing apparatus 300 is further provided, which includes a code obtaining module 11 and a code spreading module 13. The encoding obtaining module 11 is configured to obtain encoded data obtained after encoding processing; the coded data is coded output data corresponding to data to be transmitted. A code expansion module 13, configured to expand the coded data into feature word data; the characteristic word data is used for modulation and wireless transmission processing.
The wireless data processing apparatus 300 adds enhancement coding processing to the data transmission process through each module, expands the encoded data output after the conventional coding into the characteristic word data, and then performs modulation output. Therefore, by expanding the coded data into the characteristic word data for transmission, when the signal is interfered by the air wireless transmission and the error code occurs, the demodulated characteristic word data can be correspondingly restored into the coded data, the error code is corrected to reduce the error code rate to the maximum extent, so that the error rate caused by the error code during the data transmission process is greatly reduced, the application of the wireless communication in the long-distance and high-interference communication environment of the elevator shaft is facilitated, and the communication cost is reduced.
In an embodiment, the code expansion module 13 may be specifically configured to expand each bit of the coded data into the feature word data with a preset number of bits by using 1 bit as a unit in the enhancement coding process.
In an embodiment, the encoding and expanding module 13 is further configured to, in the process of expanding each bit of the encoded data by taking 1 bit as a unit in the enhancement encoding process, when a data bit of the encoded data is 0, expand the characteristic word data into 8 bits as 0xA5; when the data bit of the encoded data is 1, the signature word data expanded into 8 bits is 0x5A.
In an embodiment, the above-mentioned encoding expansion module 13 is configured to expand the characteristic word data of 16 bits to 0xA5A5 when the data bit of the encoded data is 0 in the process of enhancing the encoding or further in the process of expanding each bit of the encoded data by using 1 bit as a unit; when the data bit of the encoded data is 1, the characteristic word data expanded into 16 bits is 0x5A.
Referring to fig. 13, in an embodiment, another wireless data processing apparatus 400 is further provided, which includes a demodulation obtaining module 31 and a code recovery module 33. The demodulation obtaining module 31 is configured to obtain the demodulated signature data. The code restoration module 33 is configured to restore the feature word data to obtain encoded data; the encoded data is used for decoding processing.
The wireless data processing apparatus 400 adds an enhanced decoding link corresponding to the enhanced code in the wireless data processing process through the modules, restores the corresponding feature word data output after demodulation to coded data, and then decodes and outputs the coded data. Therefore, the error rate can be reduced to the greatest extent, the error probability of the coded data at the receiving side due to error code generation is greatly reduced, the application of wireless communication in the communication environment with long distance and large interference of the elevator shaft is facilitated, and the communication cost is reduced.
In an embodiment, the code recovery module 33 may be specifically configured to recover the feature word data into the coded data by using a preset number of bits as a unit in the enhanced decoding process; wherein, every preset bit in the characteristic word data has a plurality of bits, and the bits are correspondingly reduced to 1 data bit in the coded data.
In one embodiment, the code recovery module 33 includes a first recovery module, a second recovery module, and a third recovery module. The first restoring module is used for carrying out exclusive OR operation on received data X corresponding to each 8-bit characteristic word data and corresponding 8-bit characteristic word data when the characteristic word data are restored into coded data by taking 8 bits as a unit, and counting the number n1 of bits which are not equal to zero in an operation result X1; wherein, the corresponding 8 bits of feature word data is 0xA5. The second restoring module is used for carrying out XOR operation on the received data X and corresponding 8-bit characteristic word data, and counting the number n2 of bits which are not equal to zero in an operation result X2. The third restoring module is used for restoring the received data X into the data bit 0 of the 1-bit coded data when n1 is larger than n2, and restoring the received data X into the data bit 1 of the 1-bit coded data when n1 is smaller than n2.
In one embodiment, the first restoring module is configured to, when restoring the characteristic word data into the encoded data in 16 bits, perform an exclusive-nor operation on the received data Y corresponding to each 16-bit characteristic word data and the corresponding 16-bit characteristic word data, and count a number m1 of bits not equal to zero in an operation result Y1; wherein the corresponding 16-bit feature word data is 0xA5A5. The second restoring module is used for performing exclusive-or operation on the received data Y and corresponding 16-bit feature word data, and counting the number m2 of bits which are not equal to zero in the obtained operation result Y2. The third restoring module is configured to restore the received data Y to the data bit 0 of the 1-bit encoded data when m1 is greater than m2, and restore the received data Y to the data bit 1 of the 1-bit encoded data when m1 is less than m2.
For specific limitations of the wireless data processing apparatus 300 and the wireless data processing apparatus 400, reference may be made to the corresponding limitations of the wireless data processing method above, and details are not repeated here. The respective modules in the wireless data processing apparatus 300 and the wireless data processing apparatus 400 described above may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring coded data obtained after coding processing; the coded data is coded output data corresponding to data to be sent; spreading the coded data into characteristic word data; the characteristic word data is used for modulation and wireless transmission processing.
Or the following steps are realized: acquiring demodulated feature word data; restoring the characteristic word data to obtain encoded data; the encoded data is used for decoding processing.
In one embodiment, the computer program, when executed by the processor, further performs the sub-steps of the wireless data processing method embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A method of wireless data processing, comprising:
acquiring coded data obtained after coding processing; the coded data is coded output data corresponding to data to be sent;
with 1 bit as a unit, expanding each bit of the coded data into feature word data with a preset bit number; the characteristic word data is transmission data with set arrangement sequence of each data bit; the characteristic word data is used for modulation and wireless transmission processing; wherein the preset number of bits is determined according to a wireless communication distance.
2. The wireless data processing method according to claim 1, wherein the preset number of bits is 8 bits;
the step of expanding each bit of the encoded data into the feature word data with a preset number of bits by using 1 bit as a unit includes:
when each bit of the coded data is expanded by taking 1 bit as a unit, if the data bit of the coded data is 0, the characteristic word data expanded into 8 bits is 0xA5;
if the data bit of the encoded data is 1, the characteristic word data expanded into 8 bits is 0x5A.
3. The wireless data processing method according to claim 1, wherein the preset number of bits is 16 bits;
the step of expanding each bit of the encoded data into the feature word data with a preset number of bits by using 1 bit as a unit includes:
when each bit of the coded data is expanded by taking 1 bit as a unit, if the data bit of the coded data is 0, the characteristic word data expanded into 16 bits is 0xA5A5;
if the data bit of the coded data is 1, the characteristic word data expanded into 16 bits is 0x5A5A.
4. A method of wireless data processing, comprising:
acquiring demodulated feature word data; the characteristic word data is transmission data with a set arrangement sequence of each data bit;
restoring a plurality of bits in each preset bit in the characteristic word data by taking a preset bit number as a unit to correspondingly obtain data of each data bit of the coded data; wherein; the preset bit number is determined according to the wireless communication distance; the encoded data is used for decoding processing.
5. The wireless data processing method according to claim 4, wherein the preset number of bits is 8 bits;
the step of reducing the feature word data to the code number by using a preset number of bits as a unit includes:
when the characteristic word data is restored into the coded data by taking 8 bits as a unit, performing exclusive OR operation on received data X corresponding to each 8-bit characteristic word data and the corresponding 8-bit characteristic word data, and counting the number n1 of bits which are not equal to zero in an operation result X1; wherein, the corresponding 8 bits of the characteristic word data are 0xA5;
carrying out XOR operation on the received data X and the corresponding 8-bit character data, and counting the number n2 of bits which are not equal to zero in an operation result X2;
if n1 is greater than n2, reducing the received data X to be data bit 0 of the coded data with 1 bit, otherwise, reducing the received data X to be data bit 1 of the coded data with 1 bit.
6. The wireless data processing method according to claim 4, wherein the preset number of bits is 16 bits;
the step of reducing the feature word data to the code number by using a preset number of bits as a unit includes:
when the characteristic word data is restored into the coded data by taking 16 bits as a unit, performing exclusive OR operation on received data Y corresponding to each 16-bit characteristic word data and the corresponding 16-bit characteristic word data, and counting the number m1 of bits which are not equal to zero in an operation result Y1; wherein the corresponding 16 bits of the feature word data are 0xA5A5;
carrying out XOR operation on the received data Y and the corresponding 16-bit characteristic word data, and counting the number m2 of bits which are not equal to zero in an operation result Y2;
if m1 is greater than m2, reducing the received data Y to data bit 0 of the coded data with 1 bit, otherwise, reducing the received data Y to data bit 1 of the coded data with 1 bit.
7. A wireless transmission device is characterized by comprising an encoder, an enhanced encoder, a modulator and a transmitter which are connected in sequence;
the enhancement encoder is used for unfolding each bit of the encoded data output by the encoder into characteristic word data with a preset bit number by taking 1 bit as a unit, and outputting the characteristic word data to the modulator for modulation to form a carrier signal, and the transmitter is used for wirelessly transmitting the carrier signal;
wherein the preset number of bits is determined according to a wireless communication distance; the characteristic word data is transmission data with a set arrangement sequence of data bits.
8. A wireless receiving apparatus, comprising a receiver, a demodulator, an enhanced decoder, and a decoder connected in sequence;
the receiver is used for receiving a carrier signal, the demodulator is used for demodulating the carrier signal to obtain characteristic word data and outputting the characteristic word data to the enhanced decoder, and the enhanced decoder is used for correspondingly restoring a plurality of bits in the characteristic word data by taking a preset number of bits as a unit to obtain data of each data bit of encoded data and outputting the data to the decoder for decoding;
wherein the preset number of bits is determined according to a wireless communication distance; the characteristic word data is transmission data with a set arrangement sequence of each data bit; the feature word data is used to correct error data in the encoded data input to the decoder.
CN201811611922.0A 2018-12-27 2018-12-27 Wireless data processing method and wireless transmitting and receiving equipment Active CN109561467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811611922.0A CN109561467B (en) 2018-12-27 2018-12-27 Wireless data processing method and wireless transmitting and receiving equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811611922.0A CN109561467B (en) 2018-12-27 2018-12-27 Wireless data processing method and wireless transmitting and receiving equipment

Publications (2)

Publication Number Publication Date
CN109561467A CN109561467A (en) 2019-04-02
CN109561467B true CN109561467B (en) 2023-02-28

Family

ID=65871427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811611922.0A Active CN109561467B (en) 2018-12-27 2018-12-27 Wireless data processing method and wireless transmitting and receiving equipment

Country Status (1)

Country Link
CN (1) CN109561467B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175312B1 (en) * 1990-05-29 2001-01-16 Microchip Technology Incorporated Encoder and decoder microchips and remote control devices for secure unidirectional communication
CN1959645A (en) * 2005-11-01 2007-05-09 华为技术有限公司 Device and method for checking up bit wide confersion data
CN103346800A (en) * 2013-07-08 2013-10-09 沈阳东软医疗系统有限公司 Method and device for compressing data
CN108090364A (en) * 2017-11-29 2018-05-29 链家网(北京)科技有限公司 A kind of localization method and system in data leak source

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2514816A (en) * 2013-06-05 2014-12-10 Nordic Semiconductor Asa Digital radio communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175312B1 (en) * 1990-05-29 2001-01-16 Microchip Technology Incorporated Encoder and decoder microchips and remote control devices for secure unidirectional communication
CN1959645A (en) * 2005-11-01 2007-05-09 华为技术有限公司 Device and method for checking up bit wide confersion data
CN103346800A (en) * 2013-07-08 2013-10-09 沈阳东软医疗系统有限公司 Method and device for compressing data
CN108090364A (en) * 2017-11-29 2018-05-29 链家网(北京)科技有限公司 A kind of localization method and system in data leak source

Also Published As

Publication number Publication date
CN109561467A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN106416083B (en) Method and device for constructing punched polarization code
CA3041571C (en) Channel encoding and decoding method and device in wireless communications
CN108631792B (en) Method and device for encoding and decoding polarization code
RU2467477C2 (en) Method and apparatus for conveying antenna configuration information via masking
US20080219447A1 (en) Systems and Methods of Secure Coding for Physical Layer Communication Channels
CN108737021B (en) Polar code transmission method and device
EP3484126B1 (en) Method and apparatus for carrying identifier information
WO2018087718A1 (en) Incremental redundancy and variations for polar codes
US8213616B2 (en) Systems and methods for providing opportunistic security for physical communication channels
US11296723B2 (en) Methods and apparatuses for data processing in communication system
US11316618B2 (en) PBCH signal accumulation method and PBCH decoder for enhancing performance of 5G NR receiver
US20150256206A1 (en) Error detection device and error detecting method
WO2018146552A1 (en) Crc aided decoding of polar codes
CN102571274B (en) Signal transmitting method applicable to prerotation phase of wireless bidirectional relay system
CN114553372B (en) Decoding method and device for digital signals and electronic equipment
CN109561467B (en) Wireless data processing method and wireless transmitting and receiving equipment
WO2018196638A1 (en) Information bearing method and device
CN109756307B (en) Data retransmission method and device
CN108540140B (en) Polar code decoding method and device
US11075715B2 (en) Encoding method and apparatus
JP7228797B2 (en) Receiving device and receiving method
WO2016074132A1 (en) Information transmission method, device and system
CN111601342B (en) Bit error-based low-speed wireless personal area network error data packet recovery method
Mohammadi et al. Exploiting partial packets in random linear codes using sparse error recovery
CN110830166B (en) Joint detection decoding method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant