Disclosure of Invention
In view of the above, the present invention has been made to provide a base station open method, apparatus, computer storage medium and device that overcome or at least partially solve the above problems.
In a first aspect of the present invention, a base station opening method is provided, including:
establishing an SSL secure session channel with a base station;
receiving a station opening request message sent by the base station through the secure session channel, wherein the station opening request message carries the MAC address of the base station;
acquiring the open station configuration information corresponding to the base station according to the MAC address;
and sending the station opening response message to the base station through the secure session channel so that the base station opens the station according to the station opening response message, wherein the station opening response message carries the station opening configuration information.
Optionally, the obtaining, according to the MAC address, the open configuration information corresponding to the base station includes:
judging whether the MAC address is a legal address in a preset mapping relation;
if the MAC address is a legal address in the mapping relation, searching the start configuration information corresponding to the MAC address according to the mapping relation, wherein the mapping relation comprises the corresponding relation between the MAC address and the start configuration information of the corresponding base station.
Optionally, the method further comprises:
and if the MAC address is not a legal address in the mapping relation, generating a warning rejection message and sending the warning rejection message to the base station through the secure session channel.
Optionally, the station opening request message further carries location information of the base station; the start-up configuration information comprises an initial frequency point and/or initial neighboring cell information of the base station;
the method further comprises the following steps:
determining frequency point and/or adjacent cell information corresponding to the base station according to the position information;
and performing parameter optimization on the initial frequency point and/or the initial neighboring cell information in the start-up configuration information according to the determined frequency point and/or neighboring cell information.
In a second aspect of the present invention, a base station opening method is provided, including:
establishing an SSL secure session channel with a server;
sending a station opening request message to the server through the secure session channel, wherein the station opening request message carries an MAC address of the current base station, so that the server can obtain station opening configuration information corresponding to the current base station according to the MAC address;
receiving a station opening response message issued by the server through the secure session channel, wherein the station opening response message carries the station opening configuration information;
and opening the station according to the station opening configuration information.
Optionally, the start-up request message further carries position information of the current base station, so that the server determines frequency point and/or neighboring cell information corresponding to the current base station according to the position information, and performs parameter optimization on the initial frequency point and/or initial neighboring cell information in the start-up configuration information according to the determined frequency point and/or neighboring cell information.
In a third aspect of the present invention, a base station opening apparatus is provided, including:
the server side configuration module is used for establishing an SSL secure session channel with the base station;
a server side receiving module, configured to receive, through the secure session channel, an open request message sent by the base station, where the open request message carries an MAC address of the base station;
a server side obtaining module, configured to obtain the open configuration information corresponding to the base station according to the MAC address;
and the server side sending module is used for sending the station opening response message to the base station through the secure session channel so that the base station opens the station according to the station opening response message, wherein the station opening response message carries the station opening configuration information.
In a fourth aspect of the present invention, there is provided a base station opening apparatus, including:
the base station side configuration module is used for establishing an SSL secure session channel with the server;
a base station side sending module, configured to send a station opening request message to the server through the secure session channel, where the station opening request message carries an MAC address of a current base station, so that the server obtains station opening configuration information corresponding to the current base station according to the MAC address;
a base station side receiving module, configured to receive, through the secure session channel, an open station response message sent by the server, where the open station response message carries the open station configuration information;
and the station opening processing module is used for opening the station according to the station opening configuration information.
Furthermore, the present invention provides a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the base station opening method according to the first aspect, or the steps of the base station opening method according to the second aspect.
Furthermore, the present invention also provides an apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the steps of the base station open method according to the first aspect, or the steps of the base station open method according to the second aspect.
According to the base station opening method, the base station opening device, the computer storage medium and the base station opening equipment, the base station can safely send the MAC address of the base station to the server through the SSL secure session channel established between the server and the base station, the server can automatically acquire the opening configuration information required by opening the base station according to the MAC address of the base station and return the opening configuration information to the base station through the secure session channel, so that the base station can complete the automatic opening function, the labor opening cost and the parameter conflict risk are reduced, and the base station opening efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
In this embodiment of the present invention, the base station may be a base station in a communication system with multiple standards, such as 2G, 3G, and 4G, LTE, which is not limited in this respect. As an example, only the invention will be specifically described by taking a base station in an LTE system as an example.
Fig. 1 is a network architecture diagram applicable to a base station opening method according to an embodiment of the present invention. As shown in fig. 1, the system includes a network manager, an LTE base station, and a server communicating with the LTE base station through an SSL secure session channel. In addition, the system also comprises an internet connected with the base station through a transmission network.
Fig. 2 is a flowchart of a base station opening method according to an embodiment of the present invention. The method is configured to be executed at a server side, and referring to fig. 2, the base station opening method of the embodiment of the invention specifically includes the following steps:
and S11, establishing an SSL secure session channel with the base station.
In the embodiment of the invention, the base station has the capability of directly connecting with the Internet, the SSL secure session channel is established between the base station and the server based on the TR-069 protocol, the parameter data interaction is realized, the functions of adding a firewall and the like are not needed, the increase of the operation cost is avoided, and the stability and the safety of the communication network are higher.
S12, receiving a station opening request message sent by the base station through the secure session channel, wherein the station opening request message carries the MAC address of the base station.
Specifically, after the base station accesses the internet and establishes an SSL secure session channel with the server, the base station sends a start request message to report the MAC address of the base station to request a start parameter.
The invention adopts the MAC address to report, wherein the MAC address is a parameter which is necessary and unique for the base station, and the server issues the corresponding open configuration information according to the MAC address of the base station, thereby effectively avoiding the problem that the open configuration information searched from the server is wrong due to information deviation when the open configuration information is determined by other information. For example, the geographical position acquired by the station a is deviated and becomes the station B in the nearby position, so that the acquired open station configuration information is the station B, and thus the open station is mistaken.
And S13, acquiring the corresponding station opening configuration information of the base station according to the MAC address.
The open station configuration information comprises all open station related information such as an account opening place, a gateway, a network manager, a CellID and the like corresponding to the base station.
S14, sending the response message to the base station through the secure session channel, so that the base station opens the station according to the response message, wherein the response message carries the configuration information.
Specifically, after the server sends the station opening response message carrying the station opening configuration information to the base station, the base station automatically configures the relevant parameters according to the station opening configuration information sent by the server, connects to the corresponding gateway station opening, and finally realizes the self-configuration of the parameters.
According to the base station opening method provided by the embodiment of the invention, the SSL secure session channel is established between the server and the base station, and the server can automatically acquire the opening configuration information required by opening the station according to the MAC address of the base station and return the information to the base station through the secure session channel, so that the base station can complete the automatic opening function, the manpower opening cost and the parameter conflict risk are reduced, the manual intervention is avoided, the manual configuration errors and conflicts are reduced, and the base station opening efficiency is improved.
In this embodiment of the present invention, the specifically implementing, in step S13, the obtaining of the open configuration information corresponding to the base station according to the MAC address includes the following steps:
judging whether the MAC address is a legal address in a preset mapping relation;
if the MAC address is a legal address in the mapping relation, searching the start configuration information corresponding to the MAC address according to the mapping relation, wherein the mapping relation comprises the corresponding relation between the MAC address and the start configuration information of the corresponding base station. And if the MAC address is not a legal address in the mapping relation, generating a warning rejection message and sending the warning rejection message to the base station through the secure session channel.
Specifically, the server judges whether the base station MAC address is legal or not according to the MAC address carried in the station opening request message sent by the base station, if so, the station opening configuration information corresponding to the base station is searched, the station opening configuration information corresponding to the base station is sent to the base station through the station opening response message, otherwise, the server generates a warning refusing message and sends the warning refusing message to the base station through the secure session channel, and the base station generates a warning refusing message.
In the embodiment of the present invention, the station opening request message further carries the location information of the base station.
The start-up configuration information also comprises initial frequency point and/or initial neighboring cell information of the base station.
Further, the invention also comprises the step of determining the frequency point and/or the adjacent area information corresponding to the base station according to the position information; and performing parameter optimization on the initial frequency point and/or the initial neighboring cell information in the start-up configuration information according to the determined frequency point and/or neighboring cell information. In the embodiment of the invention, after the start-up configuration information is acquired, the current frequency point and/or the current adjacent cell information corresponding to the base station can be determined according to the position information of the base station, so that the start-up problem caused by the fact that the adjacent cell information is changed and is developed according to the initial frequency point and/or the initial adjacent cell information is avoided, and the start-up efficiency and accuracy are further improved.
Fig. 3 is a flowchart of a base station opening method according to an embodiment of the present invention. The method is configured to be executed at a base station side, and referring to fig. 3, the base station opening method of the embodiment of the invention specifically includes the following steps:
and S21, establishing an SSL secure session channel with the server.
In the embodiment of the invention, the SSL secure session channel is established between the base station and the server based on the TR-069 protocol, parameter data interaction is realized, functions such as firewall addition and the like are not needed, the increase of operation cost is avoided, and the stability and the security of the communication network are higher.
S22, sending a station opening request message to the server through the secure session channel, wherein the station opening request message carries the MAC address of the current base station, so that the server can obtain the station opening configuration information corresponding to the current base station according to the MAC address.
And S23, receiving a station opening response message sent by the server through the secure session channel, wherein the station opening response message carries the station opening configuration information.
And S24, opening the station according to the station opening configuration information.
In the embodiment of the present invention, the start-up request message further carries location information of the current base station, so that the server determines frequency point and/or neighboring cell information corresponding to the current base station according to the location information, and performs parameter optimization on the initial frequency point and/or initial neighboring cell information in the start-up configuration information according to the determined frequency point and/or neighboring cell information.
According to the base station opening method provided by the embodiment of the invention, the base station can safely send the MAC address of the base station to the server through the SSL secure session channel established between the server and the base station, and the server can automatically acquire the station opening configuration information required by station opening according to the MAC address of the base station and return the station opening configuration information to the base station through the secure session channel, so that the base station can complete the automatic station opening function, the manpower station opening cost and the parameter conflict risk are reduced, and the station opening efficiency of the base station is improved.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fig. 4 schematically shows a structural diagram of a base station opening apparatus according to an embodiment of the present invention. The base station opening device of the embodiment of the invention is configured at the server side. Referring to fig. 4, the base station opening apparatus in the embodiment of the present invention specifically includes a server side configuration module 301, a server side receiving module 302, a server side obtaining module 303, and a server side sending module 304, where:
a server side configuration module 301, configured to establish an SSL secure session channel with a base station;
a server side receiving module 302, configured to receive, through the secure session channel, an open request message sent by the base station, where the open request message carries an MAC address of the base station;
a server side obtaining module 303, configured to obtain the station opening configuration information corresponding to the base station according to the MAC address;
a server side sending module 304, configured to send the station opening response message to the base station through the secure session channel, so that the base station opens a station according to the station opening response message, where the station opening response message carries the station opening configuration information.
In this embodiment of the present invention, the server side obtaining module 303 specifically includes a determining unit and a searching unit, where:
the judging unit is used for judging whether the MAC address is a legal address in a preset mapping relation;
and the searching unit is used for searching the station opening configuration information corresponding to the MAC address according to the mapping relation when the MAC address is a legal address in the mapping relation, wherein the mapping relation comprises the corresponding relation between the MAC address and the station opening configuration information of the corresponding base station.
Further, the server-side obtaining module 303 further includes:
the warning unit is used for generating a warning refusing message when the MAC address is not a legal address in the mapping relation;
the server-side sending module 304 is further configured to send the rejection alert message to the base station through the secure session channel.
In the embodiment of the present invention, the station opening request message further carries location information of the base station; the start-up configuration information comprises an initial frequency point and/or initial neighboring cell information of the base station;
the device further comprises:
and the parameter optimization module is used for determining the frequency point and/or the adjacent cell information corresponding to the base station according to the position information, and performing parameter optimization on the initial frequency point and/or the initial adjacent cell information in the start-up configuration information according to the determined frequency point and/or adjacent cell information.
Fig. 5 schematically shows a structural diagram of a base station opening apparatus according to an embodiment of the present invention. The base station opening device of the embodiment of the invention is configured at the base station side. Referring to fig. 5, the base station open device according to the embodiment of the present invention specifically includes a base station side configuration module 401, a base station side transmission module 402, a base station side reception module 403, and an open processing module 404, where:
a base station side configuration module 401, configured to establish an SSL secure session channel with a server;
a base station side sending module 402, configured to send an open request message to the server through the secure session channel, where the open request message carries an MAC address of a current base station, so that the server obtains open configuration information corresponding to the current base station according to the MAC address;
a base station side receiving module 403, configured to receive, through the secure session channel, a station opening response message sent by the server, where the station opening response message carries the station opening configuration information;
and a station opening processing module 404, configured to open a station according to the station opening configuration information.
In the embodiment of the present invention, the start-up request message further carries location information of the current base station, so that the server determines frequency point and/or neighboring cell information corresponding to the current base station according to the location information, and performs parameter optimization on the initial frequency point and/or initial neighboring cell information in the start-up configuration information according to the determined frequency point and/or neighboring cell information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
According to the base station opening method and device provided by the embodiment of the invention, the base station can safely send the MAC address of the base station to the server through the SSL secure session channel established between the server and the base station, and the server can automatically acquire the opening configuration information required by opening the base station according to the MAC address of the base station and return the opening configuration information to the base station through the secure session channel, so that the base station can complete the automatic opening function, the manpower opening cost and the parameter conflict risk are reduced, and the base station opening efficiency is improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method according to any of the above embodiments.
In this embodiment, if the module/unit integrated with the base station opening apparatus is implemented in the form of a software functional unit and sold or used as an independent product, the module/unit may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The device provided by the embodiment of the present invention includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps in each of the above embodiments of the base station opening method when executing the computer program, for example, S11 shown in fig. 2, and establishes an SSL secure session channel with the base station. S12, receiving a station opening request message sent by the base station through the secure session channel, wherein the station opening request message carries the MAC address of the base station. And S13, acquiring the corresponding station opening configuration information of the base station according to the MAC address. S14, sending the response message to the base station through the secure session channel, so that the base station opens the station according to the response message, wherein the response message carries the configuration information. Or, for example, S21 shown in fig. 3, an SSL secure session channel is established with the server. S22, sending a station opening request message to the server through the secure session channel, wherein the station opening request message carries the MAC address of the current base station, so that the server can obtain the station opening configuration information corresponding to the current base station according to the MAC address. And S23, receiving a station opening response message sent by the server through the secure session channel, wherein the station opening response message carries the station opening configuration information. And S24, opening the station according to the station opening configuration information. Alternatively, the processor implements the functions of the modules/units in the embodiments of the base station opening apparatus when executing the computer program, for example, the server side configuration module 301, the server side receiving module 302, the server side acquiring module 303, and the server side transmitting module 304 shown in fig. 4. Or, for example, the base station side configuration module 401, the base station side transmission module 402, the base station side reception module 403, and the station opening processing module 404 shown in fig. 5.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the corresponding base station open station device.
The apparatus may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the device is not limiting and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the device may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is the control center for the device and that connects the various parts of the overall device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the apparatus by running or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
In the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the described units or division of units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
Those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention 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; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.