CN105389865A - Digital signal sending method capable of shortening sending time, digital signal receiving method and mobile terminal - Google Patents

Digital signal sending method capable of shortening sending time, digital signal receiving method and mobile terminal Download PDF

Info

Publication number
CN105389865A
CN105389865A CN201410453843.7A CN201410453843A CN105389865A CN 105389865 A CN105389865 A CN 105389865A CN 201410453843 A CN201410453843 A CN 201410453843A CN 105389865 A CN105389865 A CN 105389865A
Authority
CN
China
Prior art keywords
digital signal
code element
time
shortening
data string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410453843.7A
Other languages
Chinese (zh)
Other versions
CN105389865B (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.)
Kuang Chi Intelligent Photonic Technology Ltd
Original Assignee
Kuang Chi Intelligent Photonic Technology 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 Kuang Chi Intelligent Photonic Technology Ltd filed Critical Kuang Chi Intelligent Photonic Technology Ltd
Priority to CN201410453843.7A priority Critical patent/CN105389865B/en
Priority to PCT/CN2015/086870 priority patent/WO2016034038A1/en
Publication of CN105389865A publication Critical patent/CN105389865A/en
Application granted granted Critical
Publication of CN105389865B publication Critical patent/CN105389865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention relates to a digital signal sending method capable of shortening sending time and a digital signal receiving method. The sending method comprises the steps that recoding is carried out, wherein a binary data string to be sent is recoded, a multi-system equivalent data string is formed, and the multi-system is ternary or higher; converting is carried out, wherein code elements in the multi-system equivalent data string are sequentially coded into level signals in different states. The receiving method comprises the steps that the received level signals in different states are decoded into the corresponding code elements which are then sequentially combined into a multi-system data string, wherein the multi-system is ternary or higher; the multi-system data string is coded into a binary equivalent data string. The invention further relates to a mobile terminal adopting the methods. The overall sending time is shortened by reducing the number of sent codes, and accurate coding information can be received as long as the delay time of the level signals with different time durations is determined and a receiver carries out distinguishing according to set delay numbers.

Description

Shorten digital signal method of sending and receiving and the mobile terminal of transmitting time
Technical field
The present invention relates to a kind of digital signal method of sending and receiving shortening transmitting time, especially a kind of method shortening mobile terminal optical key fluorescent lifetime, and a kind of mobile terminal, particularly optical key.
Background technology
Existing photon entrance guard system needs the authentication information utilizing the mobile terminals such as mobile phone to hold to preserve user usually; this mobile terminal then must possess one can get to allow receiving end the light signal sent from mobile terminal by luminous device; in the prior art, the device that this can be luminous can select the flashlamp of mobile terminal itself usually.But, due to the flashlamp of mobile terminal itself and non-expert be designed to send light signal, and the frequency of flash of light is normally configured according to application model by production firm, so suitable sending method all will be customized with the light signal of the frequency and light intensity that send the regulation meeting receiving end for every money mobile terminal, so that receiving end is to the correctly identification of this light signal, in addition, the mobile terminal of some models is also had also flashlamp not to be installed, cause the limitation utilizing flashlamp or built-in other the luminous original papers of mobile terminal to carry out optical communication thus, and same optical communication method or be difficult to by the compatible problem of the mobile terminal of different model for the client of optical communication.For this problem, can realize sending light signal by grafting adapter.No matter be possess by flashlamp own or grafting adapter the mobile terminal sending light signal function, we can be called mobile terminal optical key.Common mobile terminal is mobile phone or panel computer or the mancarried electronic aid such as WIFI or portable power source with oneself.
Mobile phone optical key is a kind of more recent application based on visible light communication, and it is that the enabling of a kind of complete new experience is experienced, and is the revolution in the field of intelligent entrance guard.User only simply need arrange the mandate id of access card, and mobile phone opens corresponding gate inhibition by being sent to gate inhibition's receiving end in the mode of light signal.The light signal of mobile phone optical key not easily intercepts, and signals security is reliable.
The coded system that present mobile phone optical key sends information is nrzi encoding, raw information is one group with n bit by counting coding, the time interval is set between two adjacent groups signal between group, often organizes the information representing n bit in this group signal in information with high level to the reversion number of times of low level (or low level is to high level) respectively.Because often need between group information to distinguish by interblock space, interblock space is consuming time the longest and do not have the information content, so overall transmitting time is longer.
Also there is same problem in the mobile terminal optical key for the other types of the occasions such as bank card.
In the communications field, on especially binary-coded industrial control equipment, also there is the various occasion needing to reduce transmitting time, user wishes that can shorten transmitting time improves work efficiency.
Summary of the invention
The object of this invention is to provide a kind of digital signal method of sending and receiving shortening transmitting time, and a kind of mobile terminal.
For this reason, the digital signal sending method of shortening transmitting time of the present invention, comprises the steps:
Recompile step: by binary data string recompile to be sent, forms multi-system equivalent data string; Described multi-system is more than three-shift and three-shift;
Switch process: the code element in described multi-system equivalent data string is encoded into the different level signal of state successively.
Preferably, following technical characteristic can also be adopted further:
In switch process, adopt the level signal of different duration to represent the different digital in multi-system.
Described different duration has 3 kinds or more to plant.
Level signal is divided into many grades according to level, and different shelves represent the different digital in multi-system.
Level signal is divided into many grades according to level, and varying level size represents numerals different in multi-system from the combination of duration.
In switch process, adopt the direct coding of not establishing intersymbol interval, or adopt the space coding of establishing intersymbol interval, or a part adopts direct coding another part to adopt space coding.
Described do not establish the direct coding at intersymbol interval be by code element between level signal distinguish adjacent code element from high step-down or from low uprising.
Before recompile step, also comprise overturning step, if the number of the code element that the unit transmission time is long is greater than the number of unit transmission time short code element in binary element, then the code element long the unit transmission time and unit transmission time short code element are exchanged, and by leading zone bit, described upset is identified.
After recompile step, also comprise secondary overturning step, that is: if the number of the code element that certain unit transmission time is long is greater than the number of the code element of unit transmission shortest time, and this unit transmission time long code element code element that to be overall transmission time the longest, exchanges the code element of code element the longest for this overall transmission time and unit transmission shortest time; And adopt and exchange mark the upset of described secondary is identified.
In overturning step, first digital signal to be sent is divided into k section, then overturns by section, wherein k be greater than 2 natural number.
The present invention also comprises a kind of digital signal reception method shortening transmitting time, comprises the steps:
Level signals different for the state received is decoded into corresponding code element, and is combined into multi-system serial data successively, described multi-system is more than three-shift and three-shift;
Described multi-system serial data is encoded into binary equivalent data string.
The present invention also comprises a kind of mobile terminal, and for carrying out authentication by photon information, it adopts above-mentioned method to shorten digital signal transmitting time.
The present invention also comprises a kind of receiving end, and it adopts above-mentioned digital signal reception method.
The present invention also comprises a kind of optical communication system, and it comprises above-mentioned mobile terminal and receiving end.
Owing to have employed such scheme, binary digital signal to be sent is carried out recompile by m code element is a string by the present invention, the he number n of newly organized code is less than the he number m in former binary digital signal, thus decreases the number of code to be sent, and then decreases transmitting time.One can not send a code element independent in scale-of-two more although it is so, but the transmission of overall digital signal can't be had influence on, can not a binary element that transmission one is independent in sending because actual.The present invention shortens overall transmitting time by reducing transmission yardage, as long as determine the delay time of the different level signal of duration, receiver carries out differentiation according to the delay number of setting can receive coded message accurately.
Accompanying drawing explanation
Fig. 1 is that embodiment one receives photon information hardware facility figure.
Fig. 2 is the light signal transmission and reception schematic diagram of optical key.
Fig. 3 is embodiment one directly coding principle schematic diagram.
Figure 4 ?1 ~ figure 4 ?3 are embodiment one software signaling process flow diagrams, the arrow that wherein label is identical represents same arrow, that is: figure 4 ?arrow a and figure in 14 ?arrow a in 2 be same arrow, figure 4 ?arrow b and figure in 24 ?arrow b in 3 be same arrow.
Fig. 5 is embodiment two coding principle schematic diagram.
Fig. 6 is embodiment two software signaling process flow diagram.
Figure 7 ?1, figure 7 ?2 are embodiment three software signaling process flow diagrams, the arrow that wherein label is identical represents same arrow, that is: figure 7 ?arrow c and figure in 17 ?arrow c in 2 be same arrow, figure 7 ?arrow d and figure in 17 ?arrow d in 2 be same arrow.
Embodiment
Code element alleged herein refers to the digital efm of each forming arbitrary carry system serial data, and the code element of such as binary data string 00111 is 0,0,1,1,1, and the code element of ternary data string 012201 is 0,1,2,2,0,1.Two kinds of numbers are comprised for binary data string: 0 and 1; Three kinds of numbers can be comprised: 0,1 and 2 for ternary data string; N kind can be comprised according to string digital: 0,1,2 for n-ary digit ... n-1.
Embodiments provide a kind of digital signal sending method shortening transmitting time, comprise the steps:
Recompile step: by binary data string recompile to be sent, forms multi-system equivalent data string; Described multi-system is more than three-shift and three-shift;
Switch process: the code element in described multi-system equivalent data string is encoded into the different level signal of state successively.
Based on the level signal that switch process obtains, can optical signal modulation and transmitting be carried out, utilize the Data Modulation light source through coding, data are launched with visible ray form.
In certain embodiments, the duration of employing level signal different wave represents the different digital in multi-system.Wherein the duration of different wave can have 3 kinds or more to plant.Multiple duration can be multiple duration scope, namely with the different digital in the waveforms stands multi-system within the scope of different duration.
In further embodiments, also can adopt the weak code level signal of light intensity, be namely divided into different many grades according to the size of level, different shelves represent the different digital in multi-system.
Easy understand, can also represent numerals different in multi-system with the combination of the level signal of the duration of different wave and different shelves.
In switch process, adopt the direct coding of not establishing intersymbol interval, or adopt the space coding of establishing intersymbol interval, or a part adopts direct coding another part to adopt space coding.
In certain embodiments, by making the level signal between code element uprise from high step-down or from low, namely saltus step occurs, the waveform of each saltus step is all used for expression code element, realizes the direct coding of not establishing intersymbol interval.In certain embodiments, space coding can adopt the coded systems such as NRZI or NRZ.
In preferred embodiment, before recompile step, also comprise overturning step, if the number of the code element that the unit transmission time is long is greater than the number of unit transmission time short code element in binary element, then the code element long the unit transmission time and unit transmission time short code element are exchanged, and by leading zone bit, described upset is identified.In preferred embodiment, after recompile step, also comprise secondary overturning step, that is: if the number of the code element that certain unit transmission time is long is greater than the number of the code element of unit transmission shortest time, and this unit transmission time long code element code element that to be overall transmission time the longest, exchanges the code element of code element the longest for this overall transmission time and unit transmission shortest time; And adopt and exchange mark the upset of described secondary is identified.
Embodiment one:
As figure 1 ?shown in 4, the present embodiment illustrates a kind of method and a kind of mobile phone optical key, receiving end and the optical communication system that shorten mobile phone optical key fluorescent lifetime.
This optical communication system hardware facility figure as shown in Figure 1, this is a kind of mobile phone optical key photon information receiving gate access control system, and its hardware facility comprises: luminaire (mobile phone optical key), receiving end MCU (comprising decoding, deciphering and identification module), the receiver (comprising Signal reception, photoelectric commutator (photodiode)) be included in MCU, access controller (comprising there being Wei root (Wiegand) protocol interface) and server.Light signal sends from luminaire (mobile phone optical key), received by the photodiode of MCU, the operations such as the light signal received carries out decoding by MCU, descrambling obtain ID (identity) and Counter (counting) value, by Wei root passage by this Signal transmissions to access controller, ID value and switch gate temporal information etc. are uploaded to server by network by network by access controller.
Wherein MCU represents micro-control unit, and Wei root (Wiegand) agreement is standard unified in the world, and it is applicable to the card reader and the card that relate to access control system.Wei single data export be made up of two lines, be respectively be designated as in DATA0 and DATA1, figure D0 D1; Two lines are respectively ' 0 ' or ' 1 ' and export.
Its method is described as follows:
1, physical step
Light signal transmission and reception schematic diagram as shown in Figure 2, when mobile phone optical key irradiates the photodiode on receiver, light signal is converted to electric signal by photodiode, this voltage signal can be received by the pin of the connection photodiode of MCUI/0, by obtaining the numerical information transmitted to the transition detection of low and high level and the analysis of sampling number, in Fig. 2, GND represents earth terminal.
2, software signaling process flow diagram, as figure 4 ?1 ~ figure 4 ?3.
(1) three section of upset
Digital signal to be sent in this example has 54, often gets 18 and be divided into high, medium and low three sections in 54, carries out the judgement that whether overturns respectively and adds corresponding leading zone bit leadIndex (being added in the foremost of whole effective number).Judgment rule is as follows: if the number (NumHigh, NumMid, NumLow) of 1 is greater than 9 in 18, then carry out exchanging (0 and 1 exchanges), as figure 4 ?1; Otherwise do not exchange.The unit transmission time due to code element in this example 1 is long and the unit transmission time of code element 0 is short, can save the transmission time after exchanging.
Because always have three leading marks, high section judged result charges to the bit2 of leading zone bit leadIndex, stage casing judged result charges to the bit1 of leading zone bit leadIndex, low section of judged result charges to the bit0 of leading zone bit leadIndex, such leadIndex has 8 kinds of combinations, in corresponding scale-of-two 000,001,010,011,100,101,110,111 respectively, decimally represent to be exactly that leadindex equals 0,1,2,3,4,5,6,7 respectively, as figure 4 ?8 branches in 2.
Carry out Code And Decode with receiving end according to consistent communication protocol at transmitting terminal, the figure place of lead code can be preset, and effectively digital figure place also can be preset.The present embodiment only with three sections exemplarily, according to digital signal figure place to be sent, can carry out the time needed for judgement whether overturn, and the time choosing comprehensively sent needed for leading zone bit is determined specifically to be divided into several sections of upsets in practical application.
(2) three-shift coding
Often get triad number according to three-shift recompile to sent binary digital signal, meet 2 to enter 1, as shown in table 1:
Table 1 decimal system, scale-of-two and ternary digital correspondence table
The decimal system Scale-of-two Three-shift
0 000 00
1 001 01
2 010 10
3 011 02
4 100 11
5 101 12
6 110 20
7 111 21
It should be noted that: above-mentioned scale-of-two and ternary corresponding relation are only the simplest example, three-shift two bit code of its correspondence can be adjusted according to the occurrence probability of three bit codes in binary code string in practical application, three bit codes that such as occurrence probability is the highest are adjusted to corresponding ternary 00, three bit codes that occurrence probability is minimum are adjusted to corresponding ternary 21 or 12, to shorten total transmitting time.Such as, through the first step three sections upset in the present embodiment, in code string, 010 probability occurred is greater than 011, and send 10 time obviously short than the time of transmission 02, so the ternary code 02 and 10 of corresponding Binary Zero 10 and 011 is exchanged, to realize shortening the object of transmitting time.As above, shown in table, 010 in scale-of-two be 02 in corresponding three-shift originally, but exchanges 10 in rear corresponding three-shift, and 10 in the corresponding three-shift originally of 011 in scale-of-two, but exchange 02 in rear corresponding three-shift (see bolded section in table).
After coding, three-shift numerical value is from 00 to 21, and be all two bit codes (i.e. n=2), corresponding scale-of-two is all three bit codes (i.e. m=3), does not have independent one 0 and one 1.
(3) direct coding
Direct coding is relative nrzi encoding, does not namely establish interblock space (i.e. intersymbol interval), and the waveform of each saltus step is all useful information, the numerical information corresponding different according to the duration of waveform.The data sent are if the short level of 0 transmission t0, if the long level of 1 transmission t1, if the long level of 2 transmission t2, prerequisite is that each signal carries out saltus step.As Fig. 3 represents that the information of transmission is: 1010200.
(4) secondary upset
As figure 4 ?2, the digital figure place after three-shift is 36, and add up the number of wherein 0,1 and 2, if the number of 0 is zeroNum after three-shift, the number of 1 is oneNum, and the number of 2 is twoNum.The averaging time sending 1 is aveOneTime, and the averaging time sending 2 is aveTwoTime, then overturn according to the rule represented by the program in such as following quotation marks:
“if((oneNum>zeroNum)&&(oneNum>twoNum*aveTwoTime/aveOneTime))
0 and 1 exchanges
elseif((twoNum>zeroNum)&&(twoNum*aveTwoTime/aveOneTime>oneNum))
0 and 2 exchange
else
Do not exchange ".
The implication of said procedure is: if the number that the number of 1 is greater than 0, and the number that the number of 0 is greater than 2 is multiplied by the averaging time of transmission 2 divided by the value after the averaging time of transmission 1, then 0 and 1 exchange (now secondary overturning mark position leadIndexTernary being put 1), now because 1 is the longest code element of overall transmission time, 1 and 0 are exchanged and more can save the transmission time by than being exchanged in 2 and 0; If the number that the number of 2 is greater than 0, and the number that the averaging time that the number of 2 is multiplied by transmission 2 is greater than 1 divided by the value of the averaging time of transmission 1, then 0 and 2 exchange (now secondary overturning mark position leadIndexTernary being put 2), now because 2 is the longest code elements of overall transmission time, 2 and 0 are exchanged and more can save the transmission time by than being exchanged in 1 and 0, otherwise do not exchange (now secondary overturning mark position leadIndexTernary being set to 0).
(5) light signal transmission algorithm flow process
As Fig. 4-1 ~ Fig. 4-3: wherein, in initialization step, set the long type data of 54 as dataSend; In dataSend, in high, medium and low 18, the number of 1 is initialized as NumHigh=0, NumMid=0, NumLow=0 respectively, and leading zone bit is initialized as leadIndex=0; After converting three-shift to, the number of 0 is initialized as zeroNum=0, the number oneNum=0 of 1 in 36 codes altogether, and the number twoNum=0 of 2, three-shift is exchanged mark and is initialized as leadIndexTernary=0.
(6) upset and the research of three-shift coding sequencing
If the number that in every section, the number of 1 is greater than 0, be need upset and three-shift coding according to current encoder rule, first carrying out which step also has impact to the final delivery time.
Or be all the situation measuring and calculating of 1 according to 18, as table 2 (establishing t0=3.85ms, t1=16.28ms):
Table 2 overturns and three-shift coding sequencing results of measuring
As can be seen from Table 2, carry out after first carrying out three-shift coding overturning, 1 in data cannot overturn, and cause total transmitting time to be elongated again.So still first overturn carry out again three-shift coding more can shorten transmitting time.Certainly the time needed for overturning again after first carrying out three-shift coding is still shorter than the time needed for prior art.
The present embodiment scheme solves the longer problem of transmitted data currently bit time, transmitting time can be shortened to 1/3 of nrzi encoding.
The most difficult part of the present embodiment is the proposition of segmentation upset+three-shift coding+secondary upset assembly coding method, relative to nrzi encoding, this kind of method can reduce the yardage of transmission, although become 0 by original 0 and 1 two number on coding, 1 and 2 three number, but by reduce send code number (i.e. number of symbols) thus overall transmitting time is lowered.For the more occasion of transmission data bits, this method can be more effective.
In the above embodiment of the present invention, the upset of segmentation upset+three-shift coding+secondary sends yardage to shorten overall transmitting time to reduce, relative to binary coding, it is individual that yardage N can be reduced to N* (2/3) by three-shift coding, although in three-shift coding 2 is consuming time longer, reduce because send gross yards thus transmitting time can be shortened.Segmentation upset is for 1 situation pockety in serial data, by being exchanged in 1 and 0, reducing the number of the number increase by 0 of 1, realizing the object reducing transmitting time, just needing before bit string, add leading marker level.Secondary upset be in three-shift coded data string 0 the fewer and situation that 1 or 2 number is many of number, by carrying out 1 or 2 and 0 to exchange the object realizing overall transmitting time again to reduce.
The useful achievement that the present embodiment is given prominence to proposes the application of segmentation upset+three-shift coding+secondary upset in binary data transmission, and each saltus step is all a digital information, judges it is which is digital according to the length of time delay.In whole waveform, without any redundant information, substantially increase the efficiency of transmission.For the field that accurately can control time delay, following embodiment two can be adopted.
In addition, because existing, we can only control the time delay of flash of light from application layer in the terminal, and cannot control from system drive layer, application layer APP is starkly lower than some softwares of system layer in priority, can cause controlling flash of light like this and occur time delay.The embodiment of the present invention can well solve that this can not precisely the control time be difficult to effectively send the technical matters of information.
It should be noted that, hardware facility and the application of above-mentioned gate control system are only example, and its alternate embodiment also can make to use up the scene of carrying out communicating for subway system, ticket-booking system, payment system, wireless shrouding system etc.Above-mentioned decoding, deciphering also can be omitted as required.
Embodiment two:
Under can accurately controlling the prerequisite of delay time, represent unlike signal with integral multiple unit delay time, the present embodiment 1-4 times of unit delay time represents 4 kinds of unlike signals, as shown in table 3.
Table 3 accurately controls that delay time is corresponding with information to be shown
Like this, can by binary digital signal to be sent every two code elements one group, set up corresponding relation with different time delays and information.
If altogether send 54bit, when sending digital, every two bit are as one group, and using saltus step as new code mark, as sent digital string be: 10001101, then level as shown in Figure 5.
If the long type data sending 54 are dataSend, byte type data data0, software flow as shown in Figure 6.
The prerequisite of embodiment two is can accurate delay T, thus using the T time delay of unlike signal different multiples as differentiation.When can directly control hardware equipment higher by this scheme efficiency.
The prerequisite implementing embodiment two accurately can control time delay, and time delay T represents 00, and time delay two T represent 01, and time delay three T represent 10, and time delay four T represent 11.Here be also adopt direct coding and saltus step, namely have the signal of two just carry out saltus step and represent different signals by the length of time delay.
Transmitting time can shorten by embodiment two greatly, and the time concrete condition that in fact can shorten is different, and generally more than 1/3.Nrzi encoding is the occasion that cannot accurately control for time delay.
Embodiment three
The present embodiment process flow diagram is as shown in Fig. 7-1 to 7-2.54 not segmentations, if the number oneNum of 1 is greater than 27, then overturn, and leading zone bit is 1; Otherwise do not overturn, leading zone bit is 0.If signal is 0, send t0 time delay; If signal is 1, send t1 time delay; If signal is 2, send t2 time delay.As shown in Fig. 7-1 ~ Fig. 7-2, wherein set the long type data of 54 as dataSend; In dataSend, the number of 1 is oneNum; Byte type data data0.
Embodiment three is algorithmically relatively simple, judges the number of 1 and then determine whether overturn from total data.If wherein the arrangement of 1 concentrates in together, transmitting time is longer, and average transmitting time is higher.
Embodiment three is direct codings, does not have secondary to overturn.The time that can shorten is between 1/3 ~ 1/2.
Embodiment of the present invention definition is that 0 required time is short, send out 1 required time longer, send out 2 required times the longest, other in fact also can be had to define, such as, send out 1 the shortest, next is 0, be 2 again, so this situation is then by being exchanged in 1 and 0, reduces the number of the number increase by 1 of 0, or 1 and 2 are exchanged, reduces the number of the number increase by 1 of 2.
The embodiment of the present invention is by carrying out recompile by binary digital signal to be sent by m code element is a string, the he number n of newly organized code is less than the he number m in former binary digital signal, thus decrease the number of code to be sent, and then decrease transmitting time.Further transmitting time can also be reduced in conjunction with segmentation upset or in conjunction with secondary upset or in conjunction with direct coding or their any both and above combination, such as only adopt three-shift coding, or segmentation upset+three-shift coding or the upset of three-shift coding+secondary etc.
Embodiment as an alternative, the direct coding step in above embodiment also can adopt the space coding arranging intersymbol interval to replace, such as, use NRZI or nrz encoding.Because intersymbol has interval, therefore overall transmitting time relative to employing direct coding longer, but due to by binary digital signal according to three-shift or other multi-system recompiles, relative to former space coding mode, embodiments of the invention still can shorten transmitting time, improve work efficiency.In other variant embodiment, also be not limited to only adopt direct coding for a serial data or only adopt space coding, can also two class coded systems use, such as simultaneously, in serial data, a certain partial data adopts direct coding, another part data acquisition space coding.
The numerical information corresponding different according to the duration of different wave in above embodiment, embodiment as an alternative, also numerical information that can be corresponding different according to the size that level signal is different, such as represent 0 with three kinds of different levels respectively, 1 and 2 three numeral, thus the code element distinguishing the difference number in serial data.
In a further embodiment, numerals different in multi-system can also be represented with the combination of the level signal of the duration of different wave and different size, such as, to quaternary number certificate, 0 and 1 represents with the low level of the first duration and high level respectively, and 2 and 3 represent, owing to distinguishing in conjunction with duration with the low level of the second duration and high level respectively, therefore 0 with 2 level can be identical, 1 with 3 level also can be identical.
The embodiment of the present invention not only can solution must not precisely the control time be difficult to the technical matters effectively sending information, and also can be applied to can the occasion in accurate control time.
The embodiment of the present invention additionally provides a kind of digital signal reception method shortening transmitting time, comprises the steps:
Level signals different for the state received is decoded into corresponding code element, and is combined into multi-system serial data successively, described multi-system is more than three-shift and three-shift;
Described multi-system serial data is encoded into binary equivalent data string.
The embodiment of the present invention additionally provides a kind of mobile terminal, adopts digital signal sending method described above.
The embodiment of the present invention additionally provides a kind of receiving end, adopts digital signal reception method described above.
The embodiment of the present invention additionally provides a kind of optical communication system, comprises mobile terminal described above, and receiving end described above.
Application is expanded:
Said method not only may be used for optical key field, and in the communications field, this assembly coding method can be used in the various occasions needing to reduce transmitting time, on especially binary-coded industrial control equipment, can shorten transmitting time and improve work efficiency.
Although the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiment is only used to the present invention is described, change or the replacement of various equivalence also can be made when not departing from spirit of the present invention, therefore, as long as all will drop in the scope of claims of the application the change of above-described embodiment, modification in spirit of the present invention.

Claims (14)

1. shorten a digital signal sending method for transmitting time, it is characterized in that comprising the steps:
Recompile step: by binary data string recompile to be sent, forms multi-system equivalent data string; Described multi-system is more than three-shift and three-shift;
Switch process: the code element in described multi-system equivalent data string is encoded into the different level signal of state successively.
2. the digital signal sending method shortening transmitting time as claimed in claim 1, is characterized in that: in switch process, adopt the level signal of different duration to represent the different digital in multi-system.
3. the as claimed in claim 2 method of sending and receiving shortening digital signal transmitting time, is characterized in that: described different duration has 3 kinds or more to plant.
4. the digital signal sending method shortening transmitting time as claimed in claim 1, it is characterized in that: level signal is divided into many grades according to level, different shelves represent the different digital in multi-system.
5. shorten the digital signal sending method of transmitting time as claimed in claim 2 or claim 3, it is characterized in that: level signal is divided into many grades according to level, varying level size represents numerals different in multi-system from the combination of duration.
6. the digital signal sending method of the shortening transmitting time as described in claim 1 or 2 or 3, it is characterized in that: in switch process, adopt the direct coding of not establishing intersymbol interval, or adopt the space coding of establishing intersymbol interval, or a part adopts direct coding another part to adopt space coding.
7. the as claimed in claim 6 digital signal sending method shortening transmitting time, is characterized in that: described do not establish the direct coding at intersymbol interval be by code element between level signal distinguish adjacent code element from high step-down or from low uprising.
8. the digital signal sending method of the shortening transmitting time as described in claim 1 or 2 or 3, it is characterized in that: before recompile step, also comprise overturning step, if the number of the code element that the unit transmission time is long is greater than the number of unit transmission time short code element in binary element, then the code element long the unit transmission time and unit transmission time short code element are exchanged, and by leading zone bit, described upset is identified.
9. the digital signal sending method of the shortening transmitting time as described in claim 1 or 2 or 3, it is characterized in that: after recompile step, also comprise secondary overturning step, that is: if the number of the code element that certain unit transmission time is long is greater than the number of the code element of unit transmission shortest time, and this unit transmission time long code element code element that to be overall transmission time the longest, exchanges the code element of code element the longest for this overall transmission time and unit transmission shortest time; And adopt and exchange mark the upset of described secondary is identified.
10. the as claimed in claim 8 digital signal sending method shortening transmitting time, is characterized in that: in overturning step, first digital signal to be sent is divided into k section, then overturns by section, wherein k be greater than 2 natural number.
11. 1 kinds of digital signal reception method shortening transmitting time, is characterized in that comprising the steps:
Level signals different for the state received is decoded into corresponding code element, and is combined into multi-system serial data successively, described multi-system is more than three-shift and three-shift;
Described multi-system serial data is encoded into binary equivalent data string.
12. 1 kinds of mobile terminals, is characterized in that adopting the digital signal sending method as described in any one of claim 1 ?10.
13. 1 kinds of receiving ends, is characterized in that adopting digital signal reception method as claimed in claim 11.
14. 1 kinds of optical communication systems, is characterized in that comprising mobile terminal as claimed in claim 12, and receiving end as claimed in claim 13.
CN201410453843.7A 2014-09-05 2014-09-05 Shorten the digital signal method of sending and receiving and mobile terminal of sending time Active CN105389865B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410453843.7A CN105389865B (en) 2014-09-05 2014-09-05 Shorten the digital signal method of sending and receiving and mobile terminal of sending time
PCT/CN2015/086870 WO2016034038A1 (en) 2014-09-05 2015-08-13 Encoding and decoding method, mobile terminal, and system for enhancing speed of visible optical signal transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410453843.7A CN105389865B (en) 2014-09-05 2014-09-05 Shorten the digital signal method of sending and receiving and mobile terminal of sending time

Publications (2)

Publication Number Publication Date
CN105389865A true CN105389865A (en) 2016-03-09
CN105389865B CN105389865B (en) 2018-05-25

Family

ID=55422111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410453843.7A Active CN105389865B (en) 2014-09-05 2014-09-05 Shorten the digital signal method of sending and receiving and mobile terminal of sending time

Country Status (1)

Country Link
CN (1) CN105389865B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601258A (en) * 2019-09-09 2019-12-20 珠海格力电器股份有限公司 Communication control method, device, storage medium and system for microgrid system
CN112702068A (en) * 2020-12-25 2021-04-23 深圳市元征科技股份有限公司 Coded data processing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496005A (en) * 2002-07-31 2004-05-12 中国科学院过程工程研究所 Coding method of binary numerical signal and its signal transmission method and circuit
JP2008204423A (en) * 2007-03-27 2008-09-04 Kyocera Corp Visible light communication system, visible light communication transmission device, and visible light communication reception device
CN102194139A (en) * 2010-03-15 2011-09-21 欧姆龙株式会社 Tag communication apparatus, tag communication apparatus control method, and tag communication apparatus control program
CN103118251A (en) * 2012-05-08 2013-05-22 友达光电股份有限公司 Multi-level data transmission method and system
CN103391092A (en) * 2013-03-01 2013-11-13 友达光电股份有限公司 Method for multi-level data transmission
CN103440697A (en) * 2013-09-09 2013-12-11 桂林理工大学 Light-operated door control method
CN103812557A (en) * 2013-07-31 2014-05-21 深圳光启创新技术有限公司 Visible light signal encoding and decoding method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496005A (en) * 2002-07-31 2004-05-12 中国科学院过程工程研究所 Coding method of binary numerical signal and its signal transmission method and circuit
JP2008204423A (en) * 2007-03-27 2008-09-04 Kyocera Corp Visible light communication system, visible light communication transmission device, and visible light communication reception device
CN102194139A (en) * 2010-03-15 2011-09-21 欧姆龙株式会社 Tag communication apparatus, tag communication apparatus control method, and tag communication apparatus control program
CN103118251A (en) * 2012-05-08 2013-05-22 友达光电股份有限公司 Multi-level data transmission method and system
CN103391092A (en) * 2013-03-01 2013-11-13 友达光电股份有限公司 Method for multi-level data transmission
CN103812557A (en) * 2013-07-31 2014-05-21 深圳光启创新技术有限公司 Visible light signal encoding and decoding method, device and system
CN103440697A (en) * 2013-09-09 2013-12-11 桂林理工大学 Light-operated door control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601258A (en) * 2019-09-09 2019-12-20 珠海格力电器股份有限公司 Communication control method, device, storage medium and system for microgrid system
CN112702068A (en) * 2020-12-25 2021-04-23 深圳市元征科技股份有限公司 Coded data processing method, device, equipment and storage medium
CN112702068B (en) * 2020-12-25 2024-04-02 深圳市元征科技股份有限公司 Method, device, equipment and storage medium for processing coded data

Also Published As

Publication number Publication date
CN105389865B (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN103795465B (en) Multi-stage amplitude modulation visible optical signal coding method and apparatus and decoding method and apparatus, and system
CN105450299A (en) Method, device and system for coding and decoding signal
CN102693567B (en) Coding-decoding method based on communication of access control system
CN103812657B (en) Authentication method
CN104166910B (en) Photon method of payment and system based on photon wallet
CN105225297A (en) Mobile terminal photonic data transmission method, transmitting device and photonic data receiving trap
US20170187457A1 (en) Methods and devices for optical signal encoding and decoding
CN103684598A (en) Visible light communication system
CN104330990B (en) Parity check cable model identification method and device thereof
CN103793979B (en) Method for upgrading photon receiving end
CN103426222A (en) Light-dependent control door guard device
CN105389865A (en) Digital signal sending method capable of shortening sending time, digital signal receiving method and mobile terminal
CN106953690B (en) Smart machine near field communication system based on visible light
CN205248501U (en) Code connector with prevent mistake and insert structure
CN108768517A (en) A kind of transmitting terminal, receiving terminal and visible light communication system based on PPM
CN102694598A (en) Coding method and transmission method of visible light signals
CN104677407B (en) A kind of detection method of the failure detector circuit for being applied to photo-electronic directly reading register
CN104614702A (en) Intelligent detection method for defects of ammeter
CN104268753A (en) Photon general card, sound wave general card, and method and system for carrying out payment through photon general card
CN105471511B (en) A kind of decoding method, apparatus and system improving optical signal transmission reliability
CN103812574B (en) Method, device and system for improving recognition rate of photon identity authentication system
CN103516477A (en) Data transmission method and device
CN103440697A (en) Light-operated door control method
CN208128229U (en) radio frequency transmission chip
CN103378851B (en) Capacitive character isolation voltage territory

Legal Events

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