CN108882268B - Method and device for updating device configuration - Google Patents

Method and device for updating device configuration Download PDF

Info

Publication number
CN108882268B
CN108882268B CN201810431933.4A CN201810431933A CN108882268B CN 108882268 B CN108882268 B CN 108882268B CN 201810431933 A CN201810431933 A CN 201810431933A CN 108882268 B CN108882268 B CN 108882268B
Authority
CN
China
Prior art keywords
equipment
indication information
type
master
configuration
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.)
Active
Application number
CN201810431933.4A
Other languages
Chinese (zh)
Other versions
CN108882268A (en
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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201810431933.4A priority Critical patent/CN108882268B/en
Publication of CN108882268A publication Critical patent/CN108882268A/en
Application granted granted Critical
Publication of CN108882268B publication Critical patent/CN108882268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/08Access point devices
    • H04W88/085Access point devices with remote components

Landscapes

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

Abstract

The invention discloses a method and equipment for updating equipment configuration. The method comprises the following steps: after receiving the first indication information sent by the second device, the first device may obtain target configuration information corresponding to the type of the main control device to which the first device belongs according to the type of the main control device to which the first device belongs and a correspondence between the type and the configuration information, which are included in the first indication information, and may further update the configuration of the first device according to the target configuration information. Therefore, when the type of the master control device to which the first device belongs is changed, the first device can update the configuration according to the received type of the master control device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.

Description

Method and device for updating device configuration
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a device for updating device configuration.
Background
The cascade system refers to a system composed of at least one master device and a plurality of slave devices, wherein any one of the plurality of slave devices may be directly connected with any one master device, or any one of the plurality of slave devices may also be connected with any one master device through other slave devices. In a cascade system, once the type of a master device is changed, the configuration of a slave device connected to the master device cannot meet the requirement of the changed master device, which results in the problem of mismatch between the master device and the slave device, and further causes the operation of the cascade system to fail.
Therefore, a method for updating device configuration is needed to solve the problem that the type of the master device in the prior art changes, which results in the mismatch between the related configuration of the slave device and the master device.
Disclosure of Invention
Embodiments of the present invention provide a method and a device for updating a device configuration, so as to solve a technical problem in the prior art that a relevant configuration of a slave device is not matched with a master device due to a change in a type of the master device.
The embodiment of the invention provides a method for updating equipment configuration, which comprises the following steps:
the method comprises the steps that first equipment receives first indication information sent by second equipment; the first indication information comprises the type of a main control device to which the first device belongs; the second device is a superior device of the first device;
the first equipment obtains target configuration information corresponding to the type of the main control equipment to which the first equipment belongs according to the type of the main control equipment to which the first equipment belongs and the corresponding relation between the type stored in advance and the configuration information; the target configuration information includes at least one of: an operation mode, a function realization module, database parameters and a configuration file;
and the first equipment updates the configuration of the first equipment according to the target configuration information.
Therefore, when the type of the master control device to which the first device belongs is changed, the first device can update the configuration according to the received type of the master control device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
Optionally, the first indication information further includes an interface identifier of the first device accessing the master control device and a hierarchy of the first device accessing the master control device;
after the first device receives the first indication information sent by the second device, the method further includes:
the first device determines a network address of the first device according to the type of a master control device to which the first device belongs, an interface identifier of the first device accessing the master control device, and a hierarchy of the first device accessing the master control device;
and the first equipment establishes communication connection with the main control equipment by using the network address.
Therefore, when any one of the type of the master control device, the interface position of the first device accessing the master control device and the hierarchy of the first device accessing the master control device is changed, the first device can be adaptively adjusted, so that the universality of the slave device is effectively improved, and the maintenance cost of the cascade system is reduced.
Optionally, before the first device receives the first indication information sent by the second device, the method further includes:
the first equipment receives second indication information sent by second equipment;
and after the first equipment determines that the content of the second indication information is different from the historical information stored in the first equipment, restarting the first equipment.
The embodiment of the invention provides a method for updating equipment configuration, which comprises the following steps:
after determining that a first device is accessed to a second device, a second device generates first indication information, wherein the first indication information comprises the type of a main control device to which the first device belongs;
and the second equipment sends the first indication information to the first equipment, wherein the first indication information is used for indicating the first equipment to update the configuration of the first equipment according to the type of the main control equipment to which the first equipment belongs.
Therefore, after the second device determines that the first device is connected to the second device, the type of the master control device of the first device can be sent to the first device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
Optionally, the first indication information further includes an interface identifier of the first device accessing the master control device and a hierarchy of the first device accessing the master control device.
An embodiment of the present invention provides an apparatus, including:
the receiving unit is used for receiving first indication information sent by second equipment; the first indication information comprises the type of a main control device to which the device belongs; the second device is a superior device of the device;
the processing unit is used for obtaining target configuration information corresponding to the type of the main control equipment to which the equipment belongs according to the type of the main control equipment to which the equipment belongs and the corresponding relation between the type stored in advance and the configuration information; the target configuration information includes at least one of: an operation mode, a function realization module, database parameters and a configuration file;
and the updating unit is used for updating the configuration of the equipment according to the target configuration information.
Therefore, when the type of the master control device to which the first device belongs is changed, the first device can update the configuration according to the received type of the master control device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
Optionally, the first indication information further includes an interface identifier of the device accessing the master control device and a hierarchy of the device accessing the master control device;
after the receiving unit receives the first indication information sent by the second device, the processing unit is further configured to:
determining a network address of the device according to the type of a main control device to which the device belongs, an interface identifier of the device accessing the main control device and the hierarchy of the device accessing the main control device; and establishing a communication connection with the master device using the network address.
Therefore, when any one of the type of the master control device, the interface position of the first device accessing the master control device and the hierarchy of the first device accessing the master control device is changed, the first device can be adaptively adjusted, so that the universality of the slave device is effectively improved, and the maintenance cost of the cascade system is reduced.
Optionally, before receiving the first indication information sent by the second device, the receiving unit is further configured to:
receiving second indication information sent by second equipment;
the processing unit is further configured to restart the device after determining that the content of the second indication information is different from the history information stored in the device.
An embodiment of the present invention provides an apparatus, where the apparatus includes:
a generating unit, configured to generate first indication information after determining that a first device accesses the device, where the first indication information includes a type of a master control device to which the first device belongs;
a sending unit, configured to send the first indication information to the first device, where the first indication information is used to indicate the first device to update the configuration of the first device according to the type of a master control device to which the first device belongs.
Therefore, after the second device determines that the first device is connected to the second device, the type of the master control device of the first device can be sent to the first device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
Optionally, the first indication information further includes an interface identifier of the first device accessing the master control device and a hierarchy of the first device accessing the master control device.
In the embodiment of the present invention, after receiving first indication information sent by a higher-level device (that is, a second device), a first device may obtain target configuration information corresponding to a type of a main control device to which the first device belongs according to the type of the main control device to which the first device belongs and a correspondence between a type and configuration information that are stored in advance, where the type of the main control device to which the first device belongs is included in the first indication information, and may further update configuration of the first device according to the target configuration information. Therefore, when the type of the master control device to which the first device belongs is changed, the first device can update the configuration according to the received type of the master control device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1a is a schematic diagram of a system architecture suitable for use in embodiments of the present invention;
FIG. 1b is a schematic diagram of a distributed base station (Femto) system in the field of mobile communications to which embodiments of the present invention are applicable;
fig. 2 is a schematic flowchart illustrating a method for updating device configuration according to an embodiment of the present invention;
FIG. 3 is a flow diagram illustrating the integrity involved in an embodiment of the present invention;
FIG. 4 is a schematic flowchart of updating device configuration in a distributed femto base station system according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another apparatus provided in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Fig. 1a is a schematic diagram of a system architecture applicable to an embodiment of the present invention, as shown in fig. 1a, the system architecture includes at least one master device, such as the master device 1011 and the master device 1012 shown in fig. 1 a; a first level slave device directly connected to the master device, such as slave device 1021 directly connected to master device 1011, slave device 1022 directly connected to master device 1012 shown in fig. 1 a; second level slave devices directly connected to the first level slave devices, such as slave device 1031 directly connected to slave device 1021 and slave device 1032 directly connected to slave device 1022, as shown in fig. 1 a.
In the embodiment of the present invention, the first-level slave device directly connected to the master control device 1011, or the second-level slave device, the third-level slave device, and the like indirectly connected to the master control device 1011 are all master control devices 1011.
Specifically, the master device may be provided with a plurality of interfaces, such as the master device 1011 shown in fig. 1a is provided with an interface 1 and an interface 2, and the slave device 1021 may be connected with the master device 1011 through the interface 1; alternatively, the slave device 1021 may be connected to the master device 1011 through the interface 2. The interface may be of various types, such as an optical fiber interface, a twisted pair interface, and the like.
Further, the master control device may further be provided with a bottom layer module, where the bottom layer module of the master control device is configured to detect the type of the master control device and detect whether any interface on the master control device has slave device access, and when it is determined that any interface on the master control device has slave device access, send the detected type of the master control device and the interface identifier of the access passing device to the slave device.
The slave device may also be provided with a bottom module, for example, a first-level slave device, the bottom module of the slave device 1021 is configured to receive information sent by the bottom module of the master device 1011 and send the received information to a second-level slave device, for example, the bottom module of the slave device 1021 may send the received information to the bottom module of the slave device 1031.
For example, the system architecture shown in fig. 1b may be a distributed base station (femto) system in the Field of mobile communications, so that the master device may be a master base station, the other devices may be convergence switch units, the interface may be an optical fiber interface (abbreviated as optical port), and the underlying module may be a Field-Programmable Gate Array (FPGA) chip.
Based on the system architecture shown in fig. 1a, fig. 2 is a flowchart corresponding to a method for updating device configuration according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes the following steps:
step 201, after the second device determines that the first device accesses the second device, the second device generates first indication information.
Step 202, the second device sends the first indication information to the first device.
Step 203, the first device receives the first indication information sent by the second device.
Step 204, the first device obtains target configuration information corresponding to the type of the main control device to which the first device belongs according to the type of the main control device to which the first device belongs, which is included in the first indication information, and a correspondence between the type and the configuration information, which are stored in advance.
Step 205, the first device updates the configuration of the first device according to the target configuration information.
It should be noted that, in the above steps 201 to 205, taking the system architecture diagram shown in fig. 1a as an example, in an example, the first device may be a first-level slave device, such as any one of the slave devices 1021 and 1022; accordingly, the second device is a master device. For example, when the first device is the slave device 1021, the second device is the master device 1011; when the first device is the slave device 1022, the second device is the master device 1012.
In another example, the first device may be a second level slave device, such as any one of slave devices 1031, 1032; accordingly, the second device is a first level slave device. For example, when the first device is the slave device 1031, the second device is the slave device 1021; when the first device is slave 1032, the second device is slave 1022.
In other possible examples, the first device may also be a third-level slave device (not shown in fig. 1 a) directly connected to the second-level slave device, and accordingly, the second device is the second-level slave device, which is not limited in particular.
Therefore, when the type of the master control device to which the first device belongs is changed, the first device can update the configuration according to the received type of the master control device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
Specifically, the second device is a superior device of the first device, and accordingly, the first device is an inferior device of the second device. That is, the first device may receive the first indication information transmitted by the upper level device of the first device, but the first device cannot receive the first indication information by overriding, that is, the first device may not directly receive the first indication information transmitted by the upper level device of the first device. Taking the system architecture diagram shown in fig. 1a as an example, the master device 1011 is an upper level device of the slave device 1021, and the slave device 1021 can receive the first indication information sent by the master device 1011; the slave device 1021 is an upper-level device of the slave device 1031, and the slave device 1031 may receive the first indication information transmitted from the slave device 1021.
The first indication information may include a type of a master device to which the first device belongs. The type of the master control device may be determined according to the type of the master control device, or may also be determined according to a network standard supported by the master control device, which is not limited specifically.
Taking the system architecture shown in fig. 1b as an example, the type of the master control device may be determined according to a network format supported by the host, for example, if the network format supported by the master base station 1 is Long Term Evolution-Time Division duplex (LTE-TDD), the type of the master base station 1 may be LTE-TDD; the network standard supported by the main base station 2 is Long Term Evolution-Frequency Division duplex (LTE-FDD), and the type of the main base station 2 may be LTE-FDD, and so on, as shown in table 1, the network standard is an example of the type of the main control device, and details are not repeated.
Table 1: an example of a type of master device
Figure BDA0001653632950000081
Further, the first indication information may further include an interface identifier of the first device accessing the master control device, and a hierarchy of the first device accessing the master control device.
As described above, the master control device may be provided with a plurality of interfaces, and in order to distinguish different interfaces in the master control device, the interfaces may be distinguished in an interface identification manner in the embodiment of the present invention. The interface identifier may have various forms, such as numbers, letters, words, symbols, character strings, and the like, and is not limited specifically. Table 2 shows an example of interface identifiers of the master control device, and as shown in table 2, the type of the 1 st master control device is LTE-TDD, the master control device is provided with 3 interfaces, and the interface identifiers are A, B, C respectively; the type of the 2 nd main control device is LTE-FDD, the main control device is provided with 3 interfaces, and the interface identifiers are A, B, C respectively.
Table 2: example of interface identification of master device
Figure BDA0001653632950000091
It should be noted that: (1) if the second device is the master control device, after the second device determines that the first device is accessed, the second device determines an interface identifier of the first device accessed to the master control device according to the specific accessed interface position of the first device; (2) if the second equipment is the first-level slave equipment, after the second equipment determines that the first equipment is accessed, the second equipment determines the interface identifier of the first equipment accessed to the main control equipment according to the identifier of the second equipment accessed to the main control equipment; (3) if the second device is another slave device (for example, the second device is a second-level slave device or a third-level slave device), the analogy can be performed according to the above method, and details are not described again.
The hierarchy at which the first device accesses the master device may be the location of the first device in the system. As shown in the system architecture of fig. 1a, if the first device is directly connected to the master device, the level of the first device accessing the master device is the first level, that is, the level of the slave device 1021 accessing the master device 1011 shown in fig. 1a is the first level; if the first device is not directly connected to the master device, the level of the first device accessing the master device is determined according to the level of the first device accessing the master device, for example, the slave device 1031 shown in fig. 1a is directly connected to the slave device 1021, and the level of the slave device 1021 accessing the master device is the first level, and the level of the slave device 1031 accessing the master device is the second level.
In order to more clearly describe the hierarchy of accessing the master device by the first device, the following takes the content shown in fig. 1a as an example to illustrate the hierarchy of accessing the master device by each slave device shown in fig. 1 a. Table 3 is an example of a hierarchy of the first device accessing the master device, and as shown in table 3, if the first device is the slave device 1021, the hierarchy of the first device accessing the master device is the first level; if the first device is the slave device 1022, the hierarchy of the first device accessing the master control device is the first level; if the first device is the slave device 1031, the hierarchy that the first device accesses the master control device is a second level; if the first device is the slave device 1032, the hierarchy of the first device accessing the master device is the second level.
Table 3: example of a hierarchy for a first device to access a master device
First device The first equipment is connected withInto the hierarchy of master control devices
Slave device
1021 First stage
Slave device
1022 First stage
Slave device
1031 Second stage
Slave device
1032 Second stage
In step 204, the first device may store a corresponding relationship between the type and the configuration information in advance. As described in table 4, details of an example of the correspondence between the type and the configuration information are not repeated. Thus, the first device obtains the target configuration information corresponding to the type of the main control device to which the first device belongs according to the type of the main control device to which the first device belongs and the corresponding relationship between the type and the configuration information stored in advance.
Table 4: example of correspondence between types and configuration information
Type (B) Configuration information
LTE-TDD Configuration information 1
LTE-FDD Configuration information 2
WCDMA Configuration information 3
GSM Configuration information 4
In other possible implementation manners, the corresponding relationship between the type and the configuration information may also be stored in a database, so that the first device may access the database to obtain the corresponding relationship between the type and the configuration information, and further obtain target configuration information corresponding to the type of the main control device to which the first device belongs according to the type of the main control device to which the first device belongs and the corresponding relationship between the type and the configuration information stored in advance; or, the first device may also access the database to obtain the target configuration information corresponding to the type of the master control device to which the first device belongs according to the type of the master control device to which the first device belongs, which is not limited specifically.
Further, the configuration information may include at least one of an operation mode, a function implementation module, a database parameter, and a configuration file. As shown in table 5, as an example of configuration information, the operation mode in the configuration information 1 is mode 1, the function implementation module is module 1, the database parameter is parameter 1, and the configuration file is configuration file 1; the operation mode in the configuration information 2 is mode 2, the function implementation module is module 2, the database parameter is parameter 2, and the configuration file is configuration file 2; the operation mode in the configuration information 3 is a mode 3, the function implementation module is a module 3, the database parameters are parameters 3, and the configuration file is a configuration file 3; the operation mode in the configuration information 4 is mode 4, the function implementation module is module 4, the database parameters are parameters 4, and the configuration file is configuration file 4.
Table 5: an example of configuration information
Configuration information Mode of operation Function implementation module Database parameters Configuration file
Configuration information 1 Mode 1 Module 1 Parameter 1 Configuration document 1
Configuration information 2 Mode 2 Module 2 Parameter 2 Configuration file 2
Configuration information 3 Mode 3 Module 3 Parameter 3 Configuration file 3
Configuration information 3 Mode 4 Module 4 Parameter 4 Configuration file 4
In this way, the first device may update the configuration of the first device according to the target configuration information. Specifically, the first device may set a current operation mode according to the operation mode in the target configuration information, and load the corresponding database, the configuration file, and the corresponding function implementation module according to the current operation mode, so that the slave device may change the configuration of the slave device according to a change in the type of the master device, thereby avoiding a problem that the configuration of the slave device connected to the master device cannot meet a requirement of the changed master device due to the change in the type of the master device, further effectively improving the universality and adaptability of the slave device, and reducing the maintenance cost of the cascaded system.
After step 203, the first device may further determine a network address of the first device according to the type of the master device to which the first device belongs, the interface identifier of the first device accessing the master device, and the hierarchy of the first device accessing the master device.
Table 6 is an example of determining a network address of the first device, and is specifically shown in table 6, which is not described herein again. As can be seen from the content shown in table 6, the type of the master device may affect a network segment in an Internet Protocol (IP) address of an interconnection between networks, and the interface identifier of the master device accessed by the first device and the hierarchy of the master device accessed by the first device may affect a specific IP address.
Table 6: an example of determining a network address of a first device
Figure BDA0001653632950000111
Figure BDA0001653632950000121
Based on the network address determined above, the first device may establish a communication connection with the master device using the network address, so as to enable application layer-related service interaction. Therefore, when any one of the type of the master control device, the interface position of the first device accessing the master control device and the hierarchy of the first device accessing the master control device is changed, the first device can be adaptively adjusted, so that the universality of the slave device is effectively improved, and the maintenance cost of the cascade system is reduced.
In a specific implementation process, the first indication information may be sent to the bottom layer module of the first device by the bottom layer module of the second device, and after receiving the first indication information, the first device may store the first indication information in a certain address unit (e.g., an FPGA register), so that the first device can update the configuration of the first device according to the first indication information stored in the FPGA register.
In the implementation process, it is determined that the configuration of the first device needs to be updated, and the first indication information stored in the FPGA register is cleared after the first device is restarted, so that before the step 201 is performed, the first device may receive the second indication information sent by the second device, and restart the first device after determining that the content of the second indication information is different from the history information stored in the first device.
It should be noted that: (1) the content of the second indication information may be identical to the content of the first indication information; (2) and if the first equipment determines that the content of the second indication information is the same as the history information stored by the first equipment, the first equipment does not need to be restarted.
Further, after receiving second indication information sent by the second device, the first device may further determine whether content of the second indication information meets a preset condition, and if the content of the second indication information meets the preset condition and is different from the history information stored in the first device, restart the first device; otherwise, the first device does not need to be restarted.
The preset condition may be set by a person skilled in the art according to experience or actual conditions, and is not limited specifically. For example, if it is determined that the interface identifier of the master device is A, B or C and the interface identifier of the master device accessed by the first device included in the second indication information is D, the second indication information may be considered to be not compliant with the preset condition.
In order to describe the above method for updating the device configuration more clearly, the flow involved in the embodiment of the present invention is generally described below with reference to fig. 3. As shown in fig. 3, the following steps may be included:
step 301, after the second device determines that the first device accesses the second device, generating second indication information.
Step 302, the second device sends second indication information to the first device.
Step 303, the first device receives the second indication information sent by the second device.
Step 304, the first device judges whether the content of the second indication information is different from the history information stored in the first device, if so, step 305 is executed; otherwise, return to step 303.
Step 305, the first device determines whether the content of the second indication information meets a preset condition, and if so, executes step 306; otherwise, return to step 303.
Step 306, the first device is restarted.
Step 307, after the second device determines that the first device accesses the second device, generating first indication information.
Step 308, the second device sends the first indication information to the first device.
Step 309, the first device receives the first indication information sent by the second device.
Step 310, the first device determines whether the content of the first indication information meets a preset condition, and if so, executes step 311; otherwise, return to step 309.
And 311, the first device obtains target configuration information corresponding to the type of the main control device to which the first device belongs according to the first indication information.
Step 312, the first device updates the configuration of the first device according to the target configuration information.
Step 313, the first device determines a network address of the first device according to the first indication information.
In step 314, the first device establishes a communication connection with the master device using the network address.
It should be noted that the step number is only an exemplary representation of an execution flow, and the sequence of each step is not specifically limited in the present application, for example, in step 304 and step 405, the first device may also determine whether the content of the second indication information meets a preset condition, and then determine whether the content of the second indication information is different from the history information stored in the first device.
The flow chart shown in fig. 3 is illustrated by the system architecture shown in fig. 1b, and as shown in fig. 4, a schematic flow chart of updating device configuration in a femto base station distributed system provided by the embodiment of the present invention is shown, and specific contents may refer to the contents described above, and are not repeated herein.
Based on the same concept, an apparatus provided by the embodiment of the present invention, as shown in fig. 5, includes a receiving unit 501, a processing unit 502, and an updating unit 503; wherein the content of the first and second substances,
a receiving unit 501, configured to receive first indication information sent by a second device; the first indication information comprises the type of a main control device to which the device belongs; the second device is a superior device of the device;
a processing unit 502, configured to obtain target configuration information corresponding to the type of a master control device to which the device belongs according to the type of the master control device to which the device belongs and a correspondence between a pre-stored type and the configuration information; the target configuration information includes at least one of: an operation mode, a function realization module, database parameters and a configuration file;
an updating unit 503, configured to update the configuration of the device according to the target configuration information.
Optionally, the first indication information further includes an interface identifier of the device accessing the master control device and a hierarchy of the device accessing the master control device;
after the receiving unit 501 receives the first indication information sent by the second device, the processing unit 502 is further configured to:
determining a network address of the device according to the type of a main control device to which the device belongs, an interface identifier of the device accessing the main control device and the hierarchy of the device accessing the main control device; and establishing a communication connection with the master device using the network address.
Optionally, before receiving the first indication information sent by the second device, the receiving unit 501 is further configured to:
receiving second indication information sent by second equipment;
the processing unit 502 is further configured to restart the device after determining that the content of the second indication information is different from the history information stored in the device.
Based on the same conception, an apparatus provided by the embodiment of the present invention, as shown in fig. 6, includes a generating unit 601, a sending unit 602; wherein the content of the first and second substances,
a generating unit 601, configured to generate first indication information after determining that a first device accesses the device, where the first indication information includes a type of a master control device to which the first device belongs;
a sending unit 602, configured to send the first indication information to the first device, where the first indication information is used to indicate the first device to update the configuration of the first device according to the type of the master device to which the first device belongs.
Optionally, the first indication information further includes an interface identifier of the first device accessing the master control device and a hierarchy of the first device accessing the master control device.
In the embodiment of the present invention, after receiving first indication information sent by a higher-level device (that is, a second device), a first device may obtain target configuration information corresponding to a type of a main control device to which the first device belongs according to the type of the main control device to which the first device belongs and a correspondence between a type and configuration information that are stored in advance, where the type of the main control device to which the first device belongs is included in the first indication information, and may further update configuration of the first device according to the target configuration information. Therefore, when the type of the master control device to which the first device belongs is changed, the first device can update the configuration according to the received type of the master control device, so that the problem that the configuration of the slave device connected with the master control device cannot meet the requirement of the changed master control device due to the change of the type of the master control device is solved, the universality and the adaptability of the slave device are effectively improved, and the maintenance cost of the cascade system is reduced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for updating equipment configuration, which is applied to a cascade system, and comprises the following steps:
the method comprises the steps that first equipment receives first indication information sent by second equipment; the first indication information comprises the type of a main control device to which the first device belongs; the second device is a superior device of the first device;
the first equipment obtains target configuration information corresponding to the type of the main control equipment to which the first equipment belongs according to the type of the main control equipment to which the first equipment belongs and the corresponding relation between the type stored in advance and the configuration information; the target configuration information includes at least one of: an operation mode, a function realization module, database parameters and a configuration file;
and the first equipment updates the configuration of the first equipment according to the target configuration information.
2. The method of claim 1, wherein the first indication information further includes an interface identifier of the first device accessing the master device and a hierarchy of the first device accessing the master device;
after the first device receives the first indication information sent by the second device, the method further includes:
the first device determines a network address of the first device according to the type of a master control device to which the first device belongs, an interface identifier of the first device accessing the master control device, and a hierarchy of the first device accessing the master control device;
and the first equipment establishes communication connection with the main control equipment by using the network address.
3. The method of claim 1, wherein before the first device receives the first indication information sent by the second device, the method further comprises:
the first equipment receives second indication information sent by second equipment;
and after the first equipment determines that the content of the second indication information is different from the historical information stored in the first equipment, restarting the first equipment.
4. A method for updating equipment configuration, which is applied to a cascade system, and comprises the following steps:
after determining that a first device is accessed to a second device, a second device generates first indication information, wherein the first indication information comprises the type of a main control device to which the first device belongs;
and the second equipment sends the first indication information to the first equipment, wherein the first indication information is used for indicating the first equipment to update the configuration of the first equipment according to the type of the main control equipment to which the first equipment belongs.
5. The method of claim 4, wherein the first indication information further includes an interface identifier of the first device accessing the master device and a hierarchy of the first device accessing the master device.
6. An apparatus, applied to a cascade system, comprising:
the receiving unit is used for receiving first indication information sent by second equipment; the first indication information comprises the type of a main control device to which the device belongs; the second device is a superior device of the device;
the processing unit is used for obtaining target configuration information corresponding to the type of the main control equipment to which the equipment belongs according to the type of the main control equipment to which the equipment belongs and the corresponding relation between the type stored in advance and the configuration information; the target configuration information includes at least one of: an operation mode, a function realization module, database parameters and a configuration file;
and the updating unit is used for updating the configuration of the equipment according to the target configuration information.
7. The device according to claim 6, wherein the first indication information further includes an interface identifier of the device accessing the master device and a hierarchy of the device accessing the master device;
after the receiving unit receives the first indication information sent by the second device, the processing unit is further configured to:
determining a network address of the device according to the type of a main control device to which the device belongs, an interface identifier of the device accessing the main control device and the hierarchy of the device accessing the main control device; and establishing a communication connection with the master device using the network address.
8. The apparatus of claim 6, wherein the receiving unit, before receiving the first indication information sent by the second apparatus, is further configured to:
receiving second indication information sent by second equipment;
the processing unit is further configured to restart the device after determining that the content of the second indication information is different from the history information stored in the device.
9. An apparatus, applied to a cascade system, comprising:
a generating unit, configured to generate first indication information after determining that a first device accesses the device, where the first indication information includes a type of a master control device to which the first device belongs;
a sending unit, configured to send the first indication information to the first device, where the first indication information is used to indicate the first device to update the configuration of the first device according to the type of a master control device to which the first device belongs.
10. The device according to claim 9, wherein the first indication information further includes an interface identifier of the first device accessing the master device and a hierarchy of the first device accessing the master device.
CN201810431933.4A 2018-05-08 2018-05-08 Method and device for updating device configuration Active CN108882268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810431933.4A CN108882268B (en) 2018-05-08 2018-05-08 Method and device for updating device configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810431933.4A CN108882268B (en) 2018-05-08 2018-05-08 Method and device for updating device configuration

Publications (2)

Publication Number Publication Date
CN108882268A CN108882268A (en) 2018-11-23
CN108882268B true CN108882268B (en) 2021-09-24

Family

ID=64326389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810431933.4A Active CN108882268B (en) 2018-05-08 2018-05-08 Method and device for updating device configuration

Country Status (1)

Country Link
CN (1) CN108882268B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021243664A1 (en) * 2020-06-04 2021-12-09 华为技术有限公司 Wireless communication method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983857A (en) * 2006-04-05 2007-06-20 华为技术有限公司 Method and device for configuring parameter of antenna equipment
CN101114941A (en) * 2007-06-28 2008-01-30 中兴通讯股份有限公司 Method for slave equipment to configuration data in master-salve equipments
CN101282240A (en) * 2008-05-15 2008-10-08 华为技术有限公司 Method, equipment and system for managing network apparatus
CN102541475A (en) * 2012-03-12 2012-07-04 成都市华为赛门铁克科技有限公司 Data storage method and data storage device
CN104956752A (en) * 2013-01-24 2015-09-30 索尼公司 Mobile communication device and method for allocating resources outside of a virtual carrier based on UE capabilities
CN106972958A (en) * 2017-03-13 2017-07-21 海信集团有限公司 Gateway device collocation method, apparatus and system
CN107124481A (en) * 2017-05-09 2017-09-01 广州海盈电气技术有限公司 A kind of collocation method, system and the equipment of KNX group address

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8929306B2 (en) * 2010-05-26 2015-01-06 Lg Electronics Inc. NAS-based signaling protocol for overload protection of random access in massive machine type communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983857A (en) * 2006-04-05 2007-06-20 华为技术有限公司 Method and device for configuring parameter of antenna equipment
CN101114941A (en) * 2007-06-28 2008-01-30 中兴通讯股份有限公司 Method for slave equipment to configuration data in master-salve equipments
CN101282240A (en) * 2008-05-15 2008-10-08 华为技术有限公司 Method, equipment and system for managing network apparatus
CN102541475A (en) * 2012-03-12 2012-07-04 成都市华为赛门铁克科技有限公司 Data storage method and data storage device
CN104956752A (en) * 2013-01-24 2015-09-30 索尼公司 Mobile communication device and method for allocating resources outside of a virtual carrier based on UE capabilities
CN106972958A (en) * 2017-03-13 2017-07-21 海信集团有限公司 Gateway device collocation method, apparatus and system
CN107124481A (en) * 2017-05-09 2017-09-01 广州海盈电气技术有限公司 A kind of collocation method, system and the equipment of KNX group address

Also Published As

Publication number Publication date
CN108882268A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN113342371B (en) Internet of things equipment upgrading system
CN109150572B (en) Method, device and computer readable storage medium for realizing alarm association
US20150347120A1 (en) Techniques to isolating a portion of an online computing service
CN110995513B (en) Data sending and receiving method in Internet of things system, internet of things equipment and platform
CN108255725B (en) Test method and device
CN106528289B (en) Resource operation processing method and device
US11095518B2 (en) Determining violation of a network invariant
CN109379445A (en) A kind of sending method and device of PUSH message
CN108460271B (en) Terminal identification method and device
CN111428269A (en) Data access method and device and terminal equipment
US20170085673A1 (en) Attribute Operating Method and Apparatus
CN108882268B (en) Method and device for updating device configuration
CN109714214B (en) Server exception handling method and management equipment
CN113098852B (en) Log processing method and device
CN106790411B (en) The non-polymeric port cascade system and method for virtual switch and physical switches
CN109587061B (en) Method, device and equipment for processing route
CN113992685B (en) Service controller determining method, system and device
CN106533882B (en) Message processing method and device
CN107210996B (en) Service chain management method and device
CN111629054B (en) Message processing method, device and system, electronic equipment and readable storage medium
CN110769462B (en) Network access control method and device
CN110995502B (en) Network configuration management method, device, switching equipment and readable storage medium
CN114237928A (en) Inter-container communication method and device, electronic equipment and computer-readable storage medium
CN108021407B (en) Service processing method and device based on network equipment
CN107872493A (en) A kind of information processing method, terminal and server

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
TA01 Transfer of patent application right

Effective date of registration: 20200107

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant