Background technology
Gradually relax control in market, under the overall situation of intensified competition, the strategic emphasis of telecom operation enterprise enlarges scale by original investment networking, progressively turn to and improve user satisfaction, network management level and network application efficient, and then turn to the competition of comprehensive operation management level.Under this background, network resource management system (NRM) grows up very soon as the important component part of network operation support system, in telecommunication management network (TMN), occupy critical role rapidly, become the important means that telecom operators improve network operation efficient, activate the service, realize the whole network intensive management fast.
The Internet resources that telecom operators had comprise physical resource and logical resource.The infrastructure of telecommunication such as pipe-line-network, cable system, cable network, machine room are physical resources, are the bases that communication network is built.On the infrastructure of telecommunication, transmission network, switching network, data network, intelligent network, digital communication network professional communication networks such as (DCN) have been set up.Scheduling and configuration by to network have formed logical resources such as passage, circuit, number, form complicated multi-level topological structure between the logical resource again.The object of NRM management is exactly the operator whole physics, the logical network that have and the node that connects these networks (as the machine room physical equipment etc.).
The storage of every kind of resource of network resource management system maintaining network.As mentioned above, these resources can be physical resources, as cable, port, veneer, frame, machine frame, panel, equipment and machine room etc., also can be logical resource, as SDH (Synchronous Digital Hierarchy) (SDH) section, SDH path, end to end circuit, PDH (Pseudo-synchronous Digital Hierarchy) (PDH) system and SDH ring etc.Telecom operators must be according to the frequent planning network topology of client's demand, equipment and circuit supply.This planning at Internet resources must often be upgraded, to determine various state of resources, because the state of Internet resources is dynamic changes, so the time management at Internet resources is a ring important in the network resource management, the meaning of time management be embodied in basically can to future date Internet resources plan so that more effectively carry out network topology and circuit supply etc. according to the state of Internet resources.
Yet, up to now, also less than method to Internet resources being planned in date in the future, when certain service needed takies a resource, whether can only inquire about this resource when needs take idle, if current this resource is just by other calling service, when other business that also has no way of finding out about it discharges this resource, so can't make further planning to the enforcement of this business.So there is a kind of demand of Internet resources being carried out time management in network resource management.
Summary of the invention
Main purpose of the present invention is to provide a kind of method that realizes network resource time management, so that more effectively Internet resources are planned.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method that realizes network resource time management comprises the steps:
A, set up the time version of the occupied information that comprises this resource respectively for Internet resources, the occupied information of this resource comprises the business information and the holding time information of the business that takies this resource;
B, when receiving the resource request of the resource information that comprises business information, holding time information and institute's request resource that a business sends, access the time version of this business institute requested resource;
Occupied information in C, the query time version judges whether resource is taken by other business, if then refuse this resource request within holding time; Otherwise, in the time of resource version, add this professional business information and holding time information.
Wherein, described business information is Business Name and/or service identification.
Wherein, described holding time information comprises and takies zero-time and take the termination time.
Preferably, further comprise after the step C:
When in the time version that detect to arrive resource take zero-time the time, send the trigger notice message that comprises resource name at least to the business of this resource of request, the business of this resource of indication request takies this resource.
Wherein, described trigger notice message comprises that also business takies the zero-time that takies of resource.
Wherein, described resource information is resource name and/or resource identification.
Preferably, in step B, receive the resource request that a business sends after, further comprise: judge whether this business institute requested resource exists, if then access the time version of this resource; Otherwise, create the time version of this resource and this resource of initialization, in the time of resource version, add this professional business information and holding time information, finish then.
Wherein, the time version of described resource also comprises at least one configuration information of resource, and described configuration information is the configuration status of this resource and zero-time and the termination time that resource has this configuration status.
Wherein, the time version of described resource is at least one, and each time version comprises a configuration information of resource, and described configuration information is the configuration status of this resource and zero-time and the termination time that resource has this configuration status.
Wherein, the described resource request of step B also comprises configuration information of resource,
In step C, if resource is not taken by other business in holding time, then judge the identical configuration information of configuration information that in the corresponding time version of this resource, whether has with in the resource request, if in this time version, add this professional business information and holding time information; Otherwise the resource allocation information of system update in should the time version adds this professional business information and holding time information then in this time version.
The invention provides a kind of method that realizes network resource time management, this method is to set up the time version of the occupied information that comprises this resource for Internet resources, when resource request that the business that receives is sent, access the time version of this business institute requested resource, and the resource occupation information in the query time version, judge whether resource is taken by other business in zero-time with between the termination time, if then refuse this resource request; Otherwise, upgrade the time version information of this resource.And Internet resources are not carried out time management in the prior art, business can't be asked its resource needed in advance.
From the contrast scheme of the present invention and prior art as can be seen, method of the present invention can be set up a subscription time record for each resource, the time comprise all professional holding times of estimating that take this resource in the interocclusal record, each ask this resource business can by query time write down determine whether can be at a time between section take this resource, and can according to the time interocclusal record information in time adjust the professional enforcement time.
And, each resource is according to its configuration status difference, can have a plurality of time versions, this time version begins to show continuously the configuration status of resource on time shaft from asset creation, make the designer have understanding directly perceived and clear and definite to the differentiation situation of resource, and the person provides better reference to can be the systems organization, and the person that helps to the systems organization adds up the situation that takies of all resources on the time shaft and safeguards.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is further described below in conjunction with the drawings and specific embodiments.
Method of the present invention is at first to manage historical record respectively settling time for all physical resources and logical resource in the resource management system (being designated hereinafter simply as system), it is the time version, the time version comprises the state in the section between a certain resource at a time, such as the configuration status and the seizure condition of this resource, the configuration status of resource refers to the functional status of resource self; The seizure condition of resource refers to take the information such as Business Name, resource occupation time and release time of this resource.
After having set up the time version of resource, when this resource of certain service request, need to determine by the time version of inquiring about this resource whether this resource is taken by other business within the time period of this service implementation in advance, if this resource was not taken by other business in this time period, then this business can be used this resource in this time period, like this, the time management historical record of this resource will upgrade, if this resource is taken by other business in this time period, then this business can't be used this resource in this time period, need other resource of request, or postpone the enforcement time of this business.
Fig. 1 carries out the flow chart of time planning according to of the present invention to Internet resources, and as can be seen from Figure 1, this flow process comprises the steps:
Step 101: manage historical record settling time for resource in advance, promptly set up the time version of resource.
Usually, when establishing resource, set up the time version of this resource, comprise the configuration status of this resource when creating in the time version of resource, i.e. the functional status of resource self, for example, a SDH ring its speed grade when creating is STM-1, i.e. 155MB;
The seizure condition that also comprises resource in the time version of resource, promptly take this resource Business Name, take zero-time and take the termination time, under initial condition, the seizure condition of resource is idle;
The time version of resource also comprises the zero-time and the termination time of this time version, and resource is when creating, and the zero-time of its time version is the creation-time of resource, and the termination time is the infinity.
Step 102: when the designer plans this resource, import the configuration status of title, planning time and the planning of this resource.
Step 103: system accesses the time version of this resource according to the resource name of input.
Step 104: system is the newly-built time version of this resource, the zero-time of the time version that this is up-to-date is the planning time, termination time is the infinity, the termination time of the last time version of up-to-date time version changes the planning time into, and the configuration status of this up-to-date time version is the configuration status of designer's input.
For example, the creation-time of a SDH ring is 0: 0: 0 on the 1st May in 2004, its speed grade is STM-1, a time version 1 then when creating, this SDH ring is arranged, the configuration status of SDH ring is the STM-1 speed grade in this time version, zero-time is 0: 0: 0 on the 1st May in 2004, and the termination time is the infinity.
If the designer wishes 0: 0: 0 on the 1st October in 2004 speed grade that this SDH encircles to be upgraded to STM-4, be 622MB, then need a newly-built time version 2, the configuration status of SDH ring is the STM-4 speed grade in this time version 2, zero-time is 0: 0: 0 on the 1st October in 2004, and the termination time is the infinity; In addition, also the termination time in the time version 1 to be revised as 0: 0: 0 on the 1st October in 2004.
Like this, when the configuration status of resource was planned, system will be to the newly-built time version of this resource, so a resource can have a plurality of time versions, the zero-time of a certain version is exactly the concluding time of last version, and the concluding time of up-to-date version is the infinity.So the time version of resource has reflected the variation of resource configuration state, the time version of resource not only has old version and current version, also has version in the future.For example, as shown in Figure 2, SDH ring can have two old versions (June 8 was to June 9, and June 9 was to June 10), a current version (June 10) and two versions in future (June 11 to June 13, and after June 13) at a certain special time (June 10).It is noted that the zero-time of time version and termination time are the dates in Fig. 2 in order to simplify demonstration, in actual applications, the zero-time of time version and termination time can be specific to seconds.
Like this, the state of resources person that can be shown to the systems organization clearly in the system, so that the clear and definite differentiation process of the functional status of this resource of designer, so that resource is carried out flexible configuration.
When the zero-time of a time version that arrives resource, triggering this time version is the current time version, and system changes the configuration of resource according to the configuration information in the time version.And, after the time of resource, version was set up, can change the time version, promptly shift to an earlier date, delay, deletion or rollback time version, so that the resource of system is planned flexibly according to actual conditions.
Owing to can comprise the occupied information of resource in the time version of resource, thus system when carrying out plan of operation, can preengage its resource that should take, to improve the efficient of service implementation.
Fig. 3 is the flow chart according to service appointment occupying system resources of the present invention, and as can be seen from Figure 3, this flow process comprises the steps:
Step 301: professional A initiates a resource request, input institute requested resource title, professional required resource distribution, the zero-time that takies this resource and termination time.
Step 302: whether system exists this resource according to the name query of resource request input, if then forward step 303 to; Otherwise, forward step 307 to.
Step 303: the time version of this resource of system call, obtain zero-time and the corresponding time version between the termination time.
Step 304: system judges by the time version of this resource of inquiry whether this resource is taken by other business, if then forward step 309 in zero-time with between the termination time; Otherwise forward step 305 to.
Step 305: system judges whether the resource allocation information of corresponding time version satisfies the professional required resource distribution of input, if then forward step 306 to; Otherwise, forward step 308 to.
Step 306: system accepts business A to the request of this resource, and upgrades the time version of this resource, increases the seizure condition of this resource in corresponding time version, finishes then.
Step 307: the professional institute of system creation requested resource, the time version of this resource of initialization forwards step 306 then to.
Step 308: the configuration information in the corresponding time version of system update forwards step 306 then to.
Step 309: the refusal A of system business shows that to the request of this resource this resource is taken by other business, finishes then.
Like this, professional A just is stored in the time version of resource the seizure condition of resource, and when arrival took zero-time, system triggered automatically, sent information to professional A, and informing business A takies this resource, triggers professional A and takies this resource and need not manual operation.
The seizure condition of resource comprises the Business Name that takies this resource, takies zero-time and takies the termination time, it is noted that in a time version of resource, can comprise a plurality of seizure conditions.For example, the time version zero-time of SDH ring is 0: 0: 0 on the 1st January in 2002, termination time is 0: 0: 0 on the 1st January in 2003, two seizure conditions are arranged in this time version, one is professional A, taking zero-time is 0: 0: 0 on the 1st March in 2002, and taking the termination time is 0: 0: 0 on the 31st May in 2002; It two is professional B, and taking zero-time is 0: 0: 0 on the 1st October in 2002, and taking the termination time is 0: 0: 0 on the 31st November in 2002.
In concrete implementation process, can carry out suitable improvement, to adapt to the concrete needs of concrete condition to the method according to this invention.Therefore be appreciated that according to the specific embodiment of the present invention just to play an exemplary role that in order to restriction protection scope of the present invention, for example, the present invention not only is not confined to the logic entity of network system, can also be applied to the physical entity in the network system.