Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention can be applied to various communication systems, such as: code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA), General Packet Radio Service (GPRS), Long Term Evolution (LTE), intelligent Optical Network (ASON), Synchronous Optical Network (SONET), Synchronous Digital Hierarchy (SDH), and so on.
The technical scheme of the invention can be used in all service single boards with service processing functions, such as router data cards, wireless network data cards and the like.
In the existing service board, since the service portion and the control portion are physically not independent from each other, the control unit needs to be changed while the service unit is changed, and the service unit needs to be changed while the control unit is changed, which causes resource waste, the service unit and the control unit can be physically independent from each other, wherein the service unit is used for processing data services of the service unit, such as access and forwarding of packet data services, access and forwarding of voice services, and the like, and the control unit can be used for managing the service unit, such as allocating data services to the service unit, acquiring a processing progress of the data services fed back by the service unit and reporting the processing progress of the data services, measuring a temperature of the service board, reporting a voltage of the service board, reporting information related to service load, counting and reporting related alarms, and the like. The service unit and the control unit are composed of different chips, so that the service unit and the control unit are physically independent from each other.
The service unit and the control unit are physically independent from each other, so that the service unit and the control unit can be independently powered, and only the circuit of the service unit or only the circuit of the control unit needs to be changed when the circuit of the service single board is changed. Therefore, the flexibility and the expandability of the service single board can be improved.
How to further change the service board to control the power supply of the service unit to further improve the flexibility, stability and expandability of the service board will be described in detail below.
Fig. 1 is a schematic block diagram of a service board 100 according to an embodiment of the present invention. As shown in fig. 1, the service board 100 includes:
a service unit 110 and a control unit 120 physically independent of each other and connected to each other, a first power supply unit 130 connected to the service unit 110, and a second power supply unit 140 connected to the control unit 120;
the service unit 110 is configured to process the data service allocated by the control unit 120, and feed back a processing progress of the data service to the control unit 120;
the control unit is configured to allocate a data service to the service unit 110, and send power supply control information to the first power supply unit 130 according to a condition of the data service allocated to the service unit 110 or a processing progress of the data service fed back by the service unit 110;
the first power supply unit 130 is configured to receive the power supply control information sent by the control unit 120, and trigger or shut off power supply to the service unit 110 according to the power supply control information sent by the control unit 120;
the second power supply unit 140 is configured to supply power to the control unit 120.
In the embodiment of the present invention, the data traffic allocated to the service unit 110 may be the traffic volume to be processed by the service unit 110 within a certain time, i.e., the priority of the traffic to be processed within a certain time. When the control unit 120 determines that the service unit 110 has no service processing for a certain time, or that the priority of the service processed for a certain time is low, or that the amount of the service processed for a certain time is lower than a predetermined threshold, it may transmit power supply control information for instructing to turn off the power supply to the service unit 110 to the first power supply unit 130; when the control unit 120 determines that the first power supply unit 130 is in the off state and needs to allocate a service to the service unit 110, power supply control information indicating that power supply to the service unit 110 is triggered may be sent to the first power supply unit 130.
In the embodiment of the present invention, the service unit 110 may periodically feed back the processing progress of the data service to the control unit 120, or may feed back the processing progress of the data service to the control unit 120 after all the data services allocated by the control unit 120 are processed. After the control unit 120 receives the processing progress of the data service fed back by the service unit 110, if it is determined that the data service allocated to the service unit 110 has been completely processed by the service unit 110, power supply control information for instructing to turn off power supply to the service unit 110 may be sent to the first power supply unit 130.
In the embodiment of the present invention, the first power supply unit 130 and the second power supply unit 140 may directly supply power to the service unit 110 and the control unit 120, respectively, that is, the first power supply unit 130 and the second power supply unit 140 have a power supply function. In the embodiment of the present invention, the first power supply unit 130 and the second power supply unit 140 may also indirectly supply power to the service unit 110 and the control unit 120, respectively, that is, the first power supply unit 130 and the second power supply unit 140 do not have a power supply function, and only implement a power supply transformation function, so as to provide power supply interfaces for the service unit 110 and the control unit 120.
In the embodiment of the present invention, the triggering and turning-off functions of the first power supply Unit 130 and the second power supply Unit 140 may be implemented by a Soft Switch Unit (SSU), the Soft Switch Unit in the embodiment of the present invention may be a separation circuit mainly including a Metal oxide semiconductor field effect transistor (MOS), or may be a power integrated circuit using a MOS function or a MOS-like function, or another power integrated circuit, or of course, the Soft Switch Unit may also be in another circuit form, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, an alarm device may also be set on the control unit 120, and when the control unit 120 determines that the power supply to the service unit 110 needs to be turned off or triggered, the alarm may be reported to the host or the network management unit in the form of a message, and the host or the network management unit turns off or triggers the power supply to the service unit 110, or an emergency interface for manual triggering and processing may be reserved, and the power supply to the service unit 110 is manually triggered or turned off.
In the embodiment of the present invention, the service unit 110 may include a plurality of service subunits, and the first power supply unit 130 may include a plurality of power supply subunits corresponding to the plurality of service subunits one to one. For example, as shown in fig. 2, in the service board 100, the service unit 110 includes a plurality of service subunits, the first power supply unit 130 includes a plurality of power supply subunits, and the plurality of service subunits and the plurality of power supply subunits are in one-to-one correspondence and are connected to each other.
Therefore, when only one service subunit in the service board 100 needs to be changed, only the corresponding power supply subunit of the service subunit needs to be changed when the circuit is redesigned, so that the flexibility and the expandability of the service board can be further increased.
Accordingly, in the embodiment of the present invention, each of the plurality of service subunits is configured to process the data service allocated by the control unit 120, and feed back the processing progress of the data service to the control unit 120;
the control unit 120 is specifically configured to allocate a data service to each of the plurality of service subunits, and send power supply control information to the power supply subunit corresponding to each of the plurality of service subunits according to a condition of the data service allocated to each of the plurality of service subunits or a processing progress of the data service fed back by each of the plurality of service subunits;
each of the plurality of power supply electronic units is configured to trigger or shut off power supply to the corresponding service subunit according to the power supply control information of the corresponding service subunit sent by the control unit 120.
In the implementation of the present invention, the data traffic allocated to each of the plurality of service subunits may be the amount of traffic to be processed by each service subunit within a certain time period, the priority of the traffic to be processed within a certain time period, or the like; when the control unit 120 determines that a certain service subunit has no service processing within a certain time, or the priority of the service processed within a certain time is low, or the traffic volume processed within a certain time is lower than a predetermined threshold, it may send power supply control information for instructing to turn off the power supply to the service subunit to the power supply subunit corresponding to the service subunit; when the control unit 120 determines that a certain service subunit is in an off state and needs to allocate a data service to the service subunit, it may send power supply control information for instructing to trigger power supply to the service subunit to the power supply subunit corresponding to the service subunit.
In this embodiment of the present invention, each service subunit may periodically feed back a processing progress of the data service to the control unit 120, or may feed back a processing progress of the data service to the control unit 120 after all the data services allocated by the control unit 120 are processed, and after the control unit 120 receives the processing progress of the data service fed back by a certain service subunit, if the data service allocated to the service subunit is determined and the service subunit has all been processed, the control unit 120 may send, to the power supply subunit corresponding to the service subunit, power supply control information for instructing to turn off power supply to the service subunit.
In the embodiment of the present invention, even if all the service subunits (or the service units 110) are turned off, since the control unit 120 is in the power supply state, the host may still update the configuration information such as the software version and the service configuration information of the service board 100 through the control unit 120, support the package loading, and update the related tag information.
In this embodiment of the present invention, as shown in fig. 3, the first power supply unit 130 of the service board 100 may also be configured to receive power supply control information sent by the main control unit 210 of the main control board 200, and trigger or shut off power supply to the service unit 110 according to the power supply control information sent by the main control unit 210. That is, the main control board 200 may send the power supply control information to the first power supply unit 130 according to the data service allocated to the service board 100, or through the data processing progress of the service unit 110 reported by the control unit 120, or the data processing progress directly reported by the service unit 110 to the control unit 120.
Also, in the embodiment of the present invention, when the service unit 110 includes a plurality of service subunits, and the first power supply unit 130 includes a plurality of power supply subunits corresponding to the plurality of service subunits one to one, the main control board 200 may respectively send power supply control information to the power supply subunits corresponding to the plurality of service subunits.
In the embodiment of the present invention, the main control board 200 may also send power supply control information of the service unit 110 to the control unit 120, and the control unit 120 controls to trigger or turn off the first power supply unit 130.
It should be understood that, in the embodiment of the present invention, the main control board 200 may also obtain the service information that needs to be processed by the control unit 120, and send, to the second power supply unit 140, the power supply control information for instructing to trigger or turn off the power supply to the control unit 120 according to the service information that needs to be processed by the control unit 120, and then after receiving the power supply control information sent by the main control board 200, the second power supply unit 140 may trigger or turn off the power supply to the control unit 120 according to the power supply control information sent by the main control board 200.
In this embodiment of the present invention, the gateway and the host may also determine a fixed power supply mode for the service board 100, issue the fixed power supply mode to the control unit 120 in the service board 100, and directly supply power to the service board 100 according to the fixed power supply mode in each initialization process.
In an embodiment of the present invention, the service unit 110 may include a plurality of service subunits, wherein the plurality of service subunits are configured to process the user data service in a serial manner and/or a parallel manner.
For example, the service board shown in fig. 4 is a service board in which service processing paths are serially overlapped; a small Central Processing Unit (CPU) system in the figure is the control Unit 120 in the embodiment of the present invention, the service subunit 1, the service subunit 2, and the service subunit 3 constitute the service Unit 110 in the embodiment of the present invention, and the power supply subunit 1, the power supply subunit 2, and the power supply subunit 3 constitute the first power supply Unit 130 in the embodiment of the present invention, where the second power supply Unit 140 is omitted for simplicity.
For another example, the service board shown in fig. 5 is a service board in which a service processing path is combined in series and in parallel; the CPU subsystem in the figure is the control unit 120, the service subunit 1, the service subunit 2, the service subunit 3, and the service subunit 4 in the embodiment of the present invention, which constitute the service unit 110 in the embodiment of the present invention, wherein the first power supply unit 130 and the second power supply unit 140 are omitted for simplicity.
For better understanding of the present invention, the operation process of the service board 100 according to the embodiment of the present invention will be specifically described below with reference to the service board described in fig. 4.
Step 1: after the power supply circuit of the service single board 100 is powered on, the circuits of the CPU subsystem are respectively initialized, the service subunit 1, the service subunit 2 and the service subunit 3 are initialized, and the normal operation of the service single board is reported through the CPU subsystem. If the fixed power supply mode is stored in the service board 100, in the initialization process, the service board 100 may be powered according to the fixed power supply mode, for example, only the service subunit with a relatively large service processing amount in the service unit 110 is powered according to the fixed power supply mode.
Step 2: the service access of the client side, wherein the service of the client side can be directly accessed to the service unit 110, and the state and the management information related to the service are sent to the CPU small system, and the CPU small system distributes specific services to each subunit; after the service of the client side is accessed, the service is processed by the service subunit 1, the service subunit 2 and the service subunit 3, and then exchanged with the service of the system side, during this period, each service subunit can report the processing progress of the service, wherein, the service can also only pass through two or one of the service subunits, when the CPU subsystem allocates a specific service and determines that the service subunit does not have the service to be processed or determines that the service subunit finishes processing the allocated service, the CPU subsystem can send power supply control information to the corresponding power supply subunit to instruct the power supply subunit to stop supplying power to the service subunit, for example, the CPU subsystem determines that the service subunit 1 can be turned off, then the power supply control information can be sent to the power supply subunit 1, and the power supply subunit 1 can send power supply control information according to the service subunit 1, the power supply to the service subunit 1 is switched off; or,
the system side service access, similarly, the system side service can directly access the service unit 110, and sends the state and management information related to the service to the CPU subsystem, and the CPU subsystem allocates specific services to each subunit; for example, if the CPU subsystem determines that the service subunit 2 can be turned off, the CPU subsystem may send power supply control information to the power supply subunit 2, and the power supply subunit 2 may turn off power supply to the service subunit 2 according to the power supply control information of the service subunit 2.
And step 3: if a new service needs to be processed, the small CPU system may send power supply control information to the shut-off service subunit, instructing the corresponding power supply subunit to trigger power supply to the shut-off service subunit. For example, the service subunit 3 is in a power-off state, and if the service subunit 3 is required to process a corresponding service, the CPU subsystem may send, to the power supply subunit 3, power supply control information for instructing the power supply subunit 3 to trigger power supply to the service subunit 3, so that the service subunit 3 may process the corresponding service.
It should be understood that fig. 4 and fig. 5 are only schematic illustrations, for example, the number of service subunits, the way of processing paths, and the like in the figures are only exemplary illustrations, and should not constitute any limitation to the embodiments of the present invention; and the connection mode of each unit/subunit and the position of each unit/subunit in the service single board are only schematically illustrated, and should not constitute any limitation to the present invention.
Therefore, the service board 100 according to the embodiment of the present invention, by controlling the power supply of the service unit 120 by the control unit 120 physically independent from the service unit 110 and implementing power supply separation from the service unit 110 according to the condition of the data service allocated to the service unit 110 or the processing progress of the data service fed back by the service unit 110, can implement power supply to the service unit 110 according to the requirement of the service unit 110 on power supply, thereby implementing elastic energy consumption management, reducing power consumption, and saving cost.
Next, a power supply control method 300 of the service board 100 according to the embodiment of the present invention is described with reference to fig. 6. As shown in fig. 6, the method 300 includes:
s310, the control unit 120 sends power supply control information to the first power supply unit 130 according to a situation of the data service allocated to the service unit 110, or a processing progress of the data service fed back by the service unit 110, where the service board 100 includes the service unit 110 and the control unit 120 that are physically independent and connected to each other, the first power supply unit 130 connected to the service unit 110, and the second power supply unit 140 connected to the control unit 120 and supplying power to the control unit 120, and the service unit 110 processes the data service allocated by the control unit 120 and sends a processing progress of the data service to the control unit 120;
s320, the first power supply unit 130 receives the power supply control information sent by the control unit 120, and triggers or turns off the power supply to the service unit 110 according to the power supply control information sent by the control unit 120.
Therefore, in the service board power supply control method according to the embodiment of the present invention, the control unit 120 physically independent from the service unit 110 and implementing power supply separation from the service unit 110 controls power supply to the service unit 110 according to the condition of the data service allocated to the service unit 110 or the processing progress of the data service fed back by the service unit 110, and can implement power supply to the service unit 110 according to the power supply requirement of the service unit 110, thereby implementing elastic energy consumption management, reducing power consumption, and saving cost.
In the embodiment of the present invention, the service unit 110 includes a plurality of service subunits, and the first power supply unit 130 includes a plurality of power supply subunits corresponding to the plurality of service subunits one to one.
Then, in the embodiment of the present invention, in S310, the sending, by the control unit 120, power supply control information to the first power supply unit 130 according to a condition of the data service allocated to the service unit 110 or a processing progress of the data service fed back by the service unit 110 may include:
the control unit 120 sends power supply control information to a plurality of power supply electronic units corresponding to the plurality of sub-service units respectively according to the condition of the data service allocated to the plurality of service sub-units or the processing progress of the data service fed back by the plurality of service sub-units, wherein the plurality of service sub-units process the data service allocated by the control unit 120 respectively and feed back the processing progress of the data service to the control unit 120;
in S320, the triggering or turning off the power supply to the service unit 110 by the first power supply unit 130 according to the power supply control information sent by the control unit 120 may include:
in this embodiment of the present invention, each of the multiple power supply electronic units triggers or turns off power supply to the corresponding service subunit according to the power supply control information of the corresponding service subunit sent by the control unit 120, and the method 300 may further include:
the first power supply unit 130 receives the power supply control information sent by the main control board 200, and triggers or turns off power supply to the service unit 110 according to the power supply control information sent by the main control board 200.
An execution main body of the service board power supply control method 300 according to the embodiment of the present invention may correspond to the service board 100 according to the embodiment of the present invention, and corresponding units/sub-units of each flow and the above-mentioned other operations in the service board 100 power supply control method 300 respectively correspond to each unit/sub-unit of the service board 100 in fig. 1 to 5, and for brevity, no further description is given here.
Therefore, in the service board power supply control method according to the embodiment of the present invention, the control unit 120 physically independent from the service unit 110 and implementing power supply separation from the service unit 110 controls power supply to the service unit 110 according to the condition of the data service allocated to the service unit 110 or the processing progress of the data service fed back by the service unit 110, and can implement power supply to the service unit 110 according to the power supply requirement of the service unit 110, thereby implementing elastic energy consumption management, reducing power consumption, and saving cost.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.