Summary of the invention
Unified business terminal system involved in the present invention need be installed a series of softwares on equipment, these softwares comprise framework functions software, polymerization controlled function software, execution environment software and capable server software.Framework functions software is realized the function of described framework functions module, polymerization controlled function software is realized the function of polymerization control function module, execution environment software is realized the function of execution environment functional module, the function of capable server software fulfillment capability server capability module.
A kind equipment of the present invention is the equipment with framework functions, execution environment, polymerization controlled function, capable server.
Two kind equipments of the present invention are meant the equipment that only has polymerization controlled function and capable server.Two kind equipments can not be as the main control device of unified service terminal.
Main control device involved in the present invention is the central control equipment in the unified business terminal system, have only a kind equipment can serve as main control device, and each unifies to have only in the business terminal system main control device.
At problems of the prior art, thus the present invention proposes a kind of according to surrounding environment variation and the method that requires dynamic restructuring to unify business terminal system of self internal system can make unified service terminal can adapt to networking requirement under the multiple situation.
According to an aspect of the present invention, provide a kind of method that is used for two unified business terminal systems are fused into a unified business terminal system, described method comprises step:
(1) whether can be fused to the second unified business terminal system to the first unified business terminal system and carry out authentication, can be fused to the described second unified business terminal system to determine the described first unified business terminal system;
(2) identity information that the described first unified business terminal system will the described second unified business terminal system is announced the capable server that has to it and the business of operation thereon, and the described first unified business terminal system will be kept at various information transfer on its main control device to the main control device of the described second unification business terminal system;
(3) the described second unified business terminal system is according to the information that is shifted, connect with the capable server of the described first unified business terminal system and in described first business of unifying to move on the business terminal system, and unify the execution environment of business terminal system according to the information configuration of described business described second;
(4) the described second unified business terminal system is notified the execution environment that the business of moving switches to the described second unified business terminal system on the described first unified business terminal system, and moves in the execution environment of the described second unified business terminal system;
(5) after the finishing switching, the described first unified business terminal system interrupts and being connected of its capable server that has and the business moved thereon, and delete the framework functions module of the described first unified business terminal system and the information in the execution environment, the framework functions module and the execution environment of the deexcitation described first unified business terminal system.
According to another aspect of the present invention, provide a kind of framework functions that will unify business terminal system to transfer to the method for target device from current main control device, wherein said target device is one one kind equipment in the described unified business terminal system,
Described method comprises step:
(1) whether the information transfer in its framework functions module can be carried out authentication to target device to current main control device, can be to determine current main control device with the information transfer in the framework functions module to target device;
(2) described target device starts framework functions module and execution environment, and notifies current main control device to carry out framework functions and shift;
(3) current main control device is announced capable server that has to described unified business terminal system and the business of moving with the identity information of described target device on described unified business terminal system, and the various information transfer that current main control device of while will be preserved thereon arrive described target device;
(4) described target device connects according to the information that is shifted and described capable server and described business, and according to the execution environment of the described target device of information configuration of described business, generates the required capable server agency of described business;
(5) described target device notifies the business of moving on current main control device to switch to the execution environment of described target device, and moves in the execution environment of described target device;
(6) current main control device interrupts and being connected of its capable server that is had and the business moved thereon, and deletes the information in its framework functions module and the execution environment, deexcitation its framework functions module and execution environment.
According to a further aspect of the invention, provide a kind of from unified business terminal system the method for separation equipment, described unified business terminal system comprises main control device, and described main control device comprises framework functions module and execution environment, and described method comprises step:
(1) described main control device sends disassociation notification to the equipment that will separate;
(2) described main control device is searched the business of being initiated by the described equipment that will separate, and finishes described business;
(3) described main control device also search initiate by other equipment and used business by the described capable server that equipment provided that will separate, and by redistributing professional ability, never comprise the alternative capable server that described capable server is provided in the equipment of the described equipment that will separate, in execution environment, generate the agency of described alternative capable server, so that by the described described alternative capable server of calling service of initiating by other equipment;
(4) described main control device interrupts and being connected of the described equipment that will separate, and deletion and the described device-dependent information that will separate.
According to a further aspect of the invention, provide a kind of from unified business terminal system the method for separation equipment, described unified business terminal system comprises main control device, and described main control device comprises framework functions module and execution environment, and described method comprises step:
(1) will send detach request to the main control device of described unified business terminal system from the equipment that unified business terminal system separates, request becomes a new unified business terminal system;
(2) the described equipment that will separate receives after detach request that described main control device sends agrees response, activates its framework functions module and execution environment, and issues it to described main control device and have information;
(3) described main control device announces the identity information of the described equipment that will separate to the capable server of the described equipment that will separate and the business of being initiated by the described equipment that will separate;
(4) described main control device is searched the business of being initiated by the described equipment that will separate, and all information transfer of the business that will be initiated by the described equipment that will separate are to the described equipment that will separate;
(5) described main control device is also searched the business of being initiated by other equipment and has been used the capable server that equipment provided that will be separated by described, and by redistributing professional ability, never comprise the alternative capable server that the capable server that the business of being initiated by other equipment on the described equipment that will separate uses is provided in the equipment of the described equipment that will separate, in execution environment, generate the agency of described alternative capable server, so that by the described described alternative capable server of calling service of initiating by other equipment;
(6) the described equipment that will separate obtains all information of its capable server that has;
(7) the described equipment that will separate is according to resulting capable server information and business information, the capable server that has with it and connect from the business of its initiation, and the execution environment of the equipment that configuration will separate, generate with the professional corresponding capable server of its initiation and act on behalf of, and notify described original unified business terminal system to shift the business of initiating by the described equipment that will separate;
(8) described original unified business terminal system interrupts with the described equipment that will separate and by being connected of the business of its initiation, and deletion and the described device-dependent information that will separate.
According to a further aspect of the invention, provide a kind of from unified business terminal system the method for separation equipment, described unified business terminal system comprises main control device, and described main control device comprises framework functions module and execution environment, and described method comprises step:
(1) will send detach request to the main control device of described unified service terminal from the equipment that unified business terminal system separates, request becomes a common terminal;
(2) described main control device sends detach request agreement response to the described equipment that will separate;
(3) described main control device is searched the business of being initiated by the described equipment that will separate, and finishes described business;
(4) described main control device also search initiate by other equipment and used business by the described capable server that equipment provided that will separate, and by redistributing professional ability, never comprise the alternative capable server that described capable server is provided in the equipment of the described equipment that will separate, in execution environment, generate the agency of described alternative capable server, so that by the described described alternative capable server of calling service of initiating by other equipment;
(5) described main control device interrupts and being connected of the described equipment that will separate, and deletion and the described device-dependent information that will separate.
The method according to this invention is unified business terminal system according to the dynamic restructuring that requires of the variation of surrounding environment and self internal system, thus demand that can adaptive various situation lower network tissues.
Embodiment
In order to make unified business terminal system more flexible, demand that can adaptive various situation lower network tissues, the invention provides according to the variation of surrounding environment and the dynamic restructuring that requires of self internal system and unify the method for business terminal system, the trigger condition of these methods can be varied, but the process of every kind of method is still unanimity under different trigger conditions.These methods comprise: the fusion of a plurality of unified business terminal systems, the framework transfer of unified business terminal system and the device separates of unified business terminal system.
Below in conjunction with the specific embodiment of the present invention said method is described.
One, the structure of unifying business terminal system
Unified business terminal system of the present invention is according to customer requirements, utilizes wireless or wired individual territory interconnection technique, and the device aggregation that will have one or more abilities together and a virtual terminal that forms.Constructed unified business terminal system is a kind of distributed terminal system.
To unify service terminal among the present invention and be abstracted into an architecture in logic from functional perspective, as shown in Figure 1, described unified business terminal system comprises framework functions module, execution environment functional module, polymerization control function module and a plurality of capable server functional module.
Described framework functions module is used to realize the central management controlled function of unified service terminal, the polymerization that it is responsible for each equipment in the unified business terminal system of controlling with separate, information, user profile and the business information of all distributed apparatus in the unified business terminal system of management, according to business demand the capability resource of unified service terminal is assessed, provide scheme for business provides best ability, and execution environment is configured.
Described execution environment functional module manages and coordinates the concrete scheduling and the collaborative work of the capable server of unified business terminal system, and provides unified terminal operating interface for business.
Described polymerization control function module is in charge of the ability of each distributed apparatus and is collected and equipment state, and the polymerization and the separation process of each distributed apparatus in the service terminal are unified in major control.
Described capable server has encapsulated each ability characteristics of unified business terminal system, can be professional providing capability service easily, and a capable server only encapsulates a kind of ability characteristics in the present invention.
Structure involved in the present invention is unified the method for service terminal need install a series of softwares on equipment, these softwares comprise framework functions software, polymerization controlled function software, execution environment software and capable server software.Framework functions software is realized the function of described framework functions module, polymerization controlled function software is realized the function of polymerization control function module, execution environment software is realized the function of execution environment functional module, the function of capable server software fulfillment capability server capability module;
The equipment that comprises framework functions software, polymerization controlled function software, execution environment software and capable server software has been installed has been possessed framework functions, execution environment, polymerization controlled function, capable server, become a kind equipment.That is to say that a kind equipment of the present invention is the equipment with framework functions, execution environment, polymerization controlled function, capable server.One kind equipment can be used as main control device in unified business terminal system.
The equipment of polymerization controlled function software and capable server being installed, only having been possessed polymerization controlled function and capable server, is two kind equipments. that is to say that two kind equipments of the present invention are meant the equipment that only has polymerization controlled function and capable server.Two kind equipments can not be as the main control device of unified service terminal.
Main control device involved in the present invention is the central control equipment in the unified business terminal system, have only a kind equipment can serve as main control device, and each unifies to have only in the business terminal system main control device.
In the present invention, at first need to make up a unified business terminal system, concrete steps are as follows:
(1) user selects one of them kind equipment, and moves framework functions module and execution environment module on the described kind equipment, thereby a described kind equipment becomes the main control device of the unified business terminal system that will be fabricated.
In this step, when framework functions module on the described kind equipment of operation and execution environment module, several capable servers that a described kind equipment is comprised self are aggregated on the described kind equipment, thereby become the main control device of the unified business terminal system that will be fabricated.
(2) main control device of described unified business terminal system sends broadcast.Wherein said broadcast is the self-described information to described unified business terminal system, comprises the identifier and the device type of described main control device.
(3) after a kind equipment on every side or two kind equipments receive broadcast, to the framework functions module transmission aggregate request mes-sages of described main control device.
In this step, after a described kind equipment or two kind equipments are received described broadcast, judge self whether to have joined in other the unified business terminal system;
If do not add, then send aggregate request mes-sages to described main control device, and the self-described information of preserving the described unified business terminal system in the described broadcast, show that described device request adds in the described unified business terminal system;
If joined in other the unified business terminal system, then can not join described unified business terminal system again, thereby described equipment is not made response to the broadcast of described main control device.
(4) described main control device carries out authentication to these equipment of request polymerization, from these equipment authentication go out can with the equipment of described main control device phase-polymerization functional unit as unified business terminal system.
In this step, the framework functions module of described main control device generates an authentication code at random, and described authentication code is sent to the equipment of asking polymerization, and by the key of authentication arithmetic generation corresponding to described authentication code;
After the equipment of request polymerization is received described authentication code, reply key by identical authentication arithmetic generation, and the described key of replying is sent to described main control device;
Described main control device is according to the received key of replying, and more described key and the described key of replying if both are identical, then return the authentication success message to the equipment of asking polymerization; If both are inequality, then the equipment to the request polymerization returns failed authentication message;
The described authentication code of equipment utilization of the request polymerization of described main control device and authentication success by identical cryptographic algorithm generative capacity service key, is used for carrying out encryption and decryption when the capacity of equipment server that calls corresponding to described capability service key.
The self-described information of the unified business terminal system in the described broadcast of preserving before the device clear of the request polymerization of failed authentication.
(5) by the equipment of authentication success self information is registered to the framework functions module of described main control device, thereby constitutes described unified business terminal system.
In this step, the equipment of the request polymerization of described authentication success sends to described main control device with the self-described information of equipment, and facility information is registered to the framework functions module of described main control device,
Tell each capable server of this equipment with described capability service key,
Described main control device returns the polymerization success message to the equipment of request polymerization.
The self-described information of wherein said equipment comprises: device id, device type, framework functions information, execution environment information, capable server information.
Two, unifying business terminal system is the method for service dispatching capable server
In the present invention, also disclose a kind of method that business terminal system is the service dispatching capable server of unifying, described unified business terminal system comprises a framework functions module, execution environment and several capable servers, and described method comprises step:
(1) behind the initiation of services, described business is carried out authentication by described framework functions module.
In this step, issue the message of its existence to described unified business terminal system behind the described initiation of services, after the framework functions module of described unified business terminal system is received the message of described business, return acknowledge message, and initiate the service authentication flow process to described business.
(2) business after the described process authentication is registered self information to described framework functions module, and proposes the professional ability demand; Described framework functions module receives after the described professional ability demand, provides scheme according to described professional ability demand for described business provides adaptive ability.
Described professional ability demand comprises professional demand and user preference information to the capable server type.The step that wherein said framework functions module is selected with the suitable capable server of described professional ability demand also comprises:
Described framework functions module is after receiving the professional ability demand that described business is sent, inquire about the capability class that described business is selected for use, selected corresponding capability class in the database of described unified business terminal system, determine capable server again according to the selected ability rating of user preference, and according to selected capability class and ability rating.
In step according to the selected ability rating of user preference, if the ability rating of a plurality of capable servers is identical with described selected ability rating, then from these capable servers, select the functional unit of one of them capable server at random as unified business terminal system.
(3) described business receives described ability provides after the scheme, whether the described professional ability demand of judging its proposition can provide scheme and be performed based on described adaptive ability, in the time can being performed, call confirmation to described unified business terminal system resettability.
In this step, when described professional ability demand can not provide scheme and when being performed based on described adaptive ability, described service selection stops application program, perhaps hang up, and the ability update of waiting for described unified business terminal system is to satisfy the professional ability demand of described business.
(4) described framework functions module generates in described execution environment and the corresponding capable server of described adaptive capable server agency, and provides the information of described adaptive capable server, the information and the corresponding ability call instruction of described execution environment to described business.
In step, described framework functions module is also with the information of described business, be kept in the registration table of described framework functions module for the information of the capable server of described service selection and the information of described execution environment.
(5) described business is to the call instruction of described execution environment transmitting capacity, acts on behalf of by the capable server in the described service environment and calls corresponding capable server.
In this step, described professional according to receiving after the described information, sending call instruction to described execution environment calls, described execution environment is resolved described call instruction, and acts on behalf of by described capable server in described execution environment and realize calling each capable server.
In the present invention, carry out in the process in business, when the state of the capable server of unifying business terminal system changes, the framework functions module is upgraded registered capable server information, and the capable server information after will upgrading is compared with the capable server information of being selected for use by business, be kept in the registration table.If the capable server of being selected for use by business changes, the message that the framework functions module changes to this business transmitting capacity server, and consult with it, determine professional use to capable server.Through consulting, if professional the continuation, the ability that the framework functions module is optimized again is adaptive, find out in the unified business terminal system optimized ability combination and offer business, and the notice execution environment upgrades corresponding capable server agency.If service selection is hung up, the ability update of then hanging up and wait for unified business terminal system is to satisfy the ability need of service application; If service selection finishes, submit the service ending request to execution environment, according to this request, execution environment handling capacity server agent sends to each capable server and calls the finish command, and each capable server finishes call operation according to this order.Simultaneously, execution environment discharges relevant ability server agent automatically, this service ending message of notice framework, and framework is removed this business corresponding information.Send confirmation by framework to service application at last.Service application normally withdraws from.
Carry out in the process in business, when if the service that certain capable server provides can not reach requiring of business, business can be held consultation with the framework functions module on one's own initiative, reselects in other capable servers identical with this capable server type, perhaps abandons this capable server.After selecting, the framework functions module is designated as the state of former ability server available.
In same unified business terminal system, allow to move simultaneously a plurality of business.Behind each initiation of services, finish mutual discovery and carry out authentication with the framework functions module respectively, registration own service information is submitted business demand to.After the framework functions module is received business demand,, be each business configuration capable server and execution environment according to first come first served basis.After configuration was finished, the framework functions module was preserved each professional information and the information of the capable server selected for use in database.When the capable server of selecting for use when a certain business changes, the operation when carrying out the capable server state variation.
During service ending, submit the service ending request to execution environment, according to this request, execution environment handling capacity server agent sends to each capable server and calls the finish command, and each capable server finishes call operation according to this order.Simultaneously, execution environment discharges relevant ability server agent automatically, and mapping table is called and acted on behalf of to the corresponding ability of deletion, this service ending message of notice framework, and framework is removed this business corresponding information.Send confirmation by framework to service application at last.
Three, the fusion of a plurality of unified business terminal systems
The present invention also provides the method that two unified business terminal systems is fused into a unified business terminal system.In fact, the fusion of a plurality of unified business terminal system is two repeatedly repetitions that unified business terminal system merges.As shown in Figure 2, this method may further comprise the steps:
1, whether can carry out authentication by the second unified business terminal system to the first unified business terminal system, be fused to the described second unified business terminal system to determine the described first unified business terminal system.
Enter the described second unified business terminal system (this situation is called forward fusion) if the described first unified business terminal system initiatively requires to merge, the then described first unified business terminal system sends to the described second unified business terminal system and merges request.The main control device of the described second unified business terminal system is as the authentication initiating equipment, receives after the described fusion request main control device as the described first unified business terminal system of authentication target device is carried out authentication.
If the described second unified business terminal system request described first unified business terminal system incorporates (this situation is called reverse integration), the then described second unified business terminal system sends to the described first unified business terminal system and merges request.The main control device of the described first unified business terminal system is as the authentication initiating equipment, receives after the described fusion request main control device as the described second unified business terminal system of authentication target device is carried out authentication.
The concrete form that merges request message is as shown in table 1.
Table 1
Enter the described second unified business terminal system if authentication success, the described first unified business terminal system are merged, the authentication initiating equipment sends to the authentication target device with the authenticating result of success.Enter the described second unified business terminal system if failed authentication, the described first unified business terminal system can not merge, the authentication initiating equipment sends to the authentication target device with the failed authentication result, and the request fusion process finishes.
Wherein said authentication step also comprises step:
(1) the authentication initiating equipment sends authentication request to the authentication target device, and described authentication request comprises an authentication values that is generated at random by described authentication initiating equipment, and generates a KI according to authentication arithmetic.
The concrete form of authentication request message is as shown in table 2.
Table 2
(2) after described authentication target device receives described authentication request, take out described authentication values, generate according to its authentication arithmetic that carries and reply key, return authentication response message to described authentication initiating equipment, described authentication response message comprises the described key of replying.
The concrete form of authentication response message is as shown in table 3.
Table 3
(3) described authentication initiating equipment judges according to described authentication response message whether described KI is identical with the described key of replying, if identical, then authentication success, if inequality, failed authentication then.The authentication initiating equipment sends the authentication acknowledge message to the authentication target device, and comprising the identity information and the authenticating result of authentication initiating equipment, concrete form is as shown in table 4.
Table 4
2, the described first unified business terminal system is announced capable server that is had to it and the business of moving with the identity information of the described second unified business terminal system thereon with the form of broadcasting, thereby the described second unified business terminal system can be connected with these capable servers and business.Only in this way, these capable servers could connect the main control device of the described first unified business terminal system and the main control device of the described second unified business terminal system simultaneously.And, the current main control device of the described first unified business terminal system will preserve thereon capable server information, business information and user profile from database, read and convert to network data flow (as socket stream), and write described second and unify on the main control device of business terminal system.
3, the described second unified business terminal system is according to the information that is shifted, connect with the capable server of the described first unified business terminal system and the business of on the described first unified business terminal system, moving, and execution environment according to the information configuration of the described business described second unified business terminal system, generate the capable server agency of described service needed, and the mapping table of generative capacity server and ability call instruction.
When the capable server of the described second unified business terminal system and the described first unified business terminal system connects, again to each described first capable server distribute data cipher mode of unifying business terminal system.
4, the described second unified business terminal system is notified the execution environment that the business of moving switches to the described second unified business terminal system on the described first unified business terminal system, and moves in the execution environment of the described second unified business terminal system.
Specifically, the business of the second unified business terminal system on the first unified business terminal system sent professional handoff request, and request switches to described business on the execution environment of the second unified business terminal system and moves.Professional handoff request comprises the identity information of handoff request initiation system, and the concrete form of professional handoff request message is as shown in table 5.
Table 5
After business is received request, switch on the execution environment of the second unified business terminal system from first execution environment of unifying business terminal system.After finishing, switching enters next step; Otherwise, if being arranged, business can't finish switching, then send the operation of service ending request with the business that finishes to switch on the described first unified business terminal system to the first unified business terminal system, the service ending request comprises the identity information of initiation system and desires the ID of winding-up that concrete form is as shown in table 6.
Table 6
After the first unified business terminal system is received the service ending request, judge whether the identity information whether legal (promptly whether the identity information with the second unified business terminal system coincide) of the system that initiates and whether desire winding-up in operation (promptly in business information, whether having this professional ID) on the native system, if all coincide, then finish described desire winding-up, after finishing, the first unified business terminal system sends the service ending response to the second unified business terminal system, the service ending response comprises the identity information and the traffic ID of response initiation system, and concrete form is as shown in table 7.
Table 7
5, after the finishing switching, the described first unified business terminal system interrupts and being connected of its capable server that has and the business moved thereon, and delete the framework functions module of the described first unified business terminal system and the information in the execution environment, the framework functions module of the deexcitation described first unified business terminal system and the execution environment of the described first unified business terminal system.
When the capable server of the described first unified business terminal system interrupted with being connected of the described first unified business terminal system, the equipment that has this capable server was updated to the identity information of the main control device of its reservation the main control device of the described second unification business terminal system by the main control device of the described first unified business terminal system.
The transfer of four, unifying the framework functions of business terminal system
The invention also discloses a kind of framework functions that will unify business terminal system and transfer to the method for another kind equipment the described unified business terminal system, serve as the new main control device of described unified business terminal system by a described kind equipment from current main control device.As shown in Figure 3, described method comprises step:
1, whether the information transfer in its framework functions module can be carried out authentication to target device to current main control device, can be to determine current main control device with the information transfer in the framework functions module to target device.
In the present invention, the transfer of framework functions can be initiated transfer request (this process be called forward shift) to target device by current main control device, also can by serve as target device certain one by one kind equipment initiate transfer request (this process is called reverse transfer) to current main control device.
If transfer request is initiatively to be initiated by current main control device, then current main control device sends the framework transfer request to target device, and described framework transfer request comprises the identity information of initiating equipment, and shows it is forward to shift.
The concrete form of framework transfer request is as shown in table 8.
Table 8
Target device receives after the described framework transfer request, judges whether it is the request that main control device sent by the unified business terminal system at its place, and is then to enter next step, on the contrary ending said process then.
If transfer request is initiatively to be initiated by target device, then target device sends the framework transfer request to current main control device, and described framework transfer request comprises the identity information of initiating equipment, and shows it is reverse transfer.Current main control device receives after the described framework transfer request, judge that whether described target device is the kind equipment in the unified business terminal system at its place, be then to send framework to shift response to target device, described framework shifts the identity information that response comprises response initiation system, notifying described target device to prepare the beginning framework functions shifts, enter next step, otherwise then notification target equipment can't carry out the framework functions transfer, and ending said process.
It is as shown in table 9 that framework shifts the concrete form that responds.
Table 9
2, after the authentication success, described target device starts framework functions module and execution environment, and notifies current main control device to carry out framework functions and shift.
Particularly, target device starts framework functions module and the execution environment of self.Target device sends framework to current main control device and shifts the request of enforcement after finishing, and comprises the identity information of type of message and initiating equipment, and concrete form is as shown in table 10.
Table 10
3, current main control device is announced capable server that has to described unified business terminal system and the business of moving with the identity information of described target device on described unified business terminal system, thereby described target device can be connected with these capable servers and business.Only in this way, capable server just can connect current main control device and target device simultaneously.Simultaneously, current main control device will be kept at capable server information, business information, user profile on its main control device and read and change into network data flow (as socket stream) be transferred on the target device from database, and write the database of target device.
4, described target device connects according to the information that is shifted and described capable server and described business, and, promptly make up the agency of professional required capable server and the mapping table of generative capacity server and ability call instruction according to the execution environment of the described target device of information configuration of described business.
5, described target device notifies the business of moving on current main control device to switch to the execution environment of described target device, and moves in the execution environment of described target device.
Particularly, the business of target device on current main control device sent professional handoff request, and request switches to these business on the execution environment of target device and moves.Professional handoff request comprises the identity information of handoff request initiating equipment, and the concrete form of professional handoff request message is as shown in table 5.After the business of moving on the described current main control device is received request, switch on the execution environment of target device from the execution environment of current main control device.After finishing, switching enters next step.Otherwise, if being arranged, business can't finish switching, then target device sends the operation of service ending request with the business that can't switch that finishes to move on the described current main control device to current main control device, the service ending request comprises the identity information of initiating equipment and desires the ID of winding-up that concrete form is as shown in table 6.After current main control device is received the service ending request, judge whether the identity information whether legal (promptly whether the identity information with target device coincide) of the system that initiates and whether desire winding-up in operation (promptly in business information, whether having this professional ID) on the native system, if all coincide, then finish the business that this desire finishes, after finishing, current main control device sends the service ending response to target device, the service ending response comprises identity information and the traffic ID that responds initiating equipment, and concrete form is as shown in table 7.All business that need finish enter next step after all having finished fully.
6, current main control device interrupts and being connected of its capable server that is had and the business moved thereon, and deletes the information in its framework functions module and the execution environment, deexcitation its framework functions module and execution environment.
In this step, the capable server that current main control device had upgrades the identity information of the main control device that kept when interrupting with being connected of current main control device, and identity information is updated to target device by described current main control device.After shifting through the framework functions module, serve as the main control device of unified business terminal system by target device, former main control device becomes the non-main control device of unified business terminal system.
Five, unify equipment Dynamic Separation method in the business terminal system
The present invention also provides a kind of equipment Dynamic Separation method of unifying in the business terminal system, its main purpose is in order to guarantee when device separates takes place, no matter be that the business of moving on the business of original unified business terminal system or the equipment that will separate can both guarantee continuity, perhaps realize under the situation of business continuance can't continuing, business can finish with a kind of stable manner, thereby original unified business terminal system still can operate as normal.
As shown in Figure 4, the device separates process can initiatively be initiated (this process is called reverse separation) by the equipment that will separate, and also can initiate (this process is called forward and separates) by the main control device of unified business terminal system.Both of these case is discussed respectively below.
(1) by the device separates process that will initiate from the equipment that unified business terminal system separates
Under the situation that the device separates process is initiated by the equipment that will separate from original unified business terminal system, when the described equipment requirements that will separate becomes new unified business terminal system, said method comprising the steps of:
1, will initiatively require in original unified business terminal system, to separate from the equipment that original unified business terminal system separates, described polymerization module that will separation equipment is sent detach request to the framework of the main control device of original unified business terminal system, and showing state after the separation, request becomes a new unified business terminal system.Comprise the identity information of asking initiating equipment in the detach request, the state after detaching direction and the separation.The concrete form of detach request is as shown in table 11.
Table 11
2, the main control device of described original unified business terminal system judges that whether the described equipment that will separate be the kind equipment in described original unified business terminal system, if not words, then send detach request response (refusal) to the described equipment that will separate, this process finishes, otherwise sends detach request response (agreement) to the described equipment that will separate.Described detach request response comprises identity information and the detach request result who responds initiating equipment, and concrete form is as shown in table 12.
Table 12
The described equipment that will separate activates its framework functions module and execution environment after receiving described detach request response (agreement), and issues it to described main control device and have information.
3, the main control device of described original unified business terminal system announces the identity information of the described equipment that will separate to the capable server of the described equipment that will separate and the business of being initiated by the described equipment that will separate, so that the described equipment that will separate can connect with these capable servers and business.
4, the main control device of described original unified business terminal system is by searching business information, search whether business is arranged is to be initiated by the described equipment that will separate, if any, network data flow (as socket stream) is read and be converted into to all information of the business that will be initiated by the described equipment that will separate from database, be transferred to the described equipment that will separate, and write in the database of the described equipment that will separate.
5, the main control device of described original unified business terminal system is also by searching business information, search the business that whether has other equipment to initiate and used the capable server that equipment provided that will separate by described, if used the capable server of the described equipment that will separate, then the main control device of described original unified business terminal system is by redistributing professional ability, never comprise the alternative capable server of seeking described capable server in the equipment of the described equipment that will separate, if can find described alternative capable server, then in the execution environment of the main control device of original unified business terminal system, generate the agency of described alternative server, so that the described described alternative capable server of calling service of initiating, otherwise notify the described suspension of service or the hang-up of initiating by other equipment by other equipment.
6, the described equipment that will separate obtains the information of its capable server that has.
If the state after described will separation equipment the separation is to become a new unified business terminal system, then the main control device of original unified business terminal system also will preserve thereon will separation equipment all information of capable server from database, read and change into the equipment that network data flow (as socket stream) will separate as described in being transferred to and get on, and write in the database of the described equipment that will separate.Perhaps use another kind of method, the described equipment that will separate enters the information registration of owned capable server the database of new system.
7, the described equipment that will separate is according to resulting capable server information and business information, the capable server that has with it and connect from the business of its initiation, the frame module of the equipment that will separate carries out professional ability again and distributes, if can satisfy from the demand of the business of the described equipment initiation that will separate, then dispose the execution environment of the described equipment that will separate, promptly generate and the professional corresponding capable server agency of its initiation and the mapping table between capable server and the ability call instruction, and notify described original unified business terminal system to shift the business of initiating by the equipment that will separate, otherwise, the suspension of service that the notice demand can't be met or hang-up.
8, after transfer is finished, described original unified business terminal system interrupts with the described equipment that will separate and by being connected of the business of its initiation, and deletion and the described device-dependent facility information that will separate, capable server information and business information.
When being connected of the described device interrupt that will separate and described original unified business terminal system, the identity information of the main control device of original unified business terminal system of its reservation is updated to described identity information that will separation equipment by the main control device of described original unified business terminal system.
Under the situation that the device separates process is initiated by the equipment that will separate from unified business terminal system, when the described equipment requirements that will separate becomes ordinary terminal, said method comprising the steps of:
1, will initiatively require from the equipment that unified business terminal system separates in unified business terminal system, to separate, described polymerization module that will separation equipment is sent detach request to the framework of the main control device of unified business terminal system, and showing state after the separation, request becomes a common terminal.Comprise the identity information of asking initiating equipment in the detach request, the state after detaching direction and the separation.The concrete form of detach request is as shown in table 11.
2, described unified business terminal system main control device judges that whether the described equipment that will separate be the equipment in the described unified business terminal system, if not words, then send detach request response (refusal) to the described equipment that will separate, this process finishes, otherwise sends detach request response (agreement) to the described equipment that will separate.Described detach request response comprises identity information and the detach request result who responds initiating equipment, and concrete form is as shown in table 12.
3, the main control device of described unified business terminal system is searched the business of being initiated by the described equipment that will separate, and finishes the business by the described equipment initiation that will separate;
4, the main control device of described unified business terminal system also search initiate by other equipment and used business by the described capable server that equipment provided that will separate, and by redistributing professional ability, the concentrated alternative capable server of seeking the capable server of the business of being initiated by other equipment use on the described equipment that will separate of equipment that never comprises the described equipment that will separate, if can find described alternative capable server, then in the execution environment of the main control device of unifying business terminal system, generate the agency of described alternative capable server, so that by the described described alternative capable server of calling service of initiating by other equipment;
5, the main control device of described unified business terminal system interrupts and being connected of the described equipment that will separate, and deletes facility information, capable server information and the business information of the described equipment that will separate.
(2) the device separates process of initiating by the main control device of unified business terminal system
When the device separates process was initiated by the main control device of unified business terminal system, described method comprised step:
1, the main control device of described unified business terminal system sends disassociation notification to the equipment that will separate;
2, the main control device of described unified business terminal system is also searched the information in the database, searches the business that whether has the described equipment that will separate to initiate, if this business is arranged, the framework functions module of described main control device finishes described business;
3, the main control device of described unified business terminal system is also searched the business that whether has other equipment to initiate and has been used the capable server that equipment provided that will be separated by described, if used the capable server of the described equipment that will separate, then the main control device of described unified business terminal system is by redistributing professional ability, the alternative capable server that never comprises the capable server that the business of being initiated by other equipment on the described equipment that will separate of seeking in the equipment of the described equipment that will separate is used, if can find the described capable server of mentioning, then in the execution environment of the main control device of unifying business terminal system, generate the agency of described alternative capable server, so that the described described alternative capable server of calling service of initiating, otherwise notify the described suspension of service or the hang-up of initiating by other equipment by other equipment;
4, the main control device of described unified business terminal system interrupts and being connected of the described equipment that will separate, and deletes facility information, capable server information and the business information of the described equipment that will separate.