CN106559235A - The switching method and apparatus of embedded server running status - Google Patents

The switching method and apparatus of embedded server running status Download PDF

Info

Publication number
CN106559235A
CN106559235A CN201510628627.6A CN201510628627A CN106559235A CN 106559235 A CN106559235 A CN 106559235A CN 201510628627 A CN201510628627 A CN 201510628627A CN 106559235 A CN106559235 A CN 106559235A
Authority
CN
China
Prior art keywords
embedded server
running status
embedded
server
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510628627.6A
Other languages
Chinese (zh)
Inventor
王林祥
潘永红
麻朋波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Irain IoT Technology Service Co Ltd
Original Assignee
Xian Irain IoT Technology Service 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 Xian Irain IoT Technology Service Co Ltd filed Critical Xian Irain IoT Technology Service Co Ltd
Priority to CN201510628627.6A priority Critical patent/CN106559235A/en
Publication of CN106559235A publication Critical patent/CN106559235A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Abstract

The invention discloses a kind of changing method of embedded server running status, the changing method of the embedded server running status is comprised the following steps:When the running status of embedded server is resting state, the embedded server obtains whether the running status of its upper level embedded server is main state;When the running status of one-level embedded server is main state and breaks down thereon, its running status is main state by mainboard by resting state switching;Embedded server of the embedded server to each running status for resting state sends main equipment information.The invention also discloses a kind of switching device of embedded server running status.The present invention is by way of arranging main embedded server and standby embedded server so that in the case where main embedded server breaks down, other standby embedded servers can be used to control banister so that the control in parking lot is more flexibly and intelligent.

Description

The switching method and apparatus of embedded server running status
Technical field
The present invention relates to field of intelligent control technology, more particularly to a kind of embedded server running status Switching method and apparatus.
Background technology
With the development of science and technology, the improvement of people's living standards, car owning amount increase year by year, to it is personal, Car parking department and unit bring the pressure of many (for example, in terms of vehicle pool, management and coordination) Power and a difficult problem, the Based Intelligent Control in parking lot are research staff's concern the most at this stage.
Often through the embedded server being connected with banister, the Based Intelligent Control in existing parking lot realizes that this is embedding Enter the opening and closing of the controllable banister of formula server and the collection of parking data.And in embedded clothes When business device breaks down, may result in certain banister and disable so that the control in parking lot is not intelligent enough.
The content of the invention
Present invention is primarily targeted at proposing a kind of changing method and dress of embedded server running status Put, it is intended to which the control in parking lot is not intelligent enough.
For achieving the above object, the changing method of a kind of embedded server running status that the present invention is provided, The changing method of the embedded server running status is comprised the following steps:
When the running status of embedded server is resting state, the embedded server is obtained thereon Whether the running status of one-level embedded server is main state;
When the running status of one-level embedded server is main state and breaks down thereon, mainboard by its Running status is main state by resting state switching;
The embedded server sends master for the embedded server of resting state to each running status and sets Standby information.
Preferably, the embedded server is to the embedded server that each running status is resting state Send main equipment information the step of after, it is described including:
After breaking down in running, the embedded server detects fault recovery signal;
When fault recovery signal is detected, the embedded server is obtained and is currently at the embedding of major state Enter formula server;
It is when the priority of the embedded server is higher than the embedded server of major state is in, described Its running status is arranged and is main state by embedded server, and is resting state to each running status Embedded server sends main equipment information.
Preferably, the changing method of embedded server running status also includes:
When the running status of the embedded server is main state, the embedded server obtains which Whether the failure of upper level embedded server is recovered;
In the fault recovery of the embedded server upper level embedded server, the embedded clothes Running status is switched to resting state by major state by business device.
Preferably, the embedded server is to the embedded server that each running status is resting state After the step of sending main equipment information, the step of the changing method of the embedded server running status Including:
The embedded server obtains the banister information of the embedded server association of current failure;
It is logical that the embedded server is set up between banister corresponding with the banister information for getting Letter, and the data of the banister upload are received to control the banister.
Preferably, the embedded server to each running status for resting state sends main equipment letter After the step of breath, the changing method of the embedded server running status also includes:
When parking data is received, the embedded server is obtained in the described embedding of resting state Enter formula server;
The parking data for receiving is stored and is sent in resting state by the embedded server The embedded server.
Additionally, for achieving the above object, the present invention also proposes a kind of cutting for embedded server running status Changing device, the switching device of the embedded server running status include:
Acquisition module, for the running status in its embedded server being located be resting state when, obtain Whether the running status for taking the upper level embedded server of the embedded server is main state;
Handover module, the running status for one-level embedded server thereon are main state and event occur During barrier, the embedded server running status is main state by resting state switching;
Sending module, for being switched to by resting state in the running status of its embedded server being located After major state, main equipment information is sent to embedded server of each running status for resting state.
Preferably, the switching device of the embedded server running status also includes detection module, is used for After breaking down in its described embedded server running being located, fault recovery signal is detected; The acquisition module, is additionally operable to when fault recovery signal is detected, and acquisition is currently at the embedding of major state Enter formula server;The handover module, it is higher than to be in be additionally operable in the priority of the embedded server During the embedded server of major state, its running status is arranged and is main state;The sending module, also For the state of its embedded server being located arrange be main state after, be standby to each running status Main equipment information is sent with the embedded server of state.
Preferably, the acquisition module, is additionally operable to the operation shape in its embedded server being located When state is main state, whether the failure for obtaining the upper level embedded server of the embedded server is extensive It is multiple;The handover module, is additionally operable to the embedded clothes of upper level in its embedded server being located During business device fault recovery, the running status of the embedded server is switched to into resting state by major state.
Preferably, the switching device of the embedded server running status also includes:
The acquisition module, is additionally operable to obtain the banister information that the embedded server of current failure is associated;
Communication module, for setting up the embedded server and the banister information pair for getting at its place Communication between the banister answered;
Receiver module, for receiving the data of the banister upload to control the banister.
Preferably, the acquisition module, is additionally operable to, when parking data is received, obtain in standby The embedded server of state;The sending module, the parking data for being additionally operable to receive are deposited Store up and send to the embedded server in resting state.
The switching method and apparatus of embedded server running status proposed by the present invention, in embedded service The running status of device be resting state and detect in its main equipment for associating break down when, it is described embedding Enter formula server its running status is main state by resting state switching, and be standby to each running status Main equipment information is sent with the embedded server of state, by arranging main embedded server and standby The mode of embedded server so that in the case where main embedded server breaks down, other are standby Embedded server can be used to control banister so that the control in parking lot is more flexibly and intelligent.
Description of the drawings
Fig. 1 is that the flow process of the changing method first embodiment of embedded server running status of the present invention is illustrated Figure;
Fig. 2 is that the flow process of the changing method second embodiment of embedded server running status of the present invention is illustrated Figure;
Fig. 3 is that the flow process of the changing method 3rd embodiment of embedded server running status of the present invention is illustrated Figure;
Fig. 4 is that the flow process of the changing method fourth embodiment of embedded server running status of the present invention is illustrated Figure;
Fig. 5 is that the flow process of the 5th embodiment of changing method of embedded server running status of the present invention is illustrated Figure;
Fig. 6 is the functional module of the switching device first embodiment of embedded server running status of the present invention Schematic diagram;
Fig. 7 is the functional module of the switching device second embodiment of embedded server running status of the present invention Schematic diagram;
Fig. 8 is the functional module of the switching device 3rd embodiment of embedded server running status of the present invention Schematic diagram.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings Explanation.
Specific embodiment
It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention The fixed present invention.
The present invention provides a kind of changing method of embedded server running status.
With reference to Fig. 1, Fig. 1 is the changing method first embodiment of embedded server running status of the present invention Schematic flow sheet.
The present embodiment proposes a kind of changing method of embedded server running status, the embedded service The changing method of device running status includes:
Step S10, when the running status of embedded server is resting state, the embedded server Whether the running status for obtaining its upper level embedded server is main state;
When each embedded server is main state by resting state switching, standby shape can be in other The embedded server of state sends main equipment information, includes and be currently at major state in the main equipment information The identification information of embedded server, embedded server can be judged thereon according to the identification information for receiving Whether the running status of one-level embedded server is main state.In the present embodiment, each embedded clothes Business device can preserve the priority list of each embedded server, contain each embedded in the list The active-standby switch priority of server, embedded server can be determined according to the active-standby switch priority list Its upper level embedded server.The priority list can be arranged by developer, also can be carried out by user Arrange manually and change, especially in newly-increased embedded server, manual modification can be carried out.
In the present embodiment, each embedded server corresponds to a banister, then active-standby switch is in difference Realize between the corresponding embedded server of banister;Or, one banister of multiple embedded server correspondences, Active-standby switch is realized between the corresponding multiple embedded servers of same banister, it is to be understood that can There is the framework that situation coexists in above-mentioned two to occur, i.e. the upper level embedded server of embedded server Corresponding different banisters also can be corresponded in same banister, then first can carry out active and standby between same banister Switching, then carries out the active-standby switch between different banisters.
Step S20, when the running status of one-level embedded server is main state and breaks down thereon, Its running status is main state by the embedded server by resting state switching;
When the running status of upper level embedded server is main state, embedded server can be at master The embedded server of state sends detection data bag, is received based on the inspection within a preset time interval When surveying the response data packet of packet feedback, it is determined that in the embedded server normal operation of major state, When not receiving the response data packet based on detection data bag feedback within a preset time interval, it is determined that Embedded server in major state breaks down.
Embedded server by its running status by resting state switching be main state when, need change with The correspondence of each embedded server time, the i.e. embedded server in major state can with it is all Embedded server in resting state is communicated.
Step S30, the embedded server is to the embedded server that each running status is resting state Send main equipment information.
In the present embodiment, the main equipment information may include the mark of main equipment.Master is may include further Other data such as parking data etc. of equipment storage, the parking data may include vehicles while passing number of fields According to this and other control datas.When banister is in major state, it is responsible between each embedded server Message scheduling, data transfer and control etc.,
After embedded server is main state by resting state switching, all banisters can be directly controlled, And parking data is issued to into each embedded server in resting state, it is embedded for each Server preserves each data;Or, after embedded server is main state by resting state switching, All banisters can be directly controlled, and parking data is uploaded to into default storage server, at other Parking number of fields can be called by the storage server when embedded server switching of resting state is main state According to;Or, after embedded server is main state by resting state switching, set up embedding with failure Enter the communication between the corresponding banister of formula server, and it is described to control to receive the data of the banister upload Banister, and other in resting state banisters in major state the above-mentioned parking data of banister, with Reduce the pressure of the banister in major state.
The changing method of the embedded server running status that the present embodiment is proposed, in embedded server Running status be resting state and detect in its main equipment for associating break down when, it is described embedded Its running status is main state by server by resting state switching, and is standby shape to each running status The embedded server of state sends main equipment information, by arranging main embedded server and standby embedded The mode of formula server so that in the case where main embedded server breaks down, other are standby embedded Formula server can be used to control banister so that the control in parking lot is more flexibly and intelligent
Further, with reference to Fig. 2, embedded server running status of the present invention is proposed based on first embodiment Changing method second embodiment, in the present embodiment, after step S30 also include step:
Step S40, after breaking down in running, the embedded server detection fault recovery letter Number;
It is understood that after terminal fault, terminal typically understands automatic shutdown, i.e., detect it is embedded Confirm to detect fault recovery signal during the starting-up signal of formula server;Or, break down embedded When, current working condition is recorded, in the recovering state of embedded server, it is believed that detect failure Recover signal.
Step S50, when fault recovery signal is detected, the embedded server is obtained and is currently at master The embedded server of state;
In the present embodiment, embedded server can be sent to other embedded servers after fault recovery Solicited message, and confirm to work as based on the response message of the solicited message feedback according to each embedded server The front embedded server in major state.Embedded server in major state can be in response message Addition identification information.
Step S60, is higher than the embedded server in major state in the priority of the embedded server When, its running status is arranged and is main state by the embedded server, and is standby to each running status Main equipment information is sent with the embedded server of state.
Priority list as embedded server is preserved in each embedded server, can basis The priority list confirms the preferential of the embedded server of the embedded server for being currently at major state Level.Embedded server can carry out each embedded server after running status switching is main state And the control of banister, referring specifically to the description of first embodiment, will not be described here.
The present embodiment propose scheme in, embedded server after fault recovery, can here switching based on Embedded server controlling other embedded servers, to ensure each the embedded clothes in normal operation In business device, what priority was high is always main equipment, and what priority was low is always from equipment, improves to stopping The control efficiency of field.
Further, with reference to Fig. 3, embedded server running status of the present invention is proposed based on second embodiment Changing method 3rd embodiment, in the present embodiment, after step S30 also include step:
Step S70, when the running status of the embedded server is main state, the embedded service Device obtains whether the failure of its upper level embedded server is recovered;
Step S80, it is in the fault recovery of the embedded server upper level embedded server, described Running status is switched to resting state by major state by embedded server.
In the present embodiment, when the running status of embedded server is main state, can regularly to thereon one The embedded server of level sends detection data bag, is receiving the response based on the detection data bag feedback During packet, confirm that the failure of the embedded server is recovered, can stop sending detection data bag; When the response data packet of upper level embedded server feedback is not received in prefixed time interval, confirm embedding The failure for entering formula server is not recovered, and continues to send detection data bag.
When running status is switched to resting state by major state by embedded server, equally can switch embedding Enter the correspondence of formula server, the embedded server is uploaded to the embedded server in major state Parking data, and perform or forward the control instruction that the embedded server in major state sends.
The technical scheme that the present embodiment is proposed, in the event of the upper level embedded server of embedded server When barrier recovers, the embedded server continues to run with resting state so that control is more flexible.
It is understood that in other variant embodiments, connecing in the embedded server in major state When receiving the main equipment information of upper level embedded server transmission, resting state can be directly switch into, no Whether recovered with the failure for detecting the embedded server.
Further, with reference to Fig. 4, embedded service of the invention is proposed based on the first to the 3rd any embodiment The changing method fourth embodiment of device running status, in the present embodiment, also wraps after step S30 Include step:
Step S90, the embedded server obtain the banister letter of the embedded server association of current failure Breath;
Step S100, the embedded server set up banister corresponding with the banister information for getting Between communication, and receive data that the banister uploads to control the banister.
In the present embodiment, each embedded server preserve each embedded server and banister it Between incidence relation, as the embedded server that breaks down is upper level embedded server, then may be used The embedded server of current failure is got according to the priority list of embedded server, then basis Incidence relation between embedded server and banister obtains the road that the embedded server of current failure is associated Lock information.After being main state by resting state switching in embedded server, set up and failure Communication between the corresponding banister of embedded server, and the data of the banister upload are received to control Banister, and other banisters in resting state are stated to the above-mentioned parking data of banister in major state, To reduce the pressure of the banister in major state.
The communication that embedded server is set up between banister corresponding with the banister information for getting, can Realized by connection request being sent to embedded server, checking information, road can be included in the connection request Lock is set up and the communication between the embedded server when being verified.
Further, with reference to Fig. 5, embedded service of the invention is proposed based on first to fourth any embodiment The 5th embodiment of changing method of device running status, in the present embodiment, also wraps after step S30 Include step:
Step S110, when parking data is received, the embedded server is obtained in standby shape The embedded server of state;
The parking data for receiving is stored and is sent to being in by step S120, the embedded server The embedded server of resting state.
In the present embodiment, embedded server can stop to the embedded server of each resting state is shared After parking lot data so that the active-standby switch of embedded server is more accurate, and switching, data calls Also it is convenient.
The present invention further provides a kind of switching device of embedded server running status.
With reference to Fig. 6, Fig. 6 is the switching device first embodiment of embedded server running status of the present invention High-level schematic functional block diagram.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram is only shown in Fig. 6 The exemplary plot of one preferred embodiment, those skilled in the art is around the embedded server shown in Fig. 6 The functional module of the switching device of running status, can carry out the supplement of new functional module easily;Each function The title of module is self-defined title, is only used for aiding in the switching for understanding embedded server running status to fill Each program function block put, is not used in restriction technical scheme, the core of technical solution of the present invention The heart is, the functional module of each self-defined title function to be reached.
The present embodiment proposes a kind of switching device of embedded server running status, the embedded service The switching device of device running status includes:
Acquisition module 10, for the running status in its embedded server being located be resting state when, Whether the running status for obtaining the upper level embedded server of the embedded server is main state;
When each embedded server is main state by resting state switching, standby shape can be in other The embedded server of state sends main equipment information, includes and be currently at major state in the main equipment information The identification information of embedded server, embedded server can be judged thereon according to the identification information for receiving Whether the running status of one-level embedded server is main state.In the present embodiment, each embedded clothes Business device can preserve the priority list of each embedded server, contain each embedded in the list The active-standby switch priority of server, embedded server can be determined according to the active-standby switch priority list Its upper level embedded server.The priority list can be arranged by developer, also can be carried out by user Arrange manually and change, especially in newly-increased embedded server, manual modification can be carried out.
In the present embodiment, each embedded server corresponds to a banister, then active-standby switch is in difference Realize between the corresponding embedded server of banister;Or, one banister of multiple embedded server correspondences, Active-standby switch is realized between the corresponding multiple embedded servers of same banister, it is to be understood that can There is the framework that situation coexists in above-mentioned two to occur, i.e. the upper level embedded server of embedded server Corresponding different banisters also can be corresponded in same banister, then first can carry out active and standby between same banister Switching, then carries out the active-standby switch between different banisters.
Handover module 20, the running status for one-level embedded server thereon are main state and occur During failure, the embedded server running status is main state by resting state switching;
When the running status of upper level embedded server is main state, embedded server can be at master The embedded server of state sends detection data bag, is received based on the inspection within a preset time interval When surveying the response data packet of packet feedback, it is determined that in the embedded server normal operation of major state, When not receiving the response data packet based on detection data bag feedback within a preset time interval, it is determined that Embedded server in major state breaks down.
Embedded server by its running status by resting state switching be main state when, need change with The correspondence of each embedded server time, the i.e. embedded server in major state can with it is all Embedded server in resting state is communicated.
Sending module 30, is switched by resting state for the running status in its embedded server being located After being main state, main equipment information is sent to embedded server of each running status for resting state.
In the present embodiment, the main equipment information may include the mark of main equipment.Master is may include further Other data such as parking data etc. of equipment storage, the parking data may include vehicles while passing number of fields According to this and other control datas.When banister is in major state, it is responsible between each embedded server Message scheduling, data transfer and control etc.,
After embedded server is main state by resting state switching, all banisters can be directly controlled, And parking data is issued to into each embedded server in resting state, it is embedded for each Server preserves each data;Or, after embedded server is main state by resting state switching, All banisters can be directly controlled, and parking data is uploaded to into default storage server, at other Parking number of fields can be called by the storage server when embedded server switching of resting state is main state According to;Or, after embedded server is main state by resting state switching, set up embedding with failure Enter the communication between the corresponding banister of formula server, and it is described to control to receive the data of the banister upload Banister, and other in resting state banisters in major state the above-mentioned parking data of banister, with Reduce the pressure of the banister in major state.
The switching device of the embedded server running status that the present embodiment is proposed, in embedded server Running status be resting state and detect in its main equipment for associating break down when, it is described embedded Its running status is main state by server by resting state switching, and is standby shape to each running status The embedded server of state sends main equipment information, by arranging main embedded server and standby embedded The mode of formula server so that in the case where main embedded server breaks down, other are standby embedded Formula server can be used to control banister so that the control in parking lot is more flexibly and intelligent
Further, with reference to Fig. 7, embedded server running status of the present invention is proposed based on first embodiment Switching device second embodiment, in the present embodiment, the switching of the embedded server running status Device also includes detection module 40, for occurring in its described embedded server running being located After failure, fault recovery signal is detected;The acquisition module 10, is additionally operable to detecting fault recovery letter Number when, acquisition is currently at the embedded server of major state;The handover module 20, is additionally operable in institute When stating the priority of embedded server higher than the embedded server of major state is in, by its running status Setting is main state;The sending module, is additionally operable to arrange in the state of its embedded server being located After being main state, main equipment information is sent to embedded server of each running status for resting state.
It is understood that after terminal fault, terminal typically understands automatic shutdown, i.e., detect it is embedded Confirm to detect fault recovery signal during the starting-up signal of formula server;Or, break down embedded When, current working condition is recorded, in the recovering state of embedded server, it is believed that detect failure Recover signal.
In the present embodiment, embedded server can be sent to other embedded servers after fault recovery Solicited message, and confirm to work as based on the response message of the solicited message feedback according to each embedded server The front embedded server in major state.Embedded server in major state can be in response message Addition identification information.As the priority that embedded server is preserved in each embedded server is arranged Table, can be currently at the embedded service of the embedded server of major state according to priority list confirmation The priority of device.Embedded server after running status switching is main state can carry out each and be embedded in The control of formula server and banister, referring specifically to the description of first embodiment, will not be described here.
The present embodiment propose scheme in, embedded server after fault recovery, can here switching based on Embedded server controlling other embedded servers, to ensure each the embedded clothes in normal operation In business device, what priority was high is always main equipment, and what priority was low is always from equipment, improves to stopping The control efficiency of field.
Further, the switching dress of embedded server running status of the present invention is proposed based on second embodiment Put 3rd embodiment, in the present embodiment, the acquisition module 10, be additionally operable to its be located it is described embedding When entering the running status of formula server and being main state, the upper level for obtaining the embedded server is embedded Whether the failure of server is recovered;The handover module 20, is additionally operable to the described embedded clothes being located at which Business device upper level embedded server fault recovery when, by the running status of the embedded server by Major state switches to resting state.
In the present embodiment, when the running status of embedded server is main state, can regularly to thereon one The embedded server of level sends detection data bag, is receiving the response based on the detection data bag feedback During packet, confirm that the failure of the embedded server is recovered, can stop sending detection data bag; When the response data packet of upper level embedded server feedback is not received in prefixed time interval, confirm embedding The failure for entering formula server is not recovered, and continues to send detection data bag.
When running status is switched to resting state by major state by embedded server, equally can switch embedding Enter the correspondence of formula server, the embedded server is uploaded to the embedded server in major state Parking data, and perform or forward the control instruction that the embedded server in major state sends.
The technical scheme that the present embodiment is proposed, in the event of the upper level embedded server of embedded server When barrier recovers, the embedded server continues to run with resting state so that control is more flexible.
It is understood that in other variant embodiments, connecing in the embedded server in major state When receiving the main equipment information of upper level embedded server transmission, resting state can be directly switch into, no Whether recovered with the failure for detecting the embedded server.
Further, with reference to Fig. 8, embedded service of the invention is proposed based on the first to the 3rd any embodiment The switching device fourth embodiment of device running status, in the present embodiment, also wraps after step S30 Include step:
The acquisition module 10, is additionally operable to obtain the banister information that the embedded server of current failure is associated;
Communication module 50, for setting up the embedded server and the banister information for getting at its place Communication between corresponding banister;
Receiver module 60, for receiving the data of the banister upload to control the banister.
In the present embodiment, each embedded server preserve each embedded server and banister it Between incidence relation, as the embedded server that breaks down is upper level embedded server, then may be used The embedded server of current failure is got according to the priority list of embedded server, then basis Incidence relation between embedded server and banister obtains the road that the embedded server of current failure is associated Lock information.After being main state by resting state switching in embedded server, set up and failure Communication between the corresponding banister of embedded server, and the data of the banister upload are received to control Banister, and other banisters in resting state are stated to the above-mentioned parking data of banister in major state, To reduce the pressure of the banister in major state.
The communication that embedded server is set up between banister corresponding with the banister information for getting, can Realized by connection request being sent to embedded server, checking information, road can be included in the connection request Lock is set up and the communication between the embedded server when being verified.
Further, propose that embedded server of the present invention runs shape based on first to fourth any embodiment The 5th embodiment of switching device of state, in the present embodiment, the acquisition module 10 is additionally operable to receiving During to parking data, the embedded server in resting state is obtained;The sending module 30, The parking data for being additionally operable to receive is stored and is sent to the described embedded service in resting state Device.
In the present embodiment, embedded server can stop to the embedded server of each resting state is shared After parking lot data so that the active-standby switch of embedded server is more accurate, and switching, data calls Also it is convenient.
It should be noted that herein, term " including ", "comprising" or its any other variant Be intended to including for nonexcludability so that process, method, article including a series of key elements or Person's device not only includes those key elements, but also including other key elements being not expressly set out, or also Including the key element intrinsic for this process, method, article or device.In the feelings for not having more restrictions Under condition, the key element limited by sentence "including a ...", it is not excluded that including the key element process, Also there is other identical element in method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware, but the former is more preferably embodiment in many cases.It is based on such understanding, of the invention The part that technical scheme is substantially contributed to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Disk) in, use so that a station terminal equipment including some instructions (can be mobile phone, computer, high in the clouds Server, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every The equivalent structure made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (10)

1. a kind of changing method of embedded server running status, it is characterised in that the embedded clothes The changing method of business device running status is comprised the following steps:
When the running status of embedded server is resting state, the embedded server is obtained thereon Whether the running status of one-level embedded server is main state;
When the running status of one-level embedded server is main state and breaks down thereon, mainboard by its Running status is main state by resting state switching;
The embedded server sends master for the embedded server of resting state to each running status and sets Standby information.
2. the changing method of embedded server running status as claimed in claim 1, it is characterised in that Embedded server of the embedded server to each running status for resting state sends main equipment letter After the step of breath, it is described including:
After breaking down in running, the embedded server detects fault recovery signal;
When fault recovery signal is detected, the embedded server is obtained and is currently at the embedding of major state Enter formula server;
It is when the priority of the embedded server is higher than the embedded server of major state is in, described Its running status is arranged and is main state by embedded server, and is resting state to each running status Embedded server sends main equipment information.
3. the changing method of embedded server running status as claimed in claim 2, it is characterised in that The changing method of embedded server running status also includes:
When the running status of the embedded server is main state, the embedded server obtains which Whether the failure of upper level embedded server is recovered;
In the fault recovery of the embedded server upper level embedded server, the embedded clothes Running status is switched to resting state by major state by business device.
4. the changing method of embedded server running status as claimed in claim 1, it is characterised in that Embedded server of the embedded server to each running status for resting state sends main equipment letter After the step of breath, include the step of the changing method of the embedded server running status:
The embedded server obtains the banister information of the embedded server association of current failure;
It is logical that the embedded server is set up between banister corresponding with the banister information for getting Letter, and the data of the banister upload are received to control the banister.
5. the changing method of the embedded server running status as described in any one of claim 1-4, its It is characterised by, the embedded server to each running status for resting state sends main equipment information The step of after, the changing method of the embedded server running status also includes:
When parking data is received, the embedded server is obtained in the described embedding of resting state Enter formula server;
The parking data for receiving is stored and is sent in resting state by the embedded server The embedded server.
6. a kind of switching device of embedded server running status, it is characterised in that the embedded clothes The switching device of business device running status includes:
Acquisition module, for the running status in its embedded server being located be resting state when, obtain Whether the running status for taking the upper level embedded server of the embedded server is main state;
Handover module, the running status for one-level embedded server thereon are main state and event occur During barrier, the embedded server running status is main state by resting state switching;
Sending module, for being switched to by resting state in the running status of its embedded server being located After major state, main equipment information is sent to embedded server of each running status for resting state.
7. the switching device of embedded server running status as claimed in claim 6, it is characterised in that The switching device of the embedded server running status also includes detection module, for the institute being located at which After breaking down in stating embedded server running, fault recovery signal is detected;The acquisition module, It is additionally operable to when fault recovery signal is detected, acquisition is currently at the embedded server of major state;Institute Handover module is stated, it is higher than in the embedded of major state to be additionally operable in the priority of the embedded server During server, its running status is arranged and is main state;The sending module, is additionally operable to what is be located at which The state of embedded server is arranged after being main state, and is the embedded of resting state to each running status Server sends main equipment information.
8. the switching device of embedded server running status as claimed in claim 7, it is characterised in that The acquisition module, is additionally operable to when the running status of its embedded server being located is main state, Whether the failure for obtaining the upper level embedded server of the embedded server is recovered;The switching mould Block, is additionally operable in the upper level embedded server fault recovery of its embedded server being located, The running status of the embedded server is switched to into resting state by major state.
9. the switching device of embedded server running status as claimed in claim 6, it is characterised in that The switching device of the embedded server running status also includes:
The acquisition module, is additionally operable to obtain the banister information that the embedded server of current failure is associated;
Communication module, for setting up the embedded server and the banister information pair for getting at its place Communication between the banister answered;
Receiver module, for receiving the data of the banister upload to control the banister.
10. the switching device of the embedded server running status as described in any one of claim 6-9, Characterized in that, the acquisition module, is additionally operable to, when parking data is received, obtain in standby The embedded server of state;The sending module, the parking data for being additionally operable to receive are deposited Store up and send to the embedded server in resting state.
CN201510628627.6A 2015-09-28 2015-09-28 The switching method and apparatus of embedded server running status Pending CN106559235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510628627.6A CN106559235A (en) 2015-09-28 2015-09-28 The switching method and apparatus of embedded server running status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510628627.6A CN106559235A (en) 2015-09-28 2015-09-28 The switching method and apparatus of embedded server running status

Publications (1)

Publication Number Publication Date
CN106559235A true CN106559235A (en) 2017-04-05

Family

ID=58416650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510628627.6A Pending CN106559235A (en) 2015-09-28 2015-09-28 The switching method and apparatus of embedded server running status

Country Status (1)

Country Link
CN (1) CN106559235A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419524A (en) * 2020-12-04 2021-02-26 杭州华云科技有限公司 Hot standby method of intelligent parking integrated machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051883A (en) * 2007-05-11 2007-10-10 杭州华三通信技术有限公司 Service switching method and system after main voice server fault restoring
US20120173611A1 (en) * 2010-12-31 2012-07-05 Hon Hai Precision Industry Co., Ltd. Client with standby server connection function and method thereof
CN102868560A (en) * 2012-09-28 2013-01-09 南京恩瑞特实业有限公司 System and method for realizing hot standby of servers
CN103744809A (en) * 2013-12-23 2014-04-23 天泽信息产业股份有限公司 Method for dual-computer hot-standby of vehicle information management system on basis of VRRP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051883A (en) * 2007-05-11 2007-10-10 杭州华三通信技术有限公司 Service switching method and system after main voice server fault restoring
US20120173611A1 (en) * 2010-12-31 2012-07-05 Hon Hai Precision Industry Co., Ltd. Client with standby server connection function and method thereof
CN102868560A (en) * 2012-09-28 2013-01-09 南京恩瑞特实业有限公司 System and method for realizing hot standby of servers
CN103744809A (en) * 2013-12-23 2014-04-23 天泽信息产业股份有限公司 Method for dual-computer hot-standby of vehicle information management system on basis of VRRP

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419524A (en) * 2020-12-04 2021-02-26 杭州华云科技有限公司 Hot standby method of intelligent parking integrated machine

Similar Documents

Publication Publication Date Title
CN104868527B (en) Charging to electric vehicle carries out the method and system of remote control
EP2887720B1 (en) Resource allocation method and device
CN103986502B (en) Information processing method, electronic device and system
CN101859275A (en) Method, system and mobile terminal for monitoring application program
CN103130095A (en) Elevator fault early warning method and relevant server
CN109548037A (en) A kind of control method, distributed unit, centralized unit and storage medium
CN103945432A (en) Operating-mode switching method for trunking system base station
CN104579746A (en) Method and device for controlling dual-link transmission
CN107770826A (en) A kind of network section system of selection and relevant device
CN105591846A (en) Driving control method and driving control device
CN104580744B (en) The control method of terminal, the control device of terminal and terminal
CN103200637A (en) Network switching method and network switching system
CN103167539A (en) Fault handling method, device and system
CN105867214A (en) Vehicle control method, device and system
CN104244297A (en) Broadband cluster fail-soft communication method and base station based on TD-LTE
CN106941671A (en) Communication event processing method and mobile terminal based on double card dual system
CN106559235A (en) The switching method and apparatus of embedded server running status
CN103283182B (en) A kind of method of processing equipment failure, apparatus and system
CN101568135B (en) Communication method, communication equipment and communication system
CN107491344A (en) A kind of method and device for realizing virtual machine high availability
CN103051484B (en) Session service processing method, system and Session Border Controll
CN104639356B (en) A kind of fault recovery method and equipment
CN107264284A (en) The method of electric repeat circuit control in high pressure
CN101237696B (en) Base station access unit switching method and base station
CN105491225A (en) Control method and electronic apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405