CN113691935A - Network optimization method and device and electronic equipment - Google Patents

Network optimization method and device and electronic equipment Download PDF

Info

Publication number
CN113691935A
CN113691935A CN202110968378.0A CN202110968378A CN113691935A CN 113691935 A CN113691935 A CN 113691935A CN 202110968378 A CN202110968378 A CN 202110968378A CN 113691935 A CN113691935 A CN 113691935A
Authority
CN
China
Prior art keywords
sub
intelligent gateway
optimized
equipment
information
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
CN202110968378.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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202110968378.0A priority Critical patent/CN113691935A/en
Publication of CN113691935A publication Critical patent/CN113691935A/en
Priority to PCT/CN2022/105945 priority patent/WO2023024752A1/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/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a network optimization method, a network optimization device and electronic equipment, and relates to the technical field of communication, wherein a position label of a first intelligent gateway is obtained as first position information, and respective position labels of all sub-equipment connected with the first intelligent gateway are obtained as second position information, wherein the number of the second position information is multiple; if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, determining the sub-equipment to be optimized from all the sub-equipment; and determining a second intelligent gateway corresponding to the sub-equipment to be optimized, transferring the sub-equipment to be optimized from the first intelligent gateway to the second intelligent gateway, and realizing automatic optimization of network communication capacity through automatic transfer of the sub-equipment, thereby improving timeliness, stability and disaster tolerance of network communication.

Description

Network optimization method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network optimization method and apparatus, and an electronic device.
Background
The ZigBee protocol ZigBee, bluetooth, 6LOWPAN, Wireless Fidelity (WIFI for short), and other communication technologies have the characteristics of low power consumption, short distance, low speed, and low cost, and are generally used in a small-range space to construct a network, such as a home, a hotel, an office building, a factory, and other scenes. With the popularity of the internet of things and smart homes, more and more sub-devices (such as switches, sensors, lamps and the like) are activated in the above scenes, and in order to break through the number and coverage of single network devices, multiple gateways are generally used for cascading, and multiple sub-devices are mounted under the same gateway. However, in the prior art, after the sub-devices under the gateway are connected, when the communication capability of the sub-devices is poor, the communication link of the sub-devices is not updated, so that the communication capability of the network is not optimized.
Disclosure of Invention
In view of the above problems, the present application provides a network optimization method, an apparatus and an electronic device, which can solve the above problems.
In a first aspect, an embodiment of the present application provides a network optimization method, where the method includes: acquiring a position label of a first intelligent gateway as first position information; acquiring respective position labels of all the sub-devices connected with the first intelligent gateway as second position information, wherein the number of the second position information is multiple; if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, determining to-be-optimized sub-equipment from all the sub-equipment; and determining a second intelligent gateway corresponding to the to-be-optimized sub-equipment, and migrating the to-be-optimized sub-equipment from the first intelligent gateway to the second intelligent gateway.
In a second aspect, an embodiment of the present application provides a network optimization apparatus, where the apparatus includes: the first location information acquisition module is used for acquiring a location tag of the first intelligent gateway as first location information; a second location information obtaining module, configured to obtain location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple; the determining module is used for determining the sub-equipment to be optimized from all the sub-equipment if second position information which is not matched with the first position information exists in the plurality of pieces of second position information; and the migration module is used for determining a second intelligent gateway corresponding to the to-be-optimized sub-device and migrating the to-be-optimized sub-device from the first intelligent gateway to the second intelligent gateway.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the above-described method.
According to the network optimization method, the network optimization device and the electronic equipment, the position label of the first intelligent gateway is obtained to serve as first position information, the position labels of all sub-equipment connected with the first intelligent gateway are obtained to serve as second position information, and the number of the second position information is multiple; if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, determining the sub-equipment to be optimized from all the sub-equipment; and determining a second intelligent gateway corresponding to the sub-equipment to be optimized, transferring the sub-equipment to be optimized from the first intelligent gateway to the second intelligent gateway, and realizing automatic optimization of network communication capacity through automatic transfer of the sub-equipment, thereby improving timeliness, stability and disaster tolerance of network communication.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1(a) (b) shows a block diagram of a network optimization system provided by an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a network optimization method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a network optimization method according to another embodiment of the present application;
fig. 4 shows a flow chart of step S230 of the network optimization method shown in fig. 3 of the present application;
fig. 5 is a schematic flow chart illustrating a network optimization method according to another embodiment of the present application;
fig. 6 is a schematic flow chart illustrating a network optimization method according to another embodiment of the present application;
fig. 7 is a schematic flow chart illustrating a network optimization method according to another embodiment of the present application;
fig. 8 is a block diagram illustrating a network optimization apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for executing a network optimization method according to an embodiment of the present application;
fig. 10 illustrates a storage unit for storing or carrying program codes for implementing a network optimization method according to an embodiment of the present application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the 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. .
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the 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.
The personal area network communication technologies such as ZigBee, BLE, 6LOWPAN, WIFI have the characteristics of low power consumption, short distance, low speed and low cost, and are generally used in small-range spaces to establish networks, such as families, hotels, office buildings, factories and other scenes. With the popularity of the internet of things and smart homes, more and more sub-devices (such as switches, sensors, lamps and the like) are activated in the above scenes, and in order to break through the number and coverage of single network devices, multiple gateways are generally used for cascading, and multiple sub-devices are mounted under the same gateway. However, in the prior art, after the sub-devices under the gateway are connected, when the communication capability of the sub-devices is poor, the communication link of the sub-devices is not updated, so that the communication capability of the gateway is not optimized.
Moreover, although the technical development route is generally applied, the complexity of the wireless Mesh network construction is greatly improved, the relationship between the sub-devices and the gateways in the network topology needs to be designed in advance, the sub-devices and the gateways need to be constructed according to an appointed sequence when the network is constructed, a plurality of gateways cannot start networking at the same time, and otherwise, an expected network topology cannot be formed. In addition, in order to quickly complete the networking action, the sub-device is in a free networking state once being powered on, the sub-device can automatically join the network as long as any gateway in a signal coverage range starts networking permission, the subrelationship between the sub-device and the gateway is difficult to determine or specify, inconvenience is brought to field construction or maintenance, networking is long in time, and errors are easy to occur. Usually, in order to save networking time, an installer opens a gateway networking function at the same time, and any sub-device is allowed to freely perform networking, so that hidden dangers are buried for timeliness, stability, disaster tolerance capability and the like of later-stage network communication although normal use of a client is not affected.
In view of the above technical problems, the inventors have found and proposed a network optimization method, device and electronic device through long-term research, where a location tag of a first intelligent gateway is obtained as first location information, and location tags of all sub-devices connected to the first intelligent gateway are obtained as second location information, where the number of the second location information is multiple; if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, determining the sub-equipment to be optimized from all the sub-equipment; the method comprises the steps of determining a second intelligent gateway corresponding to the sub-equipment to be optimized, transferring the sub-equipment to be optimized from the first intelligent gateway to the second intelligent gateway, achieving automatic optimization of network communication capacity through automatic transfer of the sub-equipment, improving timeliness, stability and disaster tolerance of network communication, transferring the sub-equipment to the corresponding second intelligent gateway, enabling the sub-equipment to belong to the corresponding intelligent gateway, ensuring the subordination relationship between the sub-equipment and the gateway, and bringing convenience to later-stage construction and maintenance. The specific network optimization method is specifically described in the following embodiments.
For the convenience of understanding the following method, this embodiment first shows a possible implementation manner of a network optimization system, please refer to fig. 1(a), the network optimization system includes a server 1, a first intelligent gateway 2, a second intelligent gateway 3, a first sub-device 4, a second sub-device 5, a third sub-device 6, a fourth sub-device 7, and a fifth sub-device 8. The server 1 is respectively connected with the first intelligent gateway 2 and the second intelligent gateway 3, and the first intelligent gateway 2 and the second intelligent gateway 3 are communicated through the server 1; the first sub-device 4, the second sub-device 5, the third sub-device 6 and the fourth sub-device 7 belong to the first intelligent gateway 2, and together with the first intelligent gateway 2, form a sub-network, which may be a Mesh sub-network, for example, the first sub-device 4, the second sub-device 5 and the third sub-device 6 are respectively connected to the first intelligent gateway 2, and the fourth sub-device 7 is connected to the first intelligent gateway 2 through the first sub-device 4; the fifth sub-device 7 belongs to the second intelligent gateway 3, and the fifth sub-device 7 and the second intelligent gateway 3 together form a sub-network, which may be a Mesh sub-network, for example. Here, the server, the intelligent gateway, and the kid device have completed fast networking.
When the network is optimized, when the fourth sub-device 7 is a sub-device to be optimized, the fourth sub-device 7 is migrated from the first intelligent gateway 1 to the second intelligent gateway 2, and the migrated network is as shown in fig. 1 (b).
The server 1 may be a cloud server, or may be a server pre-deployed in a local area, which is not limited herein. The first intelligent gateway 2 and the second intelligent gateway 3 may be independent intelligent gateways or may be intelligent control panels having gateway functions.
It should be noted that the network optimization system is not limited to the 2 intelligent gateways, and may also include more intelligent gateways, for example, 3, 4, 5, etc. The sub-devices under each intelligent gateway are not limited to 1 or 4, but may be more or less sub-devices, such as 2, 5, 7, etc.
The server manages and controls the intelligent gateways, all the gateways backup data to the server, and the version number of the data is the first version number. As an implementation manner, the plurality of intelligent gateways have a cascade relationship, that is, one of the plurality of intelligent gateways is a master gateway, and the remaining intelligent gateways are slave gateways, and when the server exits the network or resources of the server are used for processing other events, at this time, the master gateway may manage and control all the slave gateways. For example, when network optimization is confirmed, the master gateway determines the sub-devices to be optimized in all the sub-networks, controls the sub-devices to be optimized to migrate, meanwhile, stores new self data and data actively backed up to the master gateway by the slave gateway, when the server re-links to the network or processes other events, the master gateway synchronizes the new data to the server, the server compares the data stored in the server with the data synchronized with the master gateway, if differential data exists between the two, namely, the data stored in the server before is updated based on the data synchronized with the master gateway, otherwise, the data in the server does not need to be updated. As an implementation manner, after storing new self data and data actively backed up by a gateway to a main gateway, a main gateway determines that the version number of the data is a second version number, the main gateway synchronizes the data with the second version number to a server, the version number of the data stored by the server is a first version number, the server compares the first version number with the second version number of the data synchronized by the main gateway, if the first version number is the same as the second version number, it is determined that when the server exits from a network or processes other events, all the data of the gateway are not updated, and in order to avoid that repeated data occupy a memory of the server, the data with the first version number or the data with the second version number are deleted; if the first version number is different from the second version number, the data of the gateway is updated, the data corresponding to the first version number is deleted, and the data of the second version number is stored, so that the problem that the server cannot control the intelligent gateway is prevented.
Fig. 2 shows a flowchart of a network optimization method provided in an embodiment of the present application, for implementing the optimization processes in fig. 1(a) to fig. 1(b), in a specific embodiment, the network optimization method is applied to the network optimization system, the server 1 or the first intelligent gateway 2 shown in fig. 1, the network optimization device 100 shown in fig. 8, and the electronic device 200 configured with the network optimization device 100 shown in fig. 9. The present embodiment will explain a specific flow of the present embodiment by taking an example in which the network optimization method is applied to the server 1. As will be described in detail with respect to the flow shown in fig. 2, the network optimization method may specifically include the following steps:
step S110, obtaining the position label of the first intelligent gateway as the first position information.
Different position labels are calibrated for different rooms or floors in advance according to the actual positions of the rooms or the floors, and the corresponding position label is obtained as first position information according to the position of the first intelligent gateway. Optionally, the first location information may include a floor, e.g., 10F, 15F, etc., and the first location information may also include a room number or room attribute, e.g., room numbers 301, 302, etc., and the room attribute is home, living room, kitchen, study, etc.
In one embodiment, after receiving the network optimization instruction, the step of performing network optimization is performed to obtain the location tag of the first intelligent gateway as the first location information. The network optimization instruction may be manually triggered by a user, or may be automatically generated when a location of the plurality of sub-devices changes, or may be automatically triggered according to a preset time interval.
Step S120, obtaining respective location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple.
The first intelligent gateway is connected with a plurality of sub-devices, and the first intelligent gateway and the sub-devices connected with the first intelligent gateway jointly form a sub-network, for example, the formed sub-network is a Mesh sub-network. And acquiring the respective position labels of all the sub-devices below the first intelligent gateway as second position information according to the respective positions of all the sub-devices. Likewise, the second location information may include a floor, e.g., 10F, 15F, etc., and the second location information may also include a room number, e.g., 301, 407, etc.
Step S130, if there is second location information that does not match the first location information in the plurality of second location information, determining the sub-device to be optimized from all the sub-devices.
If each piece of second location information in the plurality of pieces of second location information matches the first location information, on the premise that the subordinate relationship between the sub-device and the first intelligent gateway is established according to the location information, the subordinate relationship between all the sub-devices and the first intelligent gateway is reasonable, that is, all the sub-devices subordinate to the first intelligent gateway are located in the same area as the first intelligent gateway, and the communication performance of the Mesh sub-network corresponding to the first intelligent gateway can be generally defaulted to be good.
It should be noted that the subordination relationship between the child device and the first intelligent gateway is established according to the location information, that is, the child devices in the same area are subordinate to the intelligent gateway in the area according to the location information of the plurality of child devices and the location information of the first intelligent gateway.
If there is second location information that does not match the first location information in the plurality of second location information, the association relationship between the sub-device and the first intelligent gateway may be unreasonable, for example, there is a sub-device with a changed location in the sub-network, and for example, the sub-device under the first intelligent gateway may be located at a position far away from the first intelligent gateway.
In one embodiment, when the second location information is the same as the first location information, the first location information and the second location information are considered to match, i.e., the kid device and the first intelligent gateway are in the same floor or the same room. For example, when the first location information is floor 15F and the second location information is floor 15F, it is determined that the first location information matches the second location information; for another example, when the first location information is the room number 303 and the second location information is the room number 303, it is determined that the first location information matches the second location information.
Otherwise, when the first position information is not the same as the second position information, the first position information and the second position information are not matched. For example, when the first location information is floor 13F and the second location information is floor 15F, it is determined that the first location information does not match the second location information; for another example, when the first location information is the room number 303 and the second location information is the room number 305, it is determined that the first location information does not match the second location information.
And when the Mesh sub-network corresponding to the first intelligent gateway is determined to be the sub-network to be optimized, determining the sub-device to be optimized from all the sub-devices in the sub-network. In an embodiment, the sub-device in the second position information of the plurality of sub-devices, which does not match the first position information, is used as the sub-device to be optimized, and the sub-device to be optimized is optimized, so that the optimization of the sub-network can be quickly realized.
In another embodiment, the sub-device whose second location information does not match the first location information is used as the candidate sub-device, and among the candidate sub-devices, the sub-device whose communication capability is not good is determined as the sub-device to be optimized.
In another embodiment, after determining that the sub-device whose second location information does not match the first location information is set as the candidate sub-device, determining whether there is an intelligent gateway whose first location information matches the second location information of the candidate sub-device, if so, using the candidate sub-device as the sub-device to be optimized, and if not, determining that the candidate sub-device does not need to be optimized.
Step S140, determining a second intelligent gateway corresponding to the sub-device to be optimized, and migrating the sub-device to be optimized from the first intelligent gateway to the second intelligent gateway.
And determining a second intelligent gateway in all the sub-networks, and as a mode, acquiring the position information corresponding to each of the plurality of intelligent gateways, and determining the intelligent gateway of which the position information is matched with the second position information of the sub-equipment to be optimized as the second intelligent gateway in the plurality of intelligent gateways.
In one embodiment, a second intelligent gateway corresponding to the to-be-optimized sub-device is determined, the to-be-optimized sub-device is directly migrated from the first intelligent gateway to a next second intelligent gateway, and after migration is finished, the to-be-optimized sub-device belongs to the second intelligent gateway. And the position information corresponding to the second intelligent gateway is matched with the second position information for determining the sub-equipment to be optimized.
In another embodiment, the second intelligent gateway corresponding to the sub-device to be optimized is determined. The prompt message "please confirm whether to perform network optimization" may be displayed, and a migration selection control may be displayed, where the migration selection control is an interactive control for a user to perform migration confirmation input, and optionally, the migration selection control is displayed on a control panel of the first intelligent gateway, or the migration selection control is displayed on an electronic device such as a computer or a mobile terminal of the user. And when a migration instruction triggered based on a migration selection control is received, migrating the to-be-optimized sub-equipment from the first intelligent gateway to the second intelligent gateway.
Optionally, when a second intelligent gateway corresponding to the to-be-optimized sub-device has a fault, the user may manually migrate the to-be-optimized sub-device to the first intelligent gateway, so that the migration selection control is displayed, the migration omission control is also displayed, and when the user receives an omission instruction triggered based on the migration omission control, the connection relationship between the to-be-optimized sub-device and the first intelligent gateway is maintained, so that the to-be-optimized sub-device can smoothly enter the network.
According to the network optimization method provided by the embodiment, when it is judged that second position information which is not matched with first position information corresponding to a first intelligent gateway exists in second position information corresponding to a plurality of sub-devices, the sub-devices to be optimized are determined from all the sub-devices, then the sub-devices to be optimized are automatically migrated from the first intelligent gateway to a second intelligent gateway, and automatic optimization of network communication capacity is achieved through automatic migration of the sub-devices, so that the gateways and the corresponding sub-devices are more convenient to manage, and therefore timeliness and stability of network communication are improved.
Optionally, fig. 3 shows a schematic flow chart of a network optimization method according to another embodiment of the present application, please refer to fig. 3, where the network optimization method specifically includes the following steps:
step S210, obtaining the position label of the first intelligent gateway as first position information.
Step S220, obtaining respective location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple.
For the detailed description of steps S210 to S220, refer to steps S110 to S120, which are not described herein again.
Step S230, if there is second location information that does not match the first location information in the plurality of pieces of second location information, taking the sub-device whose location information does not match among all the sub-devices as the sub-device to be optimized.
If second position information which is not matched with the first position information exists in the plurality of second position information, the sub-equipment which is not matched with the position information in all the sub-equipment is used as the sub-equipment to be optimized, on one hand, only the sub-equipment to be optimized is optimized, the efficiency of network optimization can be improved, on the other hand, the sub-equipment which is not matched with the position information is subjected to migration optimization, all the equipment is adjusted to be connected with the gateway which is consistent with the position information, a sub-network is constructed, the disaster tolerance capability of the whole environment can be improved, namely, when the gateway fails, only the control operation of the equipment corresponding to the position information can be influenced, and the control of other equipment cannot be interfered.
In one embodiment, fig. 4 shows a flowchart of step S230 of the network optimization method shown in fig. 3, please refer to fig. 4, where step S230 includes the following sub-steps:
and a substep S231, if there is the second location information that does not match the first location information in the plurality of second location information, taking the sub-device whose location information does not match among all the sub-devices as a candidate sub-device.
If there is second location information that does not match the first location information, the non-matching sub-device of all the sub-devices is taken as an alternative sub-device, and it can be understood that the alternative sub-device may be a sub-device that needs to be optimized, and may be a sub-device that does not need to be optimized. The number of the alternative sub-devices may be one or more.
And a substep S232, obtaining device information of the candidate sub-device, wherein the device information includes sub-network information, or sub-network information and location matching information.
Optionally, the sub-network information comprises signal strength, and/or a link layer level, and/or a number of sub-devices. Wherein the signal strength may characterize the ability of the alternative sub-devices in the sub-network to receive the signal, for example, a signal strength of-30 dbm (signal strength units, decibels in milliwatt). The link level characterizes the distance of the candidate device from the first intelligent gateway in the sub-network, for example, the link level may be 2, i.e., the candidate device is connected to the first intelligent gateway through one of the sub-devices. The number of the sub-devices represents the total number of the sub-devices in the sub-network in which the candidate device is located, as shown in fig. 1, the number of the sub-devices in the Mesh sub-network corresponding to the first intelligent gateway is 4, and the number of the sub-devices in the Mesh sub-network corresponding to the second intelligent gateway is 1.
And a substep S233, calculating the evaluation value of the candidate sub-device in the sub-network according to the device information.
And the number of the equipment information is multiple, the weight corresponding to each of the multiple pieces of equipment information is obtained, and the evaluation value of the candidate sub-equipment in the sub-network to which the candidate sub-equipment belongs is calculated according to each piece of equipment information and the weight corresponding to each equipment information.
In one embodiment, when the device information includes sub-network information, and the sub-network information includes signal strength, link layer number and sub-device number, obtaining sub-scores corresponding to the signal strength, the link layer number and the sub-device number, for example, pre-setting sub-scores corresponding to the signal strengths in different intervals, obtaining sub-scores in the interval where the signal strength of the corresponding sub-device is located when the signal strength is obtained, pre-setting different sub-scores for different link layer numbers, obtaining sub-scores corresponding to the link layer numbers of the sub-devices, pre-setting sub-scores corresponding to the sub-device number, and obtaining sub-scores corresponding to the device number of the sub-network where the sub-device is located; then acquiring a first weight corresponding to the sub-score of the signal intensity, a second weight corresponding to the sub-score of the link layer level and a third weight corresponding to the sub-score of the sub-equipment number; and calculating the sum of the three products according to the product of the sub-score of the signal strength and the first weight, the product of the sub-score of the link layer level and the second weight, and the product of the sub-score of the number of the sub-devices and the third weight to obtain the evaluation value of the sub-devices in the current sub-network.
In another embodiment, when the device information includes sub-network information and position matching information, and the sub-network information includes signal strength, link level, and number of sub-devices, sub-scores corresponding to the signal strength, the link level, the number of sub-devices, and the number of sub-devices are obtained, where the sub-scores corresponding to the plurality of position matching information are preset, and the sub-scores corresponding to the sub-devices are obtained when the position matching information of the sub-devices is obtained, where the first position information is floor 7 and the second position information is floor 8, and the position matching information indicates that two positions are not matched and a floor differs by floor, and the corresponding sub-scores are obtained; then acquiring a first weight corresponding to the sub-score of the signal strength, a second weight corresponding to the sub-score of the link layer level, a third weight corresponding to the sub-score of the sub-device number and a fourth weight corresponding to the sub-score of the position matching information; and calculating the sum of the four products according to the product of the sub-scores of the signal strength and the first weight, the product of the sub-scores of the link layer series and the second weight, the product of the sub-scores of the number of the sub-devices and the third weight, and the product of the sub-scores of the position matching information and the fourth weight to obtain the evaluation value.
And a substep S234 of screening out the sub-equipment with the evaluation value smaller than a preset threshold value from the candidate sub-equipment as the sub-equipment to be optimized.
When the number of the candidate sub-devices is multiple, correspondingly, the number of the obtained evaluation values is also multiple, and when the evaluation values smaller than the preset threshold exist in the multiple evaluation values, the candidate sub-device corresponding to the evaluation value serves as the sub-device to be optimized, it can be understood that the position where the sub-device to be optimized is located does not match the position where the first intelligent gateway is located, the distance between the two may be far, and the communication capability of the sub-device to be optimized is poor, so that the sub-device to be optimized is migrated. And if the evaluation value is larger than the preset threshold value, the position of the candidate device corresponding to the evaluation value may be different from the position of the first intelligent gateway, but the communication capability of the candidate device is still available, so that the candidate device is not optimized.
Step S240, determining a second intelligent gateway corresponding to the sub-device to be optimized, and migrating the sub-device to be optimized from the first intelligent gateway to the second intelligent gateway.
For a detailed description of step S240, please refer to step S140, which is not described herein.
In the network optimization method provided in this embodiment, when it is determined that there is second location information that does not match the first location information corresponding to the first intelligent gateway in the second location information corresponding to the multiple sub-devices, the sub-device whose location does not match is determined as the candidate sub-device, it can be understood that, the location of the alternative device is different from the location of the first intelligent gateway, and the distance between the alternative device and the first intelligent gateway may be longer, and then the evaluation value of the alternative sub-device is obtained, for the alternative sub-equipment with the evaluation value smaller than the preset threshold value as the sub-equipment to be optimized, it can be understood that the communication capacity of the sub-equipment to be optimized is poor, the sub-equipment to be optimized with poor communication capacity is transferred to the second intelligent gateway, the optimization of the network is completed, the network performance is improved, and the spare sub-equipment with better communication capability and with the evaluation value larger than the preset value is prevented from being migrated, so that the waste of computing resources is avoided.
Optionally, fig. 5 shows a schematic flow chart of a network optimization method according to another embodiment of the present application, please refer to fig. 5, where the network optimization method specifically includes the following steps:
and step S310, acquiring the position label of the first intelligent gateway as first position information.
Step S320, obtaining respective location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple.
Step S330, if there is second location information that does not match the first location information in the plurality of second location information, determining the sub-device to be optimized from all the sub-devices.
For the detailed description of steps S310 to S330, refer to steps S110 to S130, which are not described herein again.
And step S340, acquiring the equipment identifier of the sub-equipment to be optimized.
Alternatively, the device Identifier may be a Media Access Control Address (MAC), a Universal Unique Identifier (UUID), or the like.
And step S350, sending the equipment identifier to the second intelligent gateway to indicate that the second intelligent gateway is connected with the to-be-optimized sub-equipment.
And sending the equipment identifier to the second intelligent gateway to indicate the second intelligent gateway to be connected with the to-be-optimized sub-equipment corresponding to the equipment identifier so as to complete network migration.
In one embodiment, during network migration, the first intelligent gateway collects the device identifier of the sub-device to be optimized. The device identification is sent to a second intelligent gateway through a server, a virtual sub device to be optimized is added under the second intelligent gateway, the parameter of the virtual sub device to be optimized is consistent with the parameter of the sub device to be optimized, the second intelligent gateway stores the device identification into a white list of the second intelligent gateway, a networking mode of the white list is opened, and the second intelligent gateway can receive the added sub device under the networking mode. The first intelligent gateway indicates the to-be-optimized sub-device to be connected with the second intelligent gateway, releases the to-be-optimized sub-device, and restores the released to-be-optimized sub-device to the networking state. And the sub-equipment to be optimized sends a networking request to the second intelligent gateway, wherein the networking request carries the equipment identification of the sub-equipment to be optimized. And the second intelligent gateway judges that the equipment identifier carried in the networking request is the same as the equipment identifier in the white list, allows the sub-equipment to be optimized to access the network, configures the sub-equipment to be optimized according to the parameters, and completes the network migration of the sub-equipment to be optimized.
It should be noted that, when the to-be-optimized sub-device is migrated and the first intelligent gateway releases the to-be-optimized sub-device, the parameter information of the to-be-optimized sub-device stored in the first intelligent gateway may be deleted, so that the available memory in the first intelligent gateway is increased. Or, when the to-be-optimized sub-device is migrated to the second intelligent gateway, the server or the to-be-optimized sub-device feeds back an instruction of migration completion to the first intelligent gateway, the first intelligent gateway deletes the stored parameter information of the to-be-optimized sub-device after receiving the instruction, and if the instruction of migration completion is not received within a preset time period, the first intelligent gateway sends the parameter information to the second intelligent gateway again until the instruction of migration completion is received, so that the to-be-optimized sub-device can be smoothly migrated to the second intelligent gateway, and the available memory of the first intelligent gateway can be timely released.
According to the network optimization method provided by the embodiment, the device identifier of the sub-device to be optimized is obtained and sent to the second intelligent gateway, and the second intelligent gateway is connected with the sub-device to be optimized according to the device identifier, so that the sub-device to be optimized can be enabled to access the network again, and network optimization is achieved.
Optionally, fig. 6 shows a schematic flow chart of a network optimization method provided in another embodiment of the present application, please refer to fig. 6, where the network optimization method specifically includes the following steps:
and S410, acquiring the position label of the first intelligent gateway as first position information.
Step S420, obtaining respective location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple.
Step S430, if there is second location information that does not match the first location information in the plurality of second location information, determining the sub-device to be optimized from all the sub-devices.
Step S440, determining a second intelligent gateway corresponding to the sub-device to be optimized, and migrating the sub-device to be optimized from the first intelligent gateway to the second intelligent gateway.
For detailed description of steps S410 to S430, please refer to steps S110 to S140, which are not described herein again.
Step S450, after the sub-device to be optimized is migrated to the second intelligent gateway, whether the migration operation is effective migration is judged.
After the to-be-optimized sub-equipment is migrated to the second intelligent gateway, judging whether migration operation is effective migration or not in order to check a result after network optimization, namely to check whether the position information of the to-be-optimized sub-equipment is matched with the position information of the second intelligent gateway or whether the network condition of the migrated to-be-optimized sub-equipment is good or not after the to-be-optimized sub-equipment is migrated to the second intelligent gateway, and determining that network optimization is finished when the network optimization is effective migration; alternatively, when the migration operation is not the active migration, the following step S460 is performed.
In one embodiment, an evaluation value of a Mesh sub-network belonging to a second intelligent gateway after the optimized sub-device is migrated to the second intelligent gateway may be calculated, and in one embodiment, when the evaluation value is smaller than a preset threshold, it is determined that the migration operation is invalid and the sub-device to be optimized needs to continue to be migrated; and when the evaluation value is greater than a preset threshold value, the migration operation is considered as effective migration, and the network optimization is determined to be finished. In another embodiment, the evaluation value of this embodiment is compared with the evaluation value before the migration of the embodiment, and when the evaluation value of this embodiment is smaller than the evaluation value in the embodiment, it is determined that the network condition of the sub-device to be optimized is not improved after the migration, the migration is an invalid migration, and the sub-device to be optimized needs to continue to migrate (for example, migrate back to the previous sub-network or migrate to another sub-network); when the evaluation value of the embodiment is greater than the evaluation value in the embodiment, it is considered that the network condition is promoted after the migration of the sub-device to be optimized, the migration operation is effective migration, and the network optimization is determined to be finished.
Optionally, in this embodiment, the evaluation value of the Mesh sub-network belonging to the second intelligent gateway is calculated in a manner similar to that of the evaluation value in the previous embodiment, and details thereof are not repeated herein.
In another embodiment, the location tag of the second intelligent gateway is obtained as third location information, and when the second location information is not matched with the third location information, the migration operation is considered as invalid migration and the sub-device to be optimized needs to continue to migrate; and when the second position information is matched with the third position information, the migration operation is considered as effective migration, and the network optimization is finished.
Step S460, if not, re-determining the target gateway corresponding to the to-be-optimized sub-device, and executing the migration operation.
The specific steps for executing the migration operation are similar to steps S110 to S140, and are not described herein again.
According to the network optimization method provided by the embodiment, after the to-be-optimized sub-device is migrated from the sub-network belonging to the first intelligent gateway to the sub-network belonging to the second intelligent gateway, when the migration is judged to be invalid, the to-be-optimized sub-device is in the sub-network belonging to the second intelligent gateway, the communication capacity is still poor, the to-be-optimized sub-device is continuously migrated until the migration is valid, and finally, the automatic optimization of the network is realized, the communication capacity of the to-be-migrated intelligent gateway is improved, and the timeliness and the stability of the whole network communication are ensured.
Optionally, fig. 7 shows a schematic flow diagram of a network optimization method according to another embodiment of the present application, please refer to fig. 7, where the network optimization method specifically includes the following steps:
step S510, a position label of the first intelligent gateway is obtained to serve as first position information.
Step S520, obtaining respective location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple.
Step S530, if there is second location information that does not match the first location information in the plurality of pieces of second location information, determining the sub-device to be optimized from all the sub-devices.
And S540, determining a second intelligent gateway corresponding to the to-be-optimized sub-device, and migrating the to-be-optimized sub-device from the first intelligent gateway to the second intelligent gateway.
And step S550, acquiring the configuration information of the to-be-optimized sub-equipment.
The method comprises the steps of obtaining configuration information of the to-be-optimized sub-equipment, wherein the configuration information is used for configuring parameters, working states and the like of the to-be-optimized sub-equipment, for example, the to-be-optimized sub-equipment is intelligent air conditioning equipment, and the intelligent air conditioning equipment is configured to be closed at 8:00 according to the configuration information.
In an embodiment, the configuration information may be obtained from the to-be-optimized sub-device, specifically, the to-be-optimized sub-device sets and stores the configuration information, the to-be-optimized sub-device sends the configuration information to the first intelligent gateway, and the configuration information is forwarded to the server through the first intelligent gateway.
In another embodiment, the configuration information may be obtained from the first intelligent gateway, specifically, the user configures the to-be-optimized sub-device and generates the configuration information, the to-be-optimized sub-device sends the generated configuration information to the first intelligent gateway for storage, and the first intelligent gateway controls the to-be-optimized sub-device according to the configuration information. The server may obtain the configuration information from a storage location of the first intelligent gateway.
Optionally, in addition to the configuration information, application data, history records, etc. of the sub-device to be optimized may be obtained.
Step S560, sending the configuration information to the second intelligent gateway to instruct the second intelligent gateway to configure the to-be-optimized sub-device according to the configuration information.
And the configuration information is sent to the second intelligent gateway, and the second intelligent gateway configures the sub-equipment to be optimized according to the configuration information, so that the function after the sub-equipment to be optimized is transferred is ensured to be normal.
Optionally, the second intelligent gateway may also configure the sub-device to be optimized according to the application data and the history record, so as to ensure that the information originally set by the sub-device to be optimized is not changed and the normal use of the sub-device to be optimized is not affected after the migration.
According to the network optimization method provided by the embodiment, when the to-be-optimized sub-equipment is migrated from the first intelligent gateway to the second intelligent gateway, the second intelligent gateway configures the to-be-optimized sub-equipment according to the configuration information sent by the first intelligent gateway, so that after the network migration, when the to-be-optimized sub-equipment belongs to the second intelligent gateway, the original functions can still be executed, and the to-be-optimized sub-equipment can normally work.
To implement the foregoing method class embodiments, this embodiment provides a network optimization device, fig. 8 shows a block diagram of the network optimization device according to an embodiment of the present application, and referring to fig. 8, a network optimization device 100 includes: a first location information acquisition module 110, a second location information acquisition module 120, a determination module 130, and a migration module 140.
A first location information obtaining module 110, configured to obtain a location tag of a first intelligent gateway as first location information;
a second location information obtaining module 120, configured to obtain location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple;
a determining module 130, configured to determine a to-be-optimized sub-device from all the sub-devices if there is second location information that does not match the first location information in the plurality of second location information;
the migration module 140 is configured to determine a second intelligent gateway corresponding to the to-be-optimized sub-device, and migrate the to-be-optimized sub-device from the first intelligent gateway to the second intelligent gateway.
Optionally, the determining module 130 includes: a sub-module is determined.
And the determining submodule is used for taking the sub-equipment with unmatched position information in all the sub-equipment as the sub-equipment to be optimized if the second position information which is unmatched with the first position information exists in the plurality of pieces of second position information.
Optionally, the determining sub-module comprises: the device comprises an alternative sub-device determining sub-module, a device information obtaining sub-module, an evaluation value operator module and a sub-device to be optimized determining sub-module.
The candidate sub-device determining sub-module is configured to, if the second location information that does not match the first location information exists in the plurality of pieces of second location information, use a sub-device that does not match the location information in all the sub-devices as a candidate sub-device;
the device information acquisition sub-module is used for acquiring the device information of the alternative sub-devices, wherein the device information comprises sub-network information, or the sub-network information and the position matching information;
the evaluation value operator module is used for calculating the evaluation value of the alternative sub-equipment in the sub-network according to the equipment information;
and the to-be-optimized sub-device determining sub-module is used for screening out the sub-devices with the evaluation values smaller than a preset threshold value from the alternative sub-devices to serve as the to-be-optimized sub-devices.
Optionally, the sub-network information comprises signal strength, and/or a link layer level, and/or a number of sub-devices.
Optionally, the migration module 140 includes: the device identification acquisition sub-module and the first migration sub-module.
The device identifier obtaining submodule is used for obtaining the device identifier of the to-be-optimized sub-device;
and the first migration submodule is used for sending the equipment identifier to the second intelligent gateway so as to indicate that the second intelligent gateway is connected with the to-be-optimized sub-equipment.
Optionally, the network optimization device 100 further includes: the device comprises a configuration information acquisition module and a configuration module.
The configuration information acquisition module is used for acquiring the configuration information of the to-be-optimized sub-equipment;
and the configuration module is used for sending the configuration information to the second intelligent gateway so as to instruct the second intelligent gateway to configure the sub-equipment to be optimized according to the configuration information.
Optionally, the network optimization device 100 further includes: a migration judging module and a re-migration module.
The migration judging module is used for judging whether the migration operation is effective migration or not after the to-be-optimized sub-equipment is migrated to the second intelligent gateway;
and the re-migration module is used for re-determining the target gateway corresponding to the to-be-optimized sub-device and executing the migration operation if the target gateway is not determined to be the to-be-optimized sub-device.
Optionally, the migration module 140 includes: the migration target determination submodule, the display submodule and the second migration submodule.
The migration target determining submodule is used for determining the second intelligent gateway corresponding to the to-be-optimized sub-device;
the display sub-module is used for displaying the migration selection control;
and the second migration submodule is used for migrating the to-be-optimized sub-equipment from the first intelligent gateway to the second intelligent gateway when a migration instruction triggered based on the migration selection control is received.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Fig. 9 is a block diagram of an electronic device for executing a network optimization method according to an embodiment of the present application, and please refer to fig. 9, which shows a structural block diagram of an electronic device 200 according to an embodiment of the present application. The electronic device 200 may be an electronic device capable of running an application, such as a smart phone, a tablet computer, an intelligent gateway, and an intelligent control panel. The electronic device 200 in the present application may include one or more of the following components: a processor 210, a memory 220, and one or more applications, wherein the one or more applications may be stored in the memory 220 and configured to be executed by the one or more processors 210, the one or more applications configured to perform a method as described in the aforementioned method embodiments.
Processor 210 may include one or more processing cores, among other things. The processor 210 connects various parts within the overall electronic device 200 using various interfaces and lines, and performs various functions of the electronic device 200 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 220 and calling data stored in the memory 220. Alternatively, the processor 210 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 210 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the components to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 210, but may be implemented by a communication chip.
The Memory 220 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 220 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the electronic device 200 in use (such as historical profiles) and the like.
Fig. 10 shows a storage unit for storing or carrying program codes for implementing a network optimization method according to an embodiment of the present application, please refer to fig. 10, which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 300 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 310 may be compressed, for example, in a suitable form.
To sum up, according to the network optimization method, the network optimization device and the electronic device provided by the application, the position tags of the first intelligent gateway are obtained as first position information, and the position tags of all the sub-devices connected with the first intelligent gateway are obtained as second position information, wherein the number of the second position information is multiple; if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, determining the sub-equipment to be optimized from all the sub-equipment; and determining a second intelligent gateway corresponding to the sub-equipment to be optimized, transferring the sub-equipment to be optimized from the first intelligent gateway to the second intelligent gateway, and realizing automatic optimization of network communication capacity through automatic transfer of the sub-equipment, thereby improving timeliness, stability and disaster tolerance of network communication.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for network optimization, the method comprising:
acquiring a position label of a first intelligent gateway as first position information;
acquiring respective position labels of all the sub-devices connected with the first intelligent gateway as second position information, wherein the number of the second position information is multiple;
if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, determining to-be-optimized sub-equipment from all the sub-equipment;
and determining a second intelligent gateway corresponding to the to-be-optimized sub-equipment, and migrating the to-be-optimized sub-equipment from the first intelligent gateway to the second intelligent gateway.
2. The method of claim 1, wherein if there is second location information that does not match the first location information among a plurality of second location information, determining the sub-device to be optimized from among the all sub-devices comprises:
and if second position information which is not matched with the first position information exists in the plurality of pieces of second position information, using the sub-equipment with unmatched position information in all the sub-equipment as the sub-equipment to be optimized.
3. The method according to claim 1, wherein if there is the second location information that does not match the first location information in the plurality of second location information, then regarding a sub-device of the all sub-devices whose location information does not match as the sub-device to be optimized, includes:
if the second position information which is not matched with the first position information exists in the plurality of pieces of second position information, the sub-equipment with unmatched position information in all the sub-equipment is used as the standby sub-equipment;
acquiring the equipment information of the alternative sub-equipment, wherein the equipment information comprises sub-network information, or the sub-network information and position matching information;
calculating the evaluation value of the alternative sub-equipment in the sub-network according to the equipment information;
and screening the sub-equipment with the evaluation value smaller than a preset threshold value from the candidate sub-equipment to serve as the sub-equipment to be optimized.
4. The method of claim 3, wherein the sub-network information comprises signal strength, and/or link layer number, and/or number of sub-devices.
5. The method according to any one of claims 1 to 4, wherein the determining that the to-be-optimized sub-device corresponds to a second intelligent gateway, and migrating the to-be-optimized sub-device from the first intelligent gateway to the second intelligent gateway comprises:
acquiring the equipment identifier of the sub-equipment to be optimized;
and sending the equipment identifier to the second intelligent gateway to indicate that the second intelligent gateway is connected with the to-be-optimized sub-equipment.
6. The method according to any one of claims 1-4, further comprising:
acquiring configuration information of the to-be-optimized sub-equipment;
and sending the configuration information to the second intelligent gateway to indicate the second intelligent gateway to configure the sub-equipment to be optimized according to the configuration information.
7. The method according to any one of claims 1 to 4, wherein after determining the second intelligent gateway corresponding to the sub-device to be optimized and migrating the sub-device to be optimized from the first intelligent gateway to the second intelligent gateway, the method further comprises:
after the sub-equipment to be optimized is migrated to the second intelligent gateway, judging whether the migration operation is effective migration or not;
if not, re-determining the target gateway corresponding to the to-be-optimized sub-device, and executing the migration operation.
8. The method according to any one of claims 1 to 4, wherein the determining a second intelligent gateway corresponding to the sub-device to be optimized and migrating the sub-device to be optimized from the first intelligent gateway to the second intelligent gateway includes:
determining the second intelligent gateway corresponding to the sub-device to be optimized;
displaying a migration selection control;
and when a migration instruction triggered based on a migration selection control is received, migrating the to-be-optimized sub-equipment from the first intelligent gateway to the second intelligent gateway.
9. An apparatus for network optimization, the apparatus comprising:
the first location information acquisition module is used for acquiring a location tag of the first intelligent gateway as first location information;
a second location information obtaining module, configured to obtain location tags of all the sub-devices connected to the first intelligent gateway as second location information, where the number of the second location information is multiple;
the determining module is used for determining the sub-equipment to be optimized from all the sub-equipment if second position information which is not matched with the first position information exists in the plurality of pieces of second position information;
and the migration module is used for determining a second intelligent gateway corresponding to the to-be-optimized sub-device and migrating the to-be-optimized sub-device from the first intelligent gateway to the second intelligent gateway.
10. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-8.
CN202110968378.0A 2021-08-23 2021-08-23 Network optimization method and device and electronic equipment Pending CN113691935A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110968378.0A CN113691935A (en) 2021-08-23 2021-08-23 Network optimization method and device and electronic equipment
PCT/CN2022/105945 WO2023024752A1 (en) 2021-08-23 2022-07-15 Network optimization method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110968378.0A CN113691935A (en) 2021-08-23 2021-08-23 Network optimization method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113691935A true CN113691935A (en) 2021-11-23

Family

ID=78581445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110968378.0A Pending CN113691935A (en) 2021-08-23 2021-08-23 Network optimization method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113691935A (en)
WO (1) WO2023024752A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827199A (en) * 2022-04-08 2022-07-29 深圳市欧瑞博科技股份有限公司 Device migration method and device, computer device and storage medium
CN115460073A (en) * 2022-06-28 2022-12-09 杭州涂鸦信息技术有限公司 Equipment configuration method, device, equipment deployment system and storage medium
WO2023024752A1 (en) * 2021-08-23 2023-03-02 深圳市欧瑞博科技股份有限公司 Network optimization method and apparatus, and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944363A (en) * 2018-09-21 2020-03-31 华为技术有限公司 Gateway switching method, gateway reselection method and communication device
US20210044515A1 (en) * 2019-08-06 2021-02-11 Hughes Network Systems, Llc System and Method for Generic Diversity Gateway Switching for a Satellite Communication System

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047982B (en) * 2006-04-02 2011-04-13 华为技术有限公司 Method of gateway transport
CN102238704B (en) * 2010-05-05 2015-03-11 中国移动通信集团公司 Method and device for selecting local gateway for user equipment (UE) in wireless network
EP2552134B1 (en) * 2011-07-29 2016-03-16 BlackBerry Limited System and method for determining a location for a device in a communication network
US9955484B2 (en) * 2015-08-06 2018-04-24 Nokia Technologies Oy Position information based access to a shared radio access channel
CN109240111B (en) * 2018-10-15 2022-04-01 深圳市欧瑞博科技股份有限公司 Intelligent home control method, device and system and intelligent gateway
CN116366656A (en) * 2019-08-18 2023-06-30 朗德万斯公司 Method and system for forming a network of devices
CN113691935A (en) * 2021-08-23 2021-11-23 深圳市欧瑞博科技股份有限公司 Network optimization method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944363A (en) * 2018-09-21 2020-03-31 华为技术有限公司 Gateway switching method, gateway reselection method and communication device
US20210044515A1 (en) * 2019-08-06 2021-02-11 Hughes Network Systems, Llc System and Method for Generic Diversity Gateway Switching for a Satellite Communication System

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023024752A1 (en) * 2021-08-23 2023-03-02 深圳市欧瑞博科技股份有限公司 Network optimization method and apparatus, and electronic device
CN114827199A (en) * 2022-04-08 2022-07-29 深圳市欧瑞博科技股份有限公司 Device migration method and device, computer device and storage medium
CN115460073A (en) * 2022-06-28 2022-12-09 杭州涂鸦信息技术有限公司 Equipment configuration method, device, equipment deployment system and storage medium

Also Published As

Publication number Publication date
WO2023024752A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
CN113691935A (en) Network optimization method and device and electronic equipment
KR100559026B1 (en) Home network system
CN109040200B (en) Access method and device of Internet of things equipment
US20230247388A1 (en) Communication system, method and device for miniature intelligent sensor
CN107566229A (en) The packet control process of intelligent domestic system
EP4274190A1 (en) Smart device control method and apparatus, electronic device, and computer readable medium
CN110740490A (en) Terminal network access method, gateway equipment, system, storage medium and device
CN109753034B (en) Control method, control device, electronic equipment and storage medium
CN210428181U (en) Intelligent home gateway system
CN110690996A (en) Configuration method, system and device of intelligent household terminal equipment and terminal equipment
CN109617963B (en) Equipment control method and device and Internet of things system
CN107113892A (en) A kind of method and device of gateway device automatic network-building
CN111913402A (en) Smart home batch configuration method, device and system and electronic equipment
CN109040295A (en) Determination method and device, terminal and the storage medium of abnormal broken line
CN107395473A (en) Network-building method, device and the terminal device of household electrical appliance
CN110113232A (en) Apparatus control method, device, system, electronic equipment and storage medium
WO2019080719A1 (en) Data processing method and device, storage medium, processor, and system
CN106789466A (en) The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN112188639B (en) Communication method based on WiFi Mesh network and related equipment
CN112333295A (en) Multipath connection method and device, electronic equipment and storage medium
CN110505648A (en) A kind of anti-lost line method of wireless device
CN113766491A (en) Mesh networking-based equipment sharing method and device
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN110830305B (en) Method and device for wireless device to access WIFI network, electronic device and storage medium
WO2016113870A1 (en) In-home control device and in-home control system

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

Application publication date: 20211123

RJ01 Rejection of invention patent application after publication