+

WO2018119699A1 - Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif - Google Patents

Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif Download PDF

Info

Publication number
WO2018119699A1
WO2018119699A1 PCT/CN2016/112462 CN2016112462W WO2018119699A1 WO 2018119699 A1 WO2018119699 A1 WO 2018119699A1 CN 2016112462 W CN2016112462 W CN 2016112462W WO 2018119699 A1 WO2018119699 A1 WO 2018119699A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration information
indicator light
code
encoding
access
Prior art date
Application number
PCT/CN2016/112462
Other languages
English (en)
Chinese (zh)
Inventor
陈曦
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680070836.6A priority Critical patent/CN108432158B/zh
Priority to PCT/CN2016/112462 priority patent/WO2018119699A1/fr
Publication of WO2018119699A1 publication Critical patent/WO2018119699A1/fr

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for distributing configuration information, a method and an apparatus for accessing a device.
  • a connected device such as a wireless modem (Modem), a wireless router, or a Bluetooth headset needs to establish a connection with an access device (such as a terminal device) to implement its function.
  • the access device When the access device is connected to the accessed device, in order to ensure information security, the access device must obtain the configuration information required to establish a connection with the accessed device.
  • the connection between the access device and the accessed device is In the case of a Wireless Fidelity (WiFi) connection, the configuration information may include a Service Set Identifier (SSID), a connection password (eg, qwerasdf), and a password encryption method (eg, wired equivalent) of the accessed device. Wired Equivalent Privacy (WEP), etc.
  • the user needs to manually perform the configuration information required for the access device to establish a connection with the accessed device.
  • the user directly inputs the configuration information on the access device through an input unit (such as a touch screen) of the access device.
  • the configuration information is printed on the paper or the body of the accessed device in the form of a two-dimensional code, and the camera is opened by the user to open the camera of the access device, and the access device identifies the two-dimensional code to obtain The configuration information.
  • the embodiment of the invention provides a method for releasing configuration information, a method and device for accessing the device, and is used for quickly accessing the accessed device by the access device.
  • an embodiment of the present invention provides a method for publishing configuration information.
  • the configuration information is encoded to obtain a configuration information code, where the configuration information is access information for accessing the accessed device, and the access information may include an identifier, a communication address, and an access of the accessed device.
  • the configuration information encoding may be an encoding supported by both the accessed device and the access device, such as a binary code, and each code segment in the configuration information encoding is used to indicate an indicator of the accessed device. Give an indication light.
  • the accessed device controls the indicator light to sequentially emit an indication light according to each code segment in the configuration information code, and maintain a preset duration for the state of the indicator light emitted according to each code segment, so that The access device determines the configuration information code according to the state in which the indicator light emits the indicator light, and obtains the configuration information according to the configuration information, and accesses the accessed device according to the configuration information.
  • the access device releases the configuration information for accessing the accessed device in a manner that the indicator light is sent by the indicator, so that the access device can detect the state of the indicator light by detecting the indicator light.
  • the method automatically obtains configuration information, and accesses the accessed device according to the configuration information, which simplifies the operation of the access device to access the accessed device, improves the efficiency of device interaction, and improves the access speed of the device. Since the access device automatically obtains the configuration information, the time taken by the access device to access the accessed device is also shortened.
  • the different code segments in the configuration information code indicate that the indicator lights emit indicator lights of different brightness, or different code segments indicate that the indicator lights emit different indicator lights. Or, different code segments indicate that the indicator light emitting light and the color of the indicator light may be different.
  • the light-emitting brightness state of the indicator light may be two or more, and the light-emitting color state of the indicator light may be two or more.
  • the accessed device performs the encoding of the outgoing configuration information by changing the light-emitting brightness and/or the light-emitting color of the indicator light, and the implementation manner is simple and the cost is low.
  • each code segment in the configuration information code is used to indicate that at least two indicator lights on the accessed device respectively emit the same or different indicator lights.
  • the different illuminants of the indicator light emit different indication lights, including different brightness and/or color of the indicator light emitted by the different illuminants.
  • the indicator light is controlled again according to the configuration information.
  • Each code section in the code emits an indicator light to ensure that the access device can receive the complete configuration information.
  • the indicator light is controlled to issue an indicator light indicating the end position.
  • the accessed device controls the indicator to emit an indicator light indicative of the starting position before the first code segment encoded according to the configuration information emits the indicator light.
  • the indicator light is emitted according to the last code section encoded by the configuration information, and the indicator light is re-issued by the first code section encoded by the indicator light according to the configuration information, and may be separated by a preset time. interval.
  • the accessed device controls the indicator to issue an indicator light indicating a flag bit (starting position or ending position) of the configuration information encoding, so as to facilitate the access device to indicate the flag bit encoded according to the characteristic configuration information.
  • the light determines the configuration information coding, and improves the efficiency of the access device to determine the configuration information coding.
  • the accessed device may also be released by infrared communication, Near Field Communication (NFC), and Ultrasonic Waves communication short-distance communication.
  • Configuring information-encoded wireless transmission waves such as electromagnetic waves or ultrasonic waves
  • the post configuration information is decoded to obtain the configuration information.
  • the foregoing process simplifies the operation of the access device to access the accessed device, which takes a short time.
  • the access device can detect the wireless transmission wave carrying the configuration information code at a position closer to the accessed device, so that the access device obtains access to the accessed device by using the short-distance communication method.
  • the configuration information is in the visible range of the administrator of the accessed device, and reduces access to the accessed device by the access device without the administrator of the accessed device. The possibility to improve the security of the accessed device.
  • the accessed device sends the indicator light by using the indicator light. Distributing the first part of the configuration information, and releasing the second part of the configuration information by short-distance communication, so that the access device obtains the first part of the configuration information according to detecting the status of the indicator light And obtaining, by the short-distance communication, the second part of the configuration information by receiving the wireless transmission wave, combining the first part and the second part of the configuration information to obtain the completed configuration information.
  • the embodiment of the present invention provides a method for accessing a device, including: an access device obtaining an instruction to trigger access to the accessed device; the triggering instruction may be generated according to an input operation of a user, or may be The state in which the access device is located is generated or sent by another device to the access device.
  • the access device in response to the instruction, collects an image of the indicator light of the accessed device through an image collector; and the access device determines, according to the collected image, a state in which the indicator light emits the indicator light. And determining, by the access device, the encoding of the configuration information, and obtaining configuration information for accessing the accessed device; the access device according to the configuration Information is accessed to the accessed device.
  • the electronic device collects an image of the indicator light of the accessed device according to the instruction for triggering access to the accessed device, and determines configuration information for accessing the accessed device according to the collected image.
  • the configuration information is manually input by the user or the user scans the configuration information printed on the paper by the camera, the operation flow of the access device to access the accessed device is simplified, and the access is The time taken to access the device is also reduced.
  • the access device stores a mapping between a lighting state and an encoding code, and a preset duration, where the indicator light of the accessed device maintains each code segment. Determining a duration of the state in which the indicator light is emitted; the access device determines a first illumination state of the indicator light according to the image, the first illumination state refers to the access device identifying the acquired image, according to the collection The order of the image frames determines the first illuminating state of the indicator light.
  • the access device Determining, by the access device, a state of indicating light every preset time period after determining the first lighting state; the access device determining, according to the mapping, an encoding code corresponding to each lighting state; the access device Arranging the code codes corresponding to each illumination state according to the order of the illumination states In order to obtain the encoding.
  • the access device determines only one illumination state within a duration maintained by each illumination state of the indicator light of the access device, determines an encoding code corresponding to the illumination state, and performs encoding according to the sequence in which the illumination states appear.
  • the code is sorted, the configuration information is encoded, and the process of determining the configuration information encoding is small in computation and short in time.
  • the access device determines, according to the mapping, at least two illumination status corresponding flag bits, where the flag bit includes a start position and/or an end position;
  • the order of the states sorts the code codes corresponding to each of the illumination states, and determines the code sequence between the adjacent two flag bits as the code.
  • the access device controls the indicator to issue an indicator light that indicates a flag bit (starting position or ending position) of the configuration information code, and the access device determines according to the indicator light of the flag bit encoded by the characterizing the configuration information.
  • the configuration information coding is performed to improve the efficiency of the access device to determine the configuration information coding.
  • an embodiment of the present invention provides an apparatus for issuing configuration information, where the apparatus is used to perform the method in any of the foregoing first aspect or any possible implementation of the first aspect.
  • the apparatus comprises means for performing the method of any of the above-described first aspect or any of the possible implementations of the first aspect.
  • an embodiment of the present invention provides an apparatus for accessing an access device, where the apparatus is configured to perform the method in any of the foregoing possible aspects of the second aspect or the second aspect.
  • the apparatus comprises means for performing the method of any of the possible implementations of the second aspect or the second aspect described above.
  • an embodiment of the present invention provides an access device, where the accessed device is configured to perform the foregoing first aspect or a method in any possible implementation of the first aspect.
  • the accessed device includes a memory, a processor, and an indicator light.
  • the memory is configured to store configuration information, where the configuration information is access information for accessing the accessed device; the indicator light is used for lighting; the processor is respectively associated with the memory and the Indicator lights are coupled for performing the method of any of the above first aspects or any of the possible implementations of the first aspect by the memory and the indicator light.
  • an embodiment of the present invention provides an access device, where the access device is configured to perform the method in any of the foregoing possible implementations of the second aspect or the second aspect.
  • the access device includes an image collector, a memory and a communication module, and a processor, wherein the image collector is configured to acquire an image; the communication module is configured to access the accessed device; and the memory is configured to store the indicator light. status a mapping relationship with the encoding code and a preset duration; the processor is respectively connected to the image collector, the memory, and the communication module, and is configured to execute the second aspect or the second aspect by using the communication module and the image collector The method in any possible implementation.
  • the embodiment of the present invention provides a communication system, where the communication system includes the accessed device according to the fifth aspect and the access device according to the sixth aspect.
  • an embodiment of the present invention provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any optional implementation of the first aspect.
  • an embodiment of the present invention provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the second aspect or any optional implementation of the second aspect.
  • FIG. 1 is a schematic flowchart of establishing a connection between an access device and an accessed device in the prior art
  • FIG. 2 is a schematic structural diagram of an access device 20 according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of an access device 30 according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of a smart terminal accessing a wireless router according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus 50 for distributing configuration information according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an apparatus 60 for accessing a device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of connecting an access device to an access device in the prior art, where the process includes The following steps:
  • Step 101 The user inputs, by using a manual operation, configuration information required to establish a connection with the accessed device in the access device.
  • the configuration information when the configuration information is printed on the paper, the user needs to read the paper, and input the configuration information on the paper into the access device, such as inputting configuration information through a keyboard or a touch screen of the access device.
  • the configuration information is printed on the paper or the body of the accessed device in the form of a two-dimensional code, and the user needs to open the camera of the access device to scan the two-dimensional code.
  • Step 102 The access device obtains configuration information input by the user.
  • the access device needs to identify the two-dimensional code, and obtain the configuration information represented by the two-dimensional code, when the user inputs the configuration information by scanning the two-dimensional code of the camera of the access device.
  • Step 103 The access device accesses the accessed device according to the obtained configuration information.
  • the user needs to manually operate, the operation is complicated, and the time is long. Furthermore, the administrator of the accessed device usually needs to update the configuration information to improve information security. After the configuration information is updated, the original printed configuration information and the two-dimensional code will be invalid, and the configuration information needs to be reprinted. The cost of updating configuration information is high.
  • an embodiment of the present invention provides a method, a communication system, and a device for connecting a device, so that the accessed device automatically establishes a connection with the access device.
  • association relationship describing an association object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. , the case of B alone.
  • the accessed device in the embodiment of the present invention may be a network device (such as a wireless router, a wireless modem, etc.), a wearable device (such as a smart bracelet), a virtual reality (VR) device, and augmented reality (Augmented Reality). , AR) devices, smart home devices, peripheral devices (such as Bluetooth headsets), and network storage devices, and so on.
  • the access device can be various forms of User Equipment (UE), mobile station (MS), terminal, terminal equipment (Terminal Equipment, TE), computing equipment, and the like.
  • the accessed device 20 may include a processor 21, a memory 22, a WiFi module 23, a Bluetooth module 24, an Ethernet interface 25, and an Ethernet card. (Ethernet Card) 26 and indicator light 27.
  • the accessed device 20 may include at least one of the WiFi module 23, the Bluetooth module 24, and the Ethernet interface 25, and the accessed device 20 passes the WiFi module 23 and the Bluetooth module. And receiving, by any one of the Ethernet interfaces 25, an access request of the access device, and determining, by the processor 21 or the communication module that receives the access request, whether the access information in the access request is correct If the access password is correct, and after determining that the access information is correct, a communication link is established between the WiFi module 23, the Bluetooth module 24, and the Ethernet interface 25 to establish an communication link with the access device.
  • the ingress device accesses the accessed device 20.
  • the memory 22 can be used to store software programs and units that perform various functional applications and data processing of the accessed devices 20 by running software programs and units stored in the memory 22.
  • the memory 22 may include a high speed random access memory, and may also include a non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 21 performs various functions and processing data of the accessed device 20 by running or executing instructions stored in the memory 22 and invoking data stored in the memory 22.
  • the processor 21 can integrate an application processor and a modem processor, wherein the application processor processes an operating system and an application, etc., and the modem processor processes the wireless communication. It can be understood that the above modem processor may not be integrated into the processor 21.
  • the processor 21 and the memory 22 can be implemented on a single chip. In other embodiments, the processor 21 and the memory 22 are implemented separately on separate chips.
  • the processor 21 may include a plurality of processing elements, including a central processing unit (CPU). In addition to the CPU, the processor 21 may further include an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a microprocessor (Digital Signal Processor, DSP), one or more of a Field Programmable Gate Array (FPGA).
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • WiFi and Bluetooth are all short-range wireless transmission technologies, and the accessed device can pass the WiFi.
  • the module 23 and any one of the Bluetooth modules 24 establish a communication link with the access device to enable the access device to access the accessed device 20.
  • the Ethernet interface 25 is configured to establish a communication link with the access device, so that the access device accesses the accessed device 20, and the Ethernet interface 25 can also enable the accessed device 20 to access the Ethernet device.
  • the Ethernet card 26 is further included to implement physical connection and electrical signal matching with the Ethernet interface 25, and transmission and reception of frames, and encapsulation of frames. Unpacking, access control, encoding and decoding of data, and data caching.
  • the Ethernet interface 25 may determine, by the Ethernet card 26, whether the access information in the access request is correct, such as an access password and a password. The encryption mode is correct, and after determining that the access information is correct, the Ethernet interface 25 is instructed to establish a communication link with the access device. In other embodiments, the determining whether the access information is correct may also be implemented by the processor 21.
  • the indicator light 27 includes one or more illuminators for illuminating.
  • the illuminant can be any of the following: a light emitting diode (LED), an organic light emitting diode (OLED), a fluorescent lamp, an incandescent lamp.
  • the memory 22 is further configured to store configuration information of the accessed device 20, where the configuration information is used to access the accessed device 20.
  • the configuration information may be an access information of the access device 20 that is accessed by the WiFi module 23, and may include an SSID.
  • the configuration information may be that the Bluetooth module 24 accesses the
  • the access information of the access device 20 may include the name or physical address of the accessed device 20.
  • the configuration information may be access information of the accessed device 20 through the Ethernet interface 25, and may include an Internet Protocol (IP) address of the accessed device 20.
  • IP Internet Protocol
  • the configuration information may further include security verification information, such as an access password, an encryption manner of the password, etc., to improve the security of the accessed device 20.
  • the processor 21 is configured to read the configuration information from the memory 22, encode the configuration information, and obtain a configuration information code, where each code segment in the configuration information code is used to indicate the finger
  • the indicator light 27 emits an instruction light.
  • Each code segment includes one or more codes that indicate that the indicator light 27 emits a different indicator light.
  • the processor 21 includes a CPU that implements encoding of the configuration information described above by the CPU.
  • the processor 21 includes an ASIC, an FPGA, or a DSP that implements encoding of the configuration information described above by an ASIC, FPGA, or DSP.
  • the processor 21 specifically encodes the configuration information according to a preset encoding algorithm, and the preset encoding algorithm may be stored in the memory 22 or may be solidified in the processor 21.
  • the indicator light 27 emits an indication light according to the indication encoded by the configuration information.
  • the configuration information code includes a code sequence "010", wherein the code "0" is used to indicate that the indicator light 27 emits red indicating light in one lighting period, and the code "1" is used to indicate the indicator light 27 A state in which a blue indicating light is emitted during an illumination period, and the illumination period is a preset duration.
  • the configuration information is encoded as "010" and the preset duration is 0.5 s.
  • the indicator light 27 emits a red indicating light within a first 0.5 s, then a blue indicating light within a second 0.5 s, and then a red indicating light within a third 0.5 s.
  • the indicator light 27 sends a status indicating the light corresponding to the configuration information, so the access device can detect the status of the indicator light 27 of the accessed device 20 to indicate the light, and issue an indication according to the indicator light 27
  • the state of the light determines the configuration information encoding, and further obtains configuration information according to the configuration information, and accesses the accessed device 20 according to the configuration information.
  • the accessed device 20 issues the configuration information for accessing the accessed device 20 in a manner that the indicator light 27 emits the indicator light, so that the access device can pass the detection device.
  • the indicator light 27 automatically obtains configuration information in a manner indicating the state of the light, and accesses the accessed device according to the configuration information, thereby simplifying the operation of the access device to access the accessed device 20, thereby improving device interaction. Efficiency increases the speed of device access. Since the access device automatically obtains the configuration information, the time taken by the access device to access the accessed device 20 is also shortened.
  • the processor 21 of the accessed device 20 After the configuration information is updated, the processor 21 of the accessed device 20 generates a configuration information code according to the updated configuration information, and the indicator light 27 codes and emits the indication light according to the regenerated configuration information.
  • the incoming device can determine the updated configuration letter according to the indication light sent by the indicator light 27 Accessing the accessed device 20 according to the updated configuration information reduces the cost compared with printing the updated configuration information on the paper in the prior art.
  • the access device is generally in a position closer to the indicator light 27 to determine the state in which the indicator light 27 emits the indicator light, so that the access device accesses the connected device through the solution of the embodiment of the present invention.
  • the access device is prevented from accessing the accessed device without the administrator of the accessed device 20 being informed.
  • the possibility of the device 20 increases the security of the accessed device 20.
  • different code segments in the configuration information code indicate that the indicator light 27 emits indicator light of different brightness, or different code segments indicate that the indicator light 27 emits indicator light of different colors. Alternatively, different code segments may indicate that the indicator light 27 emits an indication that the brightness and color of the light may be different.
  • the code “0” is used to indicate that the indicator light does not emit light (the corresponding brightness is 0), and the code “1” is used to indicate that the indicator light is on (corresponding to a brightness greater than 0).
  • the code section “01” is used to indicate that the indicator light 27 does not emit light
  • the code section "10” is used to indicate that the indicator light 27 emits red indicating light
  • the code section "11” is used to indicate that the indicator light 27 emits blue. Indicating light.
  • the indicator light 27 may include two or more illuminators, and each code section in the configuration information code indicates that different illuminants of the indicator light 27 are emitted.
  • the indicator lights can be the same or different.
  • the different illuminants of the indicator light 27 emit different indication lights, including different brightness and/or color of the indicator light emitted by the different illuminants.
  • the indicator light 27 includes a first LED and a second LED
  • the code segment "00" is used to indicate that both the first illuminant and the second illuminator emit red indicating light
  • the code segment "01" is used to indicate Both the illuminant and the second illuminator emit blue indicating light
  • the code segment "10” is used to indicate that the first illuminant emits red indicating light and the second illuminating body emits blue indicating light
  • the code segment "11" is used.
  • the first illuminant is instructed to emit blue indicating light and the second illuminant emits red indicating light.
  • the indicator light 27 can emit more indicating light of different states, thereby improving the efficiency of issuing the configuration information in a manner that the indicator light 27 emits the indicating light.
  • the indicator light 27 is encoded according to the last configuration information. After the code section emits the indication light, the indicator light is emitted again according to each code section in the configuration information code. Wherein, the indicator light 27 emits an indication light according to the last code section encoded by the configuration information, and the indicator light is re-issued by the first code section encoded by the indicator light 27 according to the configuration information, and may be preset by a preset interval. Interval.
  • the indicator light 27 repeatedly generates the indication light according to the configuration information, and repeatedly advertises the configuration information of the accessed device 20 to ensure that the access device can receive the complete configuration information.
  • the indicator light 27 is controlled to issue an indication indicating the end position. And/or, the accessed device 20 controls the indicator light 27 to control the indicator light 27 to issue an indication characterizing the starting position before the first code segment encoded according to the configuration information emits the indicator light. Light.
  • the indicator light 27 when the indicator light 27 repeatedly outputs the indication light according to the configuration information, the indicator light 27 outputs the indicator light according to the last code coded by the configuration information, and then controls the indicator light to emit a green character indicating the end position.
  • the access device may encode the code corresponding to the state in which the indicator light is emitted between the two green lights to indicate the light.
  • the indicator light 27 sends an indication light indicating a flag bit (starting position or ending position) of the configuration information encoding, so that the access device determines the complete configuration according to the indicator light of the flag bit encoded by the characteristic configuration information.
  • Information coding improves the efficiency of the access device to determine the configuration information encoding.
  • the accessed device 20 further includes at least one of an infrared module 281, a near field communication (NFC) module 282, and an ultrasonic wave communication module 283.
  • the accessed device 20 implements short-distance communication through any one of the infrared module 281, the NFC module 282, and the ultrasonic communication module 283, and issues a wireless transmission wave (such as electromagnetic wave or ultrasonic wave) carrying the configuration information code to make the connection.
  • the ingress device can detect and receive the wireless transmission wave in the air medium, obtain the encoded configuration information from the wireless transmission wave, and decode the received encoded configuration information to obtain the configuration information.
  • the accessed device 20 can also support other possible short-range communication methods, such as the Zigbee protocol ( ZigBee) and the like, the accessed device 20 may further include other possible short-range communication modules through which the configuration information code is issued.
  • ZigBee ZigBee protocol
  • the accessed device 20 advertises the configuration information by using the short-distance communication mode, so that the access device can detect and obtain the configuration information code, and decode and obtain the configuration information, which simplifies the access device access.
  • the operation of the accessed device is relatively short.
  • the access device can detect the wireless transmission wave carrying the configuration information code at a position closer to the accessed device 20, so that the access device obtains the access through the short-distance communication method.
  • the configuration information of the device 20 is within the visible range of the administrator of the accessed device 20, and the access device is reduced to access the device without the administrator of the accessed device 20.
  • the possibility of accessing the device 20 increases the security of the accessed device 20.
  • the accessed device 20 issues the first part of the configuration information by using the indicator light 27 to indicate the light, and issues the second part of the configuration information by using the short-distance communication method.
  • the access device obtains the first portion of the configuration information according to the detection of the status of the indicator light 27, and the reception of the wireless transmission wave issued by the infrared module 281, the NFC module 282, or the ultrasonic communication module 283. Obtaining a second part of the configuration information, combining the first part and the second part of the configuration information to obtain completed configuration information.
  • the information amount of the configuration information that is sent by the access device 20 per unit time is increased, and the time required for the access device to obtain the configuration information is reduced.
  • the accessed device 20 issues complete configuration information by means of the indicator light 27 to indicate the light, and also releases the complete configuration information by using the short-distance communication method.
  • Both the access device for detecting the illuminating state and the access device for supporting the short-distance communication method can automatically obtain the configuration information, which expands the application range of the solution of the embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an access device 30 according to an embodiment of the present disclosure, where the access device 30 The processor 31, the memory 32, the WiFi module 33, the Bluetooth module 34, the Ethernet interface 35, the Ethernet card 36, and the image collector 37 are included.
  • the memory 32 can be used to store software programs and units that perform various functional applications and data processing of the access device 30 by running software programs and units stored in the memory 32.
  • the physical implementation of the memory 32 may refer to the memory 22.
  • the physical implementation of the processor 31 may refer to the processor 21, and will not be repeated here.
  • the access device 30 may include at least one of the WiFi module 33, the Bluetooth module 34, and the Ethernet interface 35, and the access device 30 obtains a configuration for accessing the accessed device 20 After the information, the accessed device 20 can be accessed through any one of the WiFi module 33, the Bluetooth module 34, and the Ethernet interface 35.
  • the access device 30 When the access device 30 includes the Ethernet interface 35, it further includes an Ethernet card 36 for implementing physical connection and electrical signal matching with the Ethernet interface 25, and transmitting and receiving frames, and packaging and disassembling frames. Encapsulation, access control, encoding and decoding of data, and data caching.
  • the image capture device 37 can be one or more cameras, such as a digital camera or an analog camera, for capturing images (pictures and/or video).
  • the processor 31 obtains an instruction to trigger access to the accessed device, and triggers a process of accessing the accessed device.
  • the processor 31 can obtain the instruction in various implementation manners, including but not limited to the following manners:
  • the access device 30 is configured with a preset condition for generating the instruction, and when the preset condition is met, the processor 21 generates the instruction.
  • the preset condition is that the system of the access device 30 is loaded. Therefore, when the access device 30 is powered on and the system is loaded, the processor 31 determines that the access device 30 satisfies the preset condition and generates the instruction.
  • the access device 30 receives the instruction from another connected device.
  • the access device 30 connects the smart watch through the Bluetooth module 34, and the user sends the instruction to the access device 30 through the smart watch, instructing the access device 30 to access the wireless device as the accessed device. router.
  • the access device 30 further includes a touch screen 39, configured to receive a touch operation by the user indicating that the access device 30 accesses the accessed device, and the processor 31 generates the instruction in response to the touch operation.
  • the access device 30 runs a client program that manages the access status of the access device 30, and a user interface (UI) of the client program is displayed to indicate that the access device 30 is accessed.
  • the virtual button of the access device is clicked, and the user clicks the virtual button displayed on the touch screen 39.
  • the user can direct the image collector 37 toward the accessed device such that the image collector 37 captures an image of the indicator light that is illuminated by the indicator light of the access device.
  • the image collector 37 is capable of adjusting an acquisition angle and collecting a test image during the adjustment of the acquisition angle, the processor 31 identifying the test image, and determining whether the test image includes a
  • the indicator light of the access device if not included, instructs the image collector 37 to continue to adjust the acquisition angle and collect the test image. If included, the image collector 37 is instructed to maintain the current acquisition angle for image acquisition and acquisition.
  • the image can be either a video or a picture.
  • the interval between the collection moments of the adjacent pictures may be equal to the indicator light of the accessed device according to each code segment. Set the duration.
  • the processor 31 After the image collector 37 collects an image of the indicator light of the access device, the processor 31 identifies the captured image, and determines the state of the indicator light that is emitted by the indicator light every preset time period. . When the image collector 37 collects an image every predetermined time period, the processor 31 sequentially determines the state of the indicator light emitting indicator in each image collected by the image collector 37. When the image collector 37 collects the video that the indicator light emits the indicator light, the processor 31 extracts one image frame from the collected video every preset time length, and sequentially determines each image frame. The indicator light in the middle indicates the status of the indicator light.
  • the processor 31 determines the state of the indicator light that is emitted by the indicator light every preset time period. And determining, according to the mapping relationship between the state of the indicator light and the encoding code, the encoding code corresponding to the state of the indicator light emitted by the preset duration, and determining the configuration information encoding according to the determined encoding code,
  • the configuration information is encoded for decoding, and configuration information for accessing the accessed device is obtained.
  • the processor 31 may obtain the preset duration, the mapping relationship between the state of the indicator light and the encoding code, and a decoding algorithm that decodes the configuration information encoding.
  • the access device 30 is installed with a client program that manages the access status of the access device 30, and the client program includes the preset duration, the mapping relationship, and the decoding algorithm.
  • the operating system of the access device 30 includes the preset duration, the mapping relationship, and the decoding algorithm.
  • the preset duration, the mapping relationship, and the decoding algorithm are saved in the cloud server, and the access device 30 may request the preset duration, the mapping relationship, and the decoding algorithm from the cloud server. .
  • the processor 31 includes a CPU, and the image collected by the image collector 37 is used to identify the function of determining the light-emitting state of the indicator light, and the configuration information code corresponding to the light-emitting state of the indicator light is determined.
  • the functions and functions for decoding the configuration information encoding may all be implemented by the CPU.
  • the processor 31 further includes other processing components, at least one of which may be implemented by other processing components than the CPU.
  • the processor 31 further includes a graphics processing unit (GPU), and the function of determining the lighting state of the indicator light according to the collected image may be implemented by the GPU.
  • the processor 31 further includes an ASIC, an FPGA, or a DSP.
  • the function of determining the configuration information corresponding to the light-emitting state of the indicator light and the function of the decoding may be implemented by the ASIC, the FPGA, or the DSP.
  • the processor 31 instructs any one of the WiFi module 33, the Bluetooth module 34, and the Ethernet interface 35 to access the accessed device according to the configuration information obtained by decoding.
  • the process of accessing the above-mentioned modules to the accessed devices refers to various technical solutions in the prior art, and will not be described in detail herein.
  • the access device 30 collects an image of the indicator light of the accessed device by the image collector 37, and determines that the indicator light emits the indicator light according to the collected image. And determining, according to the mapping relationship between the state of the indicator light and the encoding code, determining the configuration information encoding, decoding the configuration information encoding according to the decoding algorithm, and obtaining configuration information used for accessing the accessed device, and existing
  • the user manually inputs the configuration information or the user scans the two-dimensional code of the configuration information printed on the paper by the camera, and simplifies the operation process of the access device 30 accessing the accessed device, and the access is accessed. The time taken by the device is also reduced.
  • the processor 31 determines a first illumination state of the indicator light from the acquired image, and determines that the indicator light is emitted every the preset duration after the first illumination state. status. Then, the processor 31 determines an encoding code corresponding to the state of the indicating light according to the mapping relationship, and then sorts the encoding codes corresponding to each state according to the order of the states of the indicating light to obtain the configuration information encoding. .
  • the processor 31 sequentially determines, according to the mapping relationship, an encoding code corresponding to a state of the indicator light that is sent every preset time period, and determines at least two encoding codes that represent the flag bit.
  • the flag bit includes a start position and/or an end position; the processor 31 sorts the code codes according to a sequence in which the states of the indicator lights corresponding to the determined code codes appear, and determines two adjacent codes.
  • An encoded code sequence between the encoded codes characterizing the flag bits encodes the configuration information.
  • the processor 31 determines, according to the mapping relationship, at least two encoding codes that represent a starting position, and the processor 31 determines between two adjacent encoding codes that represent the starting position.
  • the code sequence encodes the configuration information.
  • the processor 31 determines, according to the mapping relationship, at least two encoding codes that represent an ending position, and the processor 31 determines between the encoding codes of two adjacent ending positions.
  • the code sequence encodes the configuration information.
  • the processor 31 determines, according to the mapping relationship, at least one encoding code that represents a starting position and at least one encoding code that represents an ending position, and the processor 31 determines any characterization start.
  • the code sequence between the encoded code of the location and the encoded code that characterizes the end position closest to the encoded code is the configuration information encoded.
  • the access device 30 determines that the efficiency and accuracy of encoding the configuration information is improved.
  • the access device 30 further includes at least one of an infrared module 381, an NFC module 382, and an ultrasonic communication module 383.
  • the access device 30 receives, by using any one of the infrared module 381, the NFC module 382, and the ultrasonic communication module 383, a wireless transmission wave carrying the configuration information code from the air medium, and acquiring the wireless transmission wave from the wireless transmission wave.
  • the configuration information is decoded by the processor 31 to obtain the configuration information of the accessed access device.
  • the access device 30 can support other possible short-range communication methods, such as ZigBee, etc., in addition to the three modules of the infrared module 381, the NFC module 382, and the ultrasonic communication module 383.
  • the access device 30 may also include other possible short-range communication modules through which the wireless transmission waves carrying the configuration information encoding are received.
  • the access device 30 receives the wireless transmission wave encoded by the access device and carries the configuration information encoded in the air medium, acquires the configuration information code from the wireless transmission wave, and decodes and obtains the configuration information, and receives the configuration information according to the configuration information.
  • the process of accessing the accessed device is short, and the access device 30 is quickly accessed to the accessed device.
  • the access device 30 obtains the first part of the configuration information according to the foregoing detection of the status of the indicator light of the accessed device, and is issued by the access device.
  • the receiving of the wireless transmission wave carrying the configuration information code obtains the second part of the configuration information, and combines the first part and the second part of the configuration information to obtain the completed configuration information.
  • the information amount of the configuration information obtained by the access device 30 per unit time is increased, and the time required for the access device to obtain the configuration information is reduced.
  • the access process includes the following steps:
  • Step 401 The wireless router encodes the configuration information to obtain a configuration information code.
  • the configuration information is access information for accessing the wireless router, and the configuration information may include an identifier of the wireless router, an access password, and a password encryption manner.
  • Each code segment in the configuration information code is used to indicate that the indicator light of the wireless router is issued
  • the indicator light wherein the indicator light from the different code section indicator lights can be different.
  • different code segments in the configuration information encoding indicate that the indicator light of the wireless router emits indicator light of different brightness.
  • different code segments indicate that the indicator lights emit different colors of indicator light.
  • different code segments indicate that the indicator lights emit different levels of brightness and color.
  • the indicator light of the wireless router includes two LEDs, each code segment indicating that the two LEDs respectively emit the same or different indicator lights, and the two LEDs emit different indicator lights, including the indicator lights emitted by the different LEDs. Brightness and / or color are different. The manner in which the configuration information is encoded and the indicator light is illuminated is described in detail in the previous embodiment, and is not repeated here.
  • Step 402 The wireless router control indicator light sequentially emits indicator light according to each code section in the configuration information code, and maintains a preset duration for the state of the indicator light issued according to each code section.
  • the configuration information is encoded as "010" and the preset duration is 0.5 s.
  • the indicator light emits a red indicator light according to the code “0” within the first 0.5 s, then emits a blue indicator light according to the code “1” within the second 0.5 s, and then according to the code within the third 0.5 s. “0” emits a red indicator light.
  • Step 403 The smart terminal obtains an instruction to trigger access to the wireless router.
  • the smart terminal runs a client program that manages the access state
  • the UI of the client program displays a virtual button for instructing the smart terminal to access the wireless router, and the user clicks the virtual button displayed on the touch display screen, and the smart terminal responds to the touch.
  • the virtual key operation generates an instruction to trigger access to the wireless router associated with the virtual key.
  • the step 403 may be performed after the step 402, or may be performed before the step 401, which is not limited in the embodiment of the present invention.
  • Step 404 The smart terminal responds to the instruction, and collects an image of the indicator light by the indicator of the wireless router by the image collector.
  • the image collected by the image collector may be a video or a picture.
  • the interval between the collection moments of the adjacent pictures may be equal to the preset duration of the indicator light of the wireless router according to each code section.
  • the client program for managing the access state of the smart terminal may be configured with the preset duration, and the smart terminal obtains the preset duration by using the client program.
  • Step 405 The smart terminal determines, according to the collected image, the state of the indicator light emitted by the indicator light every preset time period, and sequentially determines the indicator light that is emitted every preset time period according to the mapping relationship between the stored state of the indicator light and the coded code.
  • the encoding code corresponding to the state determines the configuration information encoding according to the determined encoding code, decodes the configuration information encoding, and obtains configuration information for accessing the wireless router.
  • the client program for managing the access state of the smart terminal may further be configured with the mapping relationship and the decoding algorithm, and the smart terminal may determine, according to the mapping relationship, a code corresponding to the state of the indicator light that is sent every preset duration. Code. Then, the coding codes are sorted according to the order in which the states of the indication light are emitted, and the configuration information coding is obtained, and after further decoding according to the decoding algorithm, the configuration information is obtained.
  • Step 406 The smart terminal accesses the wireless router according to the obtained configuration information.
  • the smart terminal sends an access request to the wireless router.
  • the access request includes the configuration information confirmed by the smart terminal, and the wireless router verifies the configuration information (such as the password and password encryption mode) correctly, and the smart router
  • the terminal establishes a communication link, so that the intelligent terminal accesses the wireless router.
  • the wireless router instructs the smart terminal to provide configuration information for accessing the wireless router, and the smart terminal sends the configuration information to the wireless router according to the indication of the wireless router, the wireless router. Verify that the configuration information (such as the password and password encryption method) is correct. If the authentication is successful, establish a communication link with the intelligent terminal to enable the intelligent terminal to access the wireless router.
  • the wireless router releases the configuration information for accessing the wireless router by means of the indicator light emitting the light, which is convenient for the smart terminal to obtain the configuration compared with the scheme of printing the configuration information on the paper in the prior art.
  • the intelligent terminal automatically obtains configuration information, and the time required to access the wireless router is also shortened.
  • the wireless router After the configuration information is updated, the wireless router generates a configuration information code according to the updated configuration information, and indicates that the instruction light is output according to the regenerated configuration information, and the smart terminal can determine according to the indication light sent by the indicator light.
  • the updated configuration information is connected to the wireless router according to the updated configuration information, compared with the prior art that the updated configuration information is printed on the paper. Reduced costs.
  • the intelligent terminal usually needs to determine the state of the indicator light when the indicator light is close to the indicator of the wireless router, so that the intelligent terminal is visible to the administrator of the wireless router when accessing the wireless router.
  • the possibility that the intelligent terminal accesses the wireless router without the knowledge of the administrator of the wireless router is reduced, and the security of the wireless router and the device that has accessed the wireless router is improved.
  • the wireless router control indicator light is sequentially illuminated according to each of the code segments in the configuration information code, wherein each of the code segment indicator lights emits a state indicating light to maintain a preset. duration.
  • the preset duration is 1 s
  • the code “0” indicates that the indicator light emits a red indicator light
  • the code “1” indicates that the indicator light emits a blue indication light.
  • the wireless router The control indicator light starts from time t1, and the indicator light emits red indicator light during the period from t1 to (t1+1s), in the period from (t1+1s) to (t1+2s) and (t1+2s) ⁇ ( During the time period of t1+3s), the indicator light will emit blue light, and the indicator light will emit red light during the period from (t1+3s) to (t1+4s).
  • the smart terminal may determine, from an image acquired during a period of time t1 to (t1+1s), that the first illumination state of the indicator light is a red indicator light state, and is in a period from (t1+1s) to (t1+2s).
  • the image acquired within the image determines that the second illumination state of the indicator light is a blue indicating light state, and the image acquired during the (t1+2s) (t1+3s) period determines that the third illumination state of the indicator light is The blue indicating light state is emitted, and the image acquired during the period of (t1+3s) to (t1+4s) determines that the fourth lighting state of the indicator light is a red indicating light state.
  • the intelligent terminal determines a code segment corresponding to each lighting state, the first lighting state corresponds to the code “0”, the second lighting state corresponds to the code “1”, and the third lighting state corresponds to the code “1”, and the fourth The illuminating state corresponds to the code "0", and therefore, it is determined that the configuration information is encoded as "0110".
  • the wireless router maintains the indicator light according to the status of the indicator light emitted by each code section for a preset duration, so that the intelligent terminal can distinguish the status of the code section indicator indicator of different positions in the configuration information coding to indicate the light, thereby ensuring the state of the indicator light.
  • the smart terminal sends out the indicator light according to the indicator light. The accuracy of the configuration information determined by the state.
  • the smart terminal determines the first lighting state of the indicator light according to the collected image, so-called first The illuminating state refers to the first illuminating state of the indicator light determined by the intelligent terminal to identify the captured image according to the sequence of the collected image frames. Then, the smart terminal determines the state of the indicator light every preset time period after determining the first lighting state. The smart terminal determines an encoding code corresponding to each lighting state according to the mapping of the lighting state and the encoding code; sorting the encoding codes corresponding to each lighting state according to the order of the lighting states, and obtaining the encoding
  • the preset duration is 1 s
  • the code “0” indicates that the indicator light emits a red indicator light
  • the code “1” indicates that the indicator light emits a blue indicator light.
  • the intelligent terminal determines that the first illumination state of the indicator light is in the red indicator light state according to the image acquired at (t1+0.5), and the smart terminal determines (t1+1.5) time, (t1+2.5) time, (t1+) respectively. 3.5) Time...
  • the indicator light in the captured image is in the state of indicating light, and it is determined that the state in which the indicator light is emitted at (t1+1.5) is the blue indicating light state, and the state in which the indicating light is emitted at the time (t1+2.5) is determined.
  • the encoding code is determined to be "0110".
  • the smart terminal determines only one illumination state in the duration of each illumination state of the indicator light of the wireless router, determines the coding code corresponding to the illumination state, and sorts the coding codes according to the order in which the illumination states appear, and obtains the configuration information coding. Therefore, the process of determining the configuration information encoding is small in operation and takes a short time.
  • the wireless router controls the indicator light to repeatedly issue the indication light according to the configuration information.
  • the preset duration is 1 s
  • the code “0” indicates that the indicator light emits a red indicator light
  • the code “1” indicates that the indicator light emits a blue indication light
  • the configuration information code is “0110” as an example
  • the wireless router The control indicator sequentially emits red indicator light, blue indicator light, blue indicator light, and red indicator light in each of 1s of the period from t1 to (t1+4).
  • the wireless router control indicator is at (t1+4+ ⁇ )
  • the red indicator light, the blue indicator light, the blue indicator light, and the red indicator light continue to be sequentially emitted in each of the ⁇ (t1+8+ ⁇ ) time periods.
  • is a preset time interval
  • the value is 0 or a positive number.
  • the indicator light of the wireless router repeatedly outputs the indication light according to the configuration information, thereby repeatedly releasing the configuration information of the access wireless router to ensure that the intelligent terminal can receive the complete configuration information.
  • the indicator light is controlled to issue an indicator light indicating the end position; and/or, the wireless router controls The indicator light is controlled to emit an indicator light indicative of a starting position before the first code coded according to the configuration information is illuminated.
  • the smart terminal determines, according to the mapping, that at least two lighting state corresponding flag bits are identified from the collected image, the flag bit includes a starting position and/or an ending position; the smart terminal is configured according to the smart terminal
  • the order of the illuminating states sorts the encoding codes corresponding to each illuminating state, and determines the code sequence between the adjacent two flag bits as the encoding.
  • the wireless router controls the indicator to emit an indicator light indicative of a starting position before the indicator light is illuminated according to the first code encoded by the configuration information.
  • the smart terminal determines that two or more states in which the indicator light is emitted in the illuminating state are illuminated from the acquired image to indicate the starting position, and the two or more states of the indicating light are determined.
  • the intelligent terminal determines the configuration information encoding according to the state of indicating light between two adjacent starting positions.
  • the indicator light is controlled to emit an indicator light indicating the end position.
  • the smart terminal determines that two or more states in which the indicator light is emitted in the light-emitting state are illuminated from the acquired image as the indicator light that represents the end position, and determines that the two or more states of the indicator light are corresponding.
  • the smart terminal determines the configuration information code according to the state in which the indication light is emitted between the two adjacent end positions.
  • the wireless router controls the indicator light to emit an indication light indicating a starting position before the first code coded according to the configuration information is illuminated, and controls After the indicator light emits the indication light according to the last code coded by the configuration information, the indicator light is controlled to emit an indication light indicating the end position.
  • the intelligent terminal determines that s (s are positive integer) illuminating states in the illuminating state are recognized as illuminating from the acquired image as indicating light indicating the starting position, and determining that the illuminating state is recognized from the acquired image
  • the (t is a positive integer) emits a light indicating that the state of the light is emitted as the indicator light indicating the end position.
  • the smart terminal determines the configuration information encoding according to a state in which the indicator light is emitted between any one of the s light-emitting states and the state after the light-emitting state that is the latest one of the s light-emitting states.
  • the wireless router controls the indicator light to emit an indication light indicating a flag bit (starting position or ending position) of the configuration information encoding, so that the smart terminal determines the configuration information according to the indicator light of the flag bit that is encoded by the configuration configuration information.
  • Encoding improves the efficiency of the intelligent terminal to determine the encoding of the configuration information.
  • the wireless router may issue a wireless transmission wave carrying the configuration information coded and encoded to the air medium through short-distance communication methods such as NFC, Bluetooth, and wireless transmission waves, and the smart terminal adopts a corresponding short-distance communication method.
  • the wireless transmission wave is detected, the wireless propagation is received, and a configuration information code is acquired from the wireless transmission wave.
  • the intelligent terminal decodes the configuration information code, obtains configuration information, and accesses the wireless router according to the configuration information.
  • the smart terminal automatically obtains the configuration information of the access wireless router from the wireless router through short-distance communication, and can quickly access the wireless router according to the configuration information. Moreover, the wireless router issues the configuration information code through short-distance communication, so that the intelligent terminal can detect the wireless transmission wave carrying the encoded configuration information at a distance not too far from the wireless router, thereby making the access station.
  • the intelligent terminal of the wireless router reduces the possibility of the smart terminal accessing the wireless router without the administrator of the wireless router being aware of, within the scope of the administrator of the wireless router. Wireless router security.
  • the smart terminal accesses the wireless router, not only can the data transmission be performed, but the smart terminal can also manage the wireless router.
  • the wireless router is a wireless modem or a Bluetooth headset, and generally does not have a display and a component (such as an input panel) that receives user input operations, and such a device may be referred to as a UI limited device. The user is unable to manage the wireless router directly on the wireless router.
  • the user may manage the wireless router on the smart terminal, for example, changing the The configuration information of the wireless router and the connected device that manages the wireless router may refer to various technical solutions for managing the wireless router through the WiFi connection between the terminal and the wireless router, which is not described in the embodiment of the present invention. Said.
  • the smart terminal may send a configuration information update request to the wireless router, where the request carries the second configuration information, and is used to request the wireless router to use the second configuration information as the second configuration information.
  • New configuration information After receiving the configuration information update request, the wireless router responds to the configuration information update request, and stores the second configuration information as new configuration information in its own memory, so as to encode the second configuration information and pass the After the output unit outputs the encoding operation, the encoding is obtained, so that the third device can receive the encoding, parse the encoding into the second configuration information, request a connection from the wireless router based on the second configuration information, and implement a connection between the wireless router and the smart terminal.
  • the configuration information update request sent by the smart terminal includes: indicating that the smart terminal has the right to update the configuration information, and after receiving the configuration information update request, the wireless router verifies whether the smart terminal has the configuration information to update, The configuration information is updated in response to the configuration information update request only after the verification is passed.
  • the smart terminal that has established a connection with the wireless router can update the configuration information stored in the wireless router, thereby avoiding the problem that the connection security of the wireless router is reduced due to the long-term non-updating of the configuration information, and improving the wireless router. And the security of the device connected to the wireless router.
  • the access device is a wireless modem
  • the configuration information is stored in the memory of the wireless modem, and the configuration information is shown in Table 1.
  • the processor of the wireless modem After the wireless modem is powered on, the processor of the wireless modem reads the configuration information shown in Table 1 from the memory, and encodes the configuration information by using a Unicode encoding algorithm.
  • the encoded configuration information is:
  • the wireless modem converts the above Unicode encoding into a binary code, which is the encoding of the configuration information.
  • the code “0” in the binary code indicates that the indicator of the wireless Modem emits a red indicating light state, and the code “1” indicates that the indicator light emits a blue indicating light.
  • the wireless Modem control indicator lights up according to the binary code, wherein each code of the binary code emits a state indicating that the light is maintained for 0.2 s.
  • the indicator light changes between emitting a red indicator light and emitting a blue indicator light.
  • the access device is an intelligent terminal, and the video illuminated by the indicator of the wireless modem is collected by the terminal camera, and the processor of the intelligent terminal parses the change of the light-emitting state of the indicator light from the video, and parses the change of the light-emitting state to represent the light-emitting state.
  • Binary code string which is the configuration information
  • the code converts the binary code string into Unicode code and parses the Unicode code into the configuration information shown in Table 1 according to the Unicode encoding algorithm.
  • the smart terminal initiates a connection request to the wireless modem, where the connection request includes information such as an identifier of the smart terminal, an SSID, a password, and an encryption method in Table 1.
  • the wireless modem After verifying the password and correcting the encryption mode, the wireless modem allows the intelligent terminal to access and implements the intelligent terminal to access the wireless modem.
  • the user does not need to manually input the configuration information in the table 1 on the smart terminal, but realizes the light emitted by the illuminator of the wireless modem and the indicator light generated by the illuminator of the wireless modem.
  • the intelligent terminal obtains the configuration parameters required for the connection with the wireless modem, and the process of accessing the wireless modem by the intelligent terminal is more convenient, faster, and shorter.
  • an embodiment of the present invention provides an apparatus 50 for distributing configuration information, including:
  • An encoding module 51 configured to encode configuration information, to obtain configuration information encoding, where the configuration information is access information for accessing the device, and each code segment in the configuration information encoding is used to indicate The indicator light of the device emits an indication light;
  • the illumination control module 52 is configured to control the indicator light to sequentially emit indicator light according to each code segment in the configuration information code, and maintain a preset duration for the state of the indicator light emitted according to each code segment, to And causing the access device to determine, according to the indication light sent by the indicator light, the configuration information, and obtain the configuration information according to the configuration information, and access the device according to the configuration information.
  • the illuminating control module 52 is further configured to: after controlling the indicator light to emit the indication light according to the last code segment encoded by the configuration information, again controlling the indicator light according to the Each code section in the configuration information code emits an indicator light.
  • the illuminating control module 52 is further configured to: after the indicator light is output according to the last code segment encoded by the configuration information, control the indicator light to emit a characterization end position Indicating light; and/or
  • the indicator light is controlled to emit an indicator light indicative of the starting position before the indicator light is controlled to emit the indicator light according to the first code section encoded by the configuration information.
  • an embodiment of the present invention provides an apparatus 60 for accessing an access device, including:
  • the obtaining module 61 is configured to obtain an instruction for triggering access to the accessed device
  • the collecting module 62 is configured to: in response to the instruction, collect an image of the indicator light of the accessed device by the image collector to emit an indication light;
  • the determining module 63 is configured to determine, according to the collected image, a state of the indicator light that is sent by the indicator light every preset time period; and determine the preset according to the mapping relationship between the stored state of the indicator light and the encoding code.
  • the encoding code corresponding to the state of the indicator light is sent, the configuration information encoding is determined according to the determined encoding code, and the configuration information encoding is decoded to obtain configuration information for accessing the accessed device.
  • the access module 64 is configured to access the accessed device according to the configuration information.
  • the determining module 63 is configured to: determine, from the determined code code, at least two coded codes that represent the flag bit; according to the sequence of the states of the indicator light corresponding to the coded code The encoded code is sequentially ordered, and the encoded code sequence between the encoded codes of two adjacent characterizing flag bits is determined to encode the configuration information.
  • One embodiment of the present invention provides a communication system including the aforementioned accessed device 20 and the access device 30.
  • the access device 20 advertises the configuration information of the accessed device 20 to the access device 20 by using the indicator light 27 according to the configuration information code, and the access device 30 collects the indication.
  • the lamp 27 emits an image indicating light, identifies the acquired image to obtain the configuration information code, and decodes the configuration information, and accesses the accessed device 20 according to the configuration information.
  • One embodiment of the present invention provides a computer readable medium for storing a computer program comprising instructions for performing the method steps of the method embodiment corresponding to FIG.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) including computer usable program code.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

L'invention concerne un procédé d'émission d'informations de configuration et un procédé et un appareil d'accès à un dispositif, permettant à un dispositif d'accès d'accéder rapidement à un dispositif faisant l'objet d'un accès. Le procédé comprend : le codage par un dispositif faisant l'objet d'un accès d'informations de configuration de façon à obtenir un code d'informations de configuration, les informations de configuration étant des informations d'accès permettant d'accéder audit dispositif faisant l'objet d'un accès, et chaque segment de code dans le code d'informations de configuration étant utilisé afin d'indiquer à un voyant d'indication du dispositif faisant l'objet d'un accès d'émettre une lumière d'indication ; et la commande par le dispositif faisant l'objet d'un accès à la lampe d'indication d'émettre séquentiellement une lumière d'indication en fonction de chaque segment de code dans le code d'informations de configuration, et le maintien de l'état de la lumière d'indication émise en fonction de chaque segment de code pendant une durée prédéfinie, de sorte qu'un dispositif d'accès détermine le code d'informations de configuration en fonction de la lumière d'indication émise par la lampe d'indication, obtienne les informations de configuration en fonction du code d'informations de configuration et accède au dispositif faisant l'objet d'un accès conformément aux informations de configuration.
PCT/CN2016/112462 2016-12-27 2016-12-27 Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif WO2018119699A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680070836.6A CN108432158B (zh) 2016-12-27 2016-12-27 发布配置信息的方法、接入设备的方法及装置
PCT/CN2016/112462 WO2018119699A1 (fr) 2016-12-27 2016-12-27 Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/112462 WO2018119699A1 (fr) 2016-12-27 2016-12-27 Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif

Publications (1)

Publication Number Publication Date
WO2018119699A1 true WO2018119699A1 (fr) 2018-07-05

Family

ID=62706684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112462 WO2018119699A1 (fr) 2016-12-27 2016-12-27 Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif

Country Status (2)

Country Link
CN (1) CN108432158B (fr)
WO (1) WO2018119699A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993073A (zh) * 2021-11-01 2022-01-28 成都世纪光合作用科技有限公司 一种智能灯具定位系统、方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490846B (zh) 2019-01-28 2023-06-06 中兴通讯股份有限公司 一种传输配置信息的方法、装置和系统
CN112672484B (zh) * 2020-12-03 2023-04-07 广州新澳光电科技有限公司 一种灯具设备管理方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457550A (zh) * 2010-10-28 2012-05-16 上海科斗电子科技有限公司 通过图像采集启动设备间数据传输的方式及其系统
CN104137480A (zh) * 2012-02-24 2014-11-05 高通股份有限公司 对网络装置的基于传感器的配置和控制
US20150104184A1 (en) * 2013-09-16 2015-04-16 Clutch Authentication Systems, Llc System and method for communication over color encoded light patterns
CN104980215A (zh) * 2015-05-18 2015-10-14 北京京东尚科信息技术有限公司 基于光信号传输实现智能设备的wifi配置的系统和方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070235525A1 (en) * 2006-04-07 2007-10-11 Nearnet Llc Information accessing and conveying systems and methods
CN102118263B (zh) * 2010-01-06 2015-05-20 中兴通讯股份有限公司 配置信息的发布方法及系统
CN202663402U (zh) * 2012-04-01 2013-01-09 深圳光启创新技术有限公司 基于时分多址的可见光通信系统
CN105991786A (zh) * 2015-02-15 2016-10-05 中国移动通信集团江苏有限公司 一种Wi-Fi接入配置方法、Wi-Fi终端及接入设备
CN105871461B (zh) * 2016-05-17 2018-06-22 华南理工大学 一种基于光二维码的多址接入方法及其可见光通信系统
CN105898748A (zh) * 2016-05-26 2016-08-24 北京京东尚科信息技术有限公司 用于智能设备的光接入网的方法及装置
CN106160852B (zh) * 2016-09-29 2019-01-18 武汉虹信通信技术有限责任公司 一种传输设备的网络系统及其远程升级方法
CN106162807A (zh) * 2016-09-30 2016-11-23 美的智慧家居科技有限公司 用于物联网IoT设备的网络接入方法、装置以及IoT设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457550A (zh) * 2010-10-28 2012-05-16 上海科斗电子科技有限公司 通过图像采集启动设备间数据传输的方式及其系统
CN104137480A (zh) * 2012-02-24 2014-11-05 高通股份有限公司 对网络装置的基于传感器的配置和控制
US20150104184A1 (en) * 2013-09-16 2015-04-16 Clutch Authentication Systems, Llc System and method for communication over color encoded light patterns
CN104980215A (zh) * 2015-05-18 2015-10-14 北京京东尚科信息技术有限公司 基于光信号传输实现智能设备的wifi配置的系统和方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993073A (zh) * 2021-11-01 2022-01-28 成都世纪光合作用科技有限公司 一种智能灯具定位系统、方法和装置

Also Published As

Publication number Publication date
CN108432158A (zh) 2018-08-21
CN108432158B (zh) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113677071B (zh) 灯具控制方法、装置、电子设备及存储介质
CN110583100B (zh) 便于控制照明设备的系统和方法以及计算机可读存储介质
WO2018119699A1 (fr) Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif
CN104994595A (zh) 手机终端及其智能硬件联网控制方法
CN104582167A (zh) 照明设备、智能终端、照明设备组网系统及方法
US9378639B2 (en) Target identification for sending content from a mobile device
US10582108B2 (en) Method and system for enabling control, by a control device, of a video camera in a video surveillance system
TWI506987B (zh) 通信終端和使用該通信終端的通信系統及配對方法
CN106788719A (zh) 控制设备联网的方法及装置
JP6612853B2 (ja) 遠隔制御装置、ユーザ装置、システム、方法、コンピュータ・プログラム、識別信号
WO2015182059A1 (fr) Système de traitement d'informations, procédé de commande et support de stockage de programme
US11817900B2 (en) Visible light communication detecting and/or decoding
WO2014194586A1 (fr) Procédé, dispositif et système pour réaliser une identification visuelle
US20230199932A1 (en) Executing control command in dependence on presence being detected
WO2016145592A1 (fr) Procédé, dispositif et terminal d'établissement de communication, et routeur
CN104393927B (zh) 一种区域组群机器视觉通信方法
CN107579946B (zh) 家用电器及其二维码的获取方法、系统
CN112861111B (zh) 设备认证方法及装置
US11177881B2 (en) Exchanging messages using visible light
US11412602B2 (en) Receiving light settings of light devices identified from a captured image
US11044013B2 (en) Selecting from content items associated with different light beacons
US11158187B2 (en) Remote-control device and user device using an identification signal
WO2018072328A1 (fr) Appareil de réacheminement de données, et procédé, dispositif et système de réacheminement de données
TWI492653B (zh) Wireless network connection system and method thereof
EP3435559A1 (fr) Dispositif électronique sans fil, environnement de fonctionnement et procédé

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16925612

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16925612

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载