Disclosure of Invention
The embodiment of the invention aims to provide a parallel network distribution system, a parallel network distribution method and a mobile terminal so as to improve the network distribution efficiency. The specific technical scheme is as follows:
in one aspect of the present invention, a parallel network distribution system is provided, where the parallel network distribution system includes: the system comprises a gateway, a device already distributed and a device to be distributed; wherein,
the distributed network equipment acquires distribution network information from routing equipment, wherein the routing equipment provides routing service for the distributed network equipment after the distribution network of the distributed network equipment is successful, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token;
the distributed network equipment sends the distribution network information to the gateway and the equipment to be distributed respectively;
the gateway receives the distribution network information and sends the distribution network information to the equipment to be distributed;
and the equipment to be distributed receives the distribution network information sent by the distributed equipment and the gateway respectively, and performs distribution by using the received distribution network information.
Optionally, the process of sending the distribution network information to the gateway and the device to be distributed by the distributed device respectively includes:
the distributed network equipment sends the distribution network information to the gateway through a wifi network;
and the distributed network equipment sends the distribution network information to the equipment to be distributed through a wifi network, bluetooth and ultrasonic coding respectively.
Optionally, the process of sending the distribution network information to the device to be distributed by the gateway includes:
and the gateway sends the distribution network information to the equipment to be distributed through a zigbee network and a Sub1G network respectively.
Optionally, the method further includes:
the distributed network equipment generates a distribution network two-dimensional code containing the distribution network information and displays the distribution network two-dimensional code;
and the equipment to be distributed scans the two-dimensional code of the distribution network to obtain the distribution network information, and the distribution network information is utilized to carry out distribution.
Optionally, before the process of sending the distribution network information to the gateway and the device to be distributed, the distribution network device further includes:
and the distributed network equipment encrypts the distribution network information.
In another aspect of the present invention, a parallel network distribution method is further provided, which is applied to a device to be distributed in a parallel network distribution system, where the parallel network distribution system further includes: a gateway and a distributed network device; the method comprises the following steps:
receiving distribution network information sent by the distributed network equipment, wherein the distribution network information is information acquired by the distributed network equipment from routing equipment providing routing service for the distributed network equipment after the distribution network is successful, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token;
receiving distribution network information sent by the gateway, wherein the distribution network information sent by the gateway is information sent to the gateway by the distributed network equipment;
and respectively carrying out distribution by using the received distribution network information.
Optionally, the step of receiving the distribution network information sent by the distributed network device includes:
and receiving the distribution network information sent by the distributed network equipment through a wifi network, bluetooth and ultrasonic coding respectively.
Optionally, the step of receiving the distribution network information sent by the gateway includes:
and receiving the distribution network information sent by the gateway through a zigbee network and a Sub1G network respectively.
Optionally, the method further includes:
scanning a distribution network two-dimensional code displayed by the distributed network equipment to acquire distribution network information contained in the distribution network two-dimensional code, wherein the distribution network two-dimensional code is generated by the distributed network equipment and contains the distribution network information;
and carrying out distribution by using the acquired distribution network information.
In another aspect of the present invention, a mobile terminal is further provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing processor-executable instructions;
and the processor is used for realizing any one of the parallel network distribution methods when executing the instructions stored in the memory.
In another aspect of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any one of the above parallel network distribution methods.
In another aspect of the present invention, there is also provided a computer program product containing instructions, which when executed on a computer, causes the computer to execute the method for parallel network distribution described in any one of the above embodiments.
The embodiment of the invention provides a parallel network distribution system, a method and a mobile terminal, wherein the parallel system comprises: the system comprises a gateway, a device already distributed and a device to be distributed; the distributed network equipment acquires distribution network information from routing equipment, wherein the routing equipment provides routing service for the distributed network equipment after the distribution of the distributed network equipment is successful, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token; the distributed network equipment sends the distribution network information to the gateway and the equipment to be distributed respectively; the gateway receives the distribution network information and sends the distribution network information to the equipment to be distributed; and the equipment to be distributed receives the distribution network information sent by the distributed equipment and the gateway respectively, and performs distribution by using the received distribution network information.
By applying the scheme provided by the embodiment of the invention, the distributed network equipment can respectively send the distribution network information to the equipment to be distributed through the gateway or the distributed network equipment per se, namely, the distributed network equipment can send the distribution network information to the equipment to be distributed by adopting different transmission links and transmission media, correspondingly, the equipment to be distributed can simultaneously utilize the distribution network information sent by the distributed network equipment and the gateway to carry out distribution, namely, a plurality of distribution network processes are carried out in parallel, and the distribution network efficiency can be improved by adopting a mode of parallel modes.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, a schematic structural diagram of a parallel distribution network system according to an embodiment of the present invention is provided, where the parallel distribution network system includes: the system comprises a gateway, a device already distributed and a device to be distributed; wherein,
and the distributed network equipment acquires the distribution network information from the routing equipment.
Wherein, after the routing equipment successfully distributes the network for the equipment that has already been distributed, provide the equipment of routing service to having already distributed the equipment, distribution network information contains: the ssid and password of the routing device and the service provider authentication token.
In implementation, the distributed network device may be: cell-phone, dull and stereotyped equipment etc.
In implementation, after the network distribution device and the routing device are successfully connected and the network is distributed, the network distribution information for network distribution connection with the routing device can be acquired from the routing device.
And the distributed network equipment sends distribution network information to the gateway and the equipment to be distributed.
In implementation, the distributed network equipment, the routing equipment and the gateway form a local area network, and the distributed network equipment can send distribution network information to the gateway through a wifi network provided by the routing equipment. The distributed network equipment can also communicate with the gateway through the cloud end, so that the distribution network information is sent to the gateway.
The distributed network equipment can send distribution network information to the equipment to be distributed through a wifi network, bluetooth and ultrasonic coding respectively.
In implementation, in order to enhance the security of distribution network information transmission, the distribution network information is encrypted by the distribution network device before the distribution network device sends the distribution network information to the gateway and the device to be distributed.
Specifically, encryption algorithms can be preset among the distributed network equipment, the gateway and the equipment to be distributed, and based on the encryption algorithms, after the distributed network equipment encrypts the distribution network information, the gateway and the equipment to be distributed can decrypt the distribution network information by using the same encryption algorithm.
And the gateway receives the distribution network information and sends the distribution network information to the equipment to be distributed.
In implementation, after the device to be configured activates the network distribution mode, the gateway may send the network distribution information to the device to be configured through the zigbee network and the Sub1G network, respectively.
And the equipment to be distributed receives the distribution network information sent by the distribution network equipment and the gateway respectively, and the received distribution network information is utilized to carry out distribution.
In implementation, in order to further increase the success rate of the distribution network, the distributed network equipment can also generate a distribution network two-dimensional code containing distribution network information and display the distribution network two-dimensional code;
and scanning the distribution network two-dimensional code by the equipment to be distributed to obtain distribution network information, and carrying out distribution network by using the distribution network information.
By applying the scheme provided by the embodiment of the invention, the distributed network equipment can respectively send the distribution network information to the equipment to be distributed through the gateway or the distributed network equipment per se, namely, the distributed network equipment can send the distribution network information to the equipment to be distributed by adopting different transmission links and transmission media, correspondingly, the equipment to be distributed can simultaneously utilize the distribution network information sent by the distributed network equipment and the gateway to carry out distribution, namely, a plurality of distribution network processes are carried out in parallel, and the mode of paralleling a plurality of modes can improve the distribution network efficiency.
Referring to fig. 2, a schematic flow diagram of a parallel network distribution method provided in an embodiment of the present invention is shown, where the method is applied to a device to be configured in a parallel network distribution system, and the parallel network distribution system further includes: a gateway and a distributed network device; the method comprises the following steps:
s200, receiving distribution network information sent by the distributed network equipment, wherein the distribution network information is information acquired by the distributed network equipment from routing equipment providing routing service for the distributed network equipment after the distributed network equipment is successfully distributed, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token;
s210, receiving distribution network information sent by the gateway, wherein the distribution network information sent by the gateway is information sent to the gateway by the distributed network equipment;
and S220, respectively utilizing the received distribution network information to carry out distribution.
In an implementation manner of the embodiment of the present invention, the step of receiving the distribution network information sent by the distributed network device includes:
and receiving the distribution network information sent by the distributed network equipment through a wifi network, bluetooth and ultrasonic coding respectively.
In an implementation manner of the embodiment of the present invention, the step of receiving the distribution network information sent by the gateway includes:
and respectively receiving the distribution network information sent by the gateway through a zigbee network and a Sub1G network.
In an implementation manner of the embodiment of the present invention, the method further includes:
scanning a distribution network two-dimensional code displayed by the distributed network equipment to acquire distribution network information contained in the distribution network two-dimensional code, wherein the distribution network two-dimensional code is a two-dimensional code which is generated by the distributed network equipment and contains the distribution network information;
and carrying out distribution by using the acquired distribution network information.
By applying the scheme provided by the embodiment of the invention, the distributed network equipment can respectively send the distribution network information to the equipment to be distributed through the gateway or the distributed network equipment per se, namely, the distributed network equipment can send the distribution network information to the equipment to be distributed by adopting different transmission links and transmission media, correspondingly, the equipment to be distributed can simultaneously utilize the distribution network information sent by the distributed network equipment and the gateway to carry out distribution, namely, a plurality of distribution network processes are carried out in parallel, and the mode of paralleling a plurality of modes can improve the distribution network efficiency.
An embodiment of the present invention further provides an electronic device, as shown in fig. 3, including aprocessor 001, acommunication interface 002, amemory 003 and acommunication bus 004, where theprocessor 001, thecommunication interface 002 and thememory 003 complete mutual communication through thecommunication bus 004,
amemory 003 for storing processor-executable instructions;
theprocessor 001 is configured to, when executing the instructions stored in thememory 003, implement the parallel network distribution method according to any one of the foregoing descriptions, where the method includes:
receiving distribution network information sent by the distributed network equipment, wherein the distribution network information is information acquired by the distributed network equipment from routing equipment providing routing service for the distributed network equipment after the distribution network is successful, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token;
receiving distribution network information sent by the gateway, wherein the distribution network information sent by the gateway is information sent to the gateway by the distributed network equipment;
and respectively carrying out distribution by using the received distribution network information.
By applying the scheme provided by the embodiment of the invention, the distributed network equipment can respectively send the distribution network information to the equipment to be distributed through the gateway or the distributed network equipment per se, namely, the distributed network equipment can send the distribution network information to the equipment to be distributed by adopting different transmission links and transmission media, correspondingly, the equipment to be distributed can simultaneously utilize the distribution network information sent by the distributed network equipment and the gateway to carry out distribution, namely, a plurality of distribution network processes are carried out in parallel, and the distribution network efficiency can be improved by adopting a mode of parallel modes.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any one of the foregoing parallel network distribution methods, where the method includes:
receiving distribution network information sent by the distributed network equipment, wherein the distribution network information is information acquired by the distributed network equipment from routing equipment providing routing service for the distributed network equipment after the distribution network is successful, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token;
receiving distribution network information sent by the gateway, wherein the distribution network information sent by the gateway is information sent to the gateway by the distributed network equipment;
and respectively carrying out distribution by using the received distribution network information.
By applying the scheme provided by the embodiment of the invention, the distributed network equipment can respectively send the distribution network information to the equipment to be distributed through the gateway or the distributed network equipment per se, namely, the distributed network equipment can send the distribution network information to the equipment to be distributed by adopting different transmission links and transmission media, correspondingly, the equipment to be distributed can simultaneously utilize the distribution network information sent by the distributed network equipment and the gateway to carry out distribution, namely, a plurality of distribution network processes are carried out in parallel, and the mode of paralleling a plurality of modes can improve the distribution network efficiency.
In another embodiment, the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the parallel network distribution method described in any one of the above embodiments, wherein the method includes:
receiving distribution network information sent by the distributed network equipment, wherein the distribution network information is information acquired by the distributed network equipment from routing equipment providing routing service for the distributed network equipment after the distribution network is successful, and the distribution network information comprises: the ssid and password of the routing equipment and the service provider authentication token;
receiving distribution network information sent by the gateway, wherein the distribution network information sent by the gateway is information sent to the gateway by the distributed network equipment;
and respectively carrying out distribution by using the received distribution network information.
By applying the scheme provided by the embodiment of the invention, the distributed network equipment can respectively send the distribution network information to the equipment to be distributed through the gateway or the distributed network equipment per se, namely, the distributed network equipment can send the distribution network information to the equipment to be distributed by adopting different transmission links and transmission media, correspondingly, the equipment to be distributed can simultaneously utilize the distribution network information sent by the distributed network equipment and the gateway to carry out distribution, namely, a plurality of distribution network processes are carried out in parallel, and the distribution network efficiency can be improved by adopting a mode of parallel modes.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
In this application, the terms "upper", "lower", "inner", "middle", "outer", "front", "rear", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "disposed," "connected," "disposed," and "communicating" are to be construed broadly. For example, "connected" may be a fixed connection, a detachable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, as for the method and mobile terminal embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.