CN112637827A - Network distribution method, device, computer equipment and storage medium - Google Patents

Network distribution method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112637827A
CN112637827A CN202011530054.0A CN202011530054A CN112637827A CN 112637827 A CN112637827 A CN 112637827A CN 202011530054 A CN202011530054 A CN 202011530054A CN 112637827 A CN112637827 A CN 112637827A
Authority
CN
China
Prior art keywords
distribution network
network information
information
transmission
bluetooth connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011530054.0A
Other languages
Chinese (zh)
Inventor
吴从庆
陈锦辉
杨舒
吴春凤
刘洪钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011530054.0A priority Critical patent/CN112637827A/en
Publication of CN112637827A publication Critical patent/CN112637827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Architecture (AREA)
  • Computer Security & Cryptography (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a network distribution method, a network distribution device, computer equipment and a storage medium. The method comprises the following steps: sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request; receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with a terminal; receiving transmission distribution network information through the Bluetooth connection channel; and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment. When the intelligent terminal is not used for first distribution, the distribution network information sent by the terminal through the Bluetooth is compared with local distribution network information stored locally, if the distribution network information is consistent with the local distribution network information stored locally, the distribution network is automatically distributed according to the local distribution network information, a user does not need to input a distribution network password again, and the distribution network process is shortened.

Description

Network distribution method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a network distribution method and apparatus, a computer device, and a storage medium.
Background
The smart home (home automation) is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, an efficient management system of home facilities and home schedule affairs is constructed, home safety, convenience, comfort and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
Along with the arrival of the intelligent home life idea, more and more house products have added intelligent function, but when numerous intelligent house equipment joined in marriage the net, need the user to input again and join in marriage net password when joining in marriage net once more after with gateway disconnection, lead to joining in marriage net process comparatively loaded down with trivial details.
Disclosure of Invention
In order to solve the technical problem that the password of the distribution network needs to be input again every time the distribution network is distributed, the application provides a distribution network method, a distribution network device, computer equipment and a storage medium.
In a first aspect, the present application provides a network distribution method, which is applied to an intelligent device, and includes:
sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request;
receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with a terminal;
receiving transmission distribution network information through the Bluetooth connection channel;
and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment.
In a second aspect, the present application provides a network distribution method, which is applied to a terminal, and includes:
acquiring transmission distribution network information;
receiving at least one distribution network request, wherein the distribution network request comprises a Bluetooth connection request and equipment information;
generating corresponding response signals according to the Bluetooth connection requests;
sending the response signal to the intelligent equipment corresponding to the equipment information, and establishing a Bluetooth connection channel between the intelligent equipment corresponding to the equipment information;
and sending the transmission distribution network information to the intelligent equipment corresponding to the equipment information through the Bluetooth connecting channel, and enabling the intelligent equipment to distribute the network according to the transmission distribution network information.
In a third aspect, the present application provides a network distribution device, including:
the system comprises a broadcasting module, a distribution network module and a control module, wherein the broadcasting module is used for sending a distribution network request, and the distribution network request comprises a Bluetooth connection request;
the response receiving module is used for receiving a response signal, and the response signal is used for establishing a Bluetooth connection channel with the terminal;
the distribution network information receiving module is used for receiving and transmitting distribution network information through the Bluetooth connecting channel;
the first distribution network module is used for distributing a network according to the transmission distribution network information and a routing gateway when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, wherein the local distribution network information is the distribution network information stored in the intelligent equipment.
In a fourth aspect, the present application provides a network distribution device, including:
the distribution network information acquisition module is used for acquiring transmission distribution network information;
the device comprises a Bluetooth connection request receiving module, a Bluetooth connection request receiving module and a distribution network management module, wherein the Bluetooth connection request receiving module is used for receiving at least one distribution network request, and the distribution network request comprises a Bluetooth connection request and device information;
the response module is used for generating corresponding response signals according to the Bluetooth connection requests;
the Bluetooth connection module is used for sending the response signal to the intelligent equipment corresponding to the equipment information and establishing a Bluetooth connection channel between the intelligent equipment corresponding to the equipment information;
and the distribution network information sending module is used for sending the transmission distribution network information to the intelligent equipment corresponding to the equipment information through the Bluetooth connecting channel so as to enable the intelligent equipment to carry out distribution network according to the transmission distribution network information.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request;
receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with a terminal;
receiving transmission distribution network information through the Bluetooth connection channel;
and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request;
receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with a terminal;
receiving transmission distribution network information through the Bluetooth connection channel;
and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment.
The network distribution method, the network distribution device, the computer equipment and the storage medium comprise the following steps: sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request; receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with a terminal; receiving transmission distribution network information through the Bluetooth connection channel; and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment. When the intelligent terminal is not used for first distribution, the distribution network information sent by the terminal through the Bluetooth is compared with local distribution network information stored locally, if the distribution network information is consistent with the local distribution network information stored locally, the distribution network is automatically distributed according to the local distribution network information, a user does not need to input a distribution network password again, and the distribution network process is shortened.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a diagram of an exemplary network deployment method;
FIG. 2 is a schematic flow chart of a network distribution method according to an embodiment;
FIG. 3 is a schematic flow chart of a network distribution method according to an embodiment;
FIG. 4 is a block diagram of a distribution network device according to an embodiment;
FIG. 5 is a block diagram of a distribution network device according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is an application environment diagram of a network distribution method in an embodiment. Referring to fig. 1, the distribution network method is applied to a distribution network system. The distribution network system comprises a terminal 110, a smart device 120 and a server 130. The terminal 110, the smart device 120, and the server 130 are connected through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The intelligent device can be any one or more intelligent household devices of an intelligent air conditioner, an intelligent television, an intelligent refrigerator, an intelligent sound box and the like. The server 130 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
In an embodiment, fig. 2 is a schematic flow chart of a network distribution method in an embodiment, and referring to fig. 2, a network distribution method is provided. The embodiment mainly exemplifies that the method is applied to the intelligent device 120 in fig. 1, and the network distribution method specifically includes the following steps:
step S210, sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request.
Specifically, the distribution network request is broadcast data requesting distribution network, the distribution network request includes a bluetooth connection request and device information, the bluetooth connection request is used to request establishment of a bluetooth connection channel with the terminal 110, and the device information includes a device type, a device name, a device address, and the like of the intelligent device.
Step S220, receiving a response signal, where the response signal is used to establish a bluetooth connection channel with the terminal 110.
Specifically, the response signal is a signal fed back to the intelligent device by the terminal 110, which indicates that the terminal 110 responds to the bluetooth connection request of the intelligent device, and successfully establishes a bluetooth connection channel with the intelligent device, only when the terminal 110 responding to the network distribution request of the intelligent device appears in the accessory of the intelligent device, the intelligent device is triggered to start network distribution, in this embodiment, the terminal 110 is a mobile terminal, and a user generally carries the mobile terminal with him, therefore, the intelligent device starts network distribution after the mobile terminal carried by the user responds to the network distribution request, so that energy consumption of the intelligent device can be saved, and energy waste of automatic network distribution of the intelligent device when the user is not at home is avoided.
And step S230, receiving and transmitting the distribution network information through the Bluetooth connection channel.
Specifically, the terminal 110 sends the transmission distribution network information in a bluetooth connection mode, so that the stability of receiving data by the intelligent device is ensured, the intelligent device is not influenced by network factors and the like, the time delay is short, the transmission rate is high, the transmission distribution network information is acquired through bluetooth, the transmission power of the intelligent device is reduced, and the service life of the intelligent device can be prolonged. The distribution network information comprises a gateway address and a gateway password corresponding to a routing gateway of the intelligent device to be distributed.
Step S240, when local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, a distribution network is configured according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is distribution network information stored in the intelligent equipment.
Specifically, the local distribution network information is distribution network information already stored in the intelligent device, and when the local distribution network information is detected, the intelligent device is not a first distribution network, the local distribution network information stored locally in the intelligent device is compared with the currently received transmission distribution network information, if the local distribution network information is consistent with the transmission distribution network information, the distribution network environment where the terminal 110 is located is consistent with the distribution network environment where the intelligent device is located, then, the network is automatically configured according to the transmission distribution network information (i.e. the local distribution network information), and the user can send a control instruction to the intelligent device through the terminal 110, so as to implement remote connectionless control, under the condition that the gateway password corresponding to the routing gateway is not changed, when the intelligent equipment is distributed with the network again after being disconnected with the routing gateway, the user is not required to re-input the distribution network password in the application software control interface corresponding to the intelligent device in the terminal 110.
When the gateway password corresponding to the routing gateway is changed, the user re-inputs the updated gateway password in the application software control interface, the terminal 110 generates a corresponding modification instruction, the modification instruction carries the updated gateway password, the modification instruction is sent to the intelligent device through the bluetooth connection channel, the intelligent device executes the modification instruction, the local distribution network information is updated according to the updated gateway password, and then the distribution network is performed according to the updated local distribution network information.
In an embodiment, after receiving the transmission distribution network information, when no local distribution network information is detected, the transmission distribution network information is used as the local distribution network information; and carrying out distribution network according to the transmission distribution network information and the routing gateway.
Specifically, when the local distribution network information is not detected, it is indicated that the intelligent device is distributing the network for the first time, the received transmission distribution network information is stored as the local distribution network information, and the intelligent device distributes the network according to the local distribution network information subsequently under the condition that a gateway password corresponding to the routing gateway is not changed.
In one embodiment, the step of sending a distribution network request is performed when the transmission distribution network information does not match the local distribution network information.
Specifically, when the transmission distribution network information is not matched with the local distribution network information, it indicates that the distribution network environment where the terminal 110 is located is different from the distribution network environment where the intelligent device is located, for example, the routing gateway to which the terminal 110 of the user may be connected is a routing gateway of a next-door neighbor, but the local distribution network information stored in the intelligent device corresponds to the routing gateway of the home of the user, so that the intelligent device cannot automatically distribute the network according to the distribution network information sent by the terminal 110, and only can continue to send the distribution network request, and only when there is a terminal 110 responding to the distribution network request, the distribution network process is started.
In an embodiment, before receiving and transmitting the distribution network information, a separation distance is obtained according to the response signal, where the separation distance is a distance between the intelligent device and the terminal 110; and when the spacing distance is smaller than or equal to a preset distance, receiving the transmission distribution network information through the Bluetooth connecting channel.
Specifically, the spacing distance between the terminal 110 and the smart device is determined according to the response signal, where the spacing distance represents the signal strength of the response signal, and the smaller the spacing distance is, the higher the signal strength of the corresponding response signal is, and the higher the stability of data transmission is; the greater the separation distance, the lower the signal strength of the corresponding response signal, and the lower the stability of data transmission. The preset distance is the distance corresponding to the signal intensity of the data received by the intelligent device through the Bluetooth connecting channel, and the preset distance can be self-defined according to the comprehensive consideration of the transmission distance and the transmission stability. Judging whether a mobile terminal responding to the distribution network request exists in a range of a preset distance from the intelligent equipment, and if the mobile terminal responding to the distribution network request exists, starting distribution of the network by the intelligent equipment; and if the mobile terminal responding to the distribution network information does not exist, the intelligent equipment continues to send a distribution network request.
For example, when a circuit fault occurs or the power supply of the intelligent device is in poor contact, the intelligent device is restarted, the network needs to be distributed again, if the content of the preset distance range between the intelligent device and the intelligent device does not have a mobile terminal capable of responding to the network distribution request, the situation that the intelligent device does not have a user at the moment is shown, the intelligent device cannot be distributed when no user is available, the energy consumption of the intelligent device is reduced, and the energy is saved. When a user carries a mobile terminal to be close to the intelligent equipment and the distance between the mobile terminal and the intelligent equipment is smaller than the preset distance, the intelligent equipment starts to distribute the network and executes the step of receiving and transmitting the network distribution information through the Bluetooth connecting channel. When the user is at home, but the user does not carry the mobile terminal to be close to the intelligent device, the fact that the user does not need to use the intelligent device is indicated, the intelligent device cannot be connected with a network, energy consumption of the intelligent device is reduced, and energy is saved.
In one embodiment, the transmission of the distribution network information comprises a connection address and a gateway password, and a distribution network request is received, wherein the distribution network request carries a corresponding gateway address; and when illegal characters do not exist in the transmission distribution network information and the gateway address is matched with the connection address, sending the gateway password to the routing gateway for distribution network.
Specifically, the distribution network request is a connection signal sent by the routing gateway, the distribution network request carries a gateway address corresponding to the routing gateway, the illegal character is a character which is not in line with a preset distribution network rule, when the illegal character does not exist in the transmission distribution network information, the fact that the transmission distribution network information is in line with the preset distribution network rule is shown, the gateway address is the same as the connection address in the transmission distribution network information, the fact that the routing gateway is a target routing gateway to be connected with the intelligent device is shown, and distribution network connection is conducted with the routing gateway according to a gateway password in the transmission distribution network information.
In an embodiment, the present embodiment provides a network distribution method, referring to fig. 3, applied to a terminal 110, where the method includes:
step S310, acquiring transmission distribution network information.
Specifically, the transmission distribution network information includes a gateway address and a gateway password, where the gateway address is an address corresponding to a routing gateway searched by the terminal 110, and the gateway password is a password input by the user in an application control interface corresponding to the intelligent device in the terminal 110 and corresponding to the gateway address.
Step S320, receiving at least one distribution network request, where the distribution network request includes a bluetooth connection request and device information.
Specifically, the distribution network request is a request for initiating a distribution network for the intelligent device, and after receiving the distribution network request, the mobile terminal displays device information in a display interface, so that a user can know the intelligent device needing to continue to distribute the network and corresponding device information, wherein the device information includes a device type, a device name, a device address and the like of the intelligent device.
And step S330, generating corresponding response signals according to the Bluetooth connection requests.
Specifically, the response signal is used to indicate that the mobile terminal successfully establishes a bluetooth connection channel with the smart device in response to the bluetooth connection request.
Step S340, sending the response signal to the intelligent devices corresponding to the device information, and establishing a bluetooth connection channel between the intelligent devices corresponding to the device information.
And step S350, sending the transmission distribution network information to the intelligent equipment corresponding to the equipment information through the Bluetooth connecting channel, and enabling the intelligent equipment to distribute the network according to the transmission distribution network information.
Specifically, a response signal is sent to the intelligent device to inform the intelligent device that Bluetooth connection is successful, transmission information is sent to the intelligent device through the Bluetooth connecting channel, the intelligent device is made to acquire transmission distribution network information, the transmission distribution network information is sent in a Bluetooth connecting mode, the stability of data receiving of the intelligent device is guaranteed, the intelligent device is not affected by network factors and the like, time delay is short, transmission speed is high, transmission power of the intelligent device is reduced by acquiring the transmission distribution network information through Bluetooth, and the service life of the intelligent device can be prolonged. And under the condition that the gateway password of the routing gateway is not changed, the intelligent equipment is enabled to carry out network distribution according to the transmission network distribution information, the user does not need to input the gateway password again, and the network distribution flow of each intelligent equipment is simplified.
Fig. 2 and fig. 3 are schematic flow diagrams of a network distribution method in an embodiment, respectively. It should be understood that although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a distribution network apparatus including:
a broadcasting module 410, configured to send a distribution network request, where the distribution network request includes a bluetooth connection request;
a response receiving module 420, configured to receive a response signal, where the response signal is used to establish a bluetooth connection channel with the terminal 110;
a distribution network information receiving module 430, configured to receive and transmit distribution network information through the bluetooth connection channel;
the first distribution network module 440 is configured to distribute a network according to the transmission distribution network information and a routing gateway when local distribution network information is detected and the transmission distribution network information matches the local distribution network information, where the local distribution network information is distribution network information stored in the smart device.
In one embodiment, the apparatus further comprises:
the storage module is used for taking the transmission distribution network information as the local distribution network information when the local distribution network information is not detected;
and the second distribution network module is used for carrying out distribution network with the routing gateway according to the transmission distribution network information.
In one embodiment, the apparatus further comprises:
and the distribution network rejection module is used for executing the step of sending the distribution network request when the transmission distribution network information is not matched with the local distribution network information.
In one embodiment, the apparatus further comprises:
the distance measuring module is configured to obtain a separation distance according to the response signal, where the separation distance is a distance between the intelligent device and the terminal 110;
and the transmission information receiving module is used for receiving the transmission distribution network information through the Bluetooth connecting channel when the spacing distance is smaller than or equal to a preset distance.
In one embodiment, the first distribution network module 440 includes:
the distribution network request receiving unit is used for receiving a distribution network request, and the distribution network request carries a corresponding gateway address;
and the distribution network unit is used for sending the gateway password to the routing gateway for distribution network when illegal characters do not exist in the transmission distribution network information and the gateway address is matched with the connection address.
In one embodiment, referring to fig. 5, the present embodiment provides a distribution network apparatus, including:
a distribution network information obtaining module 510, configured to obtain transmission distribution network information;
a bluetooth connection request receiving module 520, configured to receive at least one distribution network request, where the distribution network request includes a bluetooth connection request and device information;
a response module 530, configured to generate a corresponding response signal according to each of the bluetooth connection requests;
the bluetooth connection module 540 is configured to send the response signal to the intelligent device corresponding to each piece of device information, and establish a bluetooth connection channel between the intelligent devices corresponding to each piece of device information;
and a distribution network information sending module 550, configured to send the transmission distribution network information to the intelligent devices corresponding to the device information through the bluetooth connection channel, so that each of the intelligent devices performs distribution network according to the transmission distribution network information.
FIG. 6 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 (or the smart device 120, or the server 130) in fig. 1. As shown in fig. 6, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the network distribution method. The internal memory may also have stored thereon a computer program that, when executed by the processor, causes the processor to perform a network distribution method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the distribution network apparatus provided by the present application can be implemented in the form of a computer program, and the computer program can be executed on a computer device as shown in fig. 6. The memory of the computer device may store various program modules constituting the distribution network apparatus, such as the broadcasting module 410, the response receiving module 420, the distribution network information receiving module 430, and the first distribution network module 440 shown in fig. 4. The computer program formed by the program modules enables the processor to execute the steps in the distribution network method of the embodiments of the application described in the specification.
The computer device shown in fig. 6 may perform sending a distribution network request including a bluetooth connection request through the broadcast module 410 in the distribution network apparatus shown in fig. 4. The computer device may perform receiving a response signal for establishing a bluetooth connection channel with the terminal 110 through the response receiving module 420. The computer device can receive and transmit the distribution network information through the bluetooth connection channel by the distribution network information receiving module 430. The computer device can execute, through the first distribution network module 440, when local distribution network information is detected and the transmission distribution network information matches the local distribution network information, a distribution network is performed according to the transmission distribution network information and a routing gateway, where the local distribution network information is distribution network information stored in the intelligent device.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request; receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with the terminal 110; receiving transmission distribution network information through the Bluetooth connection channel; and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment.
The processor executing the program stored in the memory may also implement the method steps to be implemented in any of the above embodiments.
In yet another embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and when the computer program runs on a computer, the computer program causes the computer to execute the distribution network method described in any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It is noted that, in this document, 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A network distribution method is applied to intelligent equipment and comprises the following steps:
sending a distribution network request, wherein the distribution network request comprises a Bluetooth connection request;
receiving a response signal, wherein the response signal is used for establishing a Bluetooth connection channel with a terminal;
receiving transmission distribution network information through the Bluetooth connection channel;
and when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, distributing the network according to the transmission distribution network information and a routing gateway, wherein the local distribution network information is the distribution network information stored in the intelligent equipment.
2. The method of claim 1, wherein after receiving the transmission network information, the method further comprises:
when the local distribution network information is not detected, taking the transmission distribution network information as the local distribution network information;
and carrying out distribution network according to the transmission distribution network information and the routing gateway.
3. The method of claim 2, wherein when the transmission distribution network information does not match the local distribution network information, the method further comprises:
and executing the step of sending the distribution network request.
4. The method of claim 1, wherein prior to receiving transmission network information, the method further comprises:
obtaining a spacing distance according to the response signal, wherein the spacing distance is the distance between the intelligent equipment and the terminal;
and when the spacing distance is smaller than or equal to a preset distance, receiving the transmission distribution network information through the Bluetooth connecting channel.
5. The method of claim 1, wherein the transmitting distribution network information comprises a connection address and a gateway password, and the distributing network with the routing gateway according to the transmitting distribution network information comprises:
receiving a distribution network request, wherein the distribution network request carries a corresponding gateway address;
and when illegal characters do not exist in the transmission distribution network information and the gateway address is matched with the connection address, sending the gateway password to the routing gateway for distribution network.
6. A network distribution method is applied to a terminal, and comprises the following steps:
acquiring transmission distribution network information;
receiving at least one distribution network request, wherein the distribution network request comprises a Bluetooth connection request and equipment information;
generating corresponding response signals according to the Bluetooth connection requests;
sending the response signal to the intelligent equipment corresponding to the equipment information, and establishing a Bluetooth connection channel between the intelligent equipment corresponding to the equipment information;
and sending the transmission distribution network information to the intelligent equipment corresponding to the equipment information through the Bluetooth connecting channel, and enabling the intelligent equipment to distribute the network according to the transmission distribution network information.
7. A network-distribution apparatus, the apparatus comprising:
the system comprises a broadcasting module, a distribution network module and a control module, wherein the broadcasting module is used for sending a distribution network request, and the distribution network request comprises a Bluetooth connection request;
the response receiving module is used for receiving a response signal, and the response signal is used for establishing a Bluetooth connection channel with the terminal;
the distribution network information receiving module is used for receiving and transmitting distribution network information through the Bluetooth connecting channel;
the first distribution network module is used for distributing a network according to the transmission distribution network information and the routing gateway when the local distribution network information is detected and the transmission distribution network information is matched with the local distribution network information, wherein the local distribution network information is distribution network information stored in the intelligent equipment.
8. A network-distribution apparatus, the apparatus comprising:
the distribution network information acquisition module is used for acquiring transmission distribution network information;
the device comprises a Bluetooth connection request receiving module, a Bluetooth connection request receiving module and a distribution network management module, wherein the Bluetooth connection request receiving module is used for receiving at least one distribution network request, and the distribution network request comprises a Bluetooth connection request and device information;
the response module is used for generating corresponding response signals according to the Bluetooth connection requests;
the Bluetooth connection module is used for sending the response signal to the intelligent equipment corresponding to the equipment information and establishing a Bluetooth connection channel between the intelligent equipment corresponding to the equipment information;
and the distribution network information sending module is used for sending the transmission distribution network information to the intelligent equipment corresponding to the equipment information through the Bluetooth connecting channel so as to enable the intelligent equipment to carry out distribution network according to the transmission distribution network information.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202011530054.0A 2020-12-22 2020-12-22 Network distribution method, device, computer equipment and storage medium Pending CN112637827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011530054.0A CN112637827A (en) 2020-12-22 2020-12-22 Network distribution method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011530054.0A CN112637827A (en) 2020-12-22 2020-12-22 Network distribution method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112637827A true CN112637827A (en) 2021-04-09

Family

ID=75320956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011530054.0A Pending CN112637827A (en) 2020-12-22 2020-12-22 Network distribution method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112637827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973352A (en) * 2021-10-18 2022-01-25 珠海格力电器股份有限公司 Network distribution method, network distribution system, electronic device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200015153A1 (en) * 2017-01-09 2020-01-09 Yun Ding Network Technology (Beijing) Co., Ltd. Method for smart device to access network, mobile terminal, cloud server, device, and system
CN110933733A (en) * 2019-10-14 2020-03-27 珠海格力电器股份有限公司 Network distribution method, device, computer equipment and storage medium
CN111479247A (en) * 2020-03-16 2020-07-31 珠海格力电器股份有限公司 Network distribution method and device, electronic equipment and computer readable medium
CN111866998A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Bluetooth network distribution method, equipment and storage medium
CN111954238A (en) * 2020-08-24 2020-11-17 珠海格力电器股份有限公司 Network distribution method, network distribution device and household appliance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200015153A1 (en) * 2017-01-09 2020-01-09 Yun Ding Network Technology (Beijing) Co., Ltd. Method for smart device to access network, mobile terminal, cloud server, device, and system
CN110933733A (en) * 2019-10-14 2020-03-27 珠海格力电器股份有限公司 Network distribution method, device, computer equipment and storage medium
CN111479247A (en) * 2020-03-16 2020-07-31 珠海格力电器股份有限公司 Network distribution method and device, electronic equipment and computer readable medium
CN111866998A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Bluetooth network distribution method, equipment and storage medium
CN111954238A (en) * 2020-08-24 2020-11-17 珠海格力电器股份有限公司 Network distribution method, network distribution device and household appliance

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973352A (en) * 2021-10-18 2022-01-25 珠海格力电器股份有限公司 Network distribution method, network distribution system, electronic device and computer storage medium

Similar Documents

Publication Publication Date Title
US20200034356A1 (en) Method, apparatus, device and storage medium for implementing application based on blockchain network
JP2022003772A (en) Wireless connection establishment method, apparatus, device, and storage medium
KR20120058581A (en) Device, method and related device for obtaining service content for personal network equipment
JP2000270007A (en) Network system, network server, and terminal device
CN111917758B (en) Method, device, computer equipment and storage medium for accessing Internet of things platform
CN107147945B (en) Multimedia resource playing system, method and device
US10372432B2 (en) Application installation package obtaining method, information broadcast method, mobile device, and base station
CN110933733B (en) Network distribution method, device, computer equipment and storage medium
WO2018107593A1 (en) Method and device for sharing file between different terminals
CN103167031A (en) Communication between Web applications
CN112910748B (en) Network distribution method, device, computer equipment and storage medium
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN111400777A (en) Network storage system, user authentication method, device and equipment
CN111479250A (en) File sharing method, device and system and terminal equipment
CN112770308A (en) Network distribution method and device of intelligent device, electronic device and computer readable medium
CN112637827A (en) Network distribution method, device, computer equipment and storage medium
CN110569127B (en) Virtual resource transferring, sending and obtaining method and device
CN103426029A (en) Reserve information control device, reserve information control device and reserve information control method
CN113114763A (en) Device function sharing method, device, terminal and storage medium
CN113596792A (en) Binding method and device of electronic equipment, storage medium and electronic device
CN113535431A (en) Service calling method and system
CN103678332A (en) System, browser and method for displaying page
CN110635934A (en) Remote management system and information processing method
CN105978853B (en) Session scheduling method, scheduling server and terminal
CN111586484B (en) Auxiliary screen system upgrading method, device and equipment of display 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: 20210409