CN104133697B - The implementation method of dispatching system for subway dynamic load resource - Google Patents
The implementation method of dispatching system for subway dynamic load resource Download PDFInfo
- Publication number
- CN104133697B CN104133697B CN201410349475.1A CN201410349475A CN104133697B CN 104133697 B CN104133697 B CN 104133697B CN 201410349475 A CN201410349475 A CN 201410349475A CN 104133697 B CN104133697 B CN 104133697B
- Authority
- CN
- China
- Prior art keywords
- resource
- group
- multiselect
- reason
- connect
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to a kind of implementation method of dispatching system for subway dynamic load resource.A part of service resources are set to dynamic load resource, when dispatching desk application program is started, permanent loading resource is only loaded, dynamic load resource is not loaded with;After program start completion, according to click choose, send connect, multiselect, call request double-click choose and emergence call service operational circumstances dynamic load and unloading resource;When resource is loaded, addition is corresponding load reason in loading reason list;When resource is unloaded, corresponding loading reason is deleted from reason list is loaded, while whether also having other reasons to exist in checking loading reason list, if other reasons just do not unload the resource, the resource is unloaded if nothing.The present invention can more neatly use dynamic load resource, dynamic load resource is become simple and safe and reliable, and improve system running speed, it is ensured that the availability of running efficiency of system and dispatching desk resource.
Description
Technical field
The present invention relates to a kind of implementation method of dispatching system for subway dynamic load resource.
Background technology
In subway wireless dispatch system field, in order to realize colourful scheduling feature, loading is generally required a large amount of
Service resources, but due to being limited by current dispatching table system resource capacity, cause dispatching table system to have no temperately
Loading resource, and this limitation is also increasingly protruded with the contradiction between increasingly increased service resources, it is impossible to meet user's
Use demand.In today of cost war, it is generally desirable that the benefit of maximum is realized with minimum hardware cost, if by using
Upgrade-system configuration, the mode for updating hardware, make system accommodate more service resources, will increase the hardware cost of system.
Under the part for not increasing hardware cost bar, if all service resources are both configured to forever load resource, in dispatching desk application
When program starts, all of service resources will be loaded, the time is long to cause program to start, and memory usage is high, adds so as to bring
The bad Consumer's Experiences such as speed is slow, memory cost is big are carried, in the case where system resource is very limited, resource had not only been wasted but also right
The operational efficiency of program generates certain influence.
The content of the invention
For problems of the prior art, it is an object of the invention to provide a kind of dispatching system for subway dynamic load
The technical scheme of the implementation method of resource.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that:By a part of service resources
Dynamic load resource is set to, when dispatching desk application program is started, permanent loading resource is only loaded, dynamic load money is not loaded with
Source, after program start completion, chosen according to clicking for dispatching system for subway dynamic load resource, send connect, multiselect, call request
Double-click is chosen and emergence call service operational circumstances dynamic load and unloading resource;When certain business operation for being related to resource loading
During beginning, addition is corresponding load reason in loading reason list, and loads the resource;When certain industry for being related to resource loading
At the end of business operation, corresponding loading reason is deleted from loading reason list, while being in checking loading reason list
It is no to also have other reasons to exist, if just not unloading the resource, the resource is unloaded if nothing;Loaded successfully when resource is received
After message, the stress state of the resource is set to and has been loaded, while inquiring about whether the list of loading reason is empty, then stood if sky
The resource is unloaded, and it is in unloading, execution to be circulated if being not sky and loads reason meaning to change the stress state of the resource
The scheduling operation for showing;When receive resource unloading success message after, the stress state of the resource is set to it is unloaded, while inquiry plus
Carry whether reason list has loading reason, if then loading the resource immediately, and it is loading to change the stress state of the resource
In.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that described clicking chooses business to grasp
Work refers to and chooses or go to choose resource, if after receiving and choosing success message, scheduling station identification chooses resource accordingly, and by the resource
Selected state be set to and chosen;If receiving after choosing success message, dispatching desk removes the mark for accordingly choosing resource, and will
The selected state of the resource is set to unselected;
The group connects business operation and refers to and multiple phone group's occasional combinations are turned into a big phone group, including starts to send and connect
Operation and terminate group and connect operation, receive after sending and connecing success message, the state that modification group connects member resource in list is to have sent to connect;Receive
After connecing success message to solution group, the group deleted in the group person of being connected into loading reason list connects item, and changes the state of member resource
Connect not send;
The multiselect business operation refers to turns into a big phone group by multiple phone group's occasional combinations, including starts multiselect
Many selection operations are operated and terminate, after receiving multiselect success message, the state of member resource is multiselect in modification multiselect list;Receive
To after solution multiselect success message, the multi-option in multiselect member loading reason list is deleted, and change the state of member resource
It is non-multiselect;
The call request double-click choose business operation refer to the request come up to train, station calling perform double-click choose or
Go to choose resource, if after receiving and choosing success message, scheduling station identification chooses resource accordingly, and by the selected state of the resource
It is set to and has chosen;If receiving after choosing success message, dispatching desk removes the corresponding mark for choosing resource, and by the choosing of the resource
Middle state is set to unselected;
The emergence call service operation includes receiving urgent call advance notice and issues two kinds of situations of urgent call, promptly exhales
It is emergency call request that train is put forward to cry advance notice, and it is dispatching desk to the urgent call group resource that is managed to issue urgent call
The urgent call of initiation.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that described clicking chooses business to grasp
Deal with flow as follows:
Business operation is chosen for clicking, dispatching desk first checks for choosing the stress state of certain row resource, is divided into following
Four kinds of situations:
If during a, stress state are for loading, needing to check whether the resource chooses reason in loading reason list,
If just terminating the flow, in it will choose the loading reason list that reason is added to the resource without if;
If b, stress state will choose reason to be added in resource loading reason list, and load not load
The resource and modification stress state are in loading;
If c, stress state need to judge whether the resource is selected, if just going to choose the money to have loaded
Source, is accomplished by checking whether the resource chooses reason in loading reason list if not, if just carrying out choosing operation, such as
Fruit nothing just chooses the resource, and reason will be chosen to be added in resource loading reason list, if receive choosing success message
Afterwards, dispatching desk removes and accordingly chooses the mark of resource, and the selected state of the resource is set to it is unselected, while deleting the resource
Choose reason in loading reason list, and check in resource loading reason list whether with the presence of other reasons, if
Having just terminate the flow, in unloading the resource without and if the stress state of the resource is set to unloading, if receive choosing into
After work(message, scheduling station identification chooses resource accordingly, and the selected state of the resource is set to has chosen;
If during d, stress state are for unloading, reason will be chosen to be added in resource loading reason list, if receiving
After unloading success message, find with the presence of loading reason, then to load the resource again.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that the group is connect at business operation
Reason flow includes starting to send to connect operation treatment and terminate group connecing operation treatment;
Operation treatment is connect for starting to send, whether dispatching desk to connect Groups List existing if first checking for the group, if there is no
The group for then obtaining sky connects group number, and circular test sends the group for meeting each the group person of being connected into Groups List to connect shape if existing
State, described group connect state include do not send connect, taken, sent connect, send connect it is middle conciliate group connect in five kinds of situations, wherein for
Group connects, send and meet these three groups during middle reconciliation group connects and connect state, and dispatching desk does not do any aspect and processes, and does not send the place for connecing He having taken
Reason flow is as follows:
1)Do not send and connect operation treatment:
When the group for sending the person of being connected into connects state to be connect not send, then need to check the stress state that the group connects member resource, point
It is following four situation:
If during a, the group connect the stress state of member resource for loading, first checking for whether having in resource loading reason
Other groups are connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken and having shown
The resource connects a group occupancy by other groups, in this group is connect without if reason add this resource to load reason list;
If b, the group connect the stress state of member resource to have loaded, first check for whether having in resource loading reason
Other groups are connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken, and are shown
The resource is connect group by other groups and takes, and connect the resource if the group without if connects group to this group, and this group is connect into reason adds this to provide
In the loading reason list of source, while the state that more New School connects this resource in Groups List connects for group;
If the stress state that c, the group connect member resource is unloaded, to resource loading reason list addition, group connects
Reason and corresponding group connect group number, and load the resource, while the stress state of the resource is changed in loading;
If during d, the group connect the stress state of member resource for unloading, first checking for whether having in resource loading reason
Other groups are connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken, and are shown
The resource connects a group occupancy by other groups, in this group is connect without if reason add this resource to load reason list;
2)Operation treatment is taken:
When the group for sending the person of being connected into connects state to have taken, then need to check whether the resource there are other to send in loading reason
A group reason being connect, being not send to connect if change resource group during group connects table without if to connect state if not doing any aspect treatment, connect
The same group for the treatment of got off connects handling process;
When receive obtain empty group and connect group number success message when, dispatching desk first checks for that this group connects group number and other are already present
Group connects whether group number has conflict, and directly newly-built group connects Groups List and according to ATS information or manual members list if not conflicting
Connect to group and add the group in Groups List and meet group membership, the empty group that will be got connects group number and is assigned to corresponding group and connects a group variable, if
Having conflict then needs to check that each the group person of being connected into connect in group is sent in conflict that the group connects original in its corresponding resource loading reason
Whether because being deleted, if be not deleted, the previous group of user's FEFO is pointed out to connect group, if all groups meet group membership
The group connects reason and has all been deleted in corresponding resource loading reason, then delete the previous group for having discharged completion and connect Groups List, so
Newly-built group connects Groups List and is connect to group according to ATS information or manual members list and add the group in Groups List and meet group membership afterwards, will
The empty group for getting connects group number and is assigned to corresponding group and connects a group variable;Get after empty group connects group number success, each group is connected into
The initial group of member's resource connects state and is set to not sending and connects, and follow-up treatment connects handling process with not sending;
Terminate to send the handling process for connecing operation as follows:
Operation is connect for terminating group, dispatching desk each group that circular test group is connect in Groups List first connects member resource
Group connects state;If the group that the group connects member resource connects state and connects not send, judge the stress state of the resource, if plus
In load or in unloading, the group just deleted in resource loading reason connects reason;If having loaded or unloaded, any side is not
The treatment in face;If the group that the group connects member resource connects state and connects to have sent, member resource is connect to the group carry out solution group and meet behaviour
Make, and by the resource in the status modifier during group connects Groups List connects for solution group;Connect to have taken, having sent when the group connects member resource
In or during solution group connects these three groups when connecing any state of state, the treatment of any aspect are not done.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that at the multiselect business operation
Reason flow includes starting many selection operation treatment and terminates many selection operation treatment;
For starting the treatment of many selection operations, whether dispatching desk first checks for the multiselect Groups List existing, if there is no
Then obtain the multiselect group number of sky, the multiselect shape of each multiselect member if existing in circular test multiselect Groups List
State, described multiselect state includes conciliating four kinds of situations in multiselect in non-multiselect, multiselect, multiselect, wherein for multiselect, many
Choose reconciliation to choose these three states, dispatching desk does not do any aspect treatment, and not many selection operation handling processes are as follows more:
1)Not many selection operation treatment:
When the group for sending the person of being connected into connects state for non-multiselect, then need to check the stress state of the multiselect member resource, point
It is following four situation:
If during the stress state of a, the multiselect member resource is for loading, adding this resource to load this multiselect reason former
Because in list;
If the stress state of b, the multiselect member resource is to have loaded, the multiselect resource to this multiselect group, and by this
Multiselect reason is added in the loading reason list of this resource, while updating the state of this resource in multiselect Groups List to choose more;
If the stress state of c, the multiselect member resource is unloaded, to resource loading reason list addition multiselect
Reason and corresponding multiselect group number, and the resource is loaded, while the stress state of the resource is changed in loading;
If during the stress state of d, the multiselect member resource is for unloading, adding this resource to load this multiselect reason former
Because in list;
When acquisition sky multiselect group number success message is received, dispatching desk first checks for this multiselect group number and other are already present
Whether multiselect group number has conflict, if not conflicting open multiselect group, newly-built multiselect Groups List and according to ATS information or manually into
To multiselect group membership is added in multiselect Groups List, the empty multiselect group number that will be got is assigned to corresponding multiselect group and becomes member's list
Amount, if conflict then needs to check each multiselect member in conflict multiselect group, in its corresponding resource loading reason
Whether the multiselect reason has been deleted, if be not deleted, the previous multiselect group of user's FEFO is pointed out, if all many
The multiselect reason has all been deleted in selecting the corresponding resource loading reason of group membership, then delete the previous multiselect group for having discharged completion
List, then opens multiselect group, and newly-built group connects Groups List and according to ATS information or manual members list to adding in multiselect Groups List
Plus multiselect group membership, the empty multiselect group number that will be got is assigned to corresponding multiselect group variable;Get the success of sky multiselect group number
Afterwards, the initial multiselect state of each multiselect member resource is set to non-multiselect, follow-up treatment is with non-multiselect handling process;
Terminate many selection operation handling processes as follows:
For terminating many selection operations, dispatching desk be first turned in multiselect group and circular test multiselect Groups List each is more
The multiselect state of member resource is selected, if the multiselect state of the multiselect member resource is non-multiselect, the loading of the resource is judged
State, if the multiselect reason in loading or in unloading, just deleted in resource loading reason;If having loaded or unloaded
Carry, the treatment of any aspect is not done;If the multiselect state of the multiselect member resource is multiselect, to the multiselect member resource
Carry out solving many selection operations, and status modifier of the resource in multiselect Groups List is chosen more for solution;When the multiselect member resource
For choose more or solve choose in both multiselect states any one when, the treatment of any aspect is not done;
Run into check member resource state connect for group in, choose more, solve group connect it is middle reconciliation multiselect in when, skip this provide
Source, does not carry out the treatment of any aspect, and treatment event is triggered again manually by user.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that choosing is double-clicked in the call request
Middle business operation flow is as follows:
Being double-clicked for call request chooses business operation, dispatching desk to first determine whether that individual call whether there is, if there is
Just terminate individual call, while train and station request pointer are pointed into call request resource;Terminate to disappear when individual call is received
After breath, first determine whether whether request pointer is empty, if request pointer is sky, just terminate this flow, if request pointer is not
Sky, then perform clicking for the resource and choose operation handling process automatically;If there is no individual call, then the resource is performed automatically
Click and choose business operation.
The implementation method of described dispatching system for subway dynamic load resource, it is characterised in that the emergence call service behaviour
Deal with flow as follows:
Emergence call service operation includes receiving urgent call advance notice and issues two kinds of situations of urgent call, a certain when receiving
When the urgent call that train is put forward is predicted, urgent call advance notice reason is added to a certain train resources loading reason by dispatching desk
In list, while loading train resources;When sending out urgent call instantly, dispatching desk is first carried out clicking chooses operation handling process,
Then judge whether urgent resource loads, urgent call reason to urgent call resource loading reason row is added if having loaded
In table and emergency call commands are issued, urgent call reason to urgent call resource loading reason is added if resource is not loaded
In list, while loading the urgent call resource.
Beneficial effects of the present invention are as follows:
1)In the case of system resource finite capacity, dynamic load is provided the present invention with service resources, expansion business is unloaded
Source capacity, improves the utilization ratio of system resource;
2)A part of service resources are set to dynamic load resource, program are reduced and is started the time, substantially reduce data institute
The memory headroom of occupancy, improves the speed of service of program, and the purpose of Consumer's Experience is improved so as to reach;
3)A part of service resources are set to forever load resource, it is ensured that high priority resource is carried using being protected
The high flexibility of program and operating stability, with preferable technique effect;
4)The implementation method of dynamic load resource is fairly simple, is easy to exploitation and code to realize, shortens software development week
Phase, save man power and material's cost.
Specific embodiment
The implementation method of dispatching system for subway dynamic load resource of the present invention, is that a part of service resources are set into dynamic
Loading resource, when dispatching desk application program is started, only loads permanent loading resource, is not loaded with dynamic load resource, works as program
After start completion, chosen according to clicking for dispatching system for subway dynamic load resource, send connect, multiselect, call request double-click choose
And emergence call service operational circumstances dynamic load and unloading resource;When certain business operation for being related to resource loading starts,
Addition is corresponding load reason in loading reason list, and loads the resource;When certain business operation for being related to resource loading
At the end of, corresponding loading reason is deleted from loading reason list, while whether also having in checking loading reason list
Other reasons are present, and if just not unloading the resource, the resource are unloaded if nothing;Success message is loaded when resource is received
Afterwards, the stress state of the resource is set to and has been loaded, while inquiring about whether the list of loading reason is empty, then unloaded immediately if sky
The resource is carried, and it is that in unloading, circulation execution is loaded indicated by reason if not for sky to change the stress state of the resource
Scheduling operation;After resource unloading success message is received, the stress state of the resource is set to it is unloaded, while it is former to inquire about loading
Because whether list has loading reason, if then loading the resource immediately, and the stress state of the resource is changed in loading.
Above-mentioned clicking chooses business operation to refer to choose or go to choose resource, if after receiving and choosing success message, dispatching station symbol
Knowledge chooses resource accordingly, and the selected state of the resource is set to has chosen;If receiving after choosing success message, dispatching desk
Remove and accordingly choose the mark of resource, and the selected state of the resource is set to unselected.
Above-mentioned group connects business operation and refers to and multiple phone group's occasional combinations are turned into a big phone group, including starts to send and connect
Operation and terminate group and connect operation, receive after sending and connecing success message, the state that modification group connects member resource in list is to have sent to connect;Receive
After connecing success message to solution group, the group deleted in the group person of being connected into loading reason list connects item, and changes the state of member resource
Connect not send.
Above-mentioned multiselect business operation refers to turns into a big phone group by multiple phone group's occasional combinations, including starts multiselect
Many selection operations are operated and terminate, after receiving multiselect success message, the state of member resource is multiselect in modification multiselect list;Receive
To after solution multiselect success message, the multi-option in multiselect member loading reason list is deleted, and change the state of member resource
It is non-multiselect.
Above-mentioned call request double-click choose business operation refer to the request come up to train, station calling perform double-click choose or
Go to choose resource, if after receiving and choosing success message, scheduling station identification chooses resource accordingly, and by the selected state of the resource
It is set to and has chosen;If receiving after choosing success message, dispatching desk removes the corresponding mark for choosing resource, and by the choosing of the resource
Middle state is set to unselected.
Above-mentioned emergence call service operation includes receiving urgent call advance notice and issues two kinds of situations of urgent call, promptly exhales
It is emergency call request that train is put forward to cry advance notice, and it is dispatching desk to the urgent call group resource that is managed to issue urgent call
The urgent call of initiation.
Below in conjunction with click choose, send connect, multiselect, call request double-click choose and emergence call service operation handling process
The present invention is described in further detail.
Click and choose business operation handling process as follows:
Business operation is chosen for clicking, dispatching desk first checks for choosing the stress state of certain row resource, is divided into following
Four kinds of situations:
If during a, stress state are for loading, needing to check whether the resource chooses reason in loading reason list,
If just terminating the flow, in it will choose the loading reason list that reason is added to the resource without if;
If b, stress state will choose reason to be added in resource loading reason list, and load not load
The resource and modification stress state are in loading;
If c, stress state need to judge whether the resource is selected, if just going to choose the money to have loaded
Source, is accomplished by checking whether the resource chooses reason in loading reason list if not, if just carrying out choosing operation, such as
Fruit nothing just chooses the resource, and reason will be chosen to be added in resource loading reason list, if receive choosing success message
Afterwards, dispatching desk removes and accordingly chooses the mark of resource, and the selected state of the resource is set to it is unselected, while deleting the resource
Choose reason in loading reason list, and check in resource loading reason list whether with the presence of other reasons, if
Having just terminate the flow, in unloading the resource without and if the stress state of the resource is set to unloading, if receive choosing into
After work(message, scheduling station identification chooses resource accordingly, and the selected state of the resource is set to has chosen;
If during d, stress state are for unloading, reason will be chosen to be added in resource loading reason list, if receiving
After unloading success message, find with the presence of loading reason, then to load the resource again.
Group connects business operation handling process to be included starting to send to connect operation treatment and terminate group connecing operation treatment;
Operation treatment is connect for starting to send, whether dispatching desk to connect Groups List existing if first checking for the group, if there is no
The group for then obtaining sky connects group number, and circular test sends the group for meeting each the group person of being connected into Groups List to connect shape if existing
State, described group connect state include do not send connect, taken, sent connect, send connect it is middle conciliate group connect in five kinds of situations, wherein for
Group connects, send and meet these three groups during middle reconciliation group connects and connect state, and dispatching desk does not do any aspect and processes, and does not send the place for connecing He having taken
Reason flow is as follows:
1)Do not send and connect operation treatment:
When the group for sending the person of being connected into connects state to be connect not send, then need to check the stress state that the group connects member resource, point
It is following four situation:
If during a, the group connect the stress state of member resource for loading, first checking for whether having in resource loading reason
Other groups are connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken and having shown
The resource connects a group occupancy by other groups, in this group is connect without if reason add this resource to load reason list;
If b, the group connect the stress state of member resource to have loaded, first check for whether having in resource loading reason
Other groups are connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken, and are shown
The resource is connect group by other groups and takes, and connect the resource if the group without if connects group to this group, and this group is connect into reason adds this to provide
In the loading reason list of source, while the state that more New School connects this resource in Groups List connects for group;
If the stress state that c, the group connect member resource is unloaded, to resource loading reason list addition, group connects
Reason and corresponding group connect group number, and load the resource, while the stress state of the resource is changed in loading;
If during d, the group connect the stress state of member resource for unloading, first checking for whether having in resource loading reason
Other groups are connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken, and are shown
The resource connects a group occupancy by other groups, in this group is connect without if reason add this resource to load reason list;
2)Operation treatment is taken:
When the group for sending the person of being connected into connects state to have taken, then need to check whether the resource there are other to send in loading reason
A group reason being connect, being not send to connect if change resource group during group connects table without if to connect state if not doing any aspect treatment, connect
The same group for the treatment of got off connects handling process;
When receive obtain empty group and connect group number success message when, dispatching desk first checks for that this group connects group number and other are already present
Group connects whether group number has conflict, and directly newly-built group connects Groups List and according to ATS (Automatic Train if not conflicting
Supervision, train automatic monitoring system) information or manual members list connect to group and add the group in Groups List and connect composition
Member, the empty group that will be got connects group number and is assigned to corresponding group and connects a group variable, in then needing to check that conflict group connects group if conflict
Each group person of being connected into, the group connects whether reason has been deleted in its corresponding resource loading reason, if do not deleted
Remove, then point out the previous group of user's FEFO to connect group, if the group connects during all groups connect the corresponding resource loading reason of group membership
Reason has all been deleted, then delete the previous group for having discharged completion and connect Groups List, and then newly-built group connects Groups List and believed according to ATS
Breath or manually members list connect to group and add the group in Groups List and meet group membership, and the empty group that will be got connects group number and is assigned to accordingly
Group connects a group variable;Get after empty group connects group number success, the initial group that each group connects member resource is connect into state be set to and do not send
Connect, the same group of follow-up treatment connects handling process;
Terminate to send the handling process for connecing operation as follows:
Operation is connect for terminating group, dispatching desk each group that circular test group is connect in Groups List first connects member resource
Group connects state;If the group that the group connects member resource connects state and connects not send, judge the stress state of the resource, if plus
In load or in unloading, the group just deleted in resource loading reason connects reason;If having loaded or unloaded, any side is not
The treatment in face;If the group that the group connects member resource connects state and connects to have sent, member resource is connect to the group carry out solution group and meet behaviour
Make, and by the resource in the status modifier during group connects Groups List connects for solution group;Connect to have taken, having sent when the group connects member resource
In or during solution group connects these three groups when connecing any state of state, the treatment of any aspect are not done.
Multiselect business operation handling process includes starting many selection operation treatment and terminates many selection operation treatment;
For starting the treatment of many selection operations, whether dispatching desk first checks for the multiselect Groups List existing, if there is no
Then obtain the multiselect group number of sky, the multiselect shape of each multiselect member if existing in circular test multiselect Groups List
State, described multiselect state includes conciliating four kinds of situations in multiselect in non-multiselect, multiselect, multiselect, wherein for multiselect, many
Choose reconciliation to choose these three states, dispatching desk does not do any aspect treatment, and not many selection operation handling processes are as follows more:
1)Not many selection operation treatment:
When the group for sending the person of being connected into connects state for non-multiselect, then need to check the stress state of the multiselect member resource, point
It is following four situation:
If during the stress state of a, the multiselect member resource is for loading, adding this resource to load this multiselect reason former
Because in list;
If the stress state of b, the multiselect member resource is to have loaded, the multiselect resource to this multiselect group, and by this
Multiselect reason is added in the loading reason list of this resource, while updating the state of this resource in multiselect Groups List to choose more;
If the stress state of c, the multiselect member resource is unloaded, to resource loading reason list addition multiselect
Reason and corresponding multiselect group number, and the resource is loaded, while the stress state of the resource is changed in loading;
If during the stress state of d, the multiselect member resource is for unloading, adding this resource to load this multiselect reason former
Because in list;
When acquisition sky multiselect group number success message is received, dispatching desk first checks for this multiselect group number and other are already present
Whether multiselect group number has conflict, if not conflicting open multiselect group, newly-built multiselect Groups List and according to ATS information or manually into
To multiselect group membership is added in multiselect Groups List, the empty multiselect group number that will be got is assigned to corresponding multiselect group and becomes member's list
Amount, if conflict then needs to check each multiselect member in conflict multiselect group, in its corresponding resource loading reason
Whether the multiselect reason has been deleted, if be not deleted, the previous multiselect group of user's FEFO is pointed out, if all many
The multiselect reason has all been deleted in selecting the corresponding resource loading reason of group membership, then delete the previous multiselect group for having discharged completion
List, then opens multiselect group, and newly-built group connects Groups List and according to ATS information or manual members list to adding in multiselect Groups List
Plus multiselect group membership, the empty multiselect group number that will be got is assigned to corresponding multiselect group variable;Get the success of sky multiselect group number
Afterwards, the initial multiselect state of each multiselect member resource is set to non-multiselect, follow-up treatment is with non-multiselect handling process;
Terminate many selection operation handling processes as follows:
For terminating many selection operations, dispatching desk be first turned in multiselect group and circular test multiselect Groups List each is more
The multiselect state of member resource is selected, if the multiselect state of the multiselect member resource is non-multiselect, the loading of the resource is judged
State, if the multiselect reason in loading or in unloading, just deleted in resource loading reason;If having loaded or unloaded
Carry, the treatment of any aspect is not done;If the multiselect state of the multiselect member resource is multiselect, to the multiselect member resource
Carry out solving many selection operations, and status modifier of the resource in multiselect Groups List is chosen more for solution;When the multiselect member resource
For choose more or solve choose in both multiselect states any one when, the treatment of any aspect is not done;
Run into check member resource state connect for group in, choose more, solve group connect it is middle reconciliation multiselect in when, skip this provide
Source, does not carry out the treatment of any aspect, and treatment event is triggered again manually by user.The purpose of so design is to prevent from using
Family group connect or multiselect intermediateness under frequently click on cause system issue largely order cause system loading excessive.
Call request is double-clicked and chooses business operation flow as follows:
Being double-clicked for call request chooses business operation, dispatching desk to first determine whether that individual call whether there is, if there is
Just terminate individual call, while train and station request pointer are pointed into call request resource;Terminate to disappear when individual call is received
After breath, first determine whether whether request pointer is empty, if request pointer is sky, just terminate this flow, if request pointer is not
Sky, then perform clicking for the resource and choose operation handling process automatically;If there is no individual call, then the resource is performed automatically
Click and choose business operation.
Emergence call service operation handling process is as follows:
Emergence call service operation includes receiving urgent call advance notice and issues two kinds of situations of urgent call, a certain when receiving
When the urgent call that train is put forward is predicted, urgent call advance notice reason is added to a certain train resources loading reason by dispatching desk
In list, while loading train resources;When sending out urgent call instantly, dispatching desk is first carried out clicking chooses operation handling process,
Then judge whether urgent resource loads, urgent call reason to urgent call resource loading reason row is added if having loaded
In table and emergency call commands are issued, urgent call reason to urgent call resource loading reason is added if resource is not loaded
In list, while loading the urgent call resource.
Key innovations of the invention have three below aspect:
1) overall thought of dynamic load resource implementation method is proposed:When resource is loaded, the corresponding loading of addition is former
Because in reason list;When resource is unloaded, loading reason is deleted from reason list, while being in checking reason list
It is no to also have other reasons to exist, if other reasons just do not unload the resource, the resource is unloaded if nothing;
2)A part of service resources are set to dynamic load resource and a part of service resources are set to permanent loading money
Source, when dispatching desk application program is started, only loads permanent loading resource, is not loaded with dynamic load resource;When program has started
Cheng Hou, loads and unloading resource automatically according to dispatching desk ruuning situation, breaks away from the constraint of resource maximum capacity limitation, is easy to flexibly
Use resource;
3)With reference to the business processing logic in subway wireless dispatch system, specific exploitation realizes the list of dynamic load resource
Hit choose, send connect, multiselect, call request double-click choose and emergence call service operation handling process.
The present invention does not need upgrade-system configuration and hardware, can be achieved with expanding service resources capacity, improves system resource
The purpose of utilization ratio and program operation speed;The normal function of program is realized on the premise of resource occupation amount is reduced, it is ensured that
Running efficiency of system, and reduces cost.
Claims (7)
1. the implementation method of dispatching system for subway dynamic load resource, it is characterised in that:A part of service resources are set to move
State loads resource, when dispatching desk application program is started, only loads permanent loading resource, is not loaded with dynamic load resource, works as journey
After sequence start completion, chosen according to clicking for dispatching system for subway dynamic load resource, send connect, multiselect, call request double-click choosing
In and emergence call service operational circumstances dynamic load and unloading resource;When certain business operation for being related to resource loading starts
When, addition is corresponding load reason in loading reason list, and loads the resource;When certain business for being related to resource loading is grasped
At the end of work, corresponding loading reason is deleted from loading reason list, while in checking loading reason list whether also
With the presence of other reasons, if just not unloading the resource, the resource is unloaded if nothing;Success message is loaded when resource is received
Afterwards, the stress state of the resource is set to and has been loaded, while inquiring about whether the list of loading reason is empty, then unloaded immediately if sky
The resource is carried, and it is that in unloading, circulation execution is loaded indicated by reason if not for sky to change the stress state of the resource
Scheduling operation;After resource unloading success message is received, the stress state of the resource is set to it is unloaded, while it is former to inquire about loading
Because whether list has loading reason, if then loading the resource immediately, and the stress state of the resource is changed in loading.
2. the implementation method of dispatching system for subway dynamic load resource according to claim 1, it is characterised in that the list
Hit and choose business operation to refer to choose or go to choose resource, if after receiving and choosing success message, scheduling station identification chooses money accordingly
Source, and the selected state of the resource is set to has chosen;If receiving after choosing success message, dispatching desk removes accordingly chooses money
The mark in source, and the selected state of the resource is set to unselected;
The group connects business operation and refers to and multiple phone group's occasional combinations are turned into a big phone group, including starts to send and connect operation
Operation is connect with group is terminated, is received after sending and connecing success message, the state that modification group connects member resource in list is to have sent to connect;Receive solution
After group connects success message, delete the group in the group person of being connected into loading reason list and connect item, and change the state of member resource for not
Group connects;
The multiselect business operation refers to turns into a big phone group by multiple phone group's occasional combinations, including starts many selection operations
With terminate many selection operations, after receiving multiselect success message, the state of member resource is multiselect in modification multiselect list;Receive solution
After multiselect success message, the multi-option in multiselect member loading reason list is deleted, and change the state of member resource for not
Multiselect;
The call request is double-clicked and chooses business operation to refer to that the request come up to train, station calling performs double-click and chooses or go choosing
Middle resource, if after receiving and choosing success message, scheduling station identification chooses resource accordingly, and the selected state of the resource is set to
Choose;If receiving after choosing success message, dispatching desk removes accordingly chooses the mark of resource, and the resource is chosen into shape
State is set to unselected;
The emergence call service operation includes receiving urgent call advance notice and issues two kinds of situations of urgent call, and urgent call is pre-
Announcement is the emergency call request that train is put forward, and it is that urgent call group resource of the dispatching desk to being managed is initiated to issue urgent call
Urgent call.
3. the implementation method of dispatching system for subway dynamic load resource according to claim 2, it is characterised in that the list
Hit and choose business operation handling process as follows:
Business operation is chosen for clicking, dispatching desk first checks for choosing the stress state of certain row resource, is divided into following four feelings
Condition:
If during a, stress state are for loading, needing to check whether the resource chooses reason in loading reason list, if
Having just terminate the flow, in it will choose the loading reason list that reason is added to the resource without if;
If b, stress state will choose reason to be added in resource loading reason list, and load the money not load
Source and modification stress state are in loading;
If c, stress state need to judge whether the resource is selected, if just going to choose the resource, such as to have loaded
It is really no to be accomplished by checking whether the resource chooses reason in loading reason list, if just carrying out choosing operation, if nothing
Just choose the resource, and reason will be chosen to be added in resource loading reason list, if after receiving and choosing success message, adjusting
Degree platform removes and accordingly chooses the mark of resource, and the selected state of the resource is set to it is unselected, while delete the resource loading
Whether reason is chosen in reason list, and checked in resource loading reason list with the presence of other reasons, if just knot
The beam flow, in unloading the resource without and if the stress state of the resource is set to unloading, if receive choosing success message
Afterwards, scheduling station identification chooses resource accordingly, and the selected state of the resource is set to has chosen;
If during d, stress state are for unloading, reason will be chosen to be added in resource loading reason list, if receiving unloading
After success message, find with the presence of loading reason, then to load the resource again.
4. the implementation method of dispatching system for subway dynamic load resource according to claim 2, it is characterised in that the group
Connecing business operation handling process includes starting to send to connect operation treatment and terminate group connecing operation treatment;
Operation treatment is connect for starting to send, whether dispatching desk to connect Groups List existing if first checking for the group, if there is no then obtaining
The group for taking sky connects group number, and circular test sends the group for meeting each the group person of being connected into Groups List to connect state if existing, institute
The group for stating connect state include do not send connect, taken, sent connect, send connect it is middle conciliate group connect in five kinds of situations, wherein for sent connect,
Group meets these three groups during middle reconciliation group connects and connects state, and dispatching desk does not do any aspect treatment, do not send the processing stream for connecing He having taken
Journey is as follows:
1)Do not send and connect operation treatment:
When the group for sending the person of being connected into connects state to be connect not send, then need to check that the group connects the stress state of member resource, be divided into
Lower four kinds of situations:
If the stress state that a, the group connect member resource is in loading, first check for whether there are other in resource loading reason
Group is connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken and having shown the money
Source connects a group occupancy by other groups, in this group is connect without if reason add this resource to load reason list;
If b, the group connect the stress state of member resource to have loaded, first check for whether there are other in resource loading reason
Group is connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken, and shows the money
Source is connect group by other groups and takes, and connect the resource if the group without if connects group to this group, and this group is connect into reason adds this resource to add
In carrying reason list, while the state that more New School connects this resource in Groups List connects for group;
If the stress state that c, the group connect member resource is unloaded, to resource loading reason list addition, group connects reason
And corresponding group connects group number, and the resource is loaded, while the stress state of the resource is changed in loading;
If the stress state that d, the group connect member resource is in unloading, first check for whether there are other in resource loading reason
Group is connect except a group reason, and the group, if Ze Geng New Schools connect the state of the resource in Groups List to have taken, and shows the money
Source connects a group occupancy by other groups, in this group is connect without if reason add this resource to load reason list;
2)Operation treatment is taken:
When the group for sending the person of being connected into connects state to have taken, then need to check whether the resource there are other groups to connect group in loading reason
Reason, is not send to connect if change resource group during group connects table without if to connect state, next if not doing any aspect treatment
Treatment connect handling process with not sending;
When receive obtain empty group and connect group number success message when, dispatching desk first checks for that this group connects group number and other already present groups connect
Whether group number has conflict, and directly newly-built group connects Groups List and according to ATS information or manual members list to group if not conflicting
Connect and add the group in Groups List and meet group membership, the empty group that will be got connects group number and is assigned to corresponding group and connects a group variable, if punching
Prominent then need to check that conflict group meets each the group person of being connected into group, the group connects reason in its corresponding resource loading reason is
It is no to be deleted, if be not deleted, point out the previous group of user's FEFO to connect group, if all groups connect group membership's correspondence
Resource loading reason in the group connect reason and be all deleted, then delete the previous group for having discharged completion and connect Groups List, Ran Houxin
Build to send to connect Groups List and connect to group according to ATS information or manual members list and add the group in Groups List and meet group membership, will obtain
To empty group connect group number and be assigned to corresponding group and connect a group variable;Get after empty group connects group number success, by each group person's of being connected into money
The initial group in source connects state and is set to not sending and connects, and follow-up treatment connects handling process with not sending;
Terminate to send the handling process for connecing operation as follows:
Operation is connect for terminating group, the group that each group that dispatching desk circular test group first is connect in Groups List connects member resource connects
State;If the group that the group connects member resource connects state and connects not send, the stress state of the resource is judged, if in loading
Or in unloading, the group just deleted in resource loading reason connects reason;If having loaded or unloaded, any aspect is not done
Treatment;If the group that the group connects member resource connects state and connects to have sent, member resource is connect to the group carry out solution group and connect operation, and
By the resource in the status modifier during group connects Groups List connects for solution group;When the group connect member resource to have taken, send connect in or
Solution group connect in these three groups when connecing any state of state, the treatment of any aspect is not done.
5. the implementation method of dispatching system for subway dynamic load resource according to claim 2, it is characterised in that described many
Selecting business operation handling process includes starting many selection operation treatment and terminates many selection operations treatment;
For starting the treatment of many selection operations, whether dispatching desk first checks for the multiselect Groups List existing, if there is no then obtaining
Take the multiselect group number of sky, the multiselect state of each multiselect member if existing in circular test multiselect Groups List, institute
The multiselect state stated includes conciliating four kinds of situations in multiselect in non-multiselect, multiselect, multiselect, wherein for multiselect, choosing more
Conciliate and choose these three states more, dispatching desk does not do any aspect treatment, not many selection operation handling processes are as follows:
1)Not many selection operation treatment:
When send the person of being connected into group connect state for non-multiselect when, then need check the multiselect member resource stress state, be divided into
Lower four kinds of situations:
If during the stress state of a, the multiselect member resource is for loading, adding this resource to load reason this multiselect reason and arranging
In table;
If the stress state of b, the multiselect member resource is to have loaded, the multiselect resource to this multiselect group, and by this multiselect
Reason is added in the loading reason list of this resource, while updating the state of this resource in multiselect Groups List to choose more;
If the stress state of c, the multiselect member resource is unloaded, to resource loading reason list addition multiselect reason
And corresponding multiselect group number, and the resource is loaded, while the stress state of the resource is changed in loading;
If during the stress state of d, the multiselect member resource is for unloading, adding this resource to load reason this multiselect reason and arranging
In table;
When acquisition sky multiselect group number success message is received, dispatching desk first checks for this multiselect group number and other already present multiselects
Whether group number has conflict, and multiselect group, newly-built multiselect Groups List and according to ATS information or manual member column are opened if not conflicting
To multiselect group membership is added in multiselect Groups List, the empty multiselect group number that will be got is assigned to corresponding multiselect group variable to table, such as
Fruit has to conflict then to be needed to check each multiselect member in conflict multiselect group, the multiselect in its corresponding resource loading reason
Whether reason has been deleted, if be not deleted, points out the previous multiselect group of user's FEFO, if all multiselects are constituted
The multiselect reason has all been deleted in the corresponding resource loading reason of member, then delete the previous multiselect Groups List for having discharged completion,
Then multiselect group is opened, newly-built group connects Groups List and is somebody's turn to do to addition in multiselect Groups List according to ATS information or manual members list
Multiselect group membership, the empty multiselect group number that will be got is assigned to corresponding multiselect group variable;After getting the success of sky multiselect group number, will
The initial multiselect state of each multiselect member resource is set to non-multiselect, and follow-up treatment is with non-multiselect handling process;
Terminate many selection operation handling processes as follows:
For terminating many selection operations, dispatching desk be first turned in multiselect group and circular test multiselect Groups List each hank more
The multiselect state of member's resource, if the multiselect state of the multiselect member resource is non-multiselect, judges the stress state of the resource,
If the multiselect reason in loading or in unloading, just deleted in resource loading reason;If having loaded or unloaded, no
Do the treatment of any aspect;If the multiselect state of the multiselect member resource is multiselect, the multiselect member resource is carried out
Many selection operations are solved, and status modifier of the resource in multiselect Groups List is chosen more for solution;When the multiselect member resource is many
Choose or solve choose in both multiselect states any one when, the treatment of any aspect is not done;
Run into check member resource state connect for group in, choose more, solve group connect it is middle conciliate multiselect in when, skip this resource, no
The treatment of any aspect is carried out, treatment event is triggered by user again manually.
6. the implementation method of dispatching system for subway dynamic load resource according to claim 2, it is characterised in that described to exhale
Request double-click is made to choose business operation flow as follows:
Being double-clicked for call request chooses business operation, dispatching desk to first determine whether that individual call whether there is, if there is just knot
Beam individual call, while train and station request pointer are pointed into call request resource;After individual call end is received,
First determine whether whether request pointer is empty, if request pointer is sky, just terminate this flow, if request pointer is not sky,
Automatically perform clicking for the resource and choose operation handling process;If there is no individual call, then the list of the resource is performed automatically
Hit and choose business operation.
7. the implementation method of dispatching system for subway dynamic load resource according to claim 2, it is characterised in that described tight
Call on urgently and make business operation handling process as follows:
Emergence call service operation includes receiving urgent call advance notice and issues two kinds of situations of urgent call, when receiving a certain train
When the urgent call put forward is predicted, urgent call advance notice reason is added to a certain train resources loading reason list by dispatching desk
In, while loading train resources;When sending out urgent call instantly, dispatching desk is first carried out clicking chooses operation handling process, then
Judge whether urgent resource loads, in adding urgent call reason to load reason list to urgent call resource if having loaded
And emergency call commands are issued, urgent call reason is added if resource is not loaded and loads reason list to urgent call resource
In, while loading the urgent call resource.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410349475.1A CN104133697B (en) | 2014-07-22 | 2014-07-22 | The implementation method of dispatching system for subway dynamic load resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410349475.1A CN104133697B (en) | 2014-07-22 | 2014-07-22 | The implementation method of dispatching system for subway dynamic load resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104133697A CN104133697A (en) | 2014-11-05 |
CN104133697B true CN104133697B (en) | 2017-06-06 |
Family
ID=51806383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410349475.1A Active CN104133697B (en) | 2014-07-22 | 2014-07-22 | The implementation method of dispatching system for subway dynamic load resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104133697B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109086102A (en) * | 2018-08-02 | 2018-12-25 | 深圳市元征科技股份有限公司 | Dynamic loading method, device and the storage medium of diagnostic software |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999376A (en) * | 2012-11-15 | 2013-03-27 | 中国电力科学研究院 | Dynamic dispatching method for virtual desktop resources for multiple power tenants |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7765551B2 (en) * | 2003-02-10 | 2010-07-27 | Novell, Inc. | System for dynamically loading application resources from the first server to the second server based on the modified application resources from the first server |
-
2014
- 2014-07-22 CN CN201410349475.1A patent/CN104133697B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999376A (en) * | 2012-11-15 | 2013-03-27 | 中国电力科学研究院 | Dynamic dispatching method for virtual desktop resources for multiple power tenants |
Also Published As
Publication number | Publication date |
---|---|
CN104133697A (en) | 2014-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11246135B2 (en) | Resource selection method and apparatus under multiple carriers, computer device, and storage medium | |
CN103493572B (en) | Multi-technology coexistence for IBSS networks | |
CN104123151B (en) | The plug-in management method of application program, device and mobile terminal in mobile terminal | |
CN107168789B (en) | Multitask serial scheduling method and device | |
CN110532197A (en) | Method for recovering internal storage and device, electronic equipment, storage medium | |
CN104391716A (en) | Plug-in-based application program implementing method and device | |
WO2005083575A1 (en) | Data communication method, data communication system, and communication terminal device | |
CN112910937B (en) | Object scheduling method and device in container cluster, server and container cluster | |
CN104133697B (en) | The implementation method of dispatching system for subway dynamic load resource | |
CN109450701A (en) | A kind of virtual switch switching method, device, host and storage medium | |
CN108432297A (en) | Access point resource consumption management | |
CN102625453A (en) | Method and device for choosing dynamically scheduling strategies in RF resource allocation | |
CN106888475A (en) | The processing method of wireless standard, device and base station | |
CN102004660A (en) | Realizing method and device of business flows | |
CN108287760A (en) | Terminal equipment control method and device, terminal device and computer readable storage medium | |
CN105718322A (en) | Exception handling method for multi-application module client in same process | |
CN103514003B (en) | Program installation method and device | |
CN104572485B (en) | The distribution method and device of dual system common memory | |
CN103793270B (en) | Moving method, device and the terminal of end application | |
CN104731702B (en) | Test system and its service end | |
US20120005666A1 (en) | Multiple configurable customization layer system, method and computer program product | |
CN101729329B (en) | Method for managing application programs in open service gateway service platform and architecture thereof | |
CN106412798A (en) | User equipment of device-to-device communications and resource selection method thereof | |
CN103309690B (en) | Process method and the electronic equipment of data | |
CN106055367A (en) | Script file loading method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |