CN111030897A - Wired network distribution method and device, electronic equipment and storage medium - Google Patents
Wired network distribution method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111030897A CN111030897A CN201911258606.4A CN201911258606A CN111030897A CN 111030897 A CN111030897 A CN 111030897A CN 201911258606 A CN201911258606 A CN 201911258606A CN 111030897 A CN111030897 A CN 111030897A
- Authority
- CN
- China
- Prior art keywords
- server
- data packet
- encrypted data
- communication address
- management device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/165—Combined use of TCP and UDP protocols; selection criteria therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to a wired network distribution method and device, electronic equipment and a storage medium, wherein the method comprises the following steps: obtaining a communication address distributed by a router in a wired connection mode with the router; encrypting the communication address and the equipment identifier to generate an encrypted data packet; broadcasting the encrypted data packet, and establishing a TCP connection with a management device which receives and decrypts the encrypted data packet; and responding to the activation instruction received from the management device, and requesting to register the distribution network with a server. The distribution network success rate can be improved.
Description
Technical Field
The disclosure relates to the technical field of internet of things, and in particular to a wired network distribution method and device, electronic equipment and a storage medium.
Background
The internet of things is called IOT for short, and is characterized in that traditional equipment is added into communication capacity and is accessed into the internet, so that all the equipment in the network can communicate with each other. Therefore, how to enable the equipment to be simply and safely accessed to the network is a key technology in the field of internet of things.
At present, in the related technology, a wireless distribution network mode is usually adopted to add equipment into a network, and the wireless distribution network has the problems of complex distribution network flow, high requirement on the quality of a wireless network and low distribution network success rate.
Disclosure of Invention
The embodiment of the disclosure provides a wired network distribution method and device, electronic equipment and a storage medium, and can provide a stable and high-quality network distribution environment and improve the success rate of network distribution by a wired network distribution mode.
According to an aspect of the present disclosure, a wired network distribution method is provided, including:
obtaining a communication address distributed by a router in a wired connection mode with the router;
encrypting the communication address and the equipment identifier to generate an encrypted data packet;
broadcasting the encrypted data packet, and establishing a TCP connection with a management device which receives and decrypts the encrypted data packet;
and responding to the activation instruction received from the management device, and requesting to register the distribution network with a server.
In some possible embodiments, before the encrypting the communication address and the device identifier to generate the encrypted data packet, the method further includes:
and executing the reset processing of the hardware equipment and recovering the factory settings of the hardware equipment.
In some possible embodiments, before broadcasting the encrypted data packet, the method further comprises:
establishing a communication connection between the management device and the router.
In some possible embodiments, in response to receiving an activation instruction from the management device, requesting registration of a distribution network from a server, includes:
acquiring a communication address of the server based on the received activation instruction;
and sending a registration request to the server based on the acquired communication address of the server, wherein the registration request comprises the equipment identification.
In some possible embodiments, the method further comprises:
and determining that the registration is successful in response to receiving the indication information of successful registration sent by the server.
In some possible embodiments, the method further comprises:
the management equipment sends verification information to a server according to a preset time interval, wherein the verification information comprises the equipment identification;
and responding to the received returned information which is sent by the server and successfully verified, and determining that the hardware equipment corresponding to the equipment identification is successfully distributed.
In some possible embodiments, the method further comprises:
and executing operation based on the control instruction of the management device.
According to a second aspect of the present disclosure, there is provided a wired distribution network apparatus, comprising:
the acquisition module is used for acquiring the communication address and the equipment identifier distributed by the router in a wired connection mode with the router;
the encryption module is used for encrypting the communication address and the equipment identifier to generate an encrypted data packet;
a broadcasting module for broadcasting the encrypted data packet and connecting the encrypted data packet to a TCP between the management device which receives and decrypts the encrypted data packet;
and the registration module requests the server to register the distribution network under the condition of receiving the activation instruction from the management equipment.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any of the first aspects.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any one of the first aspects.
In the embodiment of the disclosure, the hardware device to be configured with the network may be connected to the router through a network cable, the hardware device may further encrypt the communication address and the device identifier allocated by the router to form an encrypted data packet, broadcast the encrypted data packet in a broadcast manner, and establish a communication connection between the management device and the hardware device, so that the network may be requested to the server on the premise of the activation instruction sent by the management device. Based on the configuration, the network distribution process of the hardware equipment can be completed in a wired network distribution mode, a stable and high-quality network distribution environment can be provided, the success rate of the network distribution is improved, and the method has the characteristic of simple flow.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flow chart of a method for wired network distribution according to an embodiment of the present disclosure;
fig. 2 shows a flowchart of step S40 in a wired network distribution method implemented according to the present disclosure;
fig. 3 shows a timing diagram of a wired network distribution method according to an embodiment of the present disclosure;
fig. 4 illustrates a block diagram of a wired distribution network apparatus in accordance with an embodiment of the disclosure;
fig. 5 illustrates a block diagram of an electronic device 800 in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
The executing main body of the wired network distribution method provided by the embodiment of the present disclosure may be any electronic device, and may be referred to as a hardware device in the embodiment of the present disclosure, for example, the hardware device may be an intelligent socket, an intelligent fan, an intelligent sound box, or other household devices, which is not specifically limited by the present disclosure. In some possible implementations, the wired distribution network method may be implemented by a processor calling computer readable instructions stored in a memory.
Fig. 1 shows a flowchart of a wired network distribution method according to an embodiment of the present disclosure, and as shown in fig. 1, the wired network distribution method includes:
s10: obtaining a communication address distributed by a router in a wired connection mode with the router;
s20: encrypting the communication address and the equipment identifier to generate an encrypted data packet;
s30: broadcasting the encrypted data packet, and establishing a TCP connection with a management device which receives and decrypts the encrypted data packet;
s40: and responding to the activation instruction received from the management device, and requesting to register the distribution network with a server.
In some possible embodiments, in the process of performing the operation of the network distribution of the internet of things of the hardware device, the hardware device and the router may be connected by using a network cable, so as to implement wired connection between the hardware device and the router. The hardware equipment can be provided with a network interface for connecting a network cable, and meanwhile, the hardware equipment can also be provided with an electronic device for executing network connection and a communication interface for executing communication operation, so that information processing and transmission in the process of the network distribution are realized.
In some possible embodiments, in a case where a wired connection is established between a hardware device and a router, the router may identify a device identifier of the connected hardware device, assign a communication address to the connected hardware device, and receive and store the assigned communication address through a connected network cable by the corresponding hardware device. The device identifier of the hardware device may be unique identifier information that can be associated with the hardware device, such as gateway information of the hardware device. Additionally, the communication address may include an IP address. The router may also associate a storage device identification and a corresponding communication address after assigning the communication address to the hardware device.
In some possible embodiments, the hardware device may further broadcast the communication address when receiving the communication address, so that the management device is convenient to receive the communication address of the hardware device and establish a TCP connection between the management device and the hardware device. In this disclosure, a device that performs management control of devices accessing to the internet of things may be referred to as a management device, where the management device may include a terminal device such as a mobile phone, a laptop, a PAD, and a smart watch, and may also be a server device, which is not specifically limited in this disclosure.
In addition, the management device in the embodiment of the present disclosure may also establish a communication connection with the router, for example, may join in a wireless hotspot of the router. The process may implement the networking functionality of the management device before the hardware device sends the communication address.
In some possible embodiments, the hardware device performing the broadcasting of the communication address may include: and encrypting the communication address and the equipment identifier to generate an encrypted data packet, and then broadcasting the generated encrypted data packet. The security of data transmission can be improved by means of encryption. For example, the encrypted data packet in the embodiment of the present disclosure may be a UDP packet, and the IP address and gwId (gateway identifier of the device) of the hardware device in the UDP packet.
In some possible embodiments, the hardware device may broadcast the encrypted data packet according to a preset frequency until receiving the information sent by the management device, so as to improve the possibility that the management device receives the encrypted data packet. In addition, in this embodiment of the present disclosure, the hardware device may further perform reset processing on the hardware device before encrypting the communication address and the device identifier and generating the encrypted data packet, and restore factory settings of the hardware device. By the method, the networking records and the networking data of the hardware equipment can be cleared, and the success rate of the network distribution is improved.
In some possible embodiments, when receiving the encrypted data packet, the management device may perform decryption processing on the encrypted data packet to obtain the communication address and the device identifier therein. The management device can store the acquired device identifier and the associated communication address, so that hardware devices can be distinguished conveniently, and communication with the hardware devices can be established conveniently. In addition, the encryption processing and decryption processing manners in the embodiments of the present disclosure may be determined in advance through a negotiation manner, for example, corresponding keys may be stored in the management device and the hardware device, and encryption and decryption may be performed by using the keys, and encryption and decryption may be performed in other manners in other embodiments, which is not limited in this disclosure.
In some possible embodiments, in the case that the management device decrypts the communication address in the received encrypted data packet, a TCP connection with the hardware device may be established, and then an activation instruction may be sent to the communication address, where the activation instruction may include address information of the server, so as to facilitate the establishment of communication between the hardware device and the server.
In the embodiment of the disclosure, when receiving an activation instruction sent by a management device, a hardware device may analyze a communication address of a server for a distribution network from the activation instruction, or may further include an identifier of the management device, where the identifier is used to store information of the management device in the hardware device, so as to facilitate identification of instruction information sent by the management device.
Fig. 2 shows a flowchart of step S40 in a wired network distribution method implemented according to the present disclosure. The requesting registration of the distribution network from the server in response to receiving the activation instruction from the management device includes:
s41: acquiring a communication address of the server based on the received activation instruction;
s42: and sending a registration activation request to the server based on the acquired communication address of the server, wherein the registration activation request comprises the equipment identification.
As described in the foregoing embodiment, the hardware device may parse the communication address of the server from the received activation instruction, and send a registration request to the server by using the communication address of the server, where the registration request is used to request the server for the distribution network of the hardware device, and complete registration at the server. The registration request may include a device identifier of the hardware device, or may also include other device information of the hardware device, such as a type of the device.
In some possible embodiments, the server, upon receiving the registration request, may parse the device identifier of the hardware device from the registration request, and complete registration at the server according to the registration request. The device identification is stored at the server, and other device information transmitted may also be stored. In order to improve the security of the distribution network, in the embodiment of the present disclosure, the sending end may process information transmitted in the server, the management device, and the hardware device in an encrypted manner, and execute decryption processing at the receiving end.
In some possible embodiments, in a case where the server side completes registration of the hardware device, indication information of successful registration may be returned to the hardware device, and the hardware device determines that the registration is successful in a case where the indication information is received.
In addition, the management device may further send verification information to the server within a preset time range for sending the activation instruction to the hardware device, where the verification information is used to verify to the server whether the hardware device completes registration. The verification information may include a device identifier of the hardware device, and the server verifies whether the hardware device corresponding to the device identifier is completed through the device identifier in the received verification information. As described in the foregoing embodiment, in the process of requesting registration from the server, the hardware device may store information such as a device identifier of the hardware device in the server, and meanwhile, the server may also mark and store the hardware device that has completed registration, for example, allocate a registration identifier to the hardware device that has completed registration to indicate that the corresponding hardware device has completed registration at the server side, where the registration identifier may be composed of at least one of characters and numbers. Based on the configuration, under the condition that the management device sends the verification information, whether the hardware identifier in the verification information has a corresponding registration identifier or not can be determined, if yes, the hardware device completes distribution network registration, and if not, the hardware device does not successfully perform distribution network registration. Correspondingly, the server may send return information to the management device when determining that the hardware device configuration in the verification information is successfully registered, where the return information may include information of an identifier of a successful verification (successful configuration of the hardware device), and the management information may determine that the hardware device has successfully configured the network based on the return information, and may interconnect with the hardware device to control the hardware device at this time.
Further, in the embodiment of the present disclosure, the management device may send a control instruction to the hardware device when it is determined that the hardware device is successfully configured, where the control instruction may include instruction information such as start, stop, temperature control, and wind speed, and the generated control instruction may be different corresponding to different hardware devices, which is not limited in the present disclosure.
For further clarity, the following illustrates a process of a wired distribution network according to an embodiment of the present disclosure. Fig. 3 shows a timing diagram of a wired network distribution method according to an embodiment of the present disclosure.
As shown in fig. 3, the hardware device B may establish a connection with the router C by wire, and in addition, the management device a may join the wireless hotspot of the router C. Further, the router C may send the assigned IP address to the hardware device B, and the hardware device B may recharge the networking information and broadcast a UDP packet including the communication address and the device identification. The management device a receives the UDP packet, parses an IP address and a device identifier (such as a gateway identifier gwid) from the UDP packet, and establishes a TCP connection with the hardware device through the IP address. And sending an activation command to the hardware device through a TCP (transmission control protocol), wherein the activation command can comprise a communication address of the server D, and the hardware device can analyze the communication address of the server based on the activation command and send a registration request to the server to request the distribution network. And the server sends indication information of successful activation (successful distribution) to the hardware equipment after the distribution network is completed, and the fact that the hardware equipment has been distributed to Europe and the European Community is determined. The management device A can also send verification information to the server, the verification information comprises a device identifier, and the server determines whether the corresponding hardware device succeeds in distribution according to the identifier information and returns return information of successful distribution.
Based on the configuration, the hardware device to be configured may be connected to the router through a network cable, the hardware device may further encrypt the communication address and the device identifier allocated by the router to form an encrypted data packet, broadcast the encrypted data packet in a broadcast manner, and establish a communication connection between the management device and the hardware device, so that the network may be requested from the server on the premise of the activation instruction sent by the management device. Based on the configuration, the network distribution process of the hardware equipment can be completed in a wired network distribution mode, a stable and high-quality network distribution environment can be provided, the success rate of the network distribution is improved, and the method has the characteristic of simple flow.
In addition, the existing wifi wireless gateway does not support a 5G router, and the existing 5G routers are more and more, and the mode that the intelligent device of the internet of things registers in the server in a wired mode adopted by the embodiment of the disclosure can support different types of routers.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted.
In addition, the present disclosure also provides a wired network distribution apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any wired network distribution method provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the method section are not repeated.
Fig. 4 shows a block diagram of a wired distribution network apparatus according to an embodiment of the present disclosure, as shown in fig. 4, the wired distribution network apparatus includes:
an obtaining module 10, configured to obtain a communication address and an apparatus identifier allocated by a router in a wired connection manner with the router;
the encryption module 20 is configured to encrypt the communication address and the device identifier to generate an encrypted data packet;
a broadcasting module 30 for broadcasting the encrypted data packet and connecting TCP with a management device that receives and decrypts the encrypted data packet;
and the registration module 40 requests the server to register the distribution network under the condition of receiving the activation instruction from the management device.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured as the above method.
The electronic device may be provided as a terminal device.
Fig. 5 illustrates a block diagram of an electronic device 800 in accordance with an embodiment of the disclosure. For example, the electronic device 800 may be any household device, such as a fan, a patch panel, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 5, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
1. A wired network distribution method is characterized by comprising the following steps:
obtaining a communication address distributed by a router in a wired connection mode with the router;
encrypting the communication address and the equipment identifier to generate an encrypted data packet;
broadcasting the encrypted data packet, and establishing a TCP connection with a management device which receives and decrypts the encrypted data packet;
and responding to the activation instruction received from the management device, and requesting to register the distribution network with a server.
2. The method of claim 1, wherein before said encrypting said communication address and device identification to generate an encrypted data packet, said method further comprises:
and executing the reset processing of the hardware equipment and recovering the factory settings of the hardware equipment.
3. The method of claim 1, wherein prior to broadcasting the encrypted data packet, the method further comprises:
establishing a communication connection between the management device and the router.
4. The method of claim 1, wherein requesting registration of the distribution network with a server in response to receiving an activation instruction from the management device comprises:
acquiring a communication address of the server based on the received activation instruction;
and sending a registration request to the server based on the acquired communication address of the server, wherein the registration request comprises the equipment identification.
5. The method of claim 4, further comprising:
and determining that the registration is successful in response to receiving the indication information of successful registration sent by the server.
6. The method according to any one of claims 1-5, further comprising:
the management equipment sends verification information to a server according to a preset time interval, wherein the verification information comprises the equipment identification;
and responding to the received returned information which is sent by the server and successfully verified, and determining that the hardware equipment corresponding to the equipment identification is successfully distributed.
7. The method of claim 6, further comprising:
and executing operation based on the control instruction of the management device.
8. A wired network distribution apparatus, comprising:
the acquisition module is used for acquiring the communication address and the equipment identifier distributed by the router in a wired connection mode with the router;
the encryption module is used for encrypting the communication address and the equipment identifier to generate an encrypted data packet;
a broadcasting module for broadcasting the encrypted data packet and connecting the encrypted data packet to a TCP between the management device which receives and decrypts the encrypted data packet;
and the registration module requests the server to register the distribution network under the condition of receiving the activation instruction from the management equipment.
9. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any of claims 1-7.
10. A computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911258606.4A CN111030897A (en) | 2019-12-10 | 2019-12-10 | Wired network distribution method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911258606.4A CN111030897A (en) | 2019-12-10 | 2019-12-10 | Wired network distribution method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111030897A true CN111030897A (en) | 2020-04-17 |
Family
ID=70205295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911258606.4A Pending CN111030897A (en) | 2019-12-10 | 2019-12-10 | Wired network distribution method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111030897A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112532607A (en) * | 2020-11-23 | 2021-03-19 | 杭州涂鸦信息技术有限公司 | Intelligent device communication method, system, computer device and readable storage medium |
CN113840286A (en) * | 2021-09-16 | 2021-12-24 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
CN114567547A (en) * | 2021-04-19 | 2022-05-31 | 浙江正泰电器股份有限公司 | Equipment networking method, system, device, communication management equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1652521A (en) * | 2004-02-06 | 2005-08-10 | 巴比禄股份有限公司 | Wireless LAN communication system, wireless LAN communication method, and wireless LAN communication program |
CN103095941A (en) * | 2012-12-26 | 2013-05-08 | 鸿富锦精密工业(深圳)有限公司 | Intelligent adapter and remote control system comprising the same |
CN204705822U (en) * | 2015-05-11 | 2015-10-14 | 北京智电信息技术有限公司 | A kind of Intelligent Home Appliance Controller with routing function |
CN105979522A (en) * | 2016-05-16 | 2016-09-28 | 北京小米移动软件有限公司 | Equipment binding method and device |
CN106972957A (en) * | 2017-03-09 | 2017-07-21 | 海尔优家智能科技(北京)有限公司 | Networking collocation method, smart machine and system |
CN109089298A (en) * | 2018-07-06 | 2018-12-25 | 杭州涂鸦信息技术有限公司 | Bluetooth and the bis- protocol devices method of network entry of wifi and device |
CN109743730A (en) * | 2019-01-23 | 2019-05-10 | 欧普照明股份有限公司 | A kind of smart machine networking method and system |
CN109982298A (en) * | 2019-02-19 | 2019-07-05 | 深圳市和盈互联科技有限公司 | It is a kind of that network method is matched based on Internet of Things Wi-Fi module |
CN110149255A (en) * | 2019-05-21 | 2019-08-20 | 北京洪泰智造信息技术有限公司 | Intelligent home network configuration method, system and smart home based on wired connection |
CN110225519A (en) * | 2019-05-29 | 2019-09-10 | 欧普照明股份有限公司 | With network method, network distribution device, WIFI smart machine and distribution network systems |
CN110505640A (en) * | 2019-08-23 | 2019-11-26 | 上海庆科信息技术有限公司 | The processing method of apparatus bound, apparatus and system, to distribution net equipment and terminal |
-
2019
- 2019-12-10 CN CN201911258606.4A patent/CN111030897A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1652521A (en) * | 2004-02-06 | 2005-08-10 | 巴比禄股份有限公司 | Wireless LAN communication system, wireless LAN communication method, and wireless LAN communication program |
CN103095941A (en) * | 2012-12-26 | 2013-05-08 | 鸿富锦精密工业(深圳)有限公司 | Intelligent adapter and remote control system comprising the same |
CN204705822U (en) * | 2015-05-11 | 2015-10-14 | 北京智电信息技术有限公司 | A kind of Intelligent Home Appliance Controller with routing function |
CN105979522A (en) * | 2016-05-16 | 2016-09-28 | 北京小米移动软件有限公司 | Equipment binding method and device |
CN106972957A (en) * | 2017-03-09 | 2017-07-21 | 海尔优家智能科技(北京)有限公司 | Networking collocation method, smart machine and system |
CN109089298A (en) * | 2018-07-06 | 2018-12-25 | 杭州涂鸦信息技术有限公司 | Bluetooth and the bis- protocol devices method of network entry of wifi and device |
CN109743730A (en) * | 2019-01-23 | 2019-05-10 | 欧普照明股份有限公司 | A kind of smart machine networking method and system |
CN109982298A (en) * | 2019-02-19 | 2019-07-05 | 深圳市和盈互联科技有限公司 | It is a kind of that network method is matched based on Internet of Things Wi-Fi module |
CN110149255A (en) * | 2019-05-21 | 2019-08-20 | 北京洪泰智造信息技术有限公司 | Intelligent home network configuration method, system and smart home based on wired connection |
CN110225519A (en) * | 2019-05-29 | 2019-09-10 | 欧普照明股份有限公司 | With network method, network distribution device, WIFI smart machine and distribution network systems |
CN110505640A (en) * | 2019-08-23 | 2019-11-26 | 上海庆科信息技术有限公司 | The processing method of apparatus bound, apparatus and system, to distribution net equipment and terminal |
Non-Patent Citations (1)
Title |
---|
常赟: "基于有线电视系统的智能家居模式探讨", 《有线电视技术》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112532607A (en) * | 2020-11-23 | 2021-03-19 | 杭州涂鸦信息技术有限公司 | Intelligent device communication method, system, computer device and readable storage medium |
CN114567547A (en) * | 2021-04-19 | 2022-05-31 | 浙江正泰电器股份有限公司 | Equipment networking method, system, device, communication management equipment and storage medium |
CN114567547B (en) * | 2021-04-19 | 2024-01-19 | 浙江正泰电器股份有限公司 | Device networking method, system, device, communication management device and storage medium |
CN113840286A (en) * | 2021-09-16 | 2021-12-24 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
CN113840286B (en) * | 2021-09-16 | 2023-02-17 | 珠海格力电器股份有限公司 | Network distribution system, method and device of equipment, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104869612B (en) | Access the method and device of network | |
US10560491B2 (en) | Methods and apparatuses for binding with device | |
US9819652B2 (en) | Information interaction methods and devices | |
US9769667B2 (en) | Methods for controlling smart device | |
RU2619073C2 (en) | Method and device for implementation of adjustment | |
US10608988B2 (en) | Method and apparatus for bluetooth-based identity recognition | |
KR102377724B1 (en) | Device network configuration method and apparatus, and medium | |
CN113259344B (en) | Remote access method and device, electronic equipment and storage medium | |
CN113343212B (en) | Device registration method and apparatus, electronic device, and storage medium | |
US20160255521A1 (en) | Method and apparatus for testing a smart device | |
CN105243318A (en) | User equipment control right determining method and apparatus and terminal device | |
CN105282158A (en) | Intelligent equipment networking method, routing equipment, intelligent equipment and system | |
EP3226432A1 (en) | Method and device for sharing media data between terminals | |
US20170171794A1 (en) | Method and apparatus for acquiring routing information | |
CN105049213A (en) | File signature method and device | |
US9723486B2 (en) | Method and apparatus for accessing network | |
CN106453052A (en) | Message interaction method and apparatus thereof | |
CN111030897A (en) | Wired network distribution method and device, electronic equipment and storage medium | |
CN105228141A (en) | A kind of methods, devices and systems set up network and connect | |
CN105282162A (en) | Processing method and device for account management business | |
CN105306567A (en) | Method and device for terminal connection | |
CN112784243A (en) | Authorization management method and device, electronic equipment and storage medium | |
CN105187154A (en) | Response packet reception time delay method and response packet reception time delay device | |
CN113726905B (en) | Data acquisition method, device and equipment based on home terminal equipment | |
CN114124462B (en) | Verification code transmission method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200417 |