CN107018553A - A kind of light wave method of network entry and system - Google Patents

A kind of light wave method of network entry and system Download PDF

Info

Publication number
CN107018553A
CN107018553A CN201610058631.8A CN201610058631A CN107018553A CN 107018553 A CN107018553 A CN 107018553A CN 201610058631 A CN201610058631 A CN 201610058631A CN 107018553 A CN107018553 A CN 107018553A
Authority
CN
China
Prior art keywords
group
value
configuration information
terminal
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610058631.8A
Other languages
Chinese (zh)
Inventor
刘紫进
徐国飞
童辉
王贤楼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rui Qizhishang Science And Technology Ltd Of Shenzhen
Original Assignee
Rui Qizhishang Science And Technology Ltd Of Shenzhen
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 Rui Qizhishang Science And Technology Ltd Of Shenzhen filed Critical Rui Qizhishang Science And Technology Ltd Of Shenzhen
Priority to CN201610058631.8A priority Critical patent/CN107018553A/en
Publication of CN107018553A publication Critical patent/CN107018553A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/1149Arrangements for indoor wireless networking of information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Abstract

The present invention provides a kind of light wave method of network entry and system, and the method comprising the steps of:Terminal builds effective information character string according to the routing configuration information prestored, and routing configuration information is automatically generated after terminal connection route device;Each character in effective information character string is converted into corresponding ASCII character value by terminal;Terminal is encoded ASCII character value according to the first preset rules, to obtain the first impulse waveform;Terminal exports the first impulse waveform, to control light emitting source to be lighted according to the first impulse waveform;Treat that networking gear receives the light that light emitting source is sent;Treat that the light that light emitting source is sent is converted into electric signal by networking gear, to obtain the second impulse waveform;Treat that networking gear is decoded the second impulse waveform according to the second preset rules, to obtain routing configuration information;Networking gear is treated according to routing configuration information connection route device to complete to network.By optimizing routing configuration information coded system, the present invention has the characteristics of shortening data transmission period and improve networking speed.

Description

A kind of light wave method of network entry and system
Technical field
The present invention relates to wireless communication technology field, more particularly to a kind of light wave method of network entry and system.
Background technology
Conventional terminal (such as mobile phone) is by obtaining the routing configuration information of router, such as SSID (Service Set Identifier service sets), (Cyclic Redundancy Check circulations are superfluous by Password and CRC Remaining check code) verify the automatic networking of the realization such as value information.And presently, there are some and treat networking gear, such as WIFI is pasted, WIFI patches be it is a kind of can realize networking and equipment without display function by WIFI module, while WIFI is sticked Button is provided with, for realizing key shopping function etc., and these treat networking gear due to without display function, It can not be realized and networked using traditional network connecting mode.The mode that current light wave networks is by way of optical signal The correlation routing configuration information such as username and password by router, which is sent to, treats networking gear, treats networking gear Normal work after WIFI is connected after obtaining username and password automatically.But the coding of traditional routing configuration information Mode causes data transmission period long, and then causes period of reservation of number long, and the use to user is brought not Good experience.
The content of the invention
Improve routing configuration information coded system it is an object of the invention to provide one kind, when shortening data transfer Between and can improve networking speed light wave method of network entry and system.
In order to solve the above technical problems, invention uses technical scheme as described below.A kind of light wave method of network entry, Comprise the following steps:Terminal builds effective information character string, the route according to the routing configuration information prestored Configuration information is automatically generated after the terminal connection route device;Terminal is by the effective information character string Each character is converted into corresponding ASCII character value;Terminal enters the ASCII character value according to the first preset rules Row coding, to obtain the first impulse waveform;Terminal exports first impulse waveform, to control light emitting source root Lighted according to first impulse waveform;Treat that networking gear receives the light that the light emitting source is sent;Wait to network The light that the light emitting source is sent is converted into electric signal by equipment, to obtain the second impulse waveform;Treat networking gear Second impulse waveform is decoded according to the second preset rules, to obtain the routing configuration information; Networking gear is treated according to the routing configuration information connection route device to complete to network.
Preferably, the routing configuration information at least includes SSID, Password, IP address and CRC check Value information.
Preferably, first preset rules are according to from low level to the suitable of a high position by each ASCII character value Sequence, and split using adjacent 2bit as one group, so that each ASCII character value splits into 4 arrays; Calculate 4 number groups and distinguish corresponding decimal value;According to from high-order array to the sequential search of low level array First nonzero value, to determine the group where first nonzero value, by the group and low level group one afterwards Rise and be defined as group to be transmitted, the high-order group before the group is without transmission;By each to be transmitted group Corresponding decimal value adds 1, to obtain each to be transmitted group corresponding edge of a pulse number, and each to be transmitted Time interval in group between the edge of a pulse is 15ms;It is adjacent during transmission by be transmitted group of low level group The group that 150ms is provided between two groups terminates delay;At the end of group to be transmitted is transmitted, in last group 300ms character ends delay is provided with afterwards;When transmitting character string, it is provided with head of string/afterbody 900ms delay.
Preferably, the light emitting source is the light emitting source that carries of terminal or independently of the light emitting source outside the terminal.
Preferably, second preset rules determine institute to terminate delay and character ends delay according to described group State the group corresponding to the second impulse waveform;The number of edges of each group respective pulses waveform subtracts 1, to obtain 4 The corresponding decimal value of array;Corresponding ASCII character value is obtained according to Binary Conversion rule;According to ASCII Compare table search significant character corresponding with the ASCII character value.
A kind of light wave networking system, including terminal and treat networking gear, the terminal includes construction unit, uses In building effective information character string according to the routing configuration information prestored, the routing configuration information is by the end Automatically generated after the connection route device of end;First converting unit, for will be every in the effective information character string Individual character is converted into corresponding ASCII character value;Coding unit, for the ASCII character value is pre- according to first If rule is encoded, to obtain the first impulse waveform;Output unit, for exporting first impulse wave Shape, to control light emitting source to be lighted according to first impulse waveform;It is described to treat that networking gear includes reception Unit, for receiving the light that the light emitting source is sent;Second converting unit, for the light emitting source to be sent Light be converted into electric signal, to obtain the second impulse waveform;Decoding unit, for by second impulse wave Shape is decoded according to the second preset rules, to obtain the routing configuration information;Connection unit, for root According to the routing configuration information connection route device with complete network.
Preferably, the routing configuration information at least includes SSID, Password, IP address and CRC check Value information.
Preferably, the coding unit also includes split cells, for according in first preset rules By each ASCII character value according to from low level to high-order order, and torn open using adjacent 2bit as one group Point, so that each ASCII character value splits into 4 arrays;Computing unit, for calculating 4 number groups difference Corresponding decimal value;First determining unit, for being looked into according to from high-order array to the order of low level array First nonzero value is looked for, to determine the group where first nonzero value, by the group and low level group afterwards It is defined as group to be transmitted together, the high-order group before the group is without transmission;Rise in value unit, is used for Each to be transmitted group of corresponding decimal value is added 1, to obtain each to be transmitted group of corresponding edge of a pulse Time interval in number, and each to be transmitted group between the edge of a pulse is 15ms;First setting unit, is used for The group that 150ms is provided with during transmission by be transmitted group of low level group, between two adjacent groups terminates delay;The Two setting units, at the end of being transmitted in group to be transmitted, are provided with 300ms word after last group Symbol terminates delay;3rd setting unit, for when transmitting character string, being provided with head of string/afterbody 900ms delay.
Preferably, the light emitting source is the light emitting source that carries of terminal or independently of the light emitting source outside the terminal.
Preferably, the decoding unit also includes the second determining unit, for according in the second preset rules Group terminates the group for being delayed and being determined corresponding to second impulse waveform with character ends that is delayed;Depreciation unit, For subtracting 1 by the number of edges of waveform in each group of correspondence arteries and veins, to obtain the corresponding decimal value of 4 arrays; 3rd converting unit, for obtaining corresponding ASCII character value according to Binary Conversion rule;Searching unit, is used According to ASCII controls table search significant character corresponding with the ASCII character value.
The advantageous effects of the present invention are:The light wave method of network entry by by routing configuration information according to One preset rules are encoded, and the ASCII character value of correspondence character is grouped and edge of a pulse number is obtained, from And the first impulse waveform of correspondence is obtained, and control light emitting source to be lighted according to the first impulse waveform progress assigned frequency, So as to treat that networking gear receives the light of light emitting source and converts thereof into electric signal to obtain the second impulse waveform, so The second impulse waveform is decoded afterwards, so that routing configuration information is obtained, so as to treat networking gear link road Completed to network by device.Coded system of the invention by optimizing routing configuration information, greatly reducing data Transmission time, reduces period of reservation of number, so as to improve networking speed, brings user good use Experience.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the light wave method of network entry of preferred embodiment.
Fig. 2 is a kind of impulse waveform of specific embodiment.
Fig. 3 is the impulse waveform of another specific embodiment.
Fig. 4 is a kind of structure chart of the light wave networking system of preferred embodiment.
Fig. 5 is the structured flowchart of the encoder in Fig. 4.
Fig. 6 is the structured flowchart of the decoder in Fig. 4.
Embodiment
To make one of ordinary skill in the art be more clearly understood from the purpose, technical scheme and advantage of invention, Invention is further elaborated below in conjunction with drawings and examples.
Shown in reference picture 1, a kind of flow chart of the light wave method of network entry of better embodiment.In the present embodiment In, the light wave method of network entry 10 comprises the following steps:
101:Terminal builds effective information character string according to the routing configuration information that prestores, routing configuration information by Automatically generated after terminal connection route device.
Specifically, in the present embodiment, the terminal is the web-enabled terminal such as mobile phone, flat board, and terminal Corresponding routing configuration information can be stored after networking.The routing configuration information at least include SSID, Password, IP address and CRC check value information.The routing configuration information can also include terminal IP, Terminal monitoring port and encryption type.Wherein SSID length ranges are 1-32 byte, Password length Scope is 8-64 bytes, IP length be 4 bytes without symbol shaping, port length is 2 bytes without symbol Number short, CRC check value length is 1 byte, and CRC algorithm uses common CRC8.Because route is matched somebody with somebody The particular content of confidence breath is not innovative point in this case, and is known technology, it is envisaged that this area skill Art personnel could be aware that the concrete meaning and purposes of the routing configuration information, and here is omitted.In this step Terminal according to specified formula by the routing configuration information stored by building effective information character string, such as STR= “SSID;PWD;IP;CRC ", wherein CRC=CRC8 (" SSID;PWD;IP "), and IP address It is that UnsignedInt types change into by force 4 byte character strings.
102:Each character in effective information character string is converted into corresponding ASCII character value by terminal.
Specifically, in the present embodiment, each character in effective information character string is converted into correspondence by terminal ASCII character value.Wherein, ASCII (American Standard Code for Information Interchange, USA standard code for information interchange) it is a set of computer code's system based on the Latin alphabet, It is mainly used in display current english and other Western-European languages.It is most general single byte coded system now, And it is equal to international standard ISO/IEC 646.ASCII character is combined using 7 specified or 8 bits To represent 128 or 256 kind of possible character.Standard ASCII character is also basic ASCII character, uses 7 two System number represents all upper case and lower case letters, numeral 0 to 9, punctuation mark, and in Americanese The middle Special controlling character used.0~31 and 127 (totally 33) are control character or communication special character (its Yu Weike shows character), such as command character:LF (line feed), CR (carriage return), FF (skipping), DEL (are deleted Except), BS (backspace), BEL (jingle bell) etc.;Communicate special character:SOH (literary head), EOT (literary tail), ACK (confirmation) etc.;ASCII value is respectively converted into backspace, tabulation, line feed for 8,9,10 and 13 and returned Car character.They do not have specific figure shows, but can be according to different application programs, and text is shown There are different influences.32~126 (totally 95) are character (32 are spaces), wherein 48~57 be 0 to 9 Ten Arabic numerals.65~90 be 26 capitalization English letters, and 97~No. 122 are 26 small English Letter, remaining is some punctuation marks, oeprator etc..
103:Terminal is encoded ASCII character value according to the first preset rules, to obtain the first impulse waveform.
Specifically, in the present embodiment, first preset rules are according to from low level by each ASCII character value To high-order order, and split using adjacent 2bit as one group, so that each ASCII character value is split into 4 arrays, are followed successively by A [0], A [1], A [2], A [3];Calculate A [0], A [1], A [2], A [3] respectively Corresponding decimal value;According to from A [3], A [2], A [1], A [0] first nonzero value of sequential search, To determine the group where first nonzero value, the group is defined as together with low level group afterwards to be transmitted Group, the high-order group before the group is without transmission;By each to be transmitted group of corresponding decimal number Value Jia 1, to obtain each to be transmitted group corresponding edge of a pulse number, and each in be transmitted group the edge of a pulse it Between time interval be 15ms;During transmission by be transmitted group of low level group, it is provided between two adjacent groups 150ms group terminates delay;At the end of group to be transmitted is transmitted, 300ms is provided with after last group Character ends delay;When transmitting character string, 900ms delay is provided with head of string/afterbody.Such as: 6=0b 00 00 01 10, A [1], A [0] need to be only transmitted according to the first preset rules, what it was corresponding in turn to Edge of a pulse number is 2,3, and corresponding first impulse waveform is as shown in Figure 2.And for example:51=0b 00 11 00 11, it need to only transmit A [2], A [1], A [0] according to the first preset rules, and its edge of pulse for being corresponding in turn to Edge number is 4,1,4, and corresponding impulse waveform is as shown in Figure 3.
104:Terminal exports the first impulse waveform, to control light emitting source to be lighted according to the first impulse waveform.
Specifically, in the present embodiment, the light emitting source is that the light emitting source that terminal is carried can also be independently of end Light emitting source outside end.Such as by exporting the first impulse waveform mobile phone screen can be controlled to carry out splashette, or it is logical Cross external LED light source etc. to be shown, so that first impulse waveform is propagated by the form of light wave.
105:Treat that networking gear receives the light that light emitting source is sent.
Specifically, in the present embodiment, it can be WIFI patches to treat networking gear, and WIFI patches are that one kind can be borrowed WIFI module is helped to realize networking and the equipment without display function, while WIFI, which is sticked, is provided with button, for reality Existing key shopping function etc., and these treat networking gear due to without display function, it is impossible to use traditional networking Mode is realized in networking, the present embodiment to be sticked standby networking by light wave transmissions routing configuration information with completing WIFI.
106:Treat that the light that light emitting source is sent is converted into electric signal by networking gear, to obtain the second impulse waveform.
Specifically, in the present embodiment, treat that networking gear is provided with photoelectric conversion module, for by reception The light of light emitting source is converted into electric signal, so as to obtain the second impulse waveform.In the present embodiment, the second pulse Waveform is identical with the first impulse waveform.
107:Treat that networking gear is decoded the second impulse waveform according to the second preset rules, to be route Configuration information.
Specifically, in the present embodiment, the second preset rules are to be delayed according to group end delay and character ends Determine the group corresponding to the second impulse waveform;The number of edges of each group respective pulses waveform subtracts 1, to obtain A [0], A [1], A [2], the corresponding decimal values of A [3];Obtain corresponding according to Binary Conversion rule ASCII character value;Corresponding with the ASCII character value significant character of table search is compareed according to ASCII, so as to obtain pair The routing configuration information answered.Wherein, it can be counted according to formula A [3] × 64+A [2] × 16+A [1] × 4+A [0] Calculate corresponding decimal value.
108:Networking gear is treated according to routing configuration information connection route device to complete to network.
The light wave method of network entry 10, will be right by the way that routing configuration information is encoded according to the first preset rules Answer the ASCII character value of character to be grouped and obtain edge of a pulse number, so as to obtain corresponding first impulse wave Shape, and control light emitting source to be lighted according to the first impulse waveform progress assigned frequency, so as to treat that networking gear is received The light of light emitting source simultaneously converts thereof into electric signal to obtain the second impulse waveform, then enters the second impulse waveform Row decoding, so that routing configuration information is obtained, so as to treat that networking gear connection route device completes networking.The party Method 10 greatly reducing data transmission period, reduce by optimizing the coded system of routing configuration information Period of reservation of number, so as to improve networking speed, brings user good usage experience.
Reference picture 4 is to shown in Fig. 6, and in the present embodiment, a kind of light wave networking system 20 includes terminal 30 With treat networking gear 40.Terminal 30 includes construction unit 31, for according to the routing configuration information structure prestored Effect information character string is had, routing configuration information is automatically generated after the connection route device of terminal 30;First conversion Unit 32, for each character in effective information character string to be converted into corresponding ASCII character value;Coding is single Member 33, for ASCII character value to be encoded according to the first preset rules, to obtain the first impulse waveform;It is defeated Go out unit 34, for exporting the first impulse waveform, to control light emitting source to be lighted according to the first impulse waveform; Treat that networking gear 40 includes receiving unit 41, for receiving the light that light emitting source is sent;Second converting unit 42, Light for light emitting source to be sent is converted into electric signal, to obtain the second impulse waveform;Decoding unit 43, is used Decoded in by the second impulse waveform according to the second preset rules, to obtain routing configuration information;Connection is single Member 44, for being completed to network according to routing configuration information connection route device.
Preferably, routing configuration information at least includes SSID, Password, IP address and CRC check value letter Breath.The routing configuration information can also include terminal IP, terminal monitoring port and encryption type.Wherein SSID Length range is 1-32 byte, and Password length ranges are 8-64 bytes, and IP length is 4 bytes Without symbol shaping, port length be 2 bytes without symbol short, CRC check value length is 1 byte, And CRC algorithm uses common CRC8.Because the particular content of routing configuration information is not the innovation in this case Point, and for known technology, it is envisaged that those skilled in the art could be aware that the tool of the routing configuration information Body implication and purposes, here is omitted.Terminal is by the way that the routing configuration information stored is pressed in this step Effective information character string, such as STR=" SSID are built according to specified formula;PWD;IP;CRC ", wherein CRC=CRC8 (“SSID;PWD;IP "), and IP address is that UnsignedInt types change into by force 4 byte character strings.
Preferably, coding unit 33 also includes split cells 331, for according to inciting somebody to action in the first preset rules Each ASCII character value is split using adjacent 2bit as one group according to from low level to high-order order, So that each ASCII character value splits into 4 arrays, A [0], A [1], A [2], A [3] are followed successively by;Calculate Unit 332, for calculating A [0], A [1], A [2], A [3] corresponding decimal value respectively;First determines Unit 333, for according to from A [3], A [2], A [1], A [0] first nonzero value of sequential search, with true Group where fixed first nonzero value, group to be transmitted is defined as by the group together with low level group afterwards, High-order group before the group is without transmission;Rise in value unit 334, for corresponding by each to be transmitted group Decimal value add 1, to obtain each to be transmitted group corresponding edge of a pulse number, and it is each to be transmitted group in Time interval between the edge of a pulse is 15ms;First setting unit 335, by be transmitted group during for transmitting Low level group start, be provided between two adjacent groups 150ms group terminate delay;Second setting unit 336, At the end of being transmitted in group to be transmitted, 300ms character ends delay is provided with after last group; 3rd setting unit 337, for when transmitting character string, being provided with 900ms's in head of string/afterbody Delay.
Preferably, light emitting source is the light emitting source that carries of terminal 30 or independently of the light emitting source outside terminal 30. Specifically, in the present embodiment, the light emitting source be the light emitting source that carries of terminal can also be independently of terminal it Outer light emitting source.Such as by exporting the first impulse waveform mobile phone screen can be controlled to carry out splashette, or by outer Portion's LED/light source etc. is shown, so that first impulse waveform is propagated by the form of light wave.
Preferably, decoding unit 43 also includes the second determining unit 431, for according in the second preset rules Group terminate delay and character ends be delayed determine the second impulse waveform corresponding to group;Depreciation unit 432, For subtracting 1 by the number of edges of waveform in each group of correspondence arteries and veins, to obtain A [0], A [1], A [2], A [3] correspondences Decimal value;3rd converting unit 433, for obtaining corresponding ASCII according to Binary Conversion rule Code value;Searching unit 434, for compareing table search significant character corresponding with the ASCII character value according to ASCII, So as to obtain corresponding routing configuration information, so as to treat networking gear 40 according to routing configuration information connection route Device with complete network.
The terminal 30 of the light wave networking system 20 is counted by the way that routing configuration information is grouped with the edge of a pulse Mode obtain the first impulse waveform, and pass through the hair that the first pulse shape control light emitting source carries out assigned frequency Light, so as to treat that the light of light emitting source is carried out opto-electronic conversion so as to the second impulse waveform by networking gear 40, and is carried out Decoding, to obtain routing configuration information, so as to realize the automatic networking for treating networking gear 40.The light wave networks System 20 greatly reducing data transmission period by optimizing the coded system of routing configuration information, reduce Period of reservation of number, so as to improve networking speed, brings user good usage experience.
The preferred embodiment of invention is these are only, rather than any formal limitation is done to invention.This area Technical staff can impose various equivalent changes and improvement on the basis of above-described embodiment, all in claim In the range of the equivalent variations done or modification, all should fall within the protection domain of invention.

Claims (10)

1. a kind of light wave method of network entry, it is characterised in that comprise the following steps:
Terminal builds effective information character string according to the routing configuration information that prestores, the routing configuration information by Automatically generated after the terminal connection route device;
Each character in the effective information character string is converted into corresponding ASCII character value by terminal;
Terminal is encoded the ASCII character value according to the first preset rules, to obtain the first impulse waveform;
Terminal exports first impulse waveform, to control light emitting source to be sent out according to first impulse waveform Light;
Treat that networking gear receives the light that the light emitting source is sent;
Treat that the light that the light emitting source is sent is converted into electric signal by networking gear, to obtain the second impulse waveform;
Treat that networking gear is decoded second impulse waveform according to the second preset rules, it is described to obtain Routing configuration information;
Networking gear is treated according to the routing configuration information connection route device to complete to network.
2. light wave method of network entry as claimed in claim 1, it is characterised in that the routing configuration information is extremely Include SSID, Password, IP address and CRC check value information less.
3. light wave method of network entry as claimed in claim 1, it is characterised in that first preset rules are:
By each ASCII character value according to from low level to high-order order, and using adjacent 2bit as one group of progress Split, so that each ASCII character value splits into 4 arrays;
Calculate 4 number groups and distinguish corresponding decimal value;
According to first nonzero value of sequential search from high-order array to low level array, to determine first non-zero Group where value, group to be transmitted is defined as by the group together with low level group afterwards, before the group High-order group without transmission;
Each to be transmitted group of corresponding decimal value is added 1, to obtain each to be transmitted group of corresponding pulse Time interval in number of edges, and each to be transmitted group between the edge of a pulse is 15ms;
The group end that 150ms is provided with during transmission by be transmitted group of low level group, between two adjacent groups is prolonged When;
At the end of group to be transmitted is transmitted, 300ms character ends delay is provided with after last group;
When transmitting character string, 900ms delay is provided with head of string/afterbody.
4. light wave method of network entry as claimed in claim 1, it is characterised in that:The light emitting source be terminal from The light emitting source of band or independently of the light emitting source outside the terminal.
5. light wave method of network entry as claimed in claim 1, it is characterised in that:Second preset rules are:
Terminate the group that delay and character ends are delayed corresponding to determination second impulse waveform according to described group Not;
The number of edges of each group respective pulses waveform subtracts 1, to obtain the corresponding decimal value of 4 arrays;
Corresponding ASCII character value is obtained according to Binary Conversion rule;
Table search significant character corresponding with the ASCII character value is compareed according to ASCII.
6. a kind of light wave networking system, including terminal and treat networking gear, it is characterised in that:The terminal bag Include:
Construction unit, for building effective information character string, the route according to the routing configuration information prestored Configuration information is automatically generated after the terminal connection route device;
First converting unit, it is corresponding for each character in the effective information character string to be converted into ASCII character value;
Coding unit, for the ASCII character value to be encoded according to the first preset rules, to obtain first Impulse waveform;
Output unit, for exporting first impulse waveform, to control light emitting source according to first pulse Waveform is lighted;
It is described to treat that networking gear includes:
Receiving unit, for receiving the light that the light emitting source is sent;
Second converting unit, the light for the light emitting source to be sent is converted into electric signal, to obtain the second arteries and veins Rush waveform;
Decoding unit, for second impulse waveform to be decoded according to the second preset rules, to obtain The routing configuration information;
Connection unit, for being completed to network according to the routing configuration information connection route device.
7. light wave networking system as claimed in claim 6, it is characterised in that the routing configuration information is extremely Include SSID, Password, IP address and CRC check value information less.
8. light wave networking system as claimed in claim 6, it is characterised in that the coding unit also includes:
Split cells, for according in first preset rules by each ASCII character value according to from low level To high-order order, and split using adjacent 2bit as one group, so that each ASCII character value is split into 4 arrays;
Computing unit, corresponding decimal value is distinguished for calculating 4 number groups;
First determining unit, for according to first nonzero value of sequential search from high-order array to low level array, To determine the group where first nonzero value, the group is defined as together with low level group afterwards to be transmitted Group, the high-order group before the group is without transmission;
Rise in value unit, each to be passed to obtain for adding 1 by each to be transmitted group of corresponding decimal value Send group a corresponding edge of a pulse number, and it is each to be transmitted group in time interval between the edge of a pulse be 15ms;
First setting unit, during for transmitting by be transmitted group of low level group, is set between two adjacent groups The group for having 150ms terminates delay;
Second setting unit, at the end of being transmitted in group to be transmitted, is provided with after last group 300ms character ends delay;
3rd setting unit, for when transmitting character string, being provided with 900ms's in head of string/afterbody Delay.
9. light wave networking system as claimed in claim 6, it is characterised in that:The light emitting source be terminal from The light emitting source of band or independently of the light emitting source outside the terminal.
10. light wave networking system as claimed in claim 6, it is characterised in that:The decoding unit is also wrapped Include:
Second determining unit, for terminating delay and character ends delay really according to the group in the second preset rules Group corresponding to fixed second impulse waveform;
Depreciation unit, for subtracting 1 by the number of edges of each group of respective pulses waveform, to obtain 4 array correspondences Decimal value;
3rd converting unit, for obtaining corresponding ASCII character value according to Binary Conversion rule;
Searching unit, for compareing table search significant character corresponding with the ASCII character value according to ASCII.
CN201610058631.8A 2016-01-28 2016-01-28 A kind of light wave method of network entry and system Pending CN107018553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610058631.8A CN107018553A (en) 2016-01-28 2016-01-28 A kind of light wave method of network entry and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610058631.8A CN107018553A (en) 2016-01-28 2016-01-28 A kind of light wave method of network entry and system

Publications (1)

Publication Number Publication Date
CN107018553A true CN107018553A (en) 2017-08-04

Family

ID=59439156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610058631.8A Pending CN107018553A (en) 2016-01-28 2016-01-28 A kind of light wave method of network entry and system

Country Status (1)

Country Link
CN (1) CN107018553A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749879A (en) * 2017-10-17 2018-03-02 广州华多网络科技有限公司 Control method, control device and the internet of things equipment of internet of things equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045524A1 (en) * 2004-08-28 2006-03-02 Samsung Electronics Co.; Ltd Optical access network of wavelength division method and passive optical network using the same
CN104640109A (en) * 2015-01-09 2015-05-20 北京极科极客科技有限公司 System and method for acquiring WiFi (Wireless Fidelity) name or password
CN104767564A (en) * 2014-01-03 2015-07-08 北京华通时空通信技术有限公司 Remote visible light communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045524A1 (en) * 2004-08-28 2006-03-02 Samsung Electronics Co.; Ltd Optical access network of wavelength division method and passive optical network using the same
CN104767564A (en) * 2014-01-03 2015-07-08 北京华通时空通信技术有限公司 Remote visible light communication method
CN104640109A (en) * 2015-01-09 2015-05-20 北京极科极客科技有限公司 System and method for acquiring WiFi (Wireless Fidelity) name or password

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749879A (en) * 2017-10-17 2018-03-02 广州华多网络科技有限公司 Control method, control device and the internet of things equipment of internet of things equipment

Similar Documents

Publication Publication Date Title
US8447189B2 (en) Transmitter, receiver for visible light communication and method using the same
RU2010123915A (en) RADIO BEACON CONTROL CHANNELS
AU2012397151B2 (en) Communications method, system, and apparatus for optical network system
BR0111063A (en) Transference control process of a channel in a cellular radio network
JP4737528B2 (en) Control station side apparatus and terminal station side apparatus in optical communication system
CN111447160A (en) Signal detection method of large-scale MIMO passive random access based on neural network
CN105471499A (en) Coding and decoding method for enhancing visible light signal transmission rate, mobile terminal and system
CN106899347A (en) Based on the system and method that 2D TCM PAM8 realize high speed transmission of signals
CN107018553A (en) A kind of light wave method of network entry and system
CN100536349C (en) Method and apparatus for concatenated channel coding
US9621388B2 (en) Method for serial data transmission and system therefor
CN109347605B (en) Encoding method, decoding method and device, and computer readable storage medium
Sinha A new energy efficient MAC protocol based on redundant radix for wireless networks
CN103516477A (en) Data transmission method and device
KR100729940B1 (en) Method and apparatus for spreading symbols in a communication system
CN104796229A (en) Non-binary coding and transmitting method capable of achieving high-efficiency transmission of digital information
CN101588222B (en) Communication adapter with error correction processing function and application thereof
Rouissat et al. Isochronous and anisochronous modulation schemes in wireless optical communication systems
CN105389865B (en) Shorten the digital signal method of sending and receiving and mobile terminal of sending time
CN107016588A (en) A kind of a key purchase method and system
CN108536625A (en) A kind of visible light communication transmitting device and method based on USB2.0 interfaces
GB2370472B (en) Coding
CN108075829A (en) A kind of variable slot pulse position modulation device, method and laser communication system
CN115314109B (en) Multi-channel optical fiber transmission realized by FPGA
WO2016034038A1 (en) Encoding and decoding method, mobile terminal, and system for enhancing speed of visible optical signal transmission

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170804

RJ01 Rejection of invention patent application after publication