CN110505013B - Control method and system for screen-free equipment distribution network, electronic equipment and storage medium - Google Patents

Control method and system for screen-free equipment distribution network, electronic equipment and storage medium Download PDF

Info

Publication number
CN110505013B
CN110505013B CN201910788403.XA CN201910788403A CN110505013B CN 110505013 B CN110505013 B CN 110505013B CN 201910788403 A CN201910788403 A CN 201910788403A CN 110505013 B CN110505013 B CN 110505013B
Authority
CN
China
Prior art keywords
coding information
name
information
password
target
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
CN201910788403.XA
Other languages
Chinese (zh)
Other versions
CN110505013A (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.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware 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 Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN201910788403.XA priority Critical patent/CN110505013B/en
Publication of CN110505013A publication Critical patent/CN110505013A/en
Application granted granted Critical
Publication of CN110505013B publication Critical patent/CN110505013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/116Visible light communication
    • 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/60Receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a control method and a system of a distribution network of a screenless device, an electronic device and a storage medium, wherein the control method comprises the following steps: acquiring the name and the password of a wireless network connected with the intelligent terminal; carrying out coding processing on the name and the password to obtain target coding information; controlling the intelligent terminal to send target coding information to the non-screen equipment through the flash lamp; acquiring initial coding information received by a light receiving module of the screen-less equipment within a first preset time; decoding and analyzing the initial coding information to obtain a name and a password corresponding to the target coding information; and controlling the non-screen equipment to carry out distribution according to the name and the password. The invention realizes the mode of carrying out network distribution based on optical signals, and overcomes the defects of the existing network distribution mode without screen equipment; in addition, the visible light is used as a medium for transmitting information, so that the wireless information transmission is faster, and the data is difficult to hijack, thereby greatly improving the safety of data transmission.

Description

Control method and system for screen-free equipment distribution network, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of network setting, in particular to a control method and system for a screen-free device distribution network, electronic equipment and a storage medium.
Background
For a distribution network without a screen device, the current main scheme comprises: 1) A softAP (virtual wireless AP) distribution network: establishing an AP (wireless access point) by using a screen-free device, then communicating with a mobile phone to obtain an SSID (service set identifier, namely a corresponding wireless network name) and a password of a Wi-Fi network; 2) Fast connected distribution network (one-key configuration mode): the method comprises the steps of utilizing a Wi-Fi module of the non-screen equipment to monitor local area network broadcast data, and encapsulating SSID and password of Wi-Fi into an IDP (identifier data packet) through a mobile phone to broadcast, so that the non-screen equipment is networked.
However, the distribution network modes described above all have some disadvantages, which are specifically as follows: 1) The softAP is distributed with a network: the method comprises the steps that a mobile phone is disconnected from an original route, a screen-free device opens an AP (access point), then the mobile phone is connected into a softAP mode, the softAP mode is closed after an SSID (service set identifier) and a password are sent, the mobile phone returns to a normal station mode, then the screen-free device is connected with a router, and the mobile phone needs to be connected with the router again, so that the defects of complex operation process and the like exist; 2) And (3) fast connecting a distribution network: the wireless network of the household router is set to be in a high-speed routing mode, the speed of a UDP (user datagram protocol) broadcast/multicast packet sent by a mobile phone is high, and due to performance limitation, a Wi-Fi module of the intelligent equipment can not capture complete information in the processing speed, so that the failure of fast connection/one-key configuration is caused; in addition, if a plurality of devices of the same type and in a fast connection/one-key configuration exist in the distribution network environment, a plurality of devices may be connected with the router; similar interference of same-frequency radio signals exists in the process of distribution, and distribution failure is easily caused.
Disclosure of Invention
The invention aims to overcome the defects of complex operation process, easiness in network distribution failure and the like of a screen-free equipment network distribution mode in the prior art, and provides a control method and system of a screen-free equipment network distribution, electronic equipment and a storage medium.
The invention solves the technical problems through the following technical scheme:
the invention provides a control method of a distribution network of a screenless device, wherein the screenless device comprises a light receiving module, and the control method comprises the following steps:
s1, acquiring the name and the password of a wireless network connected with an intelligent terminal;
s2, coding the name and the password to acquire target coding information;
s3, controlling the intelligent terminal to send the target coding information outwards through a flash lamp;
s4, acquiring initial coding information received by the light receiving module of the screen-free equipment within a first preset time;
wherein the initial coding information comprises the target coding information;
s5, decoding and analyzing the initial coding information to obtain the name and the password corresponding to the target coding information;
and S6, controlling the non-screen equipment to carry out distribution network according to the name and the password.
Preferably, the encoded content corresponding to the name in the target encoding information sequentially includes: delimiter flag bits, name coding information and check codes;
the coded content corresponding to the password in the target coded information sequentially comprises: the delimiter flag bit, the password coding information and the check code.
Preferably, the delimiter flag bit corresponds to a first data length, the name encoding information and the password encoding information correspond to a second data length, and the check code corresponds to a third data length;
step S5 comprises the following steps:
s51, acquiring N target positions of the separator flag bit appearing at the Nth time in the initial coding information; n is positive integer;
each target position corresponds to binary coding information of the first data length;
s52, acquiring first coding information between two continuous target positions;
s53, second coding information which is located at the front end position in the first coding information and has the data length of the second data length is obtained;
s54, judging whether the second coding information is consistent with the name zone bit, if so, determining that the second coding information is the name zone bit; or, judging whether the second coding information is consistent with the password flag bit, and determining that the second coding information is the password flag bit;
s55, third coded information which is positioned at the tail end position in the first coded information and has a data length equal to the third data length is obtained;
s56, judging whether the third coding information is consistent with the check code, if so, determining that the check is successful, and acquiring fourth coding information except the second coding information and the third coding information in the first coding information; if not, executing step S58;
s57, decoding to obtain the name or the password corresponding to the fourth coding information;
when the second coding information is the name flag bit, the name corresponding to the fourth coding information;
when the second coding information is the code zone bit, the code corresponding to the fourth coding information;
s58, acquiring the first coding information between two continuous target positions of the next section, and re-executing the step S53 until the name and the password corresponding to the target coding information are acquired.
Preferably, step S3 is preceded by:
controlling the screen-free equipment to enter a distribution network mode;
the control method further comprises the following steps:
and when the name and the password are not obtained through decoding analysis within the preset time, generating a prompting message of network distribution failure, and controlling the non-screen equipment to exit the network distribution mode.
Preferably, step S3 includes:
controlling the intelligent terminal to send the target coding information outwards according to a set frequency within a second preset time through a flash lamp;
wherein the second preset time comprises the first preset time.
Preferably, the light receiving module includes a light receiving sensor; and/or the presence of a gas in the atmosphere,
the intelligent terminal comprises a smart phone or a tablet computer.
The invention also provides a control system of the distribution network of the non-screen equipment, wherein the non-screen equipment comprises an optical receiving module, and the control system comprises a network information acquisition module, a coding processing module, an information sending control module, an initial coding information acquisition module, a decoding analysis module and a distribution network control module;
the network information acquisition module is used for acquiring the name and the password of a wireless network connected with the intelligent terminal;
the coding processing module is used for coding the name and the password to acquire target coding information;
the information sending control module is used for controlling the intelligent terminal to send the target coding information outwards through the flash lamp;
the initial coding information acquisition module is used for acquiring initial coding information received by the light receiving module of the screen-less equipment within a first preset time;
wherein the initial coding information comprises the target coding information;
the decoding analysis module is used for decoding and analyzing the initial coding information and acquiring the name and the password corresponding to the target coding information;
and the distribution network control module is used for controlling the non-screen equipment to carry out distribution network according to the name and the password.
Preferably, the encoded content corresponding to the name in the target encoding information sequentially includes: the system comprises a separator flag bit, a name flag bit, name coding information and a check code;
the coding content corresponding to the password in the target coding information sequentially comprises: the delimiter flag bit, the password coding information and the check code.
Preferably, the delimiter flag bit corresponds to a first data length, the name encoding information and the password encoding information correspond to a second data length, and the check code corresponds to a third data length;
the delimiter flag bit corresponds to a first data length, the name coding information and the password coding information correspond to a second data length, and the check code corresponds to a third data length;
the decoding analysis module comprises a target position acquisition unit, a first coding information acquisition unit, a second coding information acquisition unit, a first judgment unit, a third coding information acquisition unit, a second judgment unit, a fourth coding information acquisition unit and a decoding unit;
the target position acquisition unit is used for acquiring N target positions of the separator flag bit appearing for the Nth time in the initial coding information; n is positive integer;
each target position corresponds to binary coding information of the first data length;
the first coding information acquisition unit is used for acquiring first coding information between two continuous target positions;
the second coding information acquisition unit is used for acquiring second coding information which is positioned at the front end position in the first coding information and has the data length of the second data length;
the first judging unit is used for judging whether the second coding information is consistent with the name flag bit, and if so, determining that the second coding information is the name flag bit; or, judging whether the second coding information is consistent with the password flag bit, and determining that the second coding information is the password flag bit;
the third coded information acquiring unit is used for acquiring third coded information which is positioned at the tail end position in the first coded information and has a data length of the third data length;
the second judging unit is used for judging whether the third coding information is consistent with the check code or not, if so, the checking is determined to be successful, and the fourth coding information acquiring unit is called to acquire fourth coding information except the second coding information and the third coding information in the first coding information; otherwise, calling the first coding information acquisition unit to acquire the first coding information between the two continuous target positions of the next section;
the decoding unit is configured to decode to obtain the name or the password corresponding to the fourth encoding information;
when the second coding information is the name flag bit, the name corresponding to the fourth coding information;
when the second coding information is the code zone bit, the code corresponding to the fourth coding information;
the first coding information acquisition unit is further configured to acquire the first coding information between the next two consecutive target positions, and recall the second coding information acquisition unit until the name and the password corresponding to the target coding information are acquired.
Preferably, the distribution network control module is further configured to control the non-screen device to enter a distribution network mode;
and the distribution network control module is also used for generating a warning message of distribution network failure when the name and the password are obtained through decoding analysis within preset time, and controlling the non-screen equipment to exit the distribution network mode.
Preferably, the information sending control module is configured to control the intelligent terminal to send the target encoding information to the outside according to a set frequency within a second preset time through a flash lamp;
wherein the second preset time comprises the first preset time.
Preferably, the light receiving module includes a light receiving sensor; and/or the presence of a gas in the gas,
the intelligent terminal comprises a smart phone or a tablet computer.
The invention also provides electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the control method of the distribution network of the screen-less equipment when executing the computer program.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned method for controlling a distribution network of a screenless device.
The positive progress effects of the invention are as follows:
in the invention, the coded information is sent to the non-screen equipment through the flash lamp of the intelligent terminal (such as a mobile phone), the received coded information is decoded and analyzed to obtain the name and the password of the wireless network connected with the intelligent terminal, and finally the network distribution operation is carried out according to the name and the password, thereby realizing the network distribution mode based on optical signals and overcoming the defects of the network distribution mode of the existing non-screen equipment; in addition, visible light is used as a medium for transmitting information, so that wireless information transmission is faster and safer; and the frequency of the flash lamp of the mobile phone is very high, and a large amount of data can be transmitted per second, so that the data can be completed in a very short time, the data is difficult to hijack, and the safety of data transmission is greatly improved.
Drawings
Fig. 1 is a flowchart of a method for controlling a distribution network of a screenless device according to embodiment 1 of the present invention.
Fig. 2 is a first flowchart of a method for controlling a distribution network of a screenless device according to embodiment 2 of the present invention.
Fig. 3 is a second flowchart of a method for controlling a distribution network of a screenless device according to embodiment 2 of the present invention.
Fig. 4 is a decoding analysis diagram in the control method for the distribution network of the screenless device in embodiment 2 of the present invention.
Fig. 5 is a schematic block diagram of a control system of a distribution network of screenless devices in embodiment 3 of the present invention.
Fig. 6 is a module schematic view of a control system of a distribution network of screenless devices according to embodiment 4 of the present invention.
Fig. 7 is a schematic structural diagram of an electronic device for implementing a method for controlling a distribution network of a screenless device in embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, the screenless device of the present embodiment includes a light receiving module, wherein the light receiving module includes, but is not limited to, a light receiving sensor.
The control method for the distribution network of the screenless equipment comprises the following steps:
s101, acquiring the name and the password of a wireless network connected with the intelligent terminal;
the intelligent terminal includes but is not limited to a smart phone and a tablet computer.
Specifically, when a user opens an APP (application degree) of the intelligent terminal, selects a name corresponding to the wireless network and inputs a password, and when the input password is verified to be correct, the corresponding wireless network name and the password are obtained; and if the verification is wrong, the password is repeatedly input until the name and the password corresponding to the wireless network are obtained.
S102, coding the name and the password to acquire target coding information;
s103, controlling the intelligent terminal to send target coding information outwards through the flash lamp;
s104, acquiring initial coding information received by a light receiving module of the screen-less equipment within a first preset time;
wherein the initial coding information comprises target coding information;
s105, decoding and analyzing the initial coding information, and acquiring a name and a password corresponding to the target coding information;
and S106, controlling the non-screen equipment to carry out distribution according to the name and the password.
And the screen-free equipment displays the success or failure of the distribution network through different colors of the indicator lamps.
In the embodiment, the coded information is sent to the non-screen device through the flash lamp of the intelligent terminal, the received coded information is decoded and analyzed to obtain the name and the password of the wireless network connected with the intelligent terminal, and finally the network distribution operation is carried out according to the name and the password, so that the network distribution mode based on optical signals is realized, and the defects of the existing network distribution mode of the non-screen device are overcome; in addition, visible light is used as a medium for transmitting information, so that wireless information transmission is faster and safer; and the frequency of the flash lamp of the mobile phone is very high, a large amount of data can be transmitted per second, so that the data can be completed in a very short time, the data is difficult to hijack, and the safety of data transmission is greatly improved.
Example 2
As shown in fig. 2, the method for controlling a distribution network of a screenless device in this embodiment is a further improvement of embodiment 1, and specifically includes:
the coded content corresponding to the name in the target coded information sequentially comprises: delimiter flag bits, name coding information and check codes;
the coded content corresponding to the password in the target coded information sequentially comprises: separator zone bit, password coding information, check code.
The delimiter flag bit corresponds to a first data length, the name coding information and the password coding information correspond to a second data length, and the check code corresponds to a third data length.
Specifically, the format of the target encoding information T is specifically referred to the following table:
encoding information sep SSID_pos x P sep passwd_pos y P
Length of L1 L2 / L3 L1 L2 / L3
The system comprises a separator flag bit sep, a name flag bit SSID _ pos, name coding information x, a check code P, a separator flag bit sep, a password flag bit password _ pos, password coding information y and a check code P.
The data length corresponding to the delimiter flag position sep is L1, the data lengths corresponding to the name flag position SSID _ pos and the password flag position password _ pos are both L2, the data length corresponding to the check code P is L3, the data lengths corresponding to the name coding information x and the password coding information y are not fixed, and the data lengths are dynamically changed according to actual conditions.
Step S103 includes:
s1031, controlling the intelligent terminal to send target coding information outwards according to a set frequency within a second preset time through the flash lamp;
the second preset time comprises the first preset time.
Specifically, when the mobile phone flash lamp flashes at a high frequency, light corresponds to "1", dark corresponds to "0", and a string of binary codes T 'is transmitted outwards within a second preset time, where T' is a cyclic component of a plurality of segments of target code information T, that is, T '= n × T, n ∈ T', n ≧ 1, and n is an integer.
After the flash lamp of the mobile phone flickers for a period of time, the flash lamp of the mobile phone is aligned to the non-screen device, and a light receiving module of the non-screen device starts to acquire coding information transmitted by a flicking light signal within a first preset time to obtain a binary coding T ', wherein T ' belongs to T '.
As shown in fig. 3, step S105 includes:
s1051, obtaining N target positions of the N-th appearing delimiter flag bits in the initial coding information; wherein, N is positive integer;
each target position corresponds to binary coding information with a first data length;
s1052, acquiring first coding information between two continuous target positions;
s1053, obtaining second coding information which is positioned at the front end position in the first coding information and has a data length of a second data length;
s1054, judging whether the second coding information is consistent with the name zone bit, if so, determining that the second coding information is the name zone bit; or, judging whether the second coding information is consistent with the password zone bit, and determining that the second coding information is the password zone bit;
s1055, obtaining third coded information which is positioned at the tail end position and has a data length of a third data length in the first coded information;
s1056, judging whether the third coding information is consistent with the check code, if so, determining that the check is successful, and acquiring fourth coding information except the second coding information and the third coding information in the first coding information; if not, executing step S1058;
s1057, decoding to obtain a name or a password corresponding to the fourth encoding information;
when the second coding information is a name zone bit, the name corresponding to the fourth coding information;
when the second coding information is a code zone bit, a code corresponding to the fourth coding information;
s1058, acquiring first coding information between two next continuous target positions, and re-executing the step S1053 until acquiring the name and the password corresponding to the target coding information.
Specifically, when the condition that the verification fails is not considered, the first position, the second position, and the third position of the first time, the second time, and the third time occurrence of the delimiter flag bit in the initial coding information are respectively obtained, so that the corresponding name and password in the initial coding information can be obtained, specifically:
acquiring coding information M1 of a second data length after the first position;
comparing whether the coding information M1 is consistent with the name zone bit, if so, determining that the coding information M1 is the name zone bit; or, comparing whether the coding information M1 is consistent with the code flag bit, and determining that the coding information M1 is the code flag bit.
Acquiring coding information M2 between the coding information M1 and a second position;
acquiring the coding information M3 of the last third data length in the coding information M2;
comparing whether the coding information M3 is consistent with the check code or not, if so, determining that the check is successful, and acquiring coding information M4 except the coding information M3 in the coding information M2;
decoding to obtain a name or a password corresponding to the coding information M4;
acquiring coding information M5 of a second data length after the second position;
when the coding information M1 is a name zone bit, determining that the coding information M5 is a password zone bit; when the coding information M1 is a code zone bit, determining that the coding information M5 is a name zone bit; or;
judging whether the coding information M5 is consistent with the name zone bit, if so, determining that the coding information M5 is the name zone bit; or, if the coded information M5 is determined to be consistent with the password flag bit, the coded information M5 is determined to be the password flag bit.
Acquiring coding information M6 between data with a second data length after the second position and a third position;
acquiring the coding information M7 of the last third data length in the coding information M5;
comparing whether the coding information M7 is consistent with the check code or not, if so, determining that the check is successful, and acquiring coding information M8 except the coding information M7 in the coding information M6;
decoding to obtain a password or a name corresponding to the coding information M8;
when the coding information M1 is a name zone bit, decoding according to the coding information M4 to obtain a name, and decoding according to the coding information M8 to obtain a password;
when the coded information M1 is a code zone bit, a code is obtained by decoding according to the coded information M4, and a name is obtained by decoding according to the coded information M8.
Further, after step S102 and before step S103, the method further includes:
s1030, controlling the screen-free equipment to enter a distribution network mode;
step S104 is followed by:
and S107, when the name and the password are not obtained through decoding and analysis within the preset time, generating a reminding message of network distribution failure, and controlling the non-screen equipment to exit the network distribution mode.
The following is a detailed description with reference to examples:
suppose the name x of the wireless network is folder-guest and the password y is 12345678.
The septor marker site sep is 11 \8230, 1100 \823000, 00 (50, 1, 50 and 0, total 100 sites);
the check code P is 01110 (5 bits in total);
the name flag bits SSID _ pos are 11 \8230, 1100 \823000, 00 (30, 1, 30 and 0, 60 bits in total),
password flag bit password _ pos is 00 \8230, 0011 \8230, 11 (30 bits 1, 30 bits 0, 60 bits in total).
1) The name x and the password y of the wireless network are coded to obtain T as:
11…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…11001100010011001000110011001101000011010100110110001101110011100001110
2) The initial coding information T' received by the light receiving sensor of the screenless equipment in the first preset time is as follows:
011101000111011…1100…0000…0011…1100110001001100100011001100110100001101010011011000110111001110000111011…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…1100110001001100100011001100110100001101010011011000110111001110000111011…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…1100110001001100100011001100110100001101010011011000110111001110000111011…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…110011000100110010001100110011010000110101001101100011011100111000……
as shown in fig. 4, the process of decoding the received initial encoded information T ″ includes:
(1) Obtaining initial coding information T' middleA target position where the delimiter flag bit sep appears for the first time (corresponding to the data length L1 and the position P1 of the first bit), a target position where the delimiter flag bit sep appears for the second time (corresponding to the data length L1 and the position P2 of the first bit), and a target position where the delimiter flag bit sep appears for the third time (corresponding to the data length L1 and the position P3 of the first bit);
(2) For the coding information between the position P1 and the position P2, obtaining the coding information M1 corresponding to L1+1 to L1+ L2;
comparing whether the coding information M1 is consistent with the name zone bit SSID _ pos or not, and if so, determining that the coding information M1 is the name zone bit SSID _ pos; comparing whether the coded information M1 is consistent with the password flag bit password _ pos or not, and if so, determining that the coded information M1 is the password flag bit password _ pos;
(3) Acquiring coding information M2 between positions L1+ L2 and P2;
acquiring the coding information M3 of the last data length L3 of the coding information M2;
comparing whether the coding information M3 is consistent with the check code P or not, and if so, determining that the coding information M3 is legal, thereby eliminating error codes possibly caused by other interferences;
acquiring coding information M4 except the coding information M3 in the coding information M2;
decoding to obtain a name or a password corresponding to the coding information M4;
(4) For the coding information between the position P2 and the position P3, obtaining the coding information M5 corresponding to the L1+1 to the L1+ L2;
comparing whether the coding information M5 is consistent with the name zone bit SSID _ pos, and if so, determining that the coding information M5 is the name zone bit SSID _ pos; comparing whether the coded information M5 is consistent with the password flag bit password _ pos or not, and if so, determining that the coded information M5 is the password flag bit password _ pos;
or when the coded information M1 is the name flag SSID _ pos, the coded information M5 pair is the password flag SSID _ pos;
when the encoded information M1 is the password flag SSID _ pos, the encoded information M5 is the name flag SSID _ pos.
(5) Acquiring coding information M6 between positions L1+ L2 and P3;
acquiring the coding information M7 with the last third data length L3 in the coding information M6;
judging whether the coding information M7 is consistent with the check code P, if so, determining that the coding information M7 is legal, thereby eliminating error codes possibly caused by other interference;
acquiring coding information M8 except the coding information M7 in the coding information M6;
decoding to obtain a name or a password corresponding to the coding information M8;
when the coding information M1 is a name zone bit, decoding according to the coding information M4 to obtain a name, and decoding according to the coding information M8 to obtain a password;
when the coded information M1 is a code zone bit, a code is obtained by decoding according to the coded information M4, and a name is obtained by decoding according to the coded information M8.
Finally obtaining:
M1=00…0011…11;
x=0011000100110010001100110011010000110101001101100011011100111000;
y=011001100110111101110100011010010110110001100101001011010110011101110101011001010111001101110100;
thus, the first coded information M1 is the password flag bit password _ pos, and the value of x is "12345678" and the value of y is "folder-guest" are analyzed, so that the name of the wireless network is folder-guest and the password is 12345678.
In addition, if the verification of the coded information M3 and the check code P or the verification of the coded information M7 and the check code P fails, the coded information between the next section of continuous two target positions is continuously decoded and analyzed until the name and the password are decoded and analyzed from the initial coded information T'; the specific decoding analysis process is similar to steps (2) to (5), and will not be described herein again.
3) According to the name of a wireless network, namely, a folder-guest and the password of 12345678, carrying out network distribution operation on the equipment without a screen;
after the non-screen device is successfully networked, the non-screen device, the intelligent terminal and the cloud can be connected for subsequent further communication interaction; and meanwhile, controlling the non-screen equipment to exit the distribution network mode.
And when the name and the password of the wireless network are not obtained by decoding within the set time, generating a warning message of distribution network failure, and controlling the screen-free equipment to exit the distribution network mode.
In the embodiment, the coded information is sent to the non-screen device through the flash lamp of the intelligent terminal, the received coded information is decoded and analyzed to obtain the name and the password of the wireless network connected with the intelligent terminal, and finally the network distribution operation is carried out according to the name and the password, so that the network distribution mode based on optical signals is realized, and the defects of the existing network distribution mode of the non-screen device are overcome; in addition, visible light is used as a medium for transmitting information, so that wireless information transmission is faster and safer; and the frequency of the flash lamp of the mobile phone is very high, a large amount of data can be transmitted per second, so that the data can be completed in a very short time, the data is difficult to hijack, and the safety of data transmission is greatly improved.
Example 3
As shown in fig. 5, the screenless device of the present embodiment includes a light receiving module, wherein the light receiving module includes, but is not limited to, a light receiving sensor.
The control system of the distribution network of the screen-free equipment comprises a network information acquisition module 1, a coding processing module 2, an information sending control module 3, an initial coding information acquisition module 4, a decoding analysis module 5 and a distribution network control module 6.
The network information acquisition module 1 is used for acquiring the name and the password of a wireless network connected with the intelligent terminal;
the intelligent terminal includes but is not limited to a smart phone and a tablet computer.
Specifically, when a user opens an APP of the intelligent terminal to select a name corresponding to the wireless network and inputs a password, and when the input password is verified to be correct, the corresponding wireless network name and the password are obtained; and if the verification is wrong, the password is repeatedly input until the name and the password corresponding to the wireless network are obtained.
The coding processing module 2 is used for coding the name and the password to acquire target coding information;
the information sending control module 3 is used for controlling the intelligent terminal to send target coding information to the non-screen equipment through the flash lamp;
the initial coding information acquisition module 4 is configured to acquire initial coding information received by a light receiving module of the non-screen device within a first preset time;
wherein the initial coding information comprises target coding information.
The decoding analysis module 5 is used for decoding and analyzing the initial coding information and acquiring a name and a password corresponding to the target coding information;
and the distribution network control module 6 is used for controlling the non-screen equipment to carry out distribution network according to the name and the password.
And the screen-free equipment displays the success or failure of the distribution network through different colors of the indicator lamps.
In the embodiment, the coded information is sent to the non-screen device through the flash lamp of the intelligent terminal, the received coded information is decoded and analyzed to obtain the name and the password of the wireless network connected with the intelligent terminal, and finally the network distribution operation is carried out according to the name and the password, so that the network distribution mode based on optical signals is realized, and the defects of the existing network distribution mode of the non-screen device are overcome; in addition, visible light is used as a medium for transmitting information, so that wireless information transmission is faster and safer; and the frequency of the flash lamp of the mobile phone is very high, and a large amount of data can be transmitted per second, so that the data can be completed in a very short time, the data is difficult to hijack, and the safety of data transmission is greatly improved.
Example 4
As shown in fig. 6, the control system of the distribution network of the screenless device in this embodiment is a further improvement of embodiment 3, specifically:
the coded content corresponding to the name in the target coded information sequentially comprises: the system comprises a separator flag bit, a name flag bit, name coding information and a check code;
the coded content corresponding to the password in the target coded information sequentially comprises: delimiter flag bit, password coding information and check code.
The delimiter flag bit corresponds to a first data length, the name coding information and the password coding information correspond to a second data length, and the check code corresponds to a third data length.
Specifically, the format of the target encoding information T is specifically referred to the following table:
encoding information sep SSID_pos x P sep passwd_pos y P
Length of L1 L2 / L3 L1 L2 / L3
The system comprises a separator flag bit sep, a name flag bit SSID _ pos, name coding information x, a check code P, a separator flag bit sep, a password flag bit password _ pos, password coding information y and a check code P.
The data length corresponding to the delimiter flag position sep is L1, the data lengths corresponding to the name flag position SSID _ pos and the password flag position password _ pos are both L2, the data length corresponding to the check code P is L3, the data lengths corresponding to the name coding information x and the password coding information y are not fixed, and the data lengths are dynamically changed according to actual conditions.
The information sending control module 3 is used for controlling the intelligent terminal to send target coding information to the non-screen device through the flash lamp within a second preset time according to a set frequency;
the second preset time comprises the first preset time.
Specifically, when a mobile phone flash lamp flashes at a high frequency, light corresponds to "1", dark corresponds to "0", and a string of binary codes T 'is transmitted outwards within a second preset time, where T' is a cyclic component of a plurality of pieces of target code information T, that is, T '= n = T, n belongs to T', n is greater than or equal to 1, and n is an integer.
After the mobile phone flash lamp flickers for a period of time, the mobile phone flash lamp is enabled to aim at the non-screen device, and a light receiving module of the non-screen device starts to collect coding information transmitted by a flicking light signal within a first preset time to obtain a binary code T ', wherein T belongs to T'.
The decoding analysis module 5 of the present embodiment includes a target position acquisition unit 7, a first encoded information acquisition unit 8, a second encoded information acquisition unit 9, a first judgment unit 10, a third encoded information acquisition unit 11, a second judgment unit 12, a fourth encoded information acquisition unit 13, and a decoding unit 14.
The target position obtaining unit 7 is configured to obtain N target positions where the delimiter flag bit appears for the nth time in the initial coding information; n is positive integer;
each target position corresponds to binary coding information of the first data length;
the first coded information acquiring unit 8 is used for acquiring first coded information between two continuous target positions;
the second encoded information acquiring unit 9 is configured to acquire second encoded information that is located at a front end position in the first encoded information and has a data length of a second data length;
the first judging unit 10 is configured to judge whether the second encoded information is consistent with the name flag bit, and if so, determine that the second encoded information is the name flag bit; or, judging whether the second coding information is consistent with the password zone bit, and determining that the second coding information is the password zone bit;
the third encoded information acquiring unit 11 is configured to acquire third encoded information that is located at an end position in the first encoded information and has a data length of a third data length;
the second judging unit 12 is configured to judge whether the third encoded information is consistent with the check code, and if so, determine that the check is successful, and obtain fourth encoded information in the first encoded information, excluding the second encoded information and the third encoded information; if not, calling a first coding information acquisition unit 8 to acquire the first coding information between the next continuous two target positions;
the decoding unit 14 is configured to decode to obtain a name or a password corresponding to the fourth encoded information;
when the second coding information is a name zone bit, the fourth coding information corresponds to a name;
when the second coding information is a code zone bit, a code corresponding to the fourth coding information;
the first encoded information obtaining unit 8 is further configured to obtain first encoded information between two next consecutive target positions, and recall the second encoded information obtaining unit 9 until a name and a password corresponding to the target encoded information are obtained.
Specifically, when the condition that the verification fails is not considered, the first position, the second position, and the third position of the first time, the second time, and the third time occurrence of the delimiter flag bit in the initial coding information are respectively obtained, so that the corresponding name and password in the initial coding information can be obtained, specifically:
acquiring coding information M1 of a second data length after the first position;
comparing whether the coding information M1 is consistent with the name zone bit, if so, determining that the coding information M1 is the name zone bit; or, comparing whether the coded information M1 is consistent with the code flag bit, and determining that the coded information M1 is the code flag bit.
Acquiring coding information M2 between the coding information M1 and a second position;
acquiring the coding information M3 of the last third data length in the coding information M2;
comparing whether the coding information M3 is consistent with the check code or not, if so, determining that the check is successful, and acquiring coding information M4 except the coding information M3 in the coding information M2;
decoding to obtain a name or a password corresponding to the coding information M4;
acquiring coding information M5 of a second data length after the second position;
when the coding information M1 is a name zone bit, determining that the coding information M5 is a password zone bit; when the coding information M1 is a code zone bit, determining that the coding information M5 is a name zone bit; or;
judging whether the coding information M5 is consistent with the name zone bit, if so, determining that the coding information M5 is the name zone bit; or, judging whether the coding information M5 is consistent with the code flag bit, and determining that the coding information M5 is the code flag bit.
Acquiring coding information M6 between data with a second data length after the second position and a third position;
acquiring the coding information M7 of the last third data length in the coding information M5;
comparing whether the coding information M7 is consistent with the check code or not, if so, determining that the check is successful, and acquiring coding information M8 except the coding information M7 in the coding information M6;
decoding to obtain a password or a name corresponding to the coding information M8;
when the coding information M1 is a name zone bit, decoding according to the coding information M4 to obtain a name, and decoding according to the coding information M8 to obtain a password;
when the coded information M1 is a code zone bit, a code is obtained by decoding according to the coded information M4, and a name is obtained by decoding according to the coded information M8.
The distribution network control module 6 is further configured to control the screenless device to enter a distribution network mode.
The distribution network control module 6 is further configured to generate a warning message of distribution network failure when the name and the password are obtained through decoding and analysis within the preset time, and control the non-screen device to exit the distribution network mode.
The following is a detailed description with reference to examples:
suppose the name x of the wireless network is folder-guest and the password y is 12345678.
The marker site sep is 11 \8230, 1100 \823000, 00 (50, 1, 50 and 0, 100 sites in total);
the check code P is 01110 (5 bits in total);
the name flag bits SSID _ pos are 11 \8230, 1100 \823000, 00 (30, 1, 30 and 0, 60 bits in total),
password flag bit password _ pos is 00 \8230, 0011 \8230, 11 (30 bits 1, 30 bits 0, 60 bits in total).
1) The name x and the password y of the wireless network are coded to obtain T as:
11…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…11001100010011001000110011001101000011010100110110001101110011100001110
2) The initial coding information T' received by the light receiving sensor of the screenless device in the first preset time is as follows:
011101000111011…1100…0000…0011…1100110001001100100011001100110100001101010011011000110111001110000111011…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…1100110001001100100011001100110100001101010011011000110111001110000111011…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…1100110001001100100011001100110100001101010011011000110111001110000111011…1100…0011…1100…000110011001101111011101000110100101101100011001010010110101100111011101010110010101110011011101000111011…1100…0000…0011…110011000100110010001100110011010000110101001101100011011100111000……
as shown in fig. 4, the process of decoding the received initial encoded information T ″ includes:
(1) Acquiring a target position (corresponding to the data length L1 and the first position P1) where the separator flag bit sep appears for the first time, a target position (corresponding to the data length L1 and the first position P2) where the separator flag bit sep appears for the second time, and a target position (corresponding to the data length L1 and the first position P3) where the separator flag bit sep appears for the third time in the initial coding information T';
(2) For the coding information between the position P1 and the position P2, obtaining the coding information M1 corresponding to L1+1 to L1+ L2;
comparing whether the coding information M1 is consistent with the name zone bit SSID _ pos or not, and if so, determining that the coding information M1 is the name zone bit SSID _ pos; comparing whether the coded information M1 is consistent with the password flag bit password _ pos or not, and if so, determining that the coded information M1 is the password flag bit password _ pos;
(3) Acquiring coding information M2 between positions L1+ L2 and P2;
acquiring the coding information M3 of the last data length L3 of the coding information M2;
comparing whether the coding information M3 is consistent with the check code P or not, and if so, determining that the coding information M3 is legal, thereby eliminating error codes possibly caused by other interference;
acquiring coding information M4 except the coding information M3 in the coding information M2;
decoding to obtain a name or a password corresponding to the coding information M4;
(4) For the coding information between the position P2 and the position P3, obtaining the coding information M5 corresponding to the L1+1 to the L1+ L2;
comparing whether the coding information M5 is consistent with the name zone bit SSID _ pos, and if so, determining that the coding information M5 is the name zone bit SSID _ pos; comparing whether the coded information M5 is consistent with the password flag bit password _ pos or not, and if so, determining that the coded information M5 is the password flag bit password _ pos;
or when the coded information M1 is the name flag SSID _ pos, the coded information M5 pair is the password flag SSID _ pos;
when the encoded information M1 is the password flag SSID _ pos, the encoded information M5 is the name flag SSID _ pos.
(5) Acquiring coding information M6 between positions L1+ L2 and P3;
acquiring the coding information M7 of the last third data length L3 in the coding information M6;
judging whether the coding information M7 is consistent with the check code P, if so, determining that the coding information M7 is legal, thereby eliminating error codes possibly caused by other interferences;
acquiring coding information M8 except the coding information M7 in the coding information M6;
decoding to obtain a name or a password corresponding to the coding information M8;
when the coding information M1 is a name zone bit, decoding according to the coding information M4 to obtain a name, and decoding according to the coding information M8 to obtain a password;
when the coded information M1 is a code zone bit, a code is obtained by decoding according to the coded information M4, and a name is obtained by decoding according to the coded information M8.
Finally obtaining:
M1=00…0011…11;
x=0011000100110010001100110011010000110101001101100011011100111000;
y=011001100110111101110100011010010110110001100101001011010110011101110101011001010111001101110100;
thus, the first encoded information M1 is the password flag bit password _ pos, and the value of x is "12345678", and the value of y is "fotile-guest", so as to obtain the name of wireless network as fotile-guest, and the password is 12345678.
In addition, if the verification of the coded information M3 and the check code P or the verification of the coded information M7 and the check code P fails, the coded information between the next section of continuous two target positions is continuously decoded and analyzed until the name and the password are decoded and analyzed from the initial coded information T'; the specific decoding analysis process is similar to steps (2) to (5), and will not be described herein again.
3) According to the name of a wireless network, namely, a folder-guest and the password of 12345678, carrying out network distribution operation on the equipment without a screen;
after the non-screen device is successfully networked, the non-screen device, the intelligent terminal and the cloud can be connected for subsequent further communication interaction; and meanwhile, controlling the non-screen equipment to exit the distribution network mode.
And when the name and the password of the wireless network are not obtained by decoding within the set time, generating a warning message of distribution network failure, and controlling the screen-free equipment to exit the distribution network mode.
In the embodiment, the coded information is sent to the non-screen device through the flash lamp of the intelligent terminal, the received coded information is decoded and analyzed to obtain the name and the password of the wireless network connected with the intelligent terminal, and finally the network distribution operation is carried out according to the name and the password, so that the network distribution mode based on optical signals is realized, and the defects of the existing network distribution mode of the non-screen device are overcome; in addition, visible light is used as a medium for transmitting information, so that wireless information transmission is faster and safer; and the frequency of the flash lamp of the mobile phone is very high, and a large amount of data can be transmitted per second, so that the data can be completed in a very short time, the data is difficult to hijack, and the safety of data transmission is greatly improved.
Example 5
Fig. 7 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention. The electronic device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the program, the control method of the distribution network of the screenless device in any embodiment 1 or 2 is realized. The electronic device 30 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 7, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM) 321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as a control method of the distribution network of the screenless device in any one of the embodiments 1 or 2 of the present invention, by running the computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown in FIG. 7, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the steps in the method for controlling a distribution network of a screenless device in any one of embodiments 1 or 2.
More specific examples that may be employed by the readable storage medium include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program codes, and when the program product runs on a terminal device, the program codes are used for causing the terminal device to execute the steps in the method for controlling the distribution network of the screenless device in any one of the embodiments 1 or 2.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Those skilled in the art areThese embodiments may be made without departing from the principles and spirit of the inventionMany changes and modifications may be made to the invention Modifications are within the scope of the invention.

Claims (10)

1. A control method for a distribution network of a screenless device is characterized in that the screenless device comprises a light receiving module, and the control method comprises the following steps:
s1, acquiring the name and the password of a wireless network connected with an intelligent terminal;
s2, coding the name and the password to acquire target coding information;
s3, controlling the intelligent terminal to send the target coding information outwards through a flash lamp;
s4, acquiring initial coding information received by the light receiving module of the screen-free equipment within a first preset time;
wherein the initial coding information comprises the target coding information;
s5, decoding and analyzing the initial coding information to obtain the name and the password corresponding to the target coding information;
s6, controlling the non-screen equipment to carry out distribution according to the name and the password;
the coded content corresponding to the name in the target coded information sequentially comprises: the system comprises a separator flag bit, a name flag bit, name coding information and a check code;
the coding content corresponding to the password in the target coding information sequentially comprises: the delimiter flag bit, the password coding information and the check code;
the separator flag bit corresponds to a first data length, the name coding information and the password coding information correspond to a second data length, and the check code corresponds to a third data length;
step S5 comprises the following steps:
s51, acquiring N target positions of the separator flag bit appearing at the Nth time in the initial coding information; n is positive integer;
each target position corresponds to binary coding information of the first data length;
s52, acquiring first coding information between two continuous target positions;
s53, second coding information which is located at the front end position in the first coding information and has the data length of the second data length is obtained;
s54, judging whether the second coding information is consistent with the name zone bit, if so, determining that the second coding information is the name zone bit; or, judging whether the second coding information is consistent with the password flag bit, and determining that the second coding information is the password flag bit;
s55, third coded information which is positioned at the tail end position in the first coded information and has a data length equal to the third data length is obtained;
s56, judging whether the third coding information is consistent with the check code, if so, determining that the check is successful, and acquiring fourth coding information except the second coding information and the third coding information in the first coding information; if not, executing step S58;
s57, decoding to obtain the name or the password corresponding to the fourth encoding information;
when the second coding information is the name flag bit, the name corresponding to the fourth coding information;
when the second coding information is the code zone bit, the code corresponding to the fourth coding information;
s58, acquiring the first coding information between two next continuous target positions, and re-executing the step S53 until the name and the password corresponding to the target coding information are acquired.
2. The method for controlling the distribution network of the screenless equipment, according to claim 1, further comprising, before step S3:
controlling the screen-free equipment to enter a distribution network mode;
the control method further comprises the following steps:
and when the name and the password are obtained through decoding analysis within the preset time, generating a prompting message of distribution network failure, and controlling the screen-free equipment to exit the distribution network mode.
3. The method for controlling the distribution network of the screenless equipment, according to claim 1, wherein the step S4 comprises:
controlling the intelligent terminal to send the target coding information outwards according to a set frequency within a second preset time through a flash lamp;
wherein the second preset time comprises the first preset time.
4. The method for controlling the distribution network of the screenless equipment of claim 1, wherein the light receiving module comprises a light receiving sensor; and/or the presence of a gas in the gas,
the intelligent terminal comprises a smart phone or a tablet computer.
5. A control system of a distribution network of a non-screen device is characterized in that the non-screen device comprises a light receiving module, and the control system comprises a network information acquisition module, a coding processing module, an information sending control module, an initial coding information acquisition module, a decoding analysis module and a distribution network control module;
the network information acquisition module is used for acquiring the name and the password of a wireless network connected with the intelligent terminal;
the coding processing module is used for coding the name and the password to acquire target coding information;
the information sending control module is used for controlling the intelligent terminal to send the target coding information outwards through the flash lamp;
the initial coding information acquisition module is used for acquiring initial coding information received by the light receiving module of the screen-less equipment within a first preset time;
wherein the initial coding information comprises the target coding information;
the decoding analysis module is used for decoding and analyzing the initial coding information and acquiring the name and the password corresponding to the target coding information;
the distribution network control module is used for controlling the non-screen equipment to distribute the network according to the name and the password;
the coded content corresponding to the name in the target coded information sequentially comprises: delimiter flag bits, name coding information and check codes;
the separator flag bit corresponds to a first data length, the name coding information and the password coding information correspond to a second data length, and the check code corresponds to a third data length;
the decoding analysis module comprises a target position acquisition unit, a first coding information acquisition unit, a second coding information acquisition unit, a first judgment unit, a third coding information acquisition unit, a second judgment unit, a fourth coding information acquisition unit and a decoding unit;
the target position acquiring unit is used for acquiring N target positions of the separator flag bit appearing for the Nth time in the initial coding information; n is positive integer;
each target position corresponds to binary coding information of the first data length;
the first coding information acquisition unit is used for acquiring first coding information between two continuous target positions;
the second coding information acquisition unit is used for acquiring second coding information which is positioned at the front end position in the first coding information and has the data length of the second data length;
the first judging unit is used for judging whether the second coding information is consistent with the name flag bit, and if so, determining that the second coding information is the name flag bit; or, determining whether the second coding information is consistent with the password flag bit, and determining that the second coding information is the password flag bit;
the third coded information acquiring unit is used for acquiring third coded information which is positioned at the tail end position in the first coded information and has a data length of the third data length;
the second judging unit is configured to judge whether the third encoded information is consistent with the check code, and if so, determine that the check is successful, and call the fourth encoded information obtaining unit to obtain fourth encoded information, which is included in the first encoded information and is other than the second encoded information and the third encoded information; otherwise, calling the first coding information acquisition unit to acquire the first coding information between the next section of continuous two target positions;
the decoding unit is configured to decode to obtain the name or the password corresponding to the fourth encoding information;
when the second coding information is the name flag bit, the name corresponding to the fourth coding information;
when the second coding information is the code zone bit, the code corresponding to the fourth coding information;
the first coding information acquisition unit is further configured to acquire the first coding information between the next two consecutive target positions, and recall the second coding information acquisition unit until the name and the password corresponding to the target coding information are acquired.
6. The control system for the distribution network of the screenless devices of claim 5, wherein the distribution network control module is further configured to control the screenless devices to enter a distribution network mode;
and the distribution network control module is also used for generating a warning message of distribution network failure when the name and the password are obtained through decoding analysis within preset time, and controlling the non-screen equipment to exit the distribution network mode.
7. The control system of the screen-less equipment distribution network as claimed in claim 5, wherein the information sending control module is configured to control the intelligent terminal to send the target encoding information outwards through the flash lamp within a second preset time according to a set frequency;
wherein the second preset time comprises the first preset time.
8. The control system for the screenless device distribution network of claim 5, wherein the light receiving module comprises a light receiving sensor; and/or the presence of a gas in the gas,
the intelligent terminal comprises a smart phone or a tablet computer.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for controlling the distribution network of screenless devices of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for controlling a distribution network of screenless devices of any of claims 1 to 4.
CN201910788403.XA 2019-08-26 2019-08-26 Control method and system for screen-free equipment distribution network, electronic equipment and storage medium Active CN110505013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910788403.XA CN110505013B (en) 2019-08-26 2019-08-26 Control method and system for screen-free equipment distribution network, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910788403.XA CN110505013B (en) 2019-08-26 2019-08-26 Control method and system for screen-free equipment distribution network, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110505013A CN110505013A (en) 2019-11-26
CN110505013B true CN110505013B (en) 2022-11-01

Family

ID=68589385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910788403.XA Active CN110505013B (en) 2019-08-26 2019-08-26 Control method and system for screen-free equipment distribution network, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110505013B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113552766B (en) * 2020-04-07 2023-02-17 浙江宇视科技有限公司 Flash-missing detection method and device for flash-explosion lamp, electronic equipment and storage medium
CN114158110A (en) * 2021-11-30 2022-03-08 四川虹美智能科技有限公司 Network distribution method of intelligent device, intelligent terminal and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371219A (en) * 2016-05-13 2017-11-21 华为终端(东莞)有限公司 WiFi collocation methods, WiFi mobile terminals and WiFi equipment
CN107529168A (en) * 2017-08-08 2017-12-29 深圳市晶讯软件通讯技术有限公司 WiFi terminal and WiFi terminal quickly access WiFi AP method and system
CN107749879A (en) * 2017-10-17 2018-03-02 广州华多网络科技有限公司 Control method, control device and the internet of things equipment of internet of things equipment
CN207652468U (en) * 2017-12-19 2018-07-24 九阳股份有限公司 A kind of domestic intelligent router and intelligent domestic system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130347083A1 (en) * 2012-06-26 2013-12-26 Texas Instruments Incorporated Length modulated over-the-air network setup

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371219A (en) * 2016-05-13 2017-11-21 华为终端(东莞)有限公司 WiFi collocation methods, WiFi mobile terminals and WiFi equipment
CN107529168A (en) * 2017-08-08 2017-12-29 深圳市晶讯软件通讯技术有限公司 WiFi terminal and WiFi terminal quickly access WiFi AP method and system
CN107749879A (en) * 2017-10-17 2018-03-02 广州华多网络科技有限公司 Control method, control device and the internet of things equipment of internet of things equipment
CN207652468U (en) * 2017-12-19 2018-07-24 九阳股份有限公司 A kind of domestic intelligent router and intelligent domestic system

Also Published As

Publication number Publication date
CN110505013A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
EP3445094A1 (en) Wifi configuration method, wifi mobile terminal, and wifi device
CN110505013B (en) Control method and system for screen-free equipment distribution network, electronic equipment and storage medium
US11831497B2 (en) Self-configuration of wireless connections
CN104301141B (en) A kind of method, apparatus and system for preserving configuration information
CN108040355B (en) Network access method and system
CN110324161B (en) Method and equipment for testing transmission protocol
CN106792999B (en) Zigbee gateway equipment, zigbee child node and zigbee networking method
CN105469772A (en) Remote KVM (Keyboard Video Mouse) control method, remote KVM control terminal and system
US20040179517A1 (en) Wireless communication method and wireless communication device
CN106936545B (en) Data transmission method and device
CN105450330B (en) Ascending transmission method, website, access point AP, communication system and management entity
CN114071247B (en) Block chain data broadcast transmission method, system, computer equipment and computer readable storage medium
KR101471482B1 (en) Decompressing method and apparatus
CN105120012B (en) Smart machine and its networking cut-in method, message receiving method and device
CN110677827B (en) Network distribution method, device, system, electronic equipment and storage medium
CN107257265A (en) Real-time transmission data stream forward error correction, equipment and storage medium
US10623140B2 (en) Method for processing signaling sub-segment, processing apparatus, access point, and station
CN106604305B (en) Wireless network configuration method and device and terminal
CN113301387B (en) Data encoding and decoding method, related equipment and system
CN104796735B (en) A kind of method of transmitting video data and device
CN108111588B (en) Method for improving distribution network efficiency of Internet of things equipment based on WIFI
KR102175799B1 (en) Blind detection system for physical downlink control channel based on 5g communication and method thereof
CN110120987B (en) WiFi connection method and device
CN112003749A (en) Host information adding method and system and electronic equipment
CN112437484A (en) Networking method for underground engineering geological exploration wireless seismograph and wireless seismograph

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