CN111427259A - Frame slot type main/standby switching method, intelligent device and storage medium - Google Patents

Frame slot type main/standby switching method, intelligent device and storage medium Download PDF

Info

Publication number
CN111427259A
CN111427259A CN202010234876.8A CN202010234876A CN111427259A CN 111427259 A CN111427259 A CN 111427259A CN 202010234876 A CN202010234876 A CN 202010234876A CN 111427259 A CN111427259 A CN 111427259A
Authority
CN
China
Prior art keywords
control board
standby
board
main
new
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.)
Granted
Application number
CN202010234876.8A
Other languages
Chinese (zh)
Other versions
CN111427259B (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.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202010234876.8A priority Critical patent/CN111427259B/en
Publication of CN111427259A publication Critical patent/CN111427259A/en
Application granted granted Critical
Publication of CN111427259B publication Critical patent/CN111427259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

The invention discloses a frame slot type main/standby switching method, intelligent equipment and a storage medium, wherein the method comprises the steps of determining a first control board which is regarded as a main control board and a second control board which is regarded as a standby board; when the intelligent equipment receives a main/standby switching request, judging whether the second control board normally operates or not; and when the second control board normally operates, controlling the first control board to change the state to be used as a new standby board, and simultaneously controlling the second control board to change the state to be used as a new main control board. The invention aims to quickly switch the main control board and the standby control board, thereby accelerating the recovery speed of equipment failure, greatly improving the usability of the equipment, simultaneously ensuring that one control board always runs to maintain the work of the intelligent equipment, ensuring accurate data and ensuring no data loss.

Description

Frame slot type main/standby switching method, intelligent device and storage medium
Technical Field
The invention relates to the technical field of computer control systems, in particular to a frame slot type main/standby switching method, intelligent equipment and a storage medium.
Background
With the continuous development of science and technology, users put higher requirements on high service reliability and real-time performance, and meanwhile, high reliability is also a basic requirement of telecommunication equipment. However, since telecommunication equipment requires extremely high equipment availability, it is necessary to consider that a functional module of equipment hardware or software can quickly recover to normal operation when the functional module fails, and the equipment can generally recover to normal operation within several seconds. The system module is controlled by the equipment, and is the most common module with failure.
In the prior art, for the failure of hardware or software of a device control system, three failure recovery methods are often adopted: 1, resetting a software system; 2, replacing the software version; and 3, replacing the hardware. However, the three common fault recovery methods cannot recover the normal operation of the equipment quickly, the hardware and software costs are greatly increased, the popularization is limited, and the user experience is reduced.
Accordingly, there is still a need for development and improvement of the prior art.
Disclosure of Invention
Therefore, it is necessary to provide a host/standby switching method of frame slot type, an intelligent device, and a storage medium, for solving the technical problems in the prior art that a device failure cannot be recovered to normal operation quickly and the failure recovery cost is high.
In order to achieve the purpose, the invention adopts the following technical scheme:
a main-standby switching method of a machine frame slot type comprises the following steps:
determining a first control board which is regarded as a main control board and a second control board which is regarded as a standby board;
when the intelligent equipment receives a main/standby switching request, judging whether the second control board normally operates or not;
and when the second control board normally operates, controlling the first control board to change the state to be used as a new standby board, and simultaneously controlling the second control board to change the state to be used as a new main control board.
The method for switching between main and standby machine frames in a slot-in type includes, before determining a first control board regarded as a main control board and a second control board regarded as a standby board:
and determining that the first control board and the second control board can normally operate at the same time.
The frame slot-in type active-standby switching method is characterized in that the step of determining that the first control board and the second control board can normally operate simultaneously specifically comprises the following steps:
acquiring an insertion signal and a starting signal sent by the first control board;
acquiring an insertion signal and a starting signal sent by the second control board;
when the inserting signal and the starting signal sent by the first control board are both normal signals, determining that the first control board normally operates;
and when the inserting signal and the starting signal sent by the second control board are both normal signals, determining that the second control board normally operates.
In the machine frame slot-in type active-standby switching method, the first control board and the second control board are connected through an ethernet port, so that data of the first control board and data of the second control board are synchronous.
The method for switching between the main control board and the standby control board in a machine frame slot type includes:
acquiring and analyzing an activation state indicating signal sent by intelligent equipment;
when the activation state indication signal received by the first control board is the state indication of the activation control board, the first control board is regarded as a main control board, and therefore the intelligent device is controlled;
when the activation state indication signal received by the second control board is the state indication of the inactive control board, the second control board is regarded as a standby board and only receives the data sent by the second control board.
The machine frame slot-in type active/standby switching method includes the following specific steps that when the intelligent device receives an active/standby switching request, whether the second control board normally operates is judged:
when the first control board detects that the intelligent equipment fails, the first control board sends a main/standby switching request to the intelligent equipment;
when the intelligent equipment receives the main/standby switching request, acquiring an insertion signal and a starting signal sent by the second control board;
and judging whether the second control board normally operates or not according to the insertion signal and the starting signal.
The machine frame slot-in type active-standby switching method, wherein when the second control board operates normally, controlling the first control board to change the state to make the first control board serve as a new standby board, and controlling the second control board to change the state to make the second control board serve as a new main control board body includes:
when the insertion signal and the starting signal sent by the second control board are both normal, the intelligent equipment sends an activation state instruction for changing the activation state instruction of the activation control board into an activation state instruction of the deactivation control board to the first control board, and the first control board receives the activation state instruction of the deactivation control board and automatically stops the activation control board, so that the main control board is changed into a new standby board;
meanwhile, the intelligent equipment sends an activation state instruction for changing the activation state instruction of the inactive control board into the activation state instruction of the active control board to the second control board, and the second control board receives the activation state instruction of the active control board and automatically starts up, so that the standby board is changed into a new main control board.
The machine frame slot-in type active-standby switching method further comprises the following steps:
when the intelligent equipment receives an upgrading requirement triggered by a user or an upgrading requirement automatically pushed by a server, the intelligent equipment controls the second control panel which is regarded as a standby panel to finish upgrading operation so as to form a new second control panel;
the first control board and the new second control board automatically execute main-standby switching operation, so that the first control board is used as a new standby board, and the new second control board is used as a new main control board;
and the intelligent equipment controls the first control board which is regarded as a new standby board to finish upgrading operation.
The invention also provides intelligent equipment, which comprises a machine frame, wherein the machine frame is provided with a plurality of slot positions, the machine frame comprises a processor and a memory connected with the processor, the intelligent equipment also comprises a first control board and a second control board which are matched with the corresponding slot positions, the first control board is connected with the second control board, the memory stores a main and standby switching program of the machine frame slot type, and the processor is used for realizing the steps in the main and standby switching method of the machine frame slot type when executing.
The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps in the subrack-type active/standby switching method described above.
Has the advantages that:
compared with the prior art, the invention provides a frame slot-in type main/standby switching method, intelligent equipment and a storage medium, wherein the method comprises the steps of determining a first control board which is regarded as a main control board and a second control board which is regarded as a standby board; when the intelligent equipment receives a main/standby switching request, judging whether the second control board normally operates or not; and when the second control board normally operates, controlling the first control board to change the state to be used as a new standby board, and simultaneously controlling the second control board to change the state to be used as a new main control board. The invention aims to quickly switch the main control board and the standby control board, thereby accelerating the recovery speed of equipment failure, greatly improving the usability of the equipment, simultaneously ensuring that one control board always runs to maintain the work of the intelligent equipment, ensuring accurate data and ensuring no data loss.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an intelligent device in the present invention.
Fig. 2 is a flowchart of a host/standby switching method of a frame slot type according to the present invention.
Fig. 3 is a functional block diagram of the smart device of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic diagram of a hardware structure of an intelligent device in the present invention. As shown in fig. 1, the smart device includes a frame and at least two slots, such as slot 1 and slot 2 in fig. 1. Each slot position is provided with a slot for inserting the corresponding board card to run. Preferably, in this embodiment, the smart device further includes a first control board and a second control board that operate synchronously and are inserted in cooperation with the card slot.
The first control board and the second control board are connected through an Ethernet port, so that data communication is carried out, and data of the first control board and data of the second control board are synchronous.
Referring to fig. 1, as shown in fig. 1, when the first control board or the second control board is inserted into the corresponding slot, an insertion signal P is triggered to the frame, where the insertion signal P is used to indicate whether the board card, such as the first control board or the second control board, is inserted into the frame, when the insertion signal P is displayed on the display screen as 0 (i.e., invalid or abnormal), it indicates that the first control board or the second control board is not inserted into the frame, and when the insertion signal P is displayed as 1 (i.e., valid or normal), it indicates that the first control board or the second control board is inserted into the frame.
Then, when the first control board and the second control board are inserted into the corresponding slots and contact with the power supply, the software system on the control board starts to start initialization, and the start signal R is used to indicate whether the software system of the control board is started completely, that is, whether a program running on the control board is ready to start: when the starting signal R is displayed as 0 (namely invalid and abnormal), the software system corresponding to the first control board or the second control board is not started; when the starting signal R shows 1 (i.e., valid and normal), it indicates that the software system corresponding to the first control board or the second control board is ready to start (complete to start), and can normally operate.
That is, only when the insertion signal P and the activation signal R of the first control board or the second control board both show 1 (i.e., valid and normal), it is described that the first control board or the second control board operates normally, so that the corresponding process is performed.
When the first control board or the second control board normally operates, the starting signal R is sent to the machine frame, and then the machine frame is waited to feed back a main control board indicating signal or a standby board indicating signal so that the first control board is used as a main control board or a standby board, and the second control board is used as a standby board or a main control board.
Specifically, when the machine frame sends an activation state indication signal a to the first control board or the second control board, the activation state indication signal a is used to indicate whether the control board is activated, that is, when the activation state indication signal a is 1, the control board is activated, and thus the control board is regarded as a main control board, and further other devices and systems can be controlled.
When the machine frame sends an activation state indicating signal A to the first control board or the second control board, the activation state indicating signal A is 0 (namely, is not activated), the control board is not activated, and therefore the control board is regarded as a standby board, other equipment and systems do not need to be controlled, at the moment, after the second control board receives the activation state indicating signal A, the activation state indicating signal A is not activated, and meanwhile, state data sent by the first control board is automatically collected, and therefore synchronization with the first control board is guaranteed.
Of course, the first control board or the second control board can be used as the main control board or the standby board, and whether any one control board is used as the main control board or the standby board, the two control boards which operate simultaneously are used as one main control board and the other standby board.
When the intelligent device is used as a main control board, the corresponding state is in an activated state, and other hardware modules and software systems of the intelligent device can be managed and controlled.
And as the standby board, the corresponding state is an inactive state, other hardware modules and software systems of the control device cannot be managed, but the state data of the main control board is synchronously received. In addition, the normal operation of the main control board and the intelligent equipment cannot be influenced when the standby board has hardware or software faults, and the normal operation of the main control board and the intelligent equipment cannot be influenced when the standby board is subjected to operations such as software system resetting, software version replacing, pulling-out removal and the like.
Referring to fig. 2, fig. 2 is a flowchart of a frame slot-in type active/standby switching method provided by the present invention, it should be noted that the method for frame slot-in type active/standby switching according to the embodiment of the present invention is not limited to the steps and the sequence in the flowchart shown in fig. 2, and the steps in the flowchart may be added, removed, or changed according to different requirements.
As shown in fig. 2, the method for switching between main and standby in slot type of machine frame provided by the present invention includes the following steps:
s10, determining a first control board to be regarded as a main control board and a second control board to be regarded as a standby board.
In the embodiment of the present invention, it is predetermined that the first control board and the second control board can operate normally at the same time, so that when the first control board or the second control board fails, the main-standby switching can be performed quickly, so that the control board regarded as the standby board is activated to serve as a new main control board, and it is ensured that the control board serving as the main control board always operates to maintain the operation of the intelligent device through the switched new main control board to manage and control the device and system, thereby greatly improving the availability of the intelligent device.
Specifically, the determining that the first control board and the second control board can normally operate at the same time includes:
s101, acquiring an insertion signal and a starting signal sent by the first control board;
s102, acquiring an insertion signal and a starting signal sent by the second control board;
s103, when the inserting signal and the starting signal sent by the first control board are both effective signals or normal signals, determining that the first control board normally operates;
and S104, when the inserting signal and the starting signal sent by the second control board are both effective signals or normal signals, determining that the second control board normally operates.
Of course, if the first control board or the second control board does not fail, the control board serving as the main control board may actively send a main/standby switching request to the machine frame, and still fast implement state switching, that is, implement main/standby switching.
Before the main/standby switching operation, it is necessary to determine which control board is used as the main control board and which control board is used as the standby board.
In specific implementation, the determining the first control board regarded as the main control board and the second control board regarded as the standby board specifically includes:
s11, acquiring and analyzing an activation state indicating signal sent by the intelligent equipment (namely a machine frame);
s12, when the activation status indication signal received by the first control board is a status indication of an activation control board, the first control board is regarded as a main control board, so as to manage and control the smart device;
and S13, when the activation state indication signal received by the second control board is the state indication of not activating the control board, the second control board is regarded as a standby board and only receives the data sent by the second control board.
That is, in the embodiment of the present invention, only if the received activation state indication signal of any control board is a state indication that requires activation of the control board, the control board is used as a main control board, thereby managing and controlling other devices and systems.
And only if the received activation state indication signal of any control board is the state indication of the control board which is not activated, the control board is used as a standby board and cannot control other equipment and systems, so that only the data sent by the main control board is received, and the data synchronization with the main control board is realized.
For example, if the activation state indication signal received by the second control board is a state indication of the activation control board, the second control board is used as a main control board to control other devices and systems.
And S20, when the intelligent device receives the main/standby switching request, judging whether the second control board normally operates.
In the embodiment of the invention, the first control board in the intelligent device executes self-checking operation to detect whether a fault occurs and timely perform main-standby switching, and the standby board is in an inactivated state, so that when the fault occurs, a main-standby switching request is generated to the machine frame by the first control board which is regarded as a main control board, and the machine frame receives the main-standby switching request, and then sends corresponding activation state indication signals to the first control board and the second control board so as to complete the main-standby switching operation.
In specific implementation, when the intelligent device receives a main/standby switching request, the determining whether the second control board normally operates includes:
s21, when the first control board detects the failure of the intelligent device, the first control board sends a main/standby switching request to the intelligent device;
s22, when receiving the master/slave switching request, the intelligent device obtains an insertion signal and a start signal sent by the second control board;
and S23, judging whether the second control board normally operates according to the inserting signal and the starting signal.
The machine frame detects the insertion signal and the starting signal sent by the second control board in real time to avoid the bad phenomenon that the second control board falls or breaks down or is damaged in advance, so that the follow-up main-standby switching is carried out smoothly, and the switching efficiency is improved.
Of course, if the first control board is self-checked and no fault occurs, the primary/secondary switching request may be actively sent to the intelligent device, so as to implement the primary/secondary switching operation.
And S30, when the second control board normally runs, controlling the first control board to change the state to be used as a new standby board, and simultaneously controlling the second control board to change the state to be used as a new main control board.
In the embodiment of the invention, once the insertion signal and the starting signal sent by the second control board are both normal, the second control board is indicated to be normally operated. At this time, the machine frame sends an activation state instruction for changing the activation state instruction of the activation control board into the deactivation control board to the first control board, the first control board receives the activation state instruction of the deactivation control board, automatically deactivates, enables the working state to be in the deactivation state, and the main control board is changed into a new standby board.
Meanwhile, the machine frame sends an activation state instruction for changing the activation state instruction of the inactive control panel into the activation state instruction of the active control panel to the second control panel, the second control panel receives the activation state instruction of the active control panel, automatically starts, enables the working state to be in the activation state, and accordingly the standby panel is changed into a new main control panel.
Certainly, when the frame receives an upgrade requirement triggered by a user or an upgrade requirement automatically pushed by the server, the second control panel regarded as a standby panel is controlled to complete the upgrade operation to form a new second control panel; then, the first control board and the new second control board are subjected to main-standby switching operation, so that the first control board is used as a new standby board, and the new second control board is used as a new main control board; and then the machine frame controls the first control board which is regarded as a new standby board to finish upgrading operation.
Therefore, based on steps S10-S30, the method can quickly perform the main/standby switching, so that the recovery speed of equipment faults is accelerated, the usability of the equipment is greatly improved, and meanwhile, a control board is always ensured to operate to maintain the work of the intelligent equipment, so that the data is accurate and the data is not lost.
Example two
Based on the machine frame slot type main/standby switching method, the invention also correspondingly provides intelligent equipment which can be a television terminal, a computer and the like. As shown in fig. 3, the smart device 100 includes a frame 101, a plurality of slots (e.g., slot 1, slot 2) are disposed on the frame 101, the frame 101 includes a processor 12 and a memory 11 connected to the processor 12, the smart device 100 further includes a first control board 20 and a second control board 30 cooperating with the corresponding slots, the first control board 20 is connected to the second control board 30, fig. 3 shows only some of the components of the smart device 100, but it is understood that not all of the illustrated components are required to be implemented, and more or fewer components may be implemented instead.
The memory 11 may in some embodiments be an internal storage unit of the smart device 100, such as a memory of the smart device 100. The memory 11 may also be an external storage device of the Smart device 100 in other embodiments, such as a plug-in usb disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the Smart device 100. Further, the memory 11 may also include both an internal storage unit and an external storage device of the smart device 100. The memory 11 is used to store application software installed in the intelligent device 100 and various data, such as the main-standby switching program code of the machine frame slot type. The memory 11 may also be used to temporarily store data that has been output or is to be output. In an embodiment, memory 11 stores a main/standby switch program of a frame slot type, which can be executed by processor 12, so as to implement the main/standby switch method of a frame slot type in the present application, which is specifically described above.
In some embodiments, the processor 12 may be a Central Processing Unit (CPU), a microprocessor, a mobile phone baseband processor or other data Processing chip, and is configured to run a program code stored in the memory 11 or process data, for example, execute the machine-frame slot-in-slot type active/standby switching method, and the like, as described in the foregoing method.
The present invention further provides a computer-readable storage medium, where one or more programs are stored, where the one or more programs are executable by one or more processors (in this embodiment, the processor 12) to implement the steps in the machine frame slot type active/standby switching method of the present invention, specifically, the steps in the method are as described above.
In summary, the present invention provides a host/standby switching method of a frame slot type, an intelligent device, and a storage medium, where the method includes determining a first control board regarded as a main control board and a second control board regarded as a standby board; when the intelligent equipment receives a main/standby switching request, judging whether the second control board normally operates or not; and when the second control board normally operates, controlling the first control board to change the state to be used as a new standby board, and simultaneously controlling the second control board to change the state to be used as a new main control board. The invention aims to quickly switch the main control board and the standby control board, thereby accelerating the recovery speed of equipment failure, greatly improving the usability of the equipment, simultaneously ensuring that one control board always runs to maintain the work of the intelligent equipment, ensuring accurate data and ensuring no data loss.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A main-standby switching method of a machine frame slot type is characterized by comprising the following steps:
determining a first control board which is regarded as a main control board and a second control board which is regarded as a standby board;
when the intelligent equipment receives a main/standby switching request, judging whether the second control board normally operates or not;
and when the second control board normally operates, controlling the first control board to change the state to be used as a new standby board, and simultaneously controlling the second control board to change the state to be used as a new main control board.
2. The machine frame slot-in primary-standby switching method of claim 1, wherein determining a first control board considered as a primary control board and a second control board considered as a standby board comprises, before:
and determining that the first control board and the second control board can normally operate at the same time.
3. The machine frame slot-in type active-standby switching method according to claim 2, wherein the determining that the first control board and the second control board can simultaneously and normally operate specifically comprises:
acquiring an insertion signal and a starting signal sent by the first control board;
acquiring an insertion signal and a starting signal sent by the second control board;
when the inserting signal and the starting signal sent by the first control board are both normal signals, determining that the first control board normally operates;
and when the inserting signal and the starting signal sent by the second control board are both normal signals, determining that the second control board normally operates.
4. The machine frame slot-in type active-standby switching method according to claim 2, wherein the first control board and the second control board are connected through an ethernet port, so that data of the first control board and data of the second control board are synchronized.
5. The machine frame slot-in type active-standby switching method according to claim 4, wherein the determining a first control board regarded as a main control board and a second control board regarded as a standby board specifically includes:
acquiring and analyzing an activation state indicating signal sent by intelligent equipment;
when the activation state indication signal received by the first control board is the state indication of the activation control board, the first control board is regarded as a main control board, and therefore the intelligent device is controlled;
when the activation state indication signal received by the second control board is the state indication of the inactive control board, the second control board is regarded as a standby board and only receives the data sent by the second control board.
6. The machine frame slot-in type active-standby switching method according to claim 5, wherein when the intelligent device receives the active-standby switching request, the determining whether the second control board normally operates specifically includes:
when the first control board detects that the intelligent equipment fails, the first control board sends a main/standby switching request to the intelligent equipment;
when the intelligent equipment receives the main/standby switching request, acquiring an insertion signal and a starting signal sent by the second control board;
and judging whether the second control board normally operates or not according to the insertion signal and the starting signal.
7. The machine frame slot-in type active-standby switching method according to claim 6, wherein when the second control board normally operates, controlling the first control board to change the state to be used as a new standby board, and controlling the second control board to change the state to be used as a new main control board comprises:
when the insertion signal and the starting signal sent by the second control board are both normal, the intelligent equipment sends an activation state instruction for changing the activation state instruction of the activation control board into an activation state instruction of the deactivation control board to the first control board, and the first control board receives the activation state instruction of the deactivation control board and automatically stops the activation control board, so that the main control board is changed into a new standby board;
meanwhile, the intelligent equipment sends an activation state instruction for changing the activation state instruction of the inactive control board into the activation state instruction of the active control board to the second control board, and the second control board receives the activation state instruction of the active control board and automatically starts up, so that the standby board is changed into a new main control board.
8. The method for machine frame slot-in primary-standby switching according to claim 7, further comprising:
when the intelligent equipment receives an upgrading requirement triggered by a user or an upgrading requirement automatically pushed by a server, the intelligent equipment controls the second control panel which is regarded as a standby panel to finish upgrading operation so as to form a new second control panel;
the first control board and the new second control board automatically execute main-standby switching operation, so that the first control board is used as a new standby board, and the new second control board is used as a new main control board;
and the intelligent equipment controls the first control board which is regarded as a new standby board to finish upgrading operation.
9. An intelligent device, intelligent device includes the frame, be provided with a plurality of trench on the frame, its characterized in that, the frame include the treater and with the memory that the treater is connected, intelligent device still include with corresponding trench complex first control panel and second control panel, first control panel with the second control panel is connected, the memory storage has the activestandby switching program of frame slot type, the treater is used for realizing the step in the activestandby switching method of frame slot type of any one of claims 1-8 when carrying out.
10. A computer-readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors for performing the steps in a subrack-in-slot master-slave switching method according to any of claims 1-8.
CN202010234876.8A 2020-03-30 2020-03-30 Main and standby switching method of machine frame slot type, intelligent equipment and storage medium Active CN111427259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010234876.8A CN111427259B (en) 2020-03-30 2020-03-30 Main and standby switching method of machine frame slot type, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010234876.8A CN111427259B (en) 2020-03-30 2020-03-30 Main and standby switching method of machine frame slot type, intelligent equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111427259A true CN111427259A (en) 2020-07-17
CN111427259B CN111427259B (en) 2023-05-30

Family

ID=71549135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010234876.8A Active CN111427259B (en) 2020-03-30 2020-03-30 Main and standby switching method of machine frame slot type, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111427259B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181742A (en) * 2020-09-23 2021-01-05 北京东土军悦科技有限公司 Board card state changing method and device, IPMC and storage medium
CN114963456A (en) * 2022-06-27 2022-08-30 宁波奥克斯电气股份有限公司 Air conditioner parameter setting method, method and device, air conditioner internal unit and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0398320A (en) * 1989-09-11 1991-04-23 Fujitsu Ltd Switching control system for active/standby package constituting redundant system
CN101106443A (en) * 2007-08-10 2008-01-16 中兴通讯股份有限公司 A system and method for controlling switch of primary and backup board
CN101378267A (en) * 2007-08-31 2009-03-04 中兴通讯股份有限公司 Primary and secondary switching device, and switching method using the same
JP2009206540A (en) * 2008-02-26 2009-09-10 Nec Corp Line terminating equipment, redundant communication system, redundant communication method and redundant communication program
CN101640688A (en) * 2009-08-20 2010-02-03 中兴通讯股份有限公司 Content delivery network (CDN)-based switching method for main node controller and spare controller and CDN
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method
CN202177790U (en) * 2011-07-20 2012-03-28 大唐移动通信设备有限公司 Communication machine frame
CN104753710A (en) * 2013-12-30 2015-07-01 北京大唐高鸿软件技术有限公司 Main/standby switching system and method of dual-wan PORT network apparatus
CN108306777A (en) * 2018-04-20 2018-07-20 平安科技(深圳)有限公司 SDN controller-based virtual gateway active/standby switching method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0398320A (en) * 1989-09-11 1991-04-23 Fujitsu Ltd Switching control system for active/standby package constituting redundant system
CN101106443A (en) * 2007-08-10 2008-01-16 中兴通讯股份有限公司 A system and method for controlling switch of primary and backup board
CN101378267A (en) * 2007-08-31 2009-03-04 中兴通讯股份有限公司 Primary and secondary switching device, and switching method using the same
JP2009206540A (en) * 2008-02-26 2009-09-10 Nec Corp Line terminating equipment, redundant communication system, redundant communication method and redundant communication program
CN101640688A (en) * 2009-08-20 2010-02-03 中兴通讯股份有限公司 Content delivery network (CDN)-based switching method for main node controller and spare controller and CDN
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method
CN202177790U (en) * 2011-07-20 2012-03-28 大唐移动通信设备有限公司 Communication machine frame
CN104753710A (en) * 2013-12-30 2015-07-01 北京大唐高鸿软件技术有限公司 Main/standby switching system and method of dual-wan PORT network apparatus
CN108306777A (en) * 2018-04-20 2018-07-20 平安科技(深圳)有限公司 SDN controller-based virtual gateway active/standby switching method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181742A (en) * 2020-09-23 2021-01-05 北京东土军悦科技有限公司 Board card state changing method and device, IPMC and storage medium
CN114963456A (en) * 2022-06-27 2022-08-30 宁波奥克斯电气股份有限公司 Air conditioner parameter setting method, method and device, air conditioner internal unit and storage medium

Also Published As

Publication number Publication date
CN111427259B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN100492305C (en) Fast restoration method of computer system and apparatus
CN102238093B (en) Service interruption prevention method and device
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
CN108880898B (en) Main and standby container system switching method and device
TW201500935A (en) System and method of controlling shutdown and booting of servers
CN111427259B (en) Main and standby switching method of machine frame slot type, intelligent equipment and storage medium
CN112380062A (en) Method and system for rapidly recovering system for multiple times based on system backup point
CN105426213A (en) Software update method and system
CN104503861A (en) Abnormality handling method and system, agency device and control device
CN108833981B (en) Startup and shutdown method
CN110196749B (en) Virtual machine recovery method and device, storage medium and electronic device
CN110109772B (en) CPU restarting method, communication equipment and readable storage medium
CN111277373B (en) Server switching control method, terminal and storage medium
CN100461646C (en) Method for negat main spare board in communication equipment
CN102508676A (en) Startup method and device of embedded system
CN107547277B (en) Method for realizing virtualization control board and network communication equipment
CN101739406A (en) Method for synchronizing file service operations on double-controller
CN111930573A (en) Task-level dual-computer hot standby system and method based on management platform
CN111221683A (en) Double-flash hot backup method, system, terminal and storage medium for data center switch
CN201047943Y (en) Fast recovery equipment of computer system
CN111090537A (en) Cluster starting method and device, electronic equipment and readable storage medium
CN102983997A (en) Method and device for migrating master services
CN106972963B (en) Service module starting control method and starting control method after crash restart
KR20050120856A (en) A method for upgrading and restoring embeded systems by using usb memory device
CN105071952A (en) Method and system for setting active/standby relationship of double-mainboard OLT equipment

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
GR01 Patent grant
GR01 Patent grant