CN101197716B - Method and device for capturing single plate ability - Google Patents

Method and device for capturing single plate ability Download PDF

Info

Publication number
CN101197716B
CN101197716B CN2007101709532A CN200710170953A CN101197716B CN 101197716 B CN101197716 B CN 101197716B CN 2007101709532 A CN2007101709532 A CN 2007101709532A CN 200710170953 A CN200710170953 A CN 200710170953A CN 101197716 B CN101197716 B CN 101197716B
Authority
CN
China
Prior art keywords
veneer
ability
information
actual
capacity
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
Application number
CN2007101709532A
Other languages
Chinese (zh)
Other versions
CN101197716A (en
Inventor
莫兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN2007101709532A priority Critical patent/CN101197716B/en
Publication of CN101197716A publication Critical patent/CN101197716A/en
Application granted granted Critical
Publication of CN101197716B publication Critical patent/CN101197716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method of acquiring a veneer ability, which comprises the following steps: when the veneer starts, acquiring preset ability information of rated specifications of a veneer, wherein the ability information comprises the service ability and capacity information of the veneer; acquiring the service ability and capacity information which is practically provided by the veneer according to the obtained the ability information of rate specification and the actual running status of the veneer. Simultaneously, the embodiment of the invention also discloses a device for acquiring the veneer ability. The invention can allocate service resources to the veneer according to the service ability and capacity information which is practically provided by the veneer, thereby avoiding the strong dependency relationship between service resource allocation and veneer type, and further improving the success ratio of service resource allocation.

Description

A kind of method and apparatus that obtains single plate ability
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus that obtains single plate ability.
Background technology
As shown in Figure 1, in the existing communication device systems, for example include the communication cabinet that several are used for the veneer of communication service, generally include master control borad 101 and a plurality of veneer 102.Wherein, described master control borad 101 further comprises professional main control software 1011, and wherein, described professional main control software 1011 is responsible for the administering and maintaining of service resources on the various veneers 102.Usually veneer 102 needs loading monoboard software and operation when starting, and carries out the initialization of relevant hardware and software then, at last by the ability information configuration corresponding business resource of professional main control software 1011 according to this veneer 102.
Usually, existing a kind of method of obtaining single plate ability is: preserve the professional ability of rated specification of the type of various veneers and veneer and the corresponding relation of capacity information on professional main control software, professional main control software at first will obtain the type of veneer, could learn the professional ability and the capacity information of the rated specification of the type veneer correspondence then according to described corresponding relation.
Yet in carrying out the invention process, the inventor finds that there are the following problems at least in the prior art:
Because need learn according to the board type that gets access to the ability of this veneer during professional main control software distribution service resource, as seen, master control borad obtains the particular hardware type that will depend on this veneer usually to the ability of veneer.And can cause like this when veneer of every increase, even if the function that newly-increased veneer provides is constant, be the capacity difference; The function that perhaps new veneer is original polylith veneer integrated; Perhaps this new veneer only has the partial function of original veneer, all will cause a large amount of modifications of the professional main control software on the master control borad.Therefore, frequent single board updating will initiating system the frequent modification and the upgrading of professional main control software, therefore can cause system's instability.
Simultaneously, because professional main control software is when being hardware device distribution service resource, all be professional ability and capacity information with reference to the rated specification of the equipment of preserving in advance, and in actual applications, state when the professional ability of the rated specification of the veneer of preserving on the professional main control software and capacity information and this equipment actual motion tends to inconsistent, for example, the veneer of same type then possesses different professional abilities and capacity during as different purposes.Again or, when a part of hardware device of veneer breaks down, make that professional ability and capacity are impaired, at this moment, the actual professional ability that provides and the capacity of this veneer can be less than rated specifications.And if the ability information of still using this rated specification is carried out as a reference to the configuration of the service resources of this veneer, the service resources that can distribute owing to professional main control software and the inconsistent traffic resource assignment that causes of service resources of veneer actual demand lost efficacy so.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method and apparatus that obtains single plate ability, and actual professional ability that provides of veneer and capacity information can be provided, so that can break away from the strong dependence to board type for veneer distribution service resource the time.
A kind of method of obtaining single plate ability that the embodiment of the invention provides comprises:
When single board starting and after executing the initialization of hardware and software, obtain the ability information of the rated specification of this veneer that veneer preserves in advance, the ability information of described rated specification comprises the professional ability and the capacity information of the rated specification of this veneer;
According to the ability information of the rated specification that is obtained and the actual motion state of this veneer, obtain the actual professional ability that provides and the capacity information of this veneer.
Based on technique scheme, the embodiment of the invention also discloses a kind of device that is used to obtain single plate ability, described device comprises:
Rated specification ability acquiring unit, be used for when single board starting and after executing the initialization of hardware and software, obtain the ability information of the rated specification of the described veneer that veneer preserves in advance, wherein, described ability information comprises the professional ability and the capacity information of this veneer;
The running status acquiring unit is used to obtain the actual motion state of described veneer;
The practical capacity unit, the ability information that is used for the rated specification of this veneer of being obtained according to described rated specification ability acquiring unit, and the actual motion state of this veneer of acquiring of described running status acquiring unit, the actual professional ability that provides and the capacity information of this veneer are provided.
Compared with prior art, the embodiment of the invention has the following advantages:
The foregoing description is because veneer can according to the ability information and the capacity information of the rated specification of preserving in advance, in conjunction with actual running status, obtain the actual professional ability that provides and the capacity information of this veneer after initialization.Therefore, when follow-up master control borad is this veneer distribution service resource, can carry out the distribution of respective resources according to actual professional ability that provides and the capacity information that described veneer provides, because the ability information that provides is more accurate, therefore, improved the success rate of traffic resource assignment.
Simultaneously, because master control borad is when carrying out traffic resource assignment, no longer according to the type of veneer, thereby realized the hardware decouple of master control borad and veneer, even if make the veneer hardware change also can not influence the interlock upgrading of the professional main control software on the master control borad, therefore, improved the operational reliability and the stability of especially professional main control software on the master control borad.
Description of drawings
Fig. 1 is a prior art communication system architecture schematic diagram;
Fig. 2 is a kind of schematic process flow diagram of obtaining the method embodiment of single plate ability of the present invention;
Fig. 3 is a kind of structural representation block diagram that obtains the device embodiment of single plate ability of the present invention;
Fig. 4 obtains the structural representation block diagram of the device embodiment of single plate ability for another kind of the present invention;
Another obtains the structural representation block diagram of the device embodiment of single plate ability to Fig. 5 for the present invention.
Embodiment
Below in conjunction with accompanying drawing the embodiment of the embodiment of the invention is done further and to be elaborated.
As shown in Figure 2, obtain the schematic process flow diagram of the method embodiment of single plate ability for the present invention is a kind of, veneer is after the software and hardware initialization among this embodiment, self actual professional ability that provides and capacity information are notified to master control borad, distribute the corresponding business resource for the professional main control software on the described master control borad.This method comprises:
S201: except the software version that the hardware version of preserving on veneer with this veneer is complementary, the ability information that also will preserve the rated specification of this veneer in advance.Wherein, the ability information of described rated specification comprises the professional ability and the capacity information of this veneer rated specification.
The ability information of described rated specification can adopt the mode of software hard coded to change along with the variation of the software version of this veneer, perhaps can also not rely on the software version with this veneer, but be kept in the configuration file of veneer as the descriptor of single plate ability separately.
S202: when described single board starting and after executing the initialization of hardware and software, described veneer according to the mode that prestores among the described S201 by reading the configuration file that prestores or adopting software hard coded mode to obtain the ability information of the rated specification of this veneer, and, calculate the actual professional ability that provides and the capacity information of described veneer according to hardware actual motion state on this veneer.
For example, when the actual motion state of veneer for just often, then actual professional ability that provides and capacity information are the rated specification that prestores; When the part of devices in this veneer breaks down, may lose part even whole traffic handing capacities, obtain behind professional ability that the device operation that this moment, the actual professional ability that provides and capacity information broke down for the ability information of this veneer rated specification deducts is required and the capacity information.
In addition, on the basis of aforesaid way embodiment, after the actual professional ability and capacity information that provides of this veneer is provided in S202 when veneer, described veneer can also self actual professional ability that provides and capacity information be provided the master control borad in this veneer place system, so that the professional main control software on the described master control borad distributes the corresponding business resource according to the actual professional ability that provides and the capacity information of described veneer.
Wherein, described veneer notify the actual professional ability that provides of described this veneer of master control borad and capacity information the specific implementation method can for:
Described veneer initiatively reports described master control borad with actual professional ability that provides and the capacity information that calculates among the S202.Perhaps, can also for, described veneer is after executing described S202, notify this veneer of professional main control software on the described master control borad to be in preparation (Ready) state earlier, described professional main control software is after learning that described veneer has been in standby condition, actual professional ability that provides of this veneer of acquisition request and capacity information are provided to described veneer.
The embodiment of the invention is because veneer can according to the ability information and the capacity information of the rated specification of preserving in advance, in conjunction with actual running status, obtain the actual professional ability that provides and the capacity information of this veneer after initialization.Therefore, when follow-up master control borad is this veneer distribution service resource, professional main control software in the master control borad can carry out the distribution of respective resources according to actual professional ability that provides and the capacity information that described veneer provides, thereby solves professional main control software depending on unduly for single plate hardware.
Simultaneously, because professional main control software is when the distribution service resource, only be concerned about the professional ability and the capacity of veneer, therefore for professional main control software, veneer can be conceptualized as a series of controllable service resources, and veneer itself is the carrier of these service resources, therefore these service resources provide also can be deployed to neatly in the dissimilar veneers and realize, even if increased new veneer, if newly-increased veneer function does not change, perhaps new veneer is the set with the function of existing polylith veneer, and perhaps new veneer only has the partial function of original veneer, does not need to do any change for professional main control software.Therefore, realize more flexibly, also improved the operational reliability and the stability of especially professional main control software on the master control borad.
Based on technique scheme, the embodiment of the invention also discloses a kind of device that obtains single plate ability, described device is integrated on the veneer, can be after the initialization of veneer software and hardware, the practical business ability and the capacity information of veneer self are notified to master control borad, distribute the corresponding business resource for the professional main control software on the described master control borad.As shown in Figure 3, obtain the structural representation block diagram of the device embodiment of single plate ability for the present invention is a kind of.Described device comprises: rated specification ability acquiring unit 301, running status acquiring unit 302, practical capacity unit 303, wherein,
Described rated specification ability acquiring unit 301 is used for after the veneer initialization, obtains the ability information of the rated specification of the described veneer of preserving in advance.Wherein, the ability information of described rated specification comprises the professional ability and the capacity information of the rated specification of this veneer;
Wherein, the ability information of described rated specification can adopt the mode of software hard coded to change along with the variation of the software version of this veneer, perhaps can also not rely on the software version with this veneer, but be kept in the configuration file of veneer as the descriptor of single plate ability separately.Therefore, when obtaining, described rated specification ability acquiring unit 301 can be according to the mode that prestores by reading the configuration file that prestores or adopting software hard coded mode to obtain the ability information of the rated specification of this veneer.
Described running status acquiring unit 302 is used for when described single board starting and after executing the initialization of hardware and software, obtains the actual motion state of described veneer;
Described practical capacity unit 303, the ability information that is used for the rated specification of this veneer of being obtained according to described rated specification ability acquiring unit 301, and the actual motion state of this veneer of acquiring of described running status acquiring unit 302, the actual professional ability that provides and the capacity information of this veneer are provided.
In addition, the invention also discloses a kind of device embodiment, as shown in Figure 4, obtain the structured flowchart of the device embodiment of single plate ability for another kind of the present invention, this embodiment is on the basis of above-mentioned device embodiment shown in Figure 3, described device also comprises: report unit 304, the actual professional ability that provides of this veneer that described practical capacity unit 303 is obtained and capacity information are provided report master control borad in the system of described veneer place, so that the professional main control software on the described master control borad distributes the corresponding business resource according to the actual professional ability that provides and the capacity information of described veneer.
In addition, the invention also discloses a kind of device embodiment, as shown in Figure 5, another obtains the structured flowchart of the device embodiment of single plate ability for the present invention, this embodiment is on the basis of above-mentioned device embodiment shown in Figure 3, described device also comprises: notification unit 305, be used for after learning that the actual professional ability and capacity information that provides of this veneer is provided in described practical capacity unit 303, master control borad in the system of described veneer place notifies this veneer to be in standby condition, to trigger described master control borad obtains actual ability and the capacity information that business is provided from this veneer to described veneer.After the professional main control software in the master control borad is learning that described veneer has been in standby condition, send a request message actual professional ability that provides of this veneer of acquisition request and capacity information to described veneer.
Practical capacity unit 303 described in the said apparatus embodiment can be according to the ability information of the rated specification of this veneer that is obtained in the described rated specification ability acquiring unit 301, and the actual motion state of this veneer of acquiring of described running status acquiring unit 302, the actual professional ability that provides and the capacity information of this veneer are provided.Therefore, when follow-up master control borad was this veneer distribution service resource, the professional main control software in the master control borad can distribute the corresponding business resource for this veneer according to actual professional ability that provides and the capacity information that described practical capacity unit 303 provides.Because the ability information that provides is more accurate, therefore, has improved the success rate of traffic resource assignment, also solves professional main control software depending on unduly for single plate hardware simultaneously.Even if increased new veneer, if newly-increased veneer function does not change, then professional main control software does not need to do any change, thereby has also improved the operational reliability and the stability of especially professional main control software on the master control borad.
Device embodiment described above only is schematically, and wherein said unit as the separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying performing creative labour.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of obtaining single plate ability is characterized in that, comprising:
When single board starting and after executing the initialization of hardware and software, obtain the ability information of the rated specification of this veneer that veneer preserves in advance, described ability information comprises the professional ability and the capacity information of this veneer;
According to the ability information of the rated specification that is obtained and the actual motion state of this veneer, obtain the actual professional ability that provides and the capacity information of this veneer.
2. the method for obtaining single plate ability as claimed in claim 1 is characterized in that, the ability information of the rated specification of described veneer adopts the mode of software hard coded to change along with the variation of the software version of this veneer;
The described ability information of obtaining the rated specification of this veneer that veneer preserves in advance is specially:
Adopt software hard coded mode to obtain the ability information of the rated specification that this veneer preserves in advance.
3. the method for obtaining single plate ability as claimed in claim 1 is characterized in that, the ability information of the rated specification of described veneer is kept in the configuration file of veneer in advance;
The described ability information of obtaining the rated specification of this veneer of self preserving in advance is specially:
From the described configuration file of described veneer, read the ability information of the rated specification that this veneer preserves in advance.
4. the method for obtaining single plate ability as claimed in claim 1 is characterized in that, this method also comprises:
The actual professional ability that provides of resultant this veneer and capacity information are reported master control borad in this veneer place system.
5. the method for obtaining single plate ability as claimed in claim 1 is characterized in that, after the described actual professional ability and capacity information that provides was provided, this method also comprised:
After the master control borad in the system of described veneer place learnt that this veneer has been in standby condition, described master control borad sent a request message to described veneer, with actual professional ability that provides of this veneer of acquisition request and capacity information.
6. the method for obtaining single plate ability as claimed in claim 1, it is characterized in that, when the part of devices in this veneer breaks down, described according to the ability information of the rated specification that is obtained and the actual motion state of this veneer, the actual professional ability that provides and the capacity information that obtain this veneer are specially:
The ability information of the rated specification that obtained is deducted required professional ability and the capacity information of device operation that breaks down, the actual professional ability that provides and the capacity information of this veneer is provided.
7. a device that obtains single plate ability is characterized in that, described device comprises:
Rated specification ability acquiring unit, be used for when single board starting and after executing the initialization of hardware and software, obtain the ability information of the rated specification of the described veneer that veneer preserves in advance, wherein, described ability information comprises the professional ability and the capacity information of this veneer;
The running status acquiring unit is used to obtain the actual motion state of described veneer;
The practical capacity unit, the ability information that is used for the rated specification of this veneer of being obtained according to described rated specification ability acquiring unit, and the actual motion state of this veneer of acquiring of described running status acquiring unit, the actual professional ability that provides and the capacity information of this veneer are provided.
8. the device that obtains single plate ability as claimed in claim 7 is characterized in that, described device also comprises:
Report the unit, actual professional ability and the capacity of providing that is used for this veneer that described practical capacity unit is obtained reports master control borad in the system of described veneer place.
9. the device that obtains single plate ability as claimed in claim 7 is characterized in that, described device also comprises:
Notification unit, be used for after learning that the actual professional ability and capacity information that provides of this veneer is provided in described practical capacity unit, master control borad in the system of described veneer place notifies this veneer to be in standby condition, so that described master control borad obtains actual professional ability that provides from this veneer to described veneer and capacity information to be provided.
10. the device that obtains single plate ability as claimed in claim 7 is characterized in that described device is integrated on the described veneer.
CN2007101709532A 2007-11-21 2007-11-21 Method and device for capturing single plate ability Active CN101197716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101709532A CN101197716B (en) 2007-11-21 2007-11-21 Method and device for capturing single plate ability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101709532A CN101197716B (en) 2007-11-21 2007-11-21 Method and device for capturing single plate ability

Publications (2)

Publication Number Publication Date
CN101197716A CN101197716A (en) 2008-06-11
CN101197716B true CN101197716B (en) 2010-07-07

Family

ID=39547882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101709532A Active CN101197716B (en) 2007-11-21 2007-11-21 Method and device for capturing single plate ability

Country Status (1)

Country Link
CN (1) CN101197716B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399705B (en) * 2008-10-23 2011-01-19 中兴通讯股份有限公司 Method for implementing multi-functional single board software based on binding task and binding class
CN106559236B (en) * 2015-09-28 2020-11-20 中兴通讯股份有限公司 Equipment resource management method and device of service board, main control board and frame type equipment
CN108632151B (en) * 2017-03-24 2022-03-11 中兴通讯股份有限公司 Cluster router board card access method and device and cluster router

Also Published As

Publication number Publication date
CN101197716A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
CN106301876B (en) Physical machine upgrade method, business migration method and device
CN202798798U (en) High availability system based on cloud computing technology
CN107846316B (en) Cloud mobile phone management system and exception handling method thereof
CN101179624B (en) Method and device of implementing network element updating
CN105072182A (en) Load balancing method, load balancer and user terminal
CN101557315A (en) Method, device and system for active-standby switch
CN102346779A (en) Distributed file system and master control node backup method
CN103793258A (en) Hypervisor-based server duplication system and method
CN102035683A (en) Control method and system for switching of main board and standby board
CN101197716B (en) Method and device for capturing single plate ability
CN107566511A (en) A kind of method and cloud storage system for realizing cloud storage
CN103324582A (en) Memory migration method, memory migration device and equipment
CN101467391A (en) Method, equipment and system for distributing medium resource
CN111831232A (en) Data storage method and device, storage medium and electronic device
CN102419753B (en) Information processing equipment, information processing method and information processing system
CN111858050B (en) Server cluster hybrid deployment method, cluster management node and related system
CN106372160A (en) Distributive database and management method
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
CN105183588A (en) Rebuilding method and device of virtual machines
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN102571595A (en) Route forwarding information synchronizing method and device of stack system
KR102172607B1 (en) Method for balanced scale-out of resource on distributed and collaborative container platform environment
CN109936462B (en) Disaster recovery method and device
CN105095005B (en) A kind of fault initiating method and device
CN113190347A (en) Edge cloud system and task management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant