CN109150606B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN109150606B
CN109150606B CN201810951189.0A CN201810951189A CN109150606B CN 109150606 B CN109150606 B CN 109150606B CN 201810951189 A CN201810951189 A CN 201810951189A CN 109150606 B CN109150606 B CN 109150606B
Authority
CN
China
Prior art keywords
band management
management device
service
processing
band
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
CN201810951189.0A
Other languages
Chinese (zh)
Other versions
CN109150606A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital 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 XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN201810951189.0A priority Critical patent/CN109150606B/en
Publication of CN109150606A publication Critical patent/CN109150606A/en
Application granted granted Critical
Publication of CN109150606B publication Critical patent/CN109150606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The embodiment of the application discloses a data processing method, a device and equipment, wherein the method comprises the following steps: the in-band management equipment sends a service switching request to the out-of-band management equipment, wherein the service switching request carries a service identifier; the in-band management equipment acquires service data used for processing the service corresponding to the service identification from the out-of-band management equipment; the in-band management equipment processes the service based on the service data to obtain a processing result; and the in-band management equipment sends the processing result to the out-of-band management equipment. The reliability of data processing can be improved.

Description

Data processing method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data processing method, apparatus, and device.
Background
The out-of-band management device is a device for performing centralized integrated management on equipment room network devices (routers, switches, firewalls, and the like), server devices (minicomputers, servers, workstations), equipment room power supply systems, and the like through a dedicated management channel independent of a data network. Taking out-of-band Management equipment as an Intelligent Management system (iBMC) of a server, the iBMC is a server embedded Management system facing to the full life cycle of the server. With the expansion of the iBMC functionality, more and more interaction with the operating system is required to supplement hardware or system software that the iBMC cannot acquire or manage. The iBMC service function and the interface become rich, the original hardware configuration can not meet the requirement of a new service function, so that the service consuming resources is cut, and the reliability of data processing is reduced.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a data processing method, device and apparatus, which can improve the reliability of data processing.
In a first aspect, an embodiment of the present application provides a data processing method, where an in-band management device sends a service switching request to an out-of-band management device, where the service switching request carries a service identifier; the in-band management equipment acquires service data used for processing the service corresponding to the service identification from the out-of-band management equipment; the in-band management equipment processes the service based on the service data to obtain a processing result; and the in-band management equipment sends the processing result to the out-of-band management equipment.
In the implementation mode, the in-band management device can migrate the service in the out-of-band management device to the in-band management device for processing, and return the processing result to the out-of-band management device, and when the hardware configuration of the out-of-band management device cannot meet the requirement of a newly added service function, the out-of-band management device does not need to cut the service, so that the reliability of data processing can be improved.
In one possible implementation manner, after the in-band management device sends the service switching request to the out-band management device, a response message from the out-band management device may be received, where the response message is used to indicate that the out-band management device is ready for service data.
In a possible implementation manner, before the in-band management device sends the processing result to the out-band management device, a processing notification message may be sent to the out-band management device, where the processing notification message is used to instruct the in-band management device to obtain the processing result.
In a possible implementation manner, before the in-band management device sends the service switching request to the out-of-band management device, a registration request may be sent to the out-of-band management device, where the registration request carries a device identifier of the in-band management device; the in-band management device receives an acknowledgement message from the out-of-band management device indicating that the in-band management device has the right to process the service in the out-of-band management device.
In a possible implementation manner, the in-band management device may further send a registration information deletion request to the out-of-band management device when a preset condition is met, where the preset condition includes service stop or system shutdown; the in-band management device receives a deletion notification message from the out-of-band management device, the deletion notification message indicating that the in-band management device does not have a right to process a service in the out-of-band management device.
In a second aspect, an embodiment of the present application provides a data processing method, where an out-of-band management device receives a service switching request from an in-band management device, where the service switching request carries a service identifier; the out-of-band management equipment acquires service data used for processing a service corresponding to the service identifier; the out-of-band management equipment sends service data to the in-band management equipment; the out-of-band management device obtains a processing result from the in-band management device, and the processing result is obtained by processing the service by the in-band management device based on the service data.
In this implementation manner, when the hardware configuration of the out-of-band management device cannot meet the requirement of a newly added service function, the out-of-band management device may migrate the service to the in-band management device for processing, and the out-of-band management device obtains a processing result from the in-band management device, so that the out-of-band management device does not need to cut the service, and the reliability of data processing may be improved. In addition, the hardware configuration of the out-of-band management equipment does not need to be changed, and the storage space of the in-band management equipment can be saved, so that the in-band management equipment can realize richer service functions and interfaces.
In a possible implementation manner, after the out-of-band management device obtains the service data for processing the service corresponding to the service identifier, a response message may be sent to the in-band management device, where the response message is used to indicate that the out-of-band management device is ready for the service data.
In a possible implementation manner, before the out-of-band management device obtains the processing result from the in-band management device, a processing notification message from the in-band management device may be received, where the processing notification message is used to instruct the in-band management device to obtain the processing result.
In a possible implementation manner, before the out-of-band management device receives the service switching request from the in-band management device, a registration request from the in-band management device may be received, where the registration request carries a device identifier of the in-band management device; the out-of-band management equipment generates registration information of the in-band management equipment based on the equipment identification; the out-of-band management device sends a confirmation message to the in-band management device, wherein the confirmation message is used for indicating that the in-band management device has the authority to process the service in the out-of-band management device.
In a possible implementation manner, the out-of-band management device may further receive a registration information deletion request from the in-band management device; the out-of-band management equipment deletes the registration information of the in-band management equipment; the out-of-band management device sends a deletion notification message to the in-band management device, wherein the deletion notification message is used for indicating that the in-band management device does not have the authority of processing the service in the out-of-band management device.
In a possible implementation manner, the out-of-band management device may further delete the registration information of the in-band management device when the heartbeat message from the in-band management device is not received within a preset time period.
In a third aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a program, and the program, when executed, causes an in-band management device to execute any one of the data processing methods described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a program, and the program, when executed, causes an out-of-band management device to execute any one of the data processing methods described in the second aspect.
In a fifth aspect, an embodiment of the present application provides an in-band management device, where the in-band management device has a function of implementing an in-band management device behavior in the data processing method example described in the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more units or modules corresponding to the above functions.
In a sixth aspect, an embodiment of the present application provides an out-of-band management device, where the out-of-band management device has a function of implementing an out-of-band management device behavior in the data processing method example described in the second aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more units or modules corresponding to the above functions.
In a seventh aspect, an embodiment of the present application provides an in-band management device, where the in-band management device may include a transceiver, a processor, and a memory, where the processor is configured to support the in-band management device to perform a function corresponding to the in-band management device in the data processing method according to the first aspect. The transceiver is for communicating with an out-of-band management device. The memory is for coupling with the processor and holds program instructions and data necessary for the in-band management device.
In an eighth aspect, an embodiment of the present application provides an out-of-band management device, which may include a transceiver, a processor, and a memory, where the processor is configured to support the out-of-band management device to perform functions corresponding to the out-of-band management device in the data processing method according to the second aspect. The transceiver is for communicating with an in-band management device. The memory is for coupling with the processor and holds program instructions and data necessary for the out-of-band management device.
In a ninth aspect, embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the data processing method of the first aspect.
In a tenth aspect, embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the data processing method of the second aspect.
In an eleventh aspect, embodiments of the present application provide a chip system, where the chip system includes a processor, and the processor is configured to implement the functions referred to in the first aspect, for example, to generate or process data and/or information referred to in the method.
In one design, the system-on-chip further includes a memory to hold program instructions and data necessary for the in-band management device. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In a twelfth aspect, embodiments of the present application provide a chip system, where the chip system includes a processor, and the out-of-band management apparatus implements the functions referred to in the second aspect, for example, generates or processes data and/or information referred to in the foregoing method.
In one design, the system-on-chip further includes a memory to hold program instructions and data necessary for the out-of-band management device. The chip system may be formed by a chip, or may include a chip and other discrete devices.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
FIG. 1 is a block diagram of a data processing system according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a data processing method disclosed in an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of another data processing method disclosed in the embodiments of the present application;
FIG. 4 is a schematic flow chart diagram of another data processing method disclosed in the embodiments of the present application;
FIG. 5 is a schematic structural diagram of an in-band management device disclosed in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another in-band management device disclosed in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of an out-of-band management device disclosed in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another out-of-band management device disclosed in an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
In order to better understand the data processing method, apparatus, and device disclosed in the embodiments of the present application, a data processing system implemented in the present application is first described below. Referring to fig. 1, fig. 1 is a schematic structural diagram of a data processing system disclosed in an embodiment of the present application, where the data processing system may include an in-band management device 101 and an out-of-band management device 102, and data communication may be performed between the in-band management device 101 and the out-of-band management device 102.
For convenience of description, the meanings of the terms in the present application are defined as follows:
an in-band management device: and a device for transmitting the management control information and the data information through the same physical channel. Illustratively, the in-band management device may run with a proxy (Agent) client through which the in-band management device interacts with the out-of-band management device.
The out-of-band management device: and a device for transmitting the management control information and the data information through different physical channels. Illustratively, the out-of-band management device may be an iBMC.
In the embodiment of the application, the out-of-band management device may establish a communication connection between the connectivity device and the in-band management device to implement data communication. Illustratively, the connectivity devices may be 1710 devices, 1711 devices, evolved versions of 1711 devices, or may connect devices out-of-band, etc.
The traditional out-of-band management equipment has abundant service functions and interfaces, and the original hardware configuration cannot meet the requirement of a new service function, so that the service consuming resources is cut, and the reliability of data processing is reduced.
In the embodiment of the application, the in-band management device may send a service switching request to the out-of-band management device, the service switching request carries a service identifier, the out-of-band management device may obtain service data for processing a service corresponding to the service identifier, the out-of-band management device sends the service data to the in-band management device, so that the in-band management device processes the service based on the service data to obtain a processing result, and the in-band management device sends the processing result to the out-of-band management device to implement migration of the service in the out-of-band management device to the in-band management device, thereby saving a memory and a Flash space occupied by the out-of-band management device, eliminating the need to cut the service, and improving reliability of data processing.
Based on the data processing system shown in fig. 1, please refer to fig. 2, and fig. 2 is a data processing method provided in an embodiment of the present application, which includes, but is not limited to, the following steps:
step S201: the in-band management device sends a registration request to the out-of-band management device.
When the in-band management device needs to migrate services from the out-of-band management device, the in-band management device may obtain the device identifier of the in-band management device, generate a registration request carrying the device identifier of the in-band management device, and send the registration request to the out-of-band management device.
The device identifier of the in-band management device may include an Internet Protocol (IP) address, a Media Access Control (MAC) address, a device name, a Serial Number (SN), an International Mobile Equipment Identity (IMEI), and the like of the in-band management device.
Step S202: the out-of-band management device sends an acknowledgement message to the in-band management device.
After receiving the registration request, the out-of-band management device may identify a device identifier carried in the registration request, and when it is determined that the device identifier exists in the device identifier database, the out-of-band management device may store the registration request and send a confirmation message to the in-band management device, where the confirmation message is used to indicate that the in-band management device has a right to process a service in the out-of-band management device. For example, the out-of-band management device may store the registration request in the following manner: the registration request is added to the registration manifest.
Step S203: and the in-band management equipment sends a service switching request to the out-of-band management equipment, wherein the service switching request carries a service identifier.
After receiving the confirmation message, the in-band management device may send a service switching request to the out-of-band management device, where the service switching request carries a service identifier to request the out-of-band management device to migrate a service corresponding to the service identifier to the in-band management device for processing.
Step S204: and the out-of-band management equipment acquires service data used for processing the service corresponding to the service identifier.
The out-of-band management device may respond to the service switching request, and locally obtain service data for processing the service corresponding to the service identifier, where the service data is data required for processing the service.
Step S205: the out-of-band management device sends a response message to the in-band management device.
After acquiring the service data for processing the service corresponding to the service identifier, the out-of-band management device may send a response message to the in-band management device, where the response message is used to indicate that the out-of-band management device is ready for the service data.
Step S206: and the in-band management equipment acquires the service data from the out-of-band management equipment.
After the in-band management device receives the response message, the service data may be obtained from the out-of-band management device, for example, the Agent application copies the service data from the out-of-band management device to the in-band management device.
Step S207: and the in-band management equipment processes the service based on the service data to obtain a processing result.
After the in-band management device obtains the service data, the service may be processed based on the service data to obtain a service result. For example, after the Agent application copies the service data from the out-of-band management device to the in-band management device, a service processing flow may be started, so as to process the service based on the service data, and obtain a processing result.
Step S208: the in-band management device sends a process notification message to the out-of-band management device.
After the in-band management device obtains the service result, a processing notification message may be sent to the out-of-band management device, where the processing notification message is used to indicate that the in-band management device has obtained the processing result. For example, after the Agent application obtains the processing result, it may send a processing notification message to the out-of-band management device to notify the out-of-band management device that the service processing is started, and prepare for service switching.
Step S209: the out-of-band management device obtains a processing result from the in-band management device.
The out-of-band management device may respond to the processing notification message and obtain a processing result from the in-band management device to complete the service migration process.
In the method described in fig. 2, the service in the out-of-band management device is migrated to the in-band management device for processing, the in-band management device returns the processing result to the out-of-band management device, and the out-of-band management device does not need to clip the service, which can improve the reliability of data processing.
Based on the data processing method shown in fig. 2, please refer to fig. 3, fig. 3 is another data processing method provided in the embodiment of the present application, and based on the data processing method described in fig. 2, the data processing method shown in fig. 3 may also be implemented, where the method includes, but is not limited to, the following steps:
step S301: and when the in-band management equipment meets the preset condition, sending a registration information deleting request to the out-of-band management equipment.
In the process of realizing service migration by the in-band management device, whether a preset condition is met or not can be detected, and when the preset condition is met, the in-band management device can send a registration information deletion request to the out-of-band management device. The preset condition may include service stop or system shutdown.
Step S302: the out-of-band management device deletes the registration information of the in-band management device.
The out-of-band management device may delete the registration information of the in-band management device in response to the registration information deletion request. The registration information may include a registration request that the in-band management device sends to the out-of-band management device, e.g., the out-of-band management device may delete the registration request in the registration list.
Step S303: the out-of-band management device sends a deletion notification message to the in-band management device.
After deleting the registration information of the in-band management device, the out-of-band management device may send a deletion notification message to the in-band management device, where the deletion notification message is used to indicate that the in-band management device does not have the authority to process the service in the out-of-band management device. For example, after sending the deletion notification message to the in-band management device, the out-band management device may not obtain data from the in-band management device, such as a service result, and the out-band management device may recover the service and perform service processing locally.
In a possible implementation manner, in response to the service switching request, the out-of-band management device may set a switching identifier related to the service after locally obtaining service data used for processing the service corresponding to the service identifier, so that the out-of-band management device does not process the service based on the switching identifier.
In a possible implementation manner, after deleting the registration information of the in-band management device, the out-of-band management device may update the switching identifier of the service to a recovery identifier, so that the out-of-band management device processes the service based on the recovery identifier.
In the method described in fig. 3, when the in-band management device satisfies the preset condition, the out-band management device sends a request for deleting the registration information to the out-band management device, the out-band management device deletes the registration information of the in-band management device, and the out-band management device sends a deletion notification message to the in-band management device, so that when the in-band management device satisfies the preset condition, the service is restored to the out-band management device for processing, and the reliability of service processing is improved.
Based on the data processing method shown in fig. 2, please refer to fig. 4, fig. 4 is another data processing method provided in the embodiment of the present application, and based on the data processing method described in fig. 2, the data processing method shown in fig. 4 may also be implemented, where the method includes, but is not limited to, the following steps:
step S401: the in-band management device sends a registration request to the out-of-band management device.
Step S401 in the embodiment of the present application may specifically refer to the description of step S201 in fig. 2, and the embodiment of the present application is not described again.
Step S402: the out-of-band management device sends an acknowledgement message to the in-band management device.
Step S402 in the embodiment of the present application may specifically refer to the description of step S202 in fig. 2, and the embodiment of the present application is not described again.
Step S403: and establishing heartbeat connection between the in-band management device and the out-of-band management device.
After the out-of-band management device sends the confirmation message to the in-band management device, the in-band management device may establish a heartbeat connection with the out-of-band management device, that is, the in-band management device may send a heartbeat message to the out-of-band management device at intervals of a preset duration. The preset time period may be a preset time period, for example, 10ms or 1s, and is not limited by the embodiment of the present application.
Step S404: the out-of-band management device does not receive the heartbeat message from the in-band management device within a preset time period.
When the out-of-band management device does not receive the heartbeat message from the in-band management device within the preset time period, the out-of-band management device may determine that the heartbeat connection with the in-band management device is disconnected, and further perform step S405. The preset time period may be a preset time period, and the preset time period may be greater than or equal to a preset time length.
Step S405: the out-of-band management device deletes the registration information of the in-band management device.
The registration information of the in-band management device may be deleted when the out-of-band management device does not receive the heartbeat message from the in-band management device within a preset time period. The registration information may include a registration request that the in-band management device sends to the out-of-band management device, e.g., the out-of-band management device may delete the registration request in the registration list.
Step S406: the out-of-band management device sends a deletion notification message to the in-band management device.
After deleting the registration information of the in-band management device, the out-of-band management device may send a deletion notification message to the in-band management device, where the deletion notification message is used to indicate that the in-band management device does not have the authority to process the service in the out-of-band management device. For example, after sending the deletion notification message to the in-band management device, the out-band management device may not obtain data from the in-band management device, such as a service result, and the out-band management device may recover the service and perform service processing locally.
In a possible implementation manner, in response to the service switching request, the out-of-band management device may set a switching identifier related to the service after locally obtaining service data used for processing the service corresponding to the service identifier, so that the out-of-band management device does not process the service based on the switching identifier.
In a possible implementation manner, after deleting the registration information of the in-band management device, the out-of-band management device may update the switching identifier of the service to a recovery identifier, so that the out-of-band management device processes the service based on the recovery identifier.
In the method described in fig. 4, the in-band management device sends a registration request to the out-of-band management device, the out-of-band management device establishes a heartbeat connection with the out-of-band management device after sending a confirmation message to the in-band management device, and when the out-of-band management device does not receive the heartbeat message from the in-band management device within a preset time period, the registration information of the in-band management device is deleted, and a deletion notification message is sent to the in-band management device.
The method of the embodiments of the present application is explained in detail above, and the related apparatus of the embodiments of the present application is provided below.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an in-band management device provided in an embodiment of the present application, which is used to implement the functions of the in-band management device in the embodiments of fig. 2 to 4, and the functional blocks of the in-band management device may be implemented by hardware, software, or a combination of hardware and software. Those skilled in the art will appreciate that the functional blocks described in fig. 5 may be combined or separated into sub-blocks to implement the application scheme. Thus, the above description in this application may support any possible combination or separation or further definition of the functional blocks described below.
As shown in fig. 5, the in-band management apparatus may include: a sending module 501, a receiving module 502 and a processing module 503, wherein the detailed description of each module is as follows.
A sending module 501, configured to send a service switching request to an out-of-band management device, where the service switching request carries a service identifier;
a receiving module 502, configured to obtain service data for processing a service corresponding to the service identifier from the out-of-band management device;
a processing module 503, configured to process the service based on the service data to obtain a processing result;
the sending module 501 is further configured to send the processing result to the out-of-band management device.
In a possible implementation manner, the receiving module 502 is further configured to receive a response message from the out-of-band management device after the sending module 501 sends the service switching request to the out-of-band management device, where the response message is used to indicate that the out-of-band management device is ready for the service data.
In a possible implementation manner, the sending module 501 is further configured to send a processing notification message to the out-of-band management device before sending the processing result to the out-of-band management device, where the processing notification message is used to instruct the in-band management device to obtain the processing result.
In a possible implementation manner, the sending module 501 is further configured to send a registration request to the out-of-band management device before sending the service switching request to the out-of-band management device, where the registration request carries a device identifier of the in-band management device;
the receiving module 502 is further configured to receive a confirmation message from the out-of-band management device, where the confirmation message is used to indicate that the in-band management device has a right to process a service in the out-of-band management device.
In a possible implementation manner, the sending module 501 is further configured to send a request for deleting registration information to the out-of-band management device when a preset condition is met, where the preset condition includes service stop or system shutdown;
the receiving module 502 is further configured to receive a deletion notification message from the out-of-band management device, where the deletion notification message is used to indicate that the in-band management device does not have a right to process a service in the out-of-band management device.
It should be noted that the implementation of each module may also correspond to the corresponding description of the embodiments shown in fig. 2 to 4.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. Each functional module in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another in-band management device disclosed in the embodiment of the present application. As shown in fig. 6, the in-band management apparatus may include: at least one processor 601, a bus 602, a transceiver 603, and a memory 604. The transceiver 603, the memory 604 and the processor 601 are connected to each other through a bus 602; the bus 602 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus. The Processor 601 may be a Central Processing Unit (CPU), a Network Processor (NP), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. In the case where the processor 601 is a single CPU, the CPU may be a single-core CPU or a multi-core CPU. The transceiver 603 may include a receiver and a transmitter. The memory 604 may store program code, wherein:
a transceiver 603, configured to send a service switching request to an out-of-band management device, where the service switching request carries a service identifier;
the transceiver 603 is further configured to obtain service data for processing the service corresponding to the service identifier from the out-of-band management device;
the processor 601 is configured to process the service based on the service data to obtain a processing result;
the transceiver 603 is further configured to send the processing result to the out-of-band management device.
In a possible implementation manner, the transceiver 603 is further configured to receive a response message from the out-of-band management device after sending the service switching request to the out-of-band management device, where the response message is used to indicate that the out-of-band management device is ready for the service data.
In a possible implementation manner, the transceiver 603 is further configured to send a processing notification message to the out-of-band management device before sending the processing result to the out-of-band management device, where the processing notification message is used to instruct the in-band management device to obtain the processing result.
In a possible implementation manner, the transceiver 603 is further configured to send a registration request to the out-of-band management device before sending the service switching request to the out-of-band management device, where the registration request carries a device identifier of the in-band management device;
the transceiver 603 is further configured to receive an acknowledgement message from the out-of-band management device, where the acknowledgement message is used to indicate that the in-band management device has a right to process a service in the out-of-band management device.
In a possible implementation manner, the transceiver 603 is further configured to send a registration information deletion request to the out-of-band management device when a preset condition is met, where the preset condition includes service stop or system shutdown;
the transceiver 603 is further configured to receive a deletion notification message from the out-of-band management device, where the deletion notification message is used to indicate that the in-band management device does not have a right to process a service in the out-of-band management device.
It should be understood that the in-band management device is only one example provided by the embodiments of the present application, and the in-band management device may have more or less components than those shown, may combine two or more components, or may have a different configuration implementation of the components.
Specifically, the in-band management device described in this embodiment of the present application may be used to implement part or all of the processes in the method embodiments described in this application in conjunction with fig. 2 to 4.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an out-of-band management device provided in an embodiment of the present application, which is used to implement the functions of the out-of-band management device in the embodiments of fig. 2 to 4, and functional blocks of the out-of-band management device may be implemented by hardware, software, or a combination of hardware and software. Those skilled in the art will appreciate that the functional blocks described in fig. 7 may be combined or separated into sub-blocks to implement the application scheme. Thus, the above description in this application may support any possible combination or separation or further definition of the functional blocks described below.
As shown in fig. 7, the out-of-band management apparatus may include: a receiving module 701, a processing module 702, and a transmitting module 703, wherein the detailed description of each module is as follows.
A receiving module 701, configured to receive a service switching request from an in-band management device, where the service switching request carries a service identifier;
a processing module 702, configured to obtain service data for processing a service corresponding to the service identifier;
a sending module 703, configured to send the service data to the in-band management device;
the receiving module 701 is further configured to obtain a processing result from the in-band management device, where the processing result is obtained by processing the service by the in-band management device based on the service data.
In a possible implementation manner, the sending module 703 is further configured to send a response message to the in-band management device after the processing module 702 obtains the service data for processing the service corresponding to the service identifier, where the response message is used to indicate that the out-of-band management device is ready for the service data.
In a possible implementation manner, the receiving module 701 is further configured to receive a processing notification message from the in-band management device before obtaining the processing result from the in-band management device, where the processing notification message is used to instruct the in-band management device to obtain the processing result.
In a possible implementation manner, the receiving module 701 is further configured to receive a registration request from the in-band management device before receiving the service switching request from the in-band management device, where the registration request carries a device identifier of the in-band management device;
the processing module 702 is further configured to generate registration information of the in-band management device based on the device identifier;
the sending module 703 is further configured to send a confirmation message to the in-band management device, where the confirmation message is used to indicate that the in-band management device has a right to process a service in the out-of-band management device.
In a possible implementation manner, the receiving module 701 is further configured to receive a registration information deletion request from the in-band management device;
the processing module 702 is further configured to delete the registration information of the in-band management device;
the sending module 703 is further configured to send a deletion notification message to the in-band management device, where the deletion notification message is used to indicate that the in-band management device does not have a right to process a service in the out-of-band management device.
In a possible implementation manner, the processing module 702 is further configured to delete the registration information of the in-band management device when the receiving module 701 does not receive a heartbeat message from the in-band management device within a preset time period.
It should be noted that the implementation of each module may also correspond to the corresponding description of the embodiment shown in fig. 2.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. Each functional module in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another out-of-band management device disclosed in the embodiment of the present application. As shown in fig. 8, the out-of-band management apparatus may include: at least one processor 801, a bus 802, a transceiver 803, and a memory 804. Wherein, the transceiver 803, the memory 804 and the processor 801 are connected to each other by a bus 802; the bus 802 may be a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus. The processor 801 may be a CPU, NP, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. In the case where the processor 801 is one CPU, the CPU may be a single-core CPU or a multi-core CPU. The transceiver 803 may include a receiver and a transmitter. The memory 804 may store program code, wherein:
a transceiver 803, configured to receive a service switching request from an in-band management device, where the service switching request carries a service identifier;
a processor 801, configured to obtain service data for processing a service corresponding to the service identifier;
a transceiver 803, further configured to send the service data to the in-band management device;
the transceiver 803 is further configured to obtain a processing result from the in-band management device, where the processing result is obtained by processing the service by the in-band management device based on the service data.
In a possible implementation manner, the transceiver 803 is further configured to send a response message to the in-band management device after the processor 801 obtains service data for processing a service corresponding to the service identifier, where the response message is used to indicate that the out-of-band management device is ready for the service data.
In a possible implementation manner, the transceiver 803 is further configured to receive a process notification message from the in-band management device before obtaining the process result from the in-band management device, where the process notification message is used to instruct the in-band management device to obtain the process result.
In a possible implementation manner, the transceiver 803 is further configured to receive a registration request from the in-band management device before receiving the service switching request from the in-band management device, where the registration request carries a device identifier of the in-band management device;
the processor 801 is further configured to generate registration information of the in-band management device based on the device identifier;
the transceiver 803 is further configured to send a confirmation message to the in-band management device, where the confirmation message is used to indicate that the in-band management device has the right to process the service in the out-of-band management device.
In a possible implementation manner, the transceiver 803 is further configured to receive a registration information deletion request from the in-band management device;
the processor 801 is further configured to delete registration information of the in-band management device;
the transceiver 803 is further configured to send a deletion notification message to the in-band management device, where the deletion notification message is used to indicate that the in-band management device does not have a right to process a service in the out-of-band management device.
In a possible implementation manner, the processor 801 is further configured to delete the registration information of the in-band management device when the transceiver 803 does not receive a heartbeat message from the in-band management device within a preset time period.
It should be understood that the out-of-band management device is merely one example provided by the embodiments of the present application and that the out-of-band management device may have more or fewer components than shown, may combine two or more components, or may have a different configuration implementation of the components.
Specifically, the out-of-band management device described in this embodiment may be used to implement part or all of the processes in the method embodiments described in this application in conjunction with fig. 2 to 4.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

Claims (24)

1. A method of data processing, the method comprising:
the method comprises the steps that an in-band management device sends a service switching request to an out-of-band management device, wherein the service switching request carries a service identifier of a first service, and the first service is located in the out-of-band management device;
the in-band management equipment acquires service data used for processing the first service from the out-of-band management equipment;
the in-band management equipment executes a second service based on the service data to obtain a processing result, wherein the second service is the same as the first service;
and the in-band management equipment sends the processing result to the out-of-band management equipment.
2. The method of claim 1, wherein after the in-band management device sends a service switching request to an out-of-band management device, further comprising:
the in-band management device receives a response message from the out-of-band management device, wherein the response message is used for indicating that the out-of-band management device is ready for the service data.
3. The method of claim 1, wherein before the in-band management device sends the processing result to the out-of-band management device, further comprising:
and the in-band management equipment sends a processing notification message to the out-of-band management equipment, wherein the processing notification message is used for indicating the in-band management equipment to obtain the processing result.
4. The method of claim 1, wherein before the in-band management device sends the service switching request to the out-of-band management device, further comprising:
the in-band management equipment sends a registration request to the out-of-band management equipment, wherein the registration request carries the equipment identifier of the in-band management equipment;
the in-band management device receives a confirmation message from the out-of-band management device, wherein the confirmation message is used for indicating that the in-band management device has the authority of processing the service in the out-of-band management device.
5. The method of claim 4, wherein the method further comprises:
when meeting a preset condition, the in-band management equipment sends a registration information deletion request to the out-of-band management equipment, wherein the preset condition comprises service stop or system shutdown;
the in-band management device receives a deletion notification message from the out-of-band management device, wherein the deletion notification message is used for indicating that the in-band management device does not have the authority of processing the service in the out-of-band management device.
6. A method of data processing, the method comprising:
the method comprises the steps that an out-of-band management device receives a service switching request from the in-band management device, wherein the service switching request carries a service identifier of a first service, and the first service is located in the out-of-band management device;
the out-of-band management equipment acquires service data used for processing the first service;
the out-of-band management equipment sends the service data to the in-band management equipment;
and the out-of-band management equipment acquires a processing result from the in-band management equipment, wherein the processing result is a processing result obtained by executing a second service by the in-band management equipment based on the service data, and the second service is the same as the first service.
7. The method of claim 6, wherein after the out-of-band management device obtains the traffic data for processing the first traffic, further comprising:
and the out-of-band management equipment sends a response message to the in-band management equipment, wherein the response message is used for indicating that the out-of-band management equipment is ready for the service data.
8. The method of claim 6, wherein before the out-of-band management device obtains the processing result from the in-band management device, further comprising:
and the out-of-band management equipment receives a processing notification message from the in-band management equipment, wherein the processing notification message is used for indicating the in-band management equipment to obtain the processing result.
9. The method of claim 6, wherein prior to the out-of-band management device receiving the service switching request from the in-band management device, further comprising:
the out-of-band management equipment receives a registration request from the in-band management equipment, wherein the registration request carries an equipment identifier of the in-band management equipment;
the out-of-band management device generates registration information of the in-band management device based on the device identification;
the out-of-band management device sends a confirmation message to the in-band management device, wherein the confirmation message is used for indicating that the in-band management device has the authority of processing the service in the out-of-band management device.
10. The method of claim 9, wherein the method further comprises:
the out-of-band management equipment receives a registration information deleting request from the in-band management equipment;
the out-of-band management equipment deletes the registration information of the in-band management equipment;
the out-of-band management device sends a deletion notification message to the in-band management device, wherein the deletion notification message is used for indicating that the in-band management device does not have the authority of processing the service in the out-of-band management device.
11. The method of claim 9, wherein the method further comprises:
and when the out-of-band management equipment does not receive the heartbeat message from the in-band management equipment within a preset time period, deleting the registration information of the in-band management equipment.
12. An in-band management apparatus, the apparatus comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a service switching request to out-of-band management equipment, the service switching request carries a service identifier of a first service, and the first service is located in the out-of-band management equipment;
a receiving module, configured to obtain service data for processing the first service from the out-of-band management device;
the processing module is used for executing a second service based on the service data to obtain a processing result, wherein the second service is the same as the first service;
the sending module is further configured to send the processing result to the out-of-band management device.
13. The apparatus of claim 12,
the receiving module is further configured to receive a response message from the out-of-band management device after the sending module sends the service switching request to the out-of-band management device, where the response message is used to indicate that the out-of-band management device is ready for the service data.
14. The apparatus of claim 12,
the sending module is further configured to send a processing notification message to the out-of-band management device before sending the processing result to the out-of-band management device, where the processing notification message is used to indicate the in-band management device to obtain the processing result.
15. The apparatus of claim 12,
the sending module is further configured to send a registration request to the out-of-band management device before sending the service switching request to the out-of-band management device, where the registration request carries a device identifier of the in-band management device;
the receiving module is further configured to receive a confirmation message from the out-of-band management device, where the confirmation message is used to indicate that the in-band management device has a right to process a service in the out-of-band management device.
16. The apparatus of claim 15,
the sending module is further configured to send a registration information deletion request to the out-of-band management device when a preset condition is met, where the preset condition includes service stop or system shutdown;
the receiving module is further configured to receive a deletion notification message from the out-of-band management device, where the deletion notification message is used to indicate that the in-band management device does not have a right to process a service in the out-of-band management device.
17. An out-of-band management apparatus, comprising:
a receiving module, configured to receive a service switching request from an in-band management device, where the service switching request carries a service identifier of a first service, and the first service is located in the out-of-band management device;
the processing module is used for acquiring service data for processing the first service;
a sending module, configured to send the service data to the in-band management device;
the receiving module is further configured to obtain a processing result from the in-band management device, where the processing result is a processing result obtained by the in-band management device executing a second service based on the service data, and the second service is the same as the first service.
18. The apparatus of claim 17,
the sending module is further configured to send a response message to the in-band management device after the processing module obtains the service data for processing the first service, where the response message is used to indicate that the out-of-band management device is ready for the service data.
19. The apparatus of claim 17,
the receiving module is further configured to receive a processing notification message from the in-band management device before the processing result is obtained from the in-band management device, where the processing notification message is used to instruct the in-band management device to obtain the processing result.
20. The apparatus of claim 17,
the receiving module is further configured to receive a registration request from the in-band management device before receiving the service switching request from the in-band management device, where the registration request carries a device identifier of the in-band management device;
the processing module is further configured to generate registration information of the in-band management device based on the device identifier;
the sending module is further configured to send a confirmation message to the in-band management device, where the confirmation message is used to indicate that the in-band management device has a right to process a service in the out-of-band management device.
21. The apparatus of claim 20,
the receiving module is further configured to receive a registration information deletion request from the in-band management device;
the processing module is further configured to delete registration information of the in-band management device;
the sending module is further configured to send a deletion notification message to the in-band management device, where the deletion notification message is used to indicate that the in-band management device does not have a right to process a service in the out-of-band management device.
22. The apparatus of claim 20,
the processing module is further configured to delete the registration information of the in-band management device when the receiving module does not receive the heartbeat message from the in-band management device within a preset time period.
23. An out-of-band management device, comprising a transceiver, a processor, and a memory, the processor establishing communication with the transceiver and the memory, respectively;
the transceiver is configured to receive a service switching request from an in-band management device, where the service switching request carries a service identifier of a first service, and the first service is located in the out-of-band management device; the in-band management equipment is also used for sending service data to the in-band management equipment; and further configured to obtain a processing result from the in-band management device, where the processing result is a processing result obtained by the in-band management device executing a second service based on the service data, and the second service is the same as the first service;
and the processor is used for acquiring the service data for processing the service corresponding to the service identifier.
24. An in-band management device, comprising a transceiver, a processor, and a memory, the processor establishing communication with the transceiver and the memory, respectively;
the transceiver is used for sending a service switching request to out-of-band management equipment, wherein the service switching request carries a service identifier of a first service, and the first service is located in the out-of-band management equipment; the system is also used for acquiring service data used for processing the first service from the out-of-band management equipment and sending a processing result to the out-of-band management equipment;
the processor is configured to execute a second service based on the service data to obtain a processing result, where the second service is the same as the first service.
CN201810951189.0A 2018-08-20 2018-08-20 Data processing method and device Active CN109150606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810951189.0A CN109150606B (en) 2018-08-20 2018-08-20 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810951189.0A CN109150606B (en) 2018-08-20 2018-08-20 Data processing method and device

Publications (2)

Publication Number Publication Date
CN109150606A CN109150606A (en) 2019-01-04
CN109150606B true CN109150606B (en) 2022-03-01

Family

ID=64790239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810951189.0A Active CN109150606B (en) 2018-08-20 2018-08-20 Data processing method and device

Country Status (1)

Country Link
CN (1) CN109150606B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111160546B (en) * 2019-12-31 2023-06-13 深圳云天励飞技术有限公司 Data processing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557543A (en) * 2008-04-10 2009-10-14 中兴通讯股份有限公司 System and method for realizing service handover between equipment
CN105307220A (en) * 2014-07-15 2016-02-03 中兴通讯股份有限公司 D2D service switch implementation method and device
CN106961451A (en) * 2017-05-25 2017-07-18 网宿科技股份有限公司 Method for authenticating, right discriminating system, fringe node and authentication server in CDN

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7953866B2 (en) * 2006-03-22 2011-05-31 Mcdata Corporation Protocols for connecting intelligent service modules in a storage area network
CN103139139B (en) * 2011-11-22 2015-11-25 华为技术有限公司 The method and apparatus of business migration between subscriber equipment
CN102983997A (en) * 2012-11-21 2013-03-20 中兴通讯股份有限公司 Method and device for migrating master services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557543A (en) * 2008-04-10 2009-10-14 中兴通讯股份有限公司 System and method for realizing service handover between equipment
CN105307220A (en) * 2014-07-15 2016-02-03 中兴通讯股份有限公司 D2D service switch implementation method and device
CN106961451A (en) * 2017-05-25 2017-07-18 网宿科技股份有限公司 Method for authenticating, right discriminating system, fringe node and authentication server in CDN

Also Published As

Publication number Publication date
CN109150606A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109392092B (en) Method and related equipment for sending paging message
CN106789526B (en) method and device for connecting multiple system networks
CN108282846B (en) Service request processing method and device
CN105677380B (en) Method and device for board-by-board upgrading of double master control isolations
EP2597818A1 (en) Cluster management system and method
CN109379764B (en) Message sending method and device
EP3007385B1 (en) Terminal peripheral control method, m2m gateway, and communications system
CN112600693B (en) Service request processing method, system, electronic equipment and computer storage medium
CN107204924B (en) Link discovery method and device
CN104507054B (en) Group member information updating method and related equipment
CN102307194B (en) Graceful restarting method and device for universal protocol process
WO2017220021A1 (en) Short message processing method and apparatus
CN113824576A (en) Slice data transmission method and device, electronic equipment and readable medium
WO2022152089A1 (en) Information transmission method and device thereof
CN109150606B (en) Data processing method and device
CN108900441B (en) Network switching method, first electronic device and readable storage medium
CN110856213B (en) Method and device for switching data transmission modes, storage medium and electronic equipment
CN107547264B (en) Data backup method and device based on Internet of things
EP4277340A1 (en) Data unit processing method and apparatus, and node and storage medium
CN114884805A (en) Data transmission method, device, terminal and storage medium
CN106537973A (en) Service management method and device therefor
CN110474781B (en) Method and device for forwarding multicast data
WO2021196697A1 (en) Disaster tolerance processing method and apparatus
CN111314272B (en) Task processing method and device
KR20120128031A (en) System and method for providing push service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211228

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Applicant after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

GR01 Patent grant
GR01 Patent grant