The terminal Adaptable System and method of a kind of backup & disaster recovery
Technical field
Distribution is applied to the present invention relates to the terminal Adaptable System and method of a kind of backup & disaster recovery, more particularly to one kind
The terminal Adaptable System and method of car networking backup & disaster recovery.
Background technology
Current distribution car networking intelligence drives operating service platform and rarely has backup & disaster recovery function, and so-called backup & disaster recovery function refers to
Each service centre that intelligence is driven in Service Operation platform all has backup & disaster recovery function, it is ensured that provide round-the-clock for mobile terminal user
Persistent service.Active service center is general in strange land configuration, can usually undertake different or various regions special service work(
Energy.Once primary service centre's (first processing server) is paralysed, active service center is enabled immediately (in post processing service
Device) original user's offer service is provided.When changing service centre, user is imperceptible, all information communication kimonos
Pragmatic apply is carried out under auto state completely.The core technology of above-mentioned backup & disaster recovery function is realized, is when the processing for providing service
When server needs to change, the calamity being built in the mobile terminal software (client) in vehicle carried device or user's intelligent control end is standby
The access address of service centre can be changed automatically.Especially in car networking intelligence drives service, when a service centre paralyses,
Mobile terminal needs to change service centre, to ensure that communication is happy.
Chinese patent CN1968448A discloses a kind of method of replacing communication terminal in communication process, and it includes following step
Suddenly:Step 1, the first general message terminal of universal message system, initiates to require to change to universal message system server
First general message terminal is the notification message of the second communication terminal;Step 2, the universal message system server according to
The notification message, updates user's information of first general message terminal;Step 10, second communication terminal to
The generalized information system server sends logging request, and the universal message system server is according to the logging request, again
Update the status information of the user of first general message terminal;This method allows user random in communication process
Change communication terminal, and can not interrupt message communication, its as a kind of communication mode must equal performance terminal room
Switching, the change of its terminal communication relys more on hardware, and shifting gears for its terminal address is difficult to meet Service Operation platform calamity
The function of standby service.
In view of drawbacks described above, creator of the present invention obtains this creation finally by prolonged research and practice.
The content of the invention
It is an object of the invention to provide the terminal Adaptable System and method of a kind of backup & disaster recovery, to overcome above-mentioned skill
Art defect.
To achieve the above object, the present invention provides a kind of terminal Adaptable System of backup & disaster recovery, and it includes at least one shifting
Dynamic terminal, at least two data communication networks, at least two processing servers and the number corresponding with the processing server
According to storehouse server, wherein,
Each described data communication network is connected with the processing server described in one, so that described processing service
Device carries out data interaction with described mobile terminal, and each data communication network serves different coverages, the data
Communication network carries out data acquisition and transmission to the mobile terminal for accessing each coverage of the processing server;
Described mobile terminal, is provided with least one communication card being connected with the data communication network, its point in it
Do not communicated from different data communication networks;The access address information of each processing server is stored with, it is used
To be detected by first data communication network to each processing server, judge whether it is in normal operating conditions,
If so, then accessing first processing server, when first processing server is paralysed, access address is revised as in Hou Chu by it
The access address of server is managed, and by confirming in rear data communication network to described in post processing server transmission address modification
Information;
Data interaction is carried out by dedicated network between the processing server, the first processing server is to be placed in it
The mobile terminal of affiliated coverage provides service, when the first processing server is paralysed, described in post processing clothes
Business device provides service to be placed in the mobile terminal of the first processing server affiliated area.
The present invention also provides a kind of possession service calamity standby terminal adaptive approach, and it is based on above-mentioned backup & disaster recovery and accesses ground
What the terminal Adaptable System of location was realized, it comprises the following steps:
Step a:When mobile terminal needs communication service, whether its timing cycle detects each processing server in just
Normal working condition;
Step b:If first processing server is in normal operating conditions, the mobile terminal is logical by the first data
Communication network accesses the first processing server;
Step c:When the mobile terminal, which detects the first processing server, paralyses, the mobile terminal is opened
Dynamic state confirmation mechanism;
Step d:If the mobile terminal confirms that needs are switched in post processing server, processing server is accessed
Address be revised as the access address in post processing server;
Step e:The mobile terminal by it is described rear data communication network to it is described post processing server send ground
Confirmation is changed in location, and is switched to described in post processing server;
Step f:End operation.
Preferably, the state confirmation mechanism process is:
Step a1, the mobile terminal sends a confirmation to the first processing server, and starts a delay;
Step a2, after delay time is arrived, the mobile terminal judges its feedback letter for receiving the first processing server
Whether breath is consistent with the confirmation that it sends;If the confirmation is consistent with the feedback information, step f is transferred to;If institute
State confirmation and the feedback information is inconsistent, or the mobile terminal does not receive the feedback of the first processing server
Information, then assert that the first processing server is paralysed, be transferred to step d.
Preferably, the probe procedure of the mobile terminal is:
Step a11, the mobile terminal is sent by the first data communication network to the first processing server
One detects information;
Step a12, the first processing server is sent by the first data communication network to the mobile terminal
One feedback information;
Step a13, the mobile terminal judge feedback information that it receives whether with its send to detect information consistent;If
The feedback information is consistent with detecting information, is transferred to step f;If the feedback information is inconsistent with detecting information, or described
Mobile terminal does not receive feedback information, is transferred to step d.
Preferably, after the mobile terminal hand-off process server, in addition to step h:It is described in rear database server
Change the status indicator for the processing server that the mobile terminal is belonged to.
The present invention also provides a kind of terminal adaptive approach of backup & disaster recovery, and it is based on above-mentioned backup & disaster recovery access address
What terminal Adaptable System was realized, it comprises the following steps:
Step a:Mobile terminal needs to carry out communication service, and it starts to detect first processing server, if described
First processing server is in normal operating conditions, and the mobile terminal accesses the first processing server;
Step b:Paralysis failure occurs for the first processing server, and the mobile terminal is right according to communication requirement again
The first processing server is disposably detected, and confirms that the first processing server is in paralyzed state;
Step c:The mobile terminal starting state affirmation mechanism;
Step d:If it is described in post processing server that the mobile terminal confirms that needs are switched to, processing clothes are accessed
It is revised as the access address in post processing server in the address of business device;
Step e:The mobile terminal by it is described rear data communication network to it is described post processing server send ground
Location modification information, and be switched to described in post processing server;
Step f:End operation.
Preferably, the state confirmation mechanism process is:
Step a1, the mobile terminal sends a confirmation to the first processing server, and starts a delay;
Step a2, after delay time is arrived, the mobile terminal judges its feedback letter for receiving the first processing server
Whether breath is consistent with the confirmation that it sends;If the confirmation is consistent with the feedback information, step f is transferred to;If institute
State confirmation and the feedback information is inconsistent, or the mobile terminal does not receive the feedback of the first processing server
Information, then assert that the first processing server is paralysed, be transferred to step d.
Preferably, the probe procedure of the mobile terminal is:
Step a11, the mobile terminal is sent by the first data communication network to the first processing server
One detects information;
Step a12, the first processing server is sent by the first data communication network to the mobile terminal
One feedback information;
Step a13, the mobile terminal judge feedback information that it receives whether with its send to detect information consistent;If
The feedback information is consistent with detecting information, is transferred to step f;If the feedback information is inconsistent with detecting information, or described
Mobile terminal does not receive feedback information, is transferred to step d.
Preferably, after the mobile terminal hand-off process server, in addition to step h:It is described in rear database server
Change the status indicator for the processing server that the mobile terminal is belonged to.
Compared with the prior art the beneficial effects of the present invention are:The present invention backup & disaster recovery terminal Adaptable System and
When method can realize that mobile terminal is passed through in this coverage or different coverages, carried when mobile terminal is detected
Paralysed for first (primary) processing server of service, it can carry out the access in rear (standby) processing server automatically
Address is preset, and service is connected in post processing server, so that it is guaranteed that service is not disrupted, realizes backup & disaster recovery function.Make
Service Operation system is driven for intelligence, it disclosure satisfy that the distributed car networking intelligence service of driving;The present invention is covered with the wireless of telecom operators
Based on cover net, the data message of mobile terminal is acquired and handled, and with service centre's interconnection, realize to external
The real-time data acquisition of mobile terminal;Mobile terminal timing cycle probe procedure of the present invention, can communicate to service centre in real time
Quality and state are judged, are moved easily terminal and are switched to active service center in time and meet user to coverage whereabouts
Selection demand;The mode that mobile terminal demand preparation of the present invention is detected, before being communicated, performs a probe procedure,
When paralysis failure occurs for processing server, then once detected, reduce the occupancy of data channel, saved program resource.
Brief description of the drawings
Fig. 1 is the functional block diagram of the terminal Adaptable System of backup & disaster recovery of the present invention;
Fig. 2 is the network insertion topological diagram of the terminal Adaptable System of backup & disaster recovery of the present invention;
Fig. 3 is some access topology figures of business of the terminal Adaptable System of backup & disaster recovery of the present invention;
Fig. 4 is the flow chart of the terminal adaptive approach embodiment one of backup & disaster recovery of the present invention;
The flow chart that Fig. 5 is detected automatically for the terminal of the terminal adaptive approach of backup & disaster recovery of the present invention;
Fig. 6 a are the flow of the SOT state of termination affirmation mechanism embodiment one of the terminal adaptive approach of backup & disaster recovery of the present invention
Figure;
Fig. 6 b are the flow of the SOT state of termination affirmation mechanism embodiment two of the terminal adaptive approach of backup & disaster recovery of the present invention
Figure;
Fig. 7 is the flow chart of the terminal adaptive approach embodiment two of backup & disaster recovery of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the forgoing and additional technical features and advantages are described in more detail.
So-called backup & disaster recovery, refers to that finger intelligence drives each service centre in Service Operation platform and all has backup & disaster recovery function,
Mobile terminal user is ensured to provide round-the-clock persistent service.Active service center is general in strange land configuration, usually can be with
Undertake different or various regions special service functions.Once primary service centre's (first processing server) is paralysed, immediately
Enable active service center (in post processing server) and original user's offer service is provided.When changing service centre, use
Family is imperceptible, and all pragmatic apply of information communication kimonos are carried out under auto state completely.Realize above-mentioned backup & disaster recovery function
Core technology, be when the mobile terminal service need change arrive standby processing server when, be built in vehicle carried device or user
The access address of the processing server in mobile terminal software (client) in intelligent control end can modify automatically.
Backup & disaster recovery function is the big characteristic that car networking intelligence drives service, and the basic skills that backup & disaster recovery function is realized is to change
Become the service centre of mobile terminal access, make the mobile terminal is roundabout to access to backup & disaster recovery center;The side that the present invention is used
Formula is to change the service centre address built in mobile terminal.
Refer to shown in Fig. 1, it is the functional block diagram of the terminal Adaptable System of backup & disaster recovery of the present invention, and it is included at least
One mobile terminal 1, at least two data communication networks, at least two processing servers and corresponding with the processing server
Database server, wherein, each described data communication network is connected with the processing server described in one, so that institute
The processing server stated carries out data interaction with described mobile terminal 1, and each data communication network serves different services
Region, the data communication network carries out data acquisition to the mobile terminal 1 for accessing each coverage of the processing server
With transmission;
Described mobile terminal, is stored with the access address information of each processing server, its to by
First data communication network is detected to each processing server, judges whether it is in normal operating conditions, if so, then connecing
Enter first processing server, when first processing server is paralysed, starting state affirmation mechanism, it judges the first place
Manage server to occur after paralysis, its access address is revised as the access address in post processing server, and by rear data
Communication network is to described in post processing server transmission address modification confirmation;
Data interaction is carried out by dedicated network between the processing server, the first processing server is to be placed in it
The mobile terminal of affiliated coverage provides service, when the first processing server is paralysed, described in post processing clothes
Business device provides service for the mobile terminal positioned at first processing server affiliated area.
The system also include with the one-to-one database server of the processing server, be stored with the shifting
The address information and the access address data of the corresponding processing server of each data communication network of coverage where dynamic terminal, and
Data interaction is carried out with the processing server.
Wherein, the data communication network is provided by telecom operators, and the data communication network includes China Mobile's net
Network, CHINAUNICOM's network and Chinese telecommunications network, the radio coverage of the telecom operators is using certain administrative region as base
Our unit, to that should have at least one of above-mentioned three kinds of data communication networks, i.e., in the same time, institute in each administrative region
It can be any of above-mentioned three kinds of wireless networks to state the first data communication network 31 and the second data communication network 32, different
Service area in the data communication networks of same telecom operators can be set, may also set up different telecom operations in same service area
The data communication network of business, the mobile terminal 1 needs the communication network that corresponding operator may be selected to enter line number according to service
According to communication;The processing server and database server corresponding thereto belong to respective service centre, i.e., and described
One processing server 41, second processing server 42 are respectively belonging to first service center (first processing server) and the second clothes
Business center (in post processing server), two be located at different geographical service centre, and can be between different service centre
Realize data communication.
The different service centre is located in different geographic areas, and it controls some mobile terminal affiliated service areas
Domain, between different processing servers and mobile terminal, uses specific data communication network, it is to avoid processing server is changed
When, the data transmission fault between the shared data communication network of different disposal server.
Refer to shown in Fig. 2, it is the network insertion topological diagram of the terminal Adaptable System of backup & disaster recovery of the present invention, at this
In invention, the network insertion pattern of the backup & disaster recovery system is:2 points of accesses of network;In this mode, first clothes
Business center 411 and second service center 421 are interconnected by private data network 311, and two service centres are respectively with three
The network interconnection intercommunication of telecom operators 20 of family;Incorporated by reference to shown in Fig. 1,2 access modules of network are substantially in different processing
Interacted between server by dedicated network, each described processing server is distinguished coupled data communication network and connected
Connect.Between the telecom operators 20 and Liang Ge service centres, an intermediate layer 6, in the present invention, the intermediate layer are provided with
The voice exchange corresponding with the communication channel of above-mentioned telecom operators 20, short message server and IP data clothes are provided with 6
Be engaged in device, its be a variety of passways by exchange point, to realize business i.e. mobile terminal between multiple service processors point
Load, has a variety of transmission channels such as speech data, note data and IP data between the service centre and telecom operators;Institute
State intermediate layer 6 and be additionally provided with central database and the standby center of emergency services, the general trustship of the said equipment in the intermediate layer 6 exists
In corresponding telecom operators IDC computer rooms or the IDC computer rooms of third party's outsourcing, described 2 access modules of network are simple in construction,
Remote trunk demand is few, and service deployment is flexible.In backup & disaster recovery operation system, the processing server is paralysed
When, the network insertion pattern ensures that new active service center can provide networking intelligence and drive service function.
Refer to shown in Fig. 3, it is some access topology figures of business of the terminal Adaptable System of backup & disaster recovery, the industry
Business refers in user or population of terminals with certain service features attribute, the present embodiment, for one service centre, using business
Some access modules, and pattern is a little focused on for one of them, wherein a service centre and telecom operators 20
Between set under the intermediate layer 6, the pattern, a kind of business should by this service centre provide service, when mobile terminal movement
To in new data communication network (or in rear coverage), this kind of business by by new service centre (in rear coverage) after
Continuous to provide, i.e., different service centres can provide identical business, but can not be provided " simultaneously " to same mobile terminal.
In the operation system of backup & disaster recovery, the user in same services area can only be provided by this coverage ownership processing server
Service, i.e., the processing server that described mobile terminal incoming data communication network (or coverage) is connected provides service.
As the adaptive mode to strange land backup & disaster recovery function, the present invention also using the strange land calamity of business for pattern, its
Core is that the speech data, note data and web data that point to first service centre originally are route through manual or automatic roundabout
To in rear service centre, it is described below in conjunction with specific method.
In this backup & disaster recovery operation system, audio access number has:Fixed number, it has the unique of access address
Property;Intelligent number and short codes;Short message access code includes short message channel number;The IP address of web data includes data channel
Number.
Incorporated by reference to shown in Fig. 2, in the intelligence service of driving and disaster recovery and backup systems, the mobile terminal current address is retrieved as a base
There are three classes essentiality, the mobile terminal current address, and its corresponding data acquisition modes is respectively:GPS/ Big Dipper data, it is interior
The multiple satellite positioning signals received in real time are computed processing by the GPS/ Big Dippeves receiver being embedded in the mobile terminal, are formed
Earth longitude and latitude degrees of data, and automatic or be sent back to service centre through artificial triggering mode, by retrieving where map datum obtains
Geographical position;Mobile base station data, using the base station fixed position information of mobile radio communication, by accumulating throughout the year, can be obtained
Obtain the mobile terminal geographic position data dominated by base station position information;Mobile wireless covers data, utilizes mobile radio communication pair
The foreign subscriber recognition capability being roamed into, on the basis of the information norm, row address phase is entered by identification and prompt message
Pass is handled, and result is sent back into service centre, direct corresponding with service region, and the data essence is with telecom operators
Based on mobile wireless covering.
Now the terminal adaptive approach of backup & disaster recovery of the present invention is described in detail, following embodiments are only serviced with the described first processing
Device 41 and second processing server 42 are illustrated, and the backup & disaster recovery mode of wherein embodiment one is:The mobile terminal timing
The mode detected is circulated, the backup & disaster recovery mode of embodiment two is:The mode that the mobile terminal demand preparation is detected.
Embodiment one:Mobile terminal timing cycle detects mode.
Refer to shown in Fig. 4, the flow chart of the terminal adaptive approach embodiment one of backup & disaster recovery of the present invention, the side
Method, comprises the following steps:
Step a1, when the mobile terminal needs communication service, timing cycle detects first processing server and
Whether two processing servers are in normal operating conditions;
Refer to shown in Fig. 5, its flow detected automatically for the terminal of the terminal adaptive approach of backup & disaster recovery of the present invention
Figure, following only to be illustrated exemplified by detecting first processing server 41, the timing cycle probe procedure is:Step
A11, the mobile terminal 1 sends one to first processing server 41 by first data communication network 31 and detects letter
Breath;Step a12, first processing server 41 is sent by first data communication network 31 to the mobile terminal 1
One feedback information, information that what the mobile terminal 1 was sent detect can be a string of codes or an inquiry message, so that facilitate will be described
The feedback information of processing server and detect information carry out matching be optimal;Step a13, the mobile terminal 1 judges that it is received
Feedback information whether with its send to detect information consistent;If the feedback information is consistent with detecting information, a14 is described
Mobile terminal 1 accesses first processing server 41, and proceeds regularly to detect;If the feedback information is with detecting information
It is inconsistent, or the mobile terminal 1 do not receive feedback information, then a15, the mobile terminal 1 starting state affirmation mechanism;Most
Afterwards, a17, end operation.
Step a2, if first processing server 41 is in normal operating conditions, the mobile terminal 1 passes through described the
One data communication network 31 accesses first processing server 41;First processing server 41 is in normal operating conditions
Under, provide service to be placed in its mobile terminal for administering coverage.
Step a3, it is described mobile whole when the mobile terminal 1, which detects first processing server 41, paralyses
Hold starting state affirmation mechanism;Following only accessed with the mobile terminal 1 is carried out in the state of first processing server 41
Description, is referred to shown in Fig. 6 a, and it is implemented for the SOT state of termination affirmation mechanism of the terminal adaptive approach of backup & disaster recovery of the present invention
The flow chart of example one, the process is:
When the mobile terminal, which detects first processing server 41, paralyses, a41 is performed, it is described mobile whole
End 1 sends a confirmation to first processing server 41, and starts a delay;A42, it is described after delay time terminates
Mobile terminal 1 judges whether it receives the feedback information of first processing server 41 consistent with the confirmation that it sends;
If the confirmation is consistent with the feedback information, step a46 is performed;If the confirmation and the feedback information are not
Consistent or described mobile terminal 1 does not receive the feedback information of first processing server 41, then assert first processing
Server 41 is paralysed, then performs a45, is transferred to following step a4, and the mobile terminal 1 changes it and accesses the second processing
The access address of server;A46, end operation.
Above-mentioned delay process, can also be a counting process, refer to shown in Fig. 6 b, it is the end of backup & disaster recovery of the present invention
Hold the flow chart of the processing service state affirmation mechanism embodiment two of adaptive approach, step b41, the mobile terminal 1 is to institute
State the first processing server 41 and send a confirmation;Step b42, the mobile terminal 1 is judged at it is received described first
Whether the feedback information for managing server 41 is consistent with the confirmation that it sends;Step b43, if the feedback information with it is described really
Recognize information consistent, then step b46, end operation;If the feedback information and the confirmation are inconsistent or do not receive described
The confirmation that first processing server 41 is sent, then return to above-mentioned b42, and performs above-mentioned steps successively, performs default time
After number, you can the working condition to first processing server 41 judges;The feedback information and the confirmation
Inconsistent, step b45 performs following step a4, and the mobile terminal 1 changes the access that it accesses the second processing server
Address.
Step a4, if the mobile terminal 1 confirms to need to be switched to the second processing server 42, at its access
It is revised as the access address of the second processing server 42 in the address of reason server;In the mobile terminal 1 memory storage
The access address of each processing server is stated, it is revised as the second processing according to default option program, by access address and taken
The access address of business device 42, and connect into second data communication network 32, realize mobile terminal, data communication network, place
Manage the connection of server and corresponding database server.
Step a5, the mobile terminal 1 is by second data communication network 42 to the second processing server 42
Address modification information is sent, and is switched to the second processing server 42;It is corresponding with backup & disaster recovery function of the present invention, it is described
Second processing server 42 is the backup & disaster recovery device pre-set, and it is placed in the backup & disaster recovery center.
After above-mentioned steps a5 completions, the mobile terminal that second database server 52 is changed in it belongs to place
Manage the status indicator of server.
Above-mentioned mobile terminal timing cycle probe procedure, the quality and state that can be communicated in real time to service centre is sentenced
It is disconnected, it is moved easily terminal and is switched to active service center in time and meets selection demand of the user to coverage whereabouts.
Embodiment two:The mode that mobile terminal demand preparation is detected.
Refer to shown in Fig. 7, it is the flow chart of the terminal adaptive approach embodiment two of backup & disaster recovery of the present invention;Its mistake
Cheng Wei:
Step b1, the mobile terminal 1 needs to carry out communication service, and it starts to carry out first processing server 41
Detect, if first processing server 41 is in normal operating conditions, mobile terminal 1 access the first processing service
Device 41.
Paralysis failure occurs for step b2, first processing server 41, the mobile terminal according to communication requirement again,
First processing server 41 is disposably detected, confirms that first processing server 41 is in paralyzed state;Cause
In above-mentioned steps b1, the mobile terminal 1 sends and once detects information and access first processing server 41, after access,
The mobile terminal 1 stops detecting, thus when paralysis failure occurs for first processing server 41, the mobile terminal 1
Still it is unaware of;When 41 cisco unity malfunction of the first processing server, user terminal can not receive service, thus the shifting
Dynamic terminal 1, which is retransmited, once detects information, and the information of detecting is identical with above-described embodiment one, finally confirms the processing service
Device 1 is paralysed.
Step b3, the mobile terminal starting state affirmation mechanism;
If it is determined that when the processing server 1 is paralysed, starting state affirmation mechanism, the state confirmation mechanism with it is upper
State that embodiment one is identical, this is repeated no more, through a delay or counting process, judge whether to need to change the mobile terminal 1 and connect
The address of the processing server entered.
Step b4, if the mobile terminal 1 confirms to need to be switched to the second processing server 42, at its access
It is revised as the access address of the second processing server 42 in the address of reason server.
Step b5, the mobile terminal 1 is by second data communication network 32 to the second processing server 42
Address modification confirmation is sent, and is switched to the second processing server 42.
Step b6, end operation.
After above-mentioned steps b5 completions, the mobile terminal that second database server 52 is changed in it belongs to place
Manage the status indicator of server.
The mode that above-mentioned mobile terminal demand preparation is detected, before being communicated, performs a probe procedure, in processing clothes
During device generation paralysis failure of being engaged in, then once detected, reduce the occupancy of data channel, saved program resource.
Presently preferred embodiments of the present invention is the foregoing is only, is merely illustrative for invention, and it is nonrestrictive.
Those skilled in the art understands, can carry out many changes to it in the spirit and scope that invention claim is limited, and changes,
It is even equivalent, but fall within protection scope of the present invention.