Base station switching method, device, equipment and storage medium

文档序号:1893873 发布日期:2021-11-26 浏览:35次 中文

阅读说明:本技术 基站切换方法、装置、设备及存储介质 (Base station switching method, device, equipment and storage medium ) 是由 王振 杨兴洪 李宁 胡江海 于 2021-09-16 设计创作,主要内容包括:本申请提供一种基站切换方法、装置、设备及存储介质,该基站切换方法包括:调整工业网关的工作频段,以与不同的基站建立连接;确定工业网关与各基站连接时的目标网络信号质量;将工业网关切换至目标基站,目标基站为目标网络信号质量满足网络信号质量要求的基站。本申请能够确定工业网关与各基站连接时的目标网络信号质量,进而使工业网关始终与满足网络信号质量要求的基站连接,避免由于工业网关的网络性能差而影响到工业生产,进而提高了工业生产的效率,降低工业生产的损失。(The application provides a base station switching method, a device, equipment and a storage medium, wherein the base station switching method comprises the following steps: adjusting the working frequency band of the industrial gateway to establish connection with different base stations; determining the signal quality of a target network when the industrial gateway is connected with each base station; and switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement. The method and the device can determine the target network signal quality when the industrial gateway is connected with each base station, so that the industrial gateway is always connected with the base station meeting the network signal quality requirement, the influence on industrial production due to poor network performance of the industrial gateway is avoided, the efficiency of industrial production is improved, and the loss of industrial production is reduced.)

1. A base station switching method is applied to an industrial gateway, and is characterized by comprising the following steps:

adjusting the working frequency band of the industrial gateway to establish connection with different base stations;

determining the signal quality of a target network when the industrial gateway is connected with each base station;

and switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement.

2. The method of claim 1, wherein the handing over the industrial gateway to a target base station comprises:

sending a base station switching request to an operation server, wherein the base station switching request is used for requesting the operation server to switch the industrial gateway to the target base station;

receiving a switching instruction sent by the operation server, wherein the switching instruction is used for indicating the industrial gateway to execute base station switching;

and switching the industrial gateway to the target base station.

3. The base station switching method according to claim 2, further comprising:

sending log information to the operation server to obtain a target setting position of the industrial gateway sent by the operation server, wherein the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection established with different base stations;

and displaying the target setting position through display equipment, wherein the target setting position is used for prompting a user to set the industrial gateway at the target setting position.

4. The method according to any one of claims 1 to 3, wherein before the adjusting the operating frequency band of the industrial gateway to establish a connection with a different base station, the method further comprises:

acquiring the current network signal quality of the industrial gateway;

and determining that the industrial gateway meets the base station switching requirement according to the current network signal quality.

5. A base station switching method is applied to an operation server, and comprises the following steps:

receiving a base station switching request sent by an industrial gateway, wherein the base station switching request is used for requesting the operation server to switch the industrial gateway to a target base station, and the target base station is a base station of which the target network signal quality meets the network signal quality requirement when the industrial gateway is connected with different base stations;

and sending a switching instruction to the industrial gateway according to the base station switching request, wherein the switching instruction is used for indicating the industrial gateway to switch to the target base station.

6. The base station switching method according to claim 5, further comprising:

receiving log information sent by the industrial gateway;

determining a target setting position of the industrial gateway according to the log information and the current distribution position of each base station;

and sending the target setting position to the industrial gateway, wherein the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection with different base stations, and the target setting position is used for prompting a user to set the industrial gateway at the target setting position.

7. The base station switching method according to claim 6, further comprising:

determining the distribution density of the industrial gateways according to the position information of the industrial gateways;

and determining the target distribution position of the base station according to the distribution density, wherein the target distribution position is used for prompting an operator to set the base station at the target distribution position.

8. A base station switching device applied to an industrial gateway, the base station switching device comprising:

the adjusting module is used for adjusting the working frequency band of the industrial gateway so as to establish connection with different base stations;

the determining module is used for determining the signal quality of a target network when the industrial gateway is connected with each base station;

and the switching module is used for switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement.

9. A base station switching apparatus applied to an operation server, the base station switching apparatus comprising:

the system comprises a receiving module, a switching module and a switching module, wherein the receiving module is used for receiving a base station switching request sent by an industrial gateway, the base station switching request is used for requesting the operation server to switch the industrial gateway to a target base station, and the target base station is a base station of which the target network signal quality meets the network signal quality requirement when the industrial gateway is connected with different base stations;

and the sending module is used for sending a switching instruction to the industrial gateway according to the base station switching request, wherein the switching instruction is used for indicating the industrial gateway to be switched to the target base station.

10. An electronic device, comprising:

at least one processor; and

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the electronic device to perform the base station handover method of any of claims 1 to 7.

11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the base station handover method according to any one of claims 1 to 7.

Technical Field

The present application relates to the field of communications, and in particular, to a method, an apparatus, a device, and a storage medium for switching a base station.

Background

Currently, industrial gateways are a key ring in the internet of things of industry, and the application of industrial gateways is spread over a plurality of industries, such as: the system comprises an unmanned inspection robot, a storage robot, an unmanned overhead traveling crane remote control, an intelligent factory/equipment operation and maintenance and the like.

With the continuous development of the industrial internet of things, automation and intellectualization gradually become mainstream of the manufacturing industry, the production precision is continuously increased, and strict requirements are provided for the timeliness of data transmission. If the production is stopped unexpectedly due to too high data transmission delay caused by poor network signals of the industrial gateway in the production process, huge loss is caused. Therefore, the network performance of the industrial gateway is critical to the plant.

However, at present, no corresponding solution is provided for the problem that the industrial production is affected due to the poor network performance of the industrial gateway.

Disclosure of Invention

The application provides a base station switching method, a base station switching device, base station switching equipment and a storage medium, which aim to solve the problem that industrial production is influenced due to poor network performance of an industrial gateway at present.

In a first aspect, the present application provides a base station switching method, which is applied to an industrial gateway, and the base station switching method includes: adjusting the working frequency band of the industrial gateway to establish connection with different base stations; determining the signal quality of a target network when the industrial gateway is connected with each base station; and switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement.

Optionally, the switching the industrial gateway to the target base station includes: sending a base station switching request to an operation server, wherein the base station switching request is used for requesting the operation server to switch the industrial gateway to a target base station; receiving a switching instruction sent by an operation server, wherein the switching instruction is used for indicating an industrial gateway to execute base station switching; and switching the industrial gateway to the target base station.

Optionally, the base station switching method further includes: sending log information to an operation server to obtain a target setting position of the industrial gateway sent by the operation server, wherein the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection with different base stations; and displaying the target setting position through the display equipment, wherein the target setting position is used for prompting a user to set the industrial gateway at the target setting position.

Optionally, before adjusting the operating frequency band of the industrial gateway to establish a connection with a different base station, the method further includes: acquiring the current network signal quality of the industrial gateway; and determining that the industrial gateway meets the base station switching requirement according to the current network signal quality.

In a second aspect, the present application provides a base station switching method, which is applied to an operation server, and the base station switching method includes: receiving a base station switching request sent by an industrial gateway, wherein the base station switching request is used for requesting an operation server to switch the industrial gateway to a target base station, and the target base station is a base station of which the target network signal quality meets the network signal quality requirement when the industrial gateway is connected with different base stations; and sending a switching instruction to the industrial gateway according to the base station switching request, wherein the switching instruction is used for indicating the industrial gateway to switch to the target base station.

Optionally, the base station switching method further includes: receiving log information sent by an industrial gateway; determining a target setting position of the industrial gateway according to the log information and the current distribution position of each base station; and sending a target setting position to the industrial gateway, wherein the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection with different base stations, and the target setting position is used for prompting a user to set the industrial gateway at the target setting position.

Optionally, the base station switching method further includes: determining the distribution density of the industrial gateways according to the position information of each industrial gateway; and determining the target distribution position of the base station according to the distribution density, wherein the target distribution position is used for prompting an operator to set the base station at the target distribution position.

In a third aspect, the present application provides a base station switching apparatus applied to an industrial gateway, the base station switching apparatus including:

the adjusting module is used for adjusting the working frequency band of the industrial gateway so as to establish connection with different base stations;

the determining module is used for determining the signal quality of a target network when the industrial gateway is connected with each base station;

and the switching module is used for switching the industrial gateway to a target base station, and the target base station is a base station of which the target network signal quality meets the network signal quality requirement.

In a fourth aspect, the present application provides a base station switching apparatus, which is applied to an operation server, and the base station switching apparatus includes:

the system comprises a receiving module, a switching module and a switching module, wherein the receiving module is used for receiving a base station switching request sent by an industrial gateway, the base station switching request is used for requesting an operation server to switch the industrial gateway to a target base station, and the target base station is a base station of which the target network signal quality meets the network signal quality requirement when the industrial gateway is connected with different base stations;

and the sending module is used for sending a switching instruction to the industrial gateway according to the base station switching request, wherein the switching instruction is used for indicating the industrial gateway to be switched to the target base station.

In a fifth aspect, the present application provides an electronic device, comprising:

at least one processor; and

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the electronic device to perform the base station handover method of any one of the first or second aspects of the present application.

In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the base station handover method of any of the first or second aspects of the present application.

In a seventh aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the base station handover method of any of the first or second aspects of the present application.

The application provides a base station switching method, a device, equipment and a storage medium, wherein the base station switching method comprises the following steps: adjusting the working frequency band of the industrial gateway to establish connection with different base stations; determining the signal quality of a target network when the industrial gateway is connected with each base station; and switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement. The method and the device can determine the target network signal quality when the industrial gateway is connected with each base station, so that the industrial gateway is always connected with the base station meeting the network signal quality requirement, the influence on industrial production due to poor network performance of the industrial gateway is avoided, the efficiency of industrial production is improved, and the loss of industrial production is reduced.

Drawings

In order to more clearly illustrate the technical solutions of the present application or the prior art, the drawings that are needed in the description of the prior art or the prior art are briefly introduced below, and it is obvious that the drawings in the following description are some of the present application, and other drawings can be obtained by those skilled in the art without inventive exercise.

Fig. 1 is a schematic view of a scenario of a base station handover method according to an embodiment of the present disclosure;

fig. 2 is a flowchart of a base station handover method according to an embodiment of the present invention;

fig. 3 is an exemplary diagram of a network coverage area corresponding to a base station provided in the present application;

fig. 4 is an exemplary plot of sample selection of the signal received strength versus data received rate provided herein;

FIG. 5 is a graph illustrating an exemplary relationship between signal received strength and data received rate provided herein;

FIG. 6 is an exemplary graph of signal received strength versus signal to noise ratio as provided herein;

fig. 7 is a flowchart of a base station handover method according to another embodiment of the present disclosure;

fig. 8 is an exemplary diagram of a relationship between a gateway distribution density and a base station distribution location provided in the present application;

fig. 9 is a schematic structural diagram of a base station switching apparatus according to an embodiment of the present invention;

fig. 10 is a schematic structural diagram of a base station switching apparatus according to another embodiment of the present invention;

fig. 11 is a schematic diagram of a hardware structure of an electronic device according to a first embodiment of the present disclosure.

The present application is made clear by the foregoing drawings and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts by reference to specific details that are particularly well within the skill of those in the art.

Detailed Description

To make the objects, aspects and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the present application, and it is obvious that the description is a part of the present application, but not all of it. All others that would be obvious to one of ordinary skill in the art based on this disclosure, without any creative effort, are within the scope of this disclosure.

The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that, for example, the applications described herein are capable of operation in sequences other than those illustrated or otherwise described herein.

Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

Before introducing the base station handover scheme provided by the present application, an application scenario of the base station handover scheme is briefly introduced first.

With the popularization of 5G applications, the demand of various industries on 5G communication terminals is increased, especially the demand in the field of industrial internet of things, which has the characteristics of various types of connected industrial equipment, diversified data types, high data real-time requirement and the like, and is considered as one of the fields with the most value in the '5G + industry'. The industrial gateway is a key ring in the 5G industrial internet, and is usually arranged at a fixed position, and each production device is connected with the industrial gateway.

Fig. 1 is a schematic view of a scenario of a base station handover method according to an embodiment of the present invention, as shown in fig. 1, the scenario includes, fixedly setting an industrial gateway 100, an operation server 200, and a plurality of base stations 300 (e.g., base stations 300(a), 300(b), 300(c), 300(d), and 300(e) in fig. 1), where the industrial gateway 100 may be in communication connection with the plurality of base stations 300, respectively, and the plurality of base stations 300 are in communication connection with the operation server 200. Wherein, the industrial gateway 100 can establish communication connection with only one base station 300 at the same time.

Based on the application scenario, if the mobile terminal is in a call, the mobile terminal can continuously move. Therefore, when the current network signal quality of the mobile terminal is poor, the mobile terminal can improve the current network signal quality through moving, or move to another cell, and the base station of the other cell replaces the base station of the old cell to provide service for the mobile terminal, so that the continuity of the service is ensured. For the industrial gateway, because the industrial gateway is fixedly arranged, when the network signal quality of the industrial gateway is poor, the network signal quality of the industrial gateway cannot be improved through the mobile industrial gateway, and further the corresponding production is influenced.

Based on the application scenarios and problems, the application provides a base station switching method, which can enable an industrial gateway to be always connected with a base station meeting the network signal quality requirement, thereby ensuring the continuity of production. The technical means of the present application will be specifically described below in detail. Several of these details may be combined with one another below and some details may not be repeated for the same or similar concepts or processes.

Fig. 2 is a flowchart of a base station handover method according to an embodiment of the present invention. The application provides a base station switching method, which is applied to an industrial gateway and specifically comprises the following steps:

s101, adjusting the working frequency band of the industrial gateway to establish connection with different base stations.

Referring to fig. 3, an area a, an area B, and an area C are areas where the base station 300 can cover network signals. Wherein the further away from the base station 300 the network signal quality is worse. For example, the network signal quality in area a is better than the network signal quality in area B, which is better than the network signal quality in area C.

Further, the signal reception intensity is measured at different positions in the area a, the area B, and the area C, as shown in fig. 4, with the abscissa being the signal reception intensity and the ordinate being the number of samples. As shown in fig. 5, which is the data receiving rate of each sample corresponding to fig. 4, it can be seen that in fig. 5, the greater the signal receiving strength, the higher the data receiving rate, which indicates the better network signal quality.

In the present application, referring to fig. 1, industrial gateway 100 may establish connections with different base stations by adjusting the operating frequency band for scanning and probing. Illustratively, the industrial gateway is connected with the base station 300(a) by using the working frequency band of 1GHz, and determines the corresponding target network signal quality x 1. The industrial gateway is connected with the base station 300(b) by adopting the working frequency band of 1.2GHz, and determines the corresponding target network signal quality x 2. The industrial gateway is connected with the base station 300(c) by adopting the working frequency band of 1.2GHz, and determines the corresponding target network signal quality x 3. The industrial gateway is connected with the base station 300(d) by adopting the working frequency band of 1.4GHz, and determines the corresponding target network signal quality x 4. The industrial gateway is connected with the base station 300(e) by adopting the working frequency band of 1.6GHz, and determines the corresponding target network signal quality x 5.

Wherein, the adjustment industrial gateway's operating frequency range to before establishing connection with different base stations still includes: acquiring the current network signal quality of the industrial gateway; and determining that the industrial gateway meets the base station switching requirement according to the current network signal quality.

Specifically, the obtaining of the current network signal quality of the industrial gateway refers to the network signal quality when the industrial gateway adopts the current working frequency band and is connected with the current base station. For example, in fig. 1, the industrial gateway 100 is connected to the base station 300(a), and the current network signal quality is the network signal quality when the industrial gateway 100 is connected to the base station 300 (a).

The network Signal Quality is determined using at least one of RSRP (Reference Signal Receiving Power), SNR (Signal-to-Noise Ratio), RSRQ (Reference Signal Receiving Quality), RSSI (Received Signal Strength Indication).

The RSRP is one of key parameters that can represent the radio signal strength in an LTE (Long Term Evolution) network and the physical layer measurement requirement, and is an average value of signal power received on all REs (resource elements) that carry reference signals within a certain symbol. SNR refers to the ratio between the level of the useful signal and the level of electromagnetic noise measured under specified conditions. RSRQ represents LTE reference signal received quality, and such metric primarily ranks different LTE candidate cells according to signal quality. This measurement is used as input for handover and cell reselection decisions. RSSI, which represents the strength of a signal in a wireless network, decays with increasing distance, and is generally negative, with values closer to zero indicating higher signal strength.

In addition, according to the current network signal quality, determining that the industrial gateway meets the base station switching requirement comprises: and when the current network signal quality does not meet the network signal quality requirement, determining that the industrial gateway meets the base station switching requirement.

Illustratively, refer to table one, wherein table one determines the network signal quality with RSRP, wherein a larger RSRP value indicates a better network signal quality. In table one, when the network signal quality level is greater than or equal to 3, which indicates that the current network signal quality does not satisfy the network signal quality requirement, the base station connected to the industrial gateway needs to be switched.

Watch 1

Referring to fig. 6, for the signal-to-noise ratios at different signal reception strengths, it can be seen that the higher the signal reception strength is, the higher the signal-to-noise ratio is, the better the network signal quality is. Therefore, when the current network signal quality is set to be less than 0.8, the industrial gateway can meet the base station switching requirement. In the above, when the industrial gateway meets the requirement of switching the base stations, the step of adjusting the working frequency band of the industrial gateway to establish connection with different base stations is performed.

In the method and the device, the step of switching the base station can be carried out when the network signal quality of the industrial gateway is poor, and then the working continuity of the industrial gateway can be ensured.

S102, determining the signal quality of a target network when the industrial gateway is connected with each base station.

Referring to fig. 1, illustratively, a target network signal quality x1 is obtained when the industrial gateway is connected to the base station 300 (a). Target network signal quality x2 when the industrial gateway is connected to base station 300 (b). Target network signal quality x3 when the industrial gateway is connected to base station 300 (c). Target network signal quality x4 when the industrial gateway is connected to base station 300 (d). Target network signal quality x5 when the industrial gateway is connected to base station 300 (e).

Wherein, the target network signal quality can also be determined by at least one of RSRP, SNR, RSRQ and RSSI. The specific determination method is as step S101, and is not described herein again.

In addition, the industrial gateway determines the target network signal quality when connecting with each base station, and records the connected base stations and the corresponding target network signal quality in a log mode.

S103, switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement.

Wherein the network signal quality requirements may be preset. Specifically, the preset network signal quality requirement is that signal parameters (RSRP, SNR, RSRQ, RSSI) corresponding to the target network signal quality satisfy a preset threshold. For example, the RSRP is greater than or equal to-75 dB or the SNR is greater than or equal to 8. The preset network signal quality requirement may also be that, among target network signal qualities corresponding to the plurality of base stations, the corresponding base station with the best network signal quality is selected as the target base station.

Wherein, switching the industrial gateway to the target base station comprises: sending a base station switching request to an operation server, wherein the base station switching request is used for requesting the operation server to switch the industrial gateway to a target base station; receiving a switching instruction sent by an operation server, wherein the switching instruction is used for indicating an industrial gateway to execute base station switching; and switching the industrial gateway to the target base station.

Specifically, the industrial gateway uploads log information, identification information and position information of the industrial gateway and the like to the operation server in a network alarm mode, so that the operation server switches the industrial gateway to be connected with the target base station. In addition, the industrial gateway can also be automatically switched to the target base station without receiving a switching instruction of the operation server, and then the information of establishing connection with the target base station is uploaded to the operation server, so that the operation service stores the connection relationship between the industrial gateway and the target base station.

In addition, the industrial gateway can prompt the user of poor network signals through the indicator lamp and needs to switch to the target base station. The industrial gateway can also be connected with a display device, the related information of the industrial gateway is displayed on the display surface of the display device to prompt a user, and the user can also be prompted by connecting a voice device to prompt the user in a voice mode.

Further, the industrial gateway sends log information to the operation server to obtain a target setting position of the industrial gateway sent by the operation server, wherein the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection with different base stations, the target setting position is displayed through display equipment, and the target setting position is used for prompting a user to set the industrial gateway at the target setting position.

After receiving the log information sent by the industrial gateway, the operation server extracts the identification information of each base station in the log information. And then determining the position information of each base station according to the corresponding relation between the pre-stored identification information and the position information of the base station, and determining the network signal coverage area of each base station. And then according to the position information of the industrial gateway, determining a base station which is closest to the industrial gateway and has the best network signal quality as a connection base station, sending an area within the target distance from the connection base station as target position information to the industrial gateway, and prompting a user to set the industrial gateway in the area, wherein the area is a region which is close to the current position of the industrial gateway and has the better network quality. The local area network signal within the target distance from the connection base station is required to have high quality and stable network signal. The connection base station is required to work stably, and the probability of failure is low.

In addition, the principle of determining the target setting position is that the setting area of the industrial gateway is the area required by the user, and the network signal quality of the industrial gateway also meets the requirement of the user on the network signal quality.

Furthermore, the target setting position can also be determined as a position where a plurality of base stations can cover the network signal and the quality of the network signal is high, so that when one base station fails, the industrial gateway can be switched to another base station to continue working.

In summary, the target setting positions may be multiple, or the target setting positions may be determined in other manners, and when the target setting position is sent to the industrial gateway, related information such as network signal quality and a base station corresponding to the target setting position may also be sent to the industrial gateway, so that the industrial gateway may display the target setting position and the related information corresponding to the target setting position on a connected display device, so that a user may select the target setting position to which the industrial gateway is migrated.

The application provides a base station switching method, a device, equipment and a storage medium, wherein the base station switching method comprises the following steps: adjusting the working frequency band of the industrial gateway to establish connection with different base stations; determining the signal quality of a target network when the industrial gateway is connected with each base station; and switching the industrial gateway to a target base station, wherein the target base station is a base station of which the target network signal quality meets the network signal quality requirement. The method and the device can determine the target network signal quality when the industrial gateway is connected with each base station, so that the industrial gateway is always connected with the base station meeting the network signal quality requirement, the influence on industrial production due to poor network performance of the industrial gateway is avoided, the efficiency of industrial production is improved, and the loss of industrial production is reduced.

Fig. 7 is a flowchart of a base station handover method according to another embodiment of the present disclosure. The application provides another base station switching method, which is applied to an operation server, and the operation server specifically comprises the following steps:

s201, receiving a base station switching request sent by an industrial gateway.

The base station switching request is used for requesting the operation server to switch the industrial gateway to a target base station, and the target base station is a base station of which the target network signal quality meets the network signal quality requirement when the industrial gateway is connected with different base stations.

In the application, when the industrial gateway needs to switch the currently connected base station to the target base station, a base station switching request is sent to the operation server. Wherein, the base station switching request comprises: identification of the industrial gateway, identification information of the currently connected base station and identification information of the target base station.

And S202, sending a switching instruction to the industrial gateway according to the base station switching request.

And the switching instruction is used for indicating the industrial gateway to switch to the target base station.

In the application, an operation server determines identification information of an industrial gateway and identification information of a target base station to be switched by the industrial gateway after receiving a base station switching request sent by the industrial gateway, correspondingly stores the identification information of the industrial gateway and the identification information of the target base station, and then sends a switching instruction to the industrial gateway to indicate the industrial gateway to be switched to the target base station.

In addition, after the industrial gateway is automatically switched to the target base station, the identification information of the industrial gateway and the identification information of the target base station may be sent to the operation server, and the operation server correspondingly stores the identification information of the industrial gateway and the identification information of the target base station.

Further, the operation server receives log information sent by the industrial gateway; determining a target setting position of the industrial gateway according to the log information and the current distribution position of each base station; and sending a target setting position to the industrial gateway, wherein the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection with different base stations, and the target setting position is used for prompting a user to set the industrial gateway at the target setting position.

After receiving the log information sent by the industrial gateway, the operation server extracts the identification information of each base station in the log information. And then determining the position information of each base station according to the corresponding relation between the pre-stored identification information and the position information of the base station, and determining the network signal coverage area of each base station. And then according to the position information of the industrial gateway, determining a base station which is closest to the industrial gateway and has the best network signal quality as a connection base station, sending an area within the target distance from the connection base station as target position information to the industrial gateway, and prompting a user to set the industrial gateway in the area, wherein the area is a region which is close to the current position of the industrial gateway and has the better network quality. The local area network signal within the target distance from the connection base station is required to have high quality and stable network signal. The connection base station is required to work stably, and the probability of failure is low.

In addition, the principle of determining the target setting position is that the setting area of the industrial gateway is the area required by the user, and the network signal quality of the industrial gateway also meets the requirement of the user on the network signal quality.

Furthermore, the target setting position can also be determined as a position where a plurality of base stations can cover the network signal and the quality of the network signal is high, so that when one base station fails, the industrial gateway can be switched to another base station to continue working. Wherein the operation server can determine a plurality of target setting positions.

In the application, the operation server determines the distribution density of the industrial gateways according to the position information of each industrial gateway; and determining the target distribution position of the base station according to the distribution density, wherein the target distribution position is used for prompting an operator to set the base station at the target distribution position.

Specifically, the operation server can establish connection with a plurality of base stations, each base station is connected with a plurality of industrial gateways, each industrial gateway can send own log information to operation through the connected base stations, and the operation server determines the position information of each industrial gateway according to the log information of each industrial gateway; and according to the position information, the distribution density of the industrial gateway can be determined, so that the arrangement of the base station can be correspondingly increased in the area with higher distribution density, and the arrangement of the base station can be reduced in the area with lower distribution density of the industrial gateway.

For example, referring to fig. 8, in the Q region, the distribution density of the industrial gateways is relatively large, and the installation density of the base stations is correspondingly increased. And in the area outside the Q area, if the distribution density of the industrial gateway is smaller, the setting density of the base station is correspondingly reduced, and the industrial gateway is prompted to be arranged in the area close to the base station so as to ensure the network signal quality of the industrial gateway.

In addition, the operation server can also determine the comprehensive network condition of the setting position of the industrial gateway by receiving the network signal quality corresponding to each base station sent by the industrial gateway, and if the network signal quality corresponding to each base station sent by the industrial gateway is poor, the base station setting is added in the area corresponding to the industrial gateway. If the network signal quality corresponding to some base stations is better, the industrial gateway is prompted to move to a position close to the base station.

According to the method and the device, the moving position of the industrial gateway can be prompted, the base station switching can be carried out, the number of the base stations in different areas can be increased or reduced, the flexible cell redistribution can be realized, each industrial gateway can be ensured to be in a relatively optimal state of the network, and the performance of the whole network can be guaranteed on the premise of balancing the cost.

Fig. 9 is a block diagram of a base station switching apparatus 30 according to a first embodiment of the present invention. As shown in fig. 9, the base station switching apparatus 30 provided by the present application is applied to an industrial gateway, and includes: an adjustment module 31, a determination module 32 and a switching module 33. Wherein:

an adjusting module 31, configured to adjust a working frequency band of the industrial gateway to establish connection with different base stations;

a determining module 32, configured to determine the quality of a target network signal when the industrial gateway is connected to each base station;

and a switching module 33, configured to switch the industrial gateway to a target base station, where the target base station is a base station whose target network signal quality meets the network signal quality requirement.

Optionally, the switching module 33 is specifically configured to send a base station switching request to the operation server, where the base station switching request is used to request the operation server to switch the industrial gateway to the target base station; receiving a switching instruction sent by an operation server, wherein the switching instruction is used for indicating an industrial gateway to execute base station switching; and switching the industrial gateway to the target base station.

Optionally, the base station switching apparatus 30 further includes: the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending log information to an operating server so as to obtain a target setting position of the industrial gateway sent by the operating server, the target setting position indicates that the corresponding network signal quality is optimal when the industrial gateway is set at the target setting position, and the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection with different base stations; and displaying the target setting position through the display device.

Optionally, the base station switching apparatus 30 further includes: the acquisition module is used for acquiring the current network signal quality of the industrial gateway; and determining that the industrial gateway meets the base station switching requirement according to the current network signal quality.

The base station switching apparatus provided in the present application is configured to execute the technical solution in the method corresponding to fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.

Fig. 10 is a block diagram of a base station switching apparatus 40 according to a first embodiment of the present invention. As shown in fig. 10, the base station switching apparatus 40 is applied to an operation server, and the base station switching apparatus 40 provided by the present application includes: a receiving module 41 and a transmitting module 42. Wherein:

a receiving module 41, configured to receive a base station handover request sent by an industrial gateway, where the base station handover request is used to request an operation server to handover the industrial gateway to a target base station, and the target base station is a base station for which target network signal quality meets a network signal quality requirement when the industrial gateway is connected with different base stations;

and a sending module 42, configured to send a switching instruction to the industrial gateway according to the base station switching request, where the switching instruction is used to instruct the industrial gateway to switch to the target base station.

Optionally, the base station switching apparatus 40 further includes: the first determining module is used for receiving log information sent by the industrial gateway; determining a target setting position of the industrial gateway according to the log information and the current distribution position of each base station; and sending a target setting position to the industrial gateway, wherein the target setting position is used for indicating that the corresponding network signal quality is optimal when the industrial gateway is set at the target setting position, and the log information comprises identification information of the industrial gateway, position information of the industrial gateway, identification information of each base station and network signal quality of connection established with different base stations.

Optionally, the base station switching apparatus 40 further includes: the second determining module is used for determining the distribution density of the industrial gateways according to the position information of the industrial gateways; and determining the target distribution position of the base station according to the distribution density, wherein the target distribution position is used for prompting an operator to set the base station at the target distribution position.

The base station switching apparatus provided in the present application is configured to execute the technical solution in the method corresponding to fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.

Fig. 11 is a schematic diagram of a hardware structure of an electronic device provided in the present application. As shown in fig. 11, the electronic device 50 of the present application may include: at least one processor 51 (only one processor is shown in FIG. 11); and a memory 52 communicatively coupled to the at least one processor. The memory 52 stores instructions executable by the at least one processor 51, and the instructions are executed by the at least one processor 51, so that the electronic device 50 can execute any one of the foregoing methods.

Alternatively, the memory 52 may be separate or integrated with the processor 51.

When the memory 52 is a device separate from the processor 51, the electronic device 50 further includes: a bus 53 for connecting the memory 52 and the processor 51.

The electronic device provided by the application can execute the technical scheme of any one of the methods, and the implementation principle and the technical effect are similar, and are not described herein again.

The present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program is used to implement the technical solution in any one of the foregoing methods.

The present application provides a computer program product comprising a computer program which, when executed by a processor, implements an aspect of any of the methods described above.

The present application also provides a chip, including: and the processing module and the communication interface can execute the technical scheme in the method.

Further, the chip further includes a storage module (e.g., a memory), where the storage module is configured to store instructions, and the processing module is configured to execute the instructions stored in the storage module, and the execution of the instructions stored in the storage module causes the processing module to execute the technical solution in the foregoing method.

It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.

The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.

The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.

The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.

An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device.

Finally, it should be noted that: the above embodiments are merely illustrative of the technical solutions of the present application, and not restrictive; although the present application has been described in detail with reference to the foregoing aspects, those of ordinary skill in the art will understand that: the technical solutions described above may still be modified, or some or all of the technical features may be equivalently replaced; such modifications or substitutions do not depart from the scope of the present disclosure.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种路由事件的检测方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!