Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of communication equipments to merge manager
Method, for solving the problems, such as that equipment managements different in the prior art can not be compatible with.
In order to achieve the above objects and other related objects, the present invention provides a kind of communication equipment fusion management method, including:
Equipment application layer sends solicited message to application layer distribution convergence module;The application layer distributes convergence module according to device numbering
The relevant management driving of the device numbering is found by searching for advance related information, is obtained after being parsed to the solicited message
Information after parsing;The bottom distribution convergence module of the equipment converges information after the parsing by searching for advance related information
Gather with the relevant bottom layer treatment module of device numbering, be sent to external equipment after the bottom layer treatment resume module.
Or:The bottom distribution convergence module of equipment receives the external frame sent, the characteristic information of the frame is extracted, by looking into
It looks for advance related information to find to drive with the relevant management of the characteristic information of the frame, the frame is parsed by management driving,
Frame after being parsed;The application layer distribution convergence module of the equipment will be after the parsing by searching for advance related information
Frame is converged to be handled with the relevant application layer module of the characteristic information of the frame.
In one embodiment of the invention, the advance related information is recorded in the first mapping table, the second mapping table and one
In one or more combinations of a or more convergence table.
In one embodiment of the invention, first mapping table include the device numbering, management driving index and
The mapping relations of the device numbering and pipe driving index.
In one embodiment of the invention, second mapping table include frame characteristic information, management driving index and
The incidence relation of the characteristic information of the frame and pipe driving index.
In one embodiment of the invention, the convergence table include management driving index, the application layer module address, with
And the bottom layer treatment module's address;Incidence relation and the management of management the driving index and application layer module address
The incidence relation of driving index and bottom layer treatment module's address.
In one embodiment of the invention, the characteristic information of the frame includes the type and group in the feature field of the frame
Knit unique identifier information.
In one embodiment of the invention, application layer distribution convergence module is according to device numbering by searching for described the
One mapping table finds the relevant management driving of the device numbering.
In one embodiment of the invention, the bottom distribution convergence module receives the external frame sent, extracts the frame
Characteristic information, found by searching for second mapping table and the relevant management of the characteristic information of the frame drive.
In one embodiment of the invention, the bottom of equipment distribution convergence module is by searching for the convergence table by institute
After the parsing stated converging information to the relevant bottom layer treatment resume module of device numbering.
In one embodiment of the invention, the application layer distribution convergence module of the equipment will by searching for the convergence table
Frame after the parsing is converged to be handled with the relevant application layer module of the characteristic information of the frame.
In one embodiment of the invention, the device numbering is the number distributed after facility registration.
In one embodiment of the invention, the facility registration mode includes:The bottom of the equipment distributes convergence module
The frame that equipment to be registered is sent out is received, is found and the relevant management of the characteristic information of the frame by searching for advance related information
Driving parses the frame, the frame after being parsed by management driving;The application layer distribution convergence module of the equipment passes through
Advance related information is searched to converge to the frame after the parsing and the relevant application layer module progress of the characteristic information of the frame
Registration, distributing equipment number.
In one embodiment of the invention, the facility registration mode further includes:The device polling sends different spies
Measurement information is to equipment to be registered;The reply that the equipment to be registered as described in receiving the bottom of equipment distribution convergence module is sent out
Frame finds by searching for advance related information and is driven with the relevant management of the characteristic information for replying frame, driven by the management
The dynamic parsing reply frame, the reply frame after being parsed;The application layer of the equipment distributes convergence module by searching for advance
Reply frame after the parsing is converged to and is carried out with the relevant application layer module of the characteristic information for replying frame by related information
Registration, distributing equipment number.
In order to achieve the above objects and other related objects, the present invention also provides a kind of computer readable storage medium,
On be stored with computer program, when which is executed by processor realize any of the above-described described in communication equipment merge manager
Method.
In order to achieve the above objects and other related objects, the present invention also provides a kind of communication equipment, including processor and
Memory, the memory are used to execute the computer of the memory storage for storing computer program, the processor
Program, so that the communication equipment executes communication equipment described in any of the above-described and merges management method.
As described above, the communication equipment of the present invention merges management method, have the advantages that:On existing network basis
On pass through establish different communication equipment with management driving correlativity and different frame characteristic information with management driving phase
It closes relational implementation and management is compatible with to the mixed networking of the old and new's equipment, improve the flexibility of system resource allocation and the network architecture,
And technical solution seamlessly transits.
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, the embodiment in the application
And the feature in embodiment can be combined with each other.
The present invention provides a kind of communication equipment fusion management method, and the method carries out equipment Initialize installation before implementing,
Including:
As shown in Figs. 1-5, advance related information is set, including:Related information, the pipe of device numbering and management driving index
Reason driving index and the related information of application layer module address, the characteristic information of frame and the related information of management driving index and
The related information etc. of management driving index and bottom layer treatment module's address, is recorded in the first mapping table, the second mapping table and convergence
In table.Corresponding management driving must be searched and call according to different device numberings is convenient by realizing, and is searched and called and is corresponding
Bottom layer treatment resume module or sending application layer solicited message;Or it quickly searches and adjusts according to the characteristic information of institute's receiving frame
It is driven with corresponding management, and searches and call corresponding application layer module to handle or present the frame information of bottom reception, with
Realize the compatible management of different communication equipment.
The characteristic information of the frame is the field information of frame, and the field information of the frame includes purpose by taking Ether frame as an example
MAC Address, source MAC, type etc., using in frame field information OUI and type or other field combinations as frame feature
Information drives index record in the second mapping table with relevant management.
The device numbering distributes when being facility registration, can use other numbering marks such as digital number or letter
Know, drives index record in the first mapping table with relevant management.With the increase of external equipment, the device numbering is in outside
Increase to after facility registration in the first mapping table.
The bottom layer treatment module includes data transmission blocks, data reception module etc., and application layer module includes at data
Module, data presentation module etc. are managed, the position of bottom layer treatment module and application layer module can be indicated with module pointer position.Pipe
Reason driving index can be recorded in associated application layer module address and bottom layer treatment module's address in a convergence table,
It can be separately recorded in the first convergence table and the second convergence table, in order to search disparate modules by managing driving index
Maintenance, management of position and later stage table etc..
The management driving index can be the digital number of management driving, such as " 1 ", " 2 ", it is also possible to other number sides
Formula identifies.
The advance related information can be not only recorded in above-mentioned first mapping table, the second mapping table and convergence table,
Can be recorded in the merging table of the first mapping table, the second mapping table and convergence table or the first mapping table, the second mapping table and
In the table that convergence table merges two-by-two, not reinflated description.
As shown in fig. 6, an embodiment of the communication equipment fusion management method of the display present invention, implements to include following step
Suddenly:
Step S1:Equipment application layer sends configuring request to application layer distribution convergence module;
Step S2:The application layer distributes convergence module according to the device numbering information in configuring request, by searching for pre-
First related information searches relevant management driving, information after being parsed after being parsed to the solicited message.
In the present embodiment, the advance related information is that the device numbering is associated with letter with what the management driving indexed
Breath, is recorded in first mapping table.
In the present embodiment, if the application layer distributes convergence module according to the device numbering information in the configuring request
The relevant management driving index is not found, then to application layer feedback error handling processing information.
Step S3:The bottom distribution convergence module of the equipment will be believed by searching for advance related information after the parsing
Breath converges to relevant bottom layer treatment module, and information after parsing is sent to external equipment by the bottom layer treatment module.
In the present embodiment, the advance association is the related information of management the driving index and bottom layer treatment module,
Bottom layer treatment module includes data transmission blocks etc., is recorded in the second convergence table or convergence table or the second convergence table
Or convergence table and the first mapping table and/or the second mapping table merge in table.
In the present embodiment, if the bottom distribution convergence module of the equipment does not find the relevant bottom layer treatment mould
Block, then to application layer feedback error handling processing information.
As shown in fig. 7, another embodiment of the communication equipment fusion management method of the display present invention, implements to include following step
Suddenly:
Step S4:The bottom distribution convergence module of equipment receives the external frame sent;
Step S5:The bottom distribution convergence module extracts the characteristic information of the frame;
Step S6:The bottom distribution convergence module finds the characteristic information with the frame by searching for advance related information
Relevant management driving.
In the present embodiment, the advance association is that the characteristic information of the frame is associated with letter with what the management driving indexed
Breath, is recorded in second mapping table.
In the present embodiment, if bottom distribution convergence module does not find the phase according to the characteristic information of the frame
The management driving index of pass, then to application layer feedback error handling processing information.
Step S7:The frame, the frame after being parsed are parsed by management driving;
Step S8:The application layer distribution convergence module of the equipment will be after the parsing by searching for advance related information
Frame is converged to be handled with the relevant application layer module of the characteristic information of the frame.
In the present embodiment, the advance association is the related information of management the driving index and application layer module, note
Record is in the first convergence table or convergence table or the first convergence table or convergence table and the first mapping table and/or the second mapping
In the merging table of table.
In the present embodiment, if the application layer distribution convergence module of the equipment does not find the relevant application layer mould
Block, then to application layer feedback error handling processing information.
As shown in figure 8, the another specific embodiment of the communication equipment fusion management method of the display present invention, implements to include such as
Lower step:
Step S9:Equipment application layer sends configuring request information to application layer distribution convergence module;
Step S10:The application layer distribution convergence module is reflected according to the device numbering information searching first in configuring request
Relevant management driving index in firing table;
Step S11:If retrieving achievement, configuring request is sent to management driving index by the application layer distribution convergence module
Relevant management driving feeds back error handling processing information if retrieval failure to application layer;
Step S12:The management driving parses the configuring request information;
Step S13:The bottom distribution convergence module of the equipment drives index search to converge table or the according to the management
The address information of relevant bottom data sending module in two convergence tables;
Step S14:If retrieval achievement, bottom distribution convergence module by the converging information after parsing to the management
Driving indexes relevant bottom data sending module, if retrieval failure, feeds back error handling processing information to application layer;
Step S15:Information after parsing is sent to external equipment by the bottom data sending module.
As shown in figure 9, the another specific embodiment of the communication equipment fusion management method of the display present invention, implements to include such as
Lower step:
Step S16:The bottom distribution convergence module of equipment receives the external frame sent;
Step S17:The bottom distribution convergence module extracts the characteristic information of the frame;It is searched according to the characteristic information of frame
Relevant management driving index in second mapping table;
Step S18:If retrieving achievement, the bottom distribution convergence module sends frames to management driving and indexes relevant pipe
Reason driving feeds back error handling processing information if retrieval failure to application layer;
Step S19:The management driving parses the frame information;
Step S20:The equipment application layer distribution convergence module according to the management drive index search converge table or
The address information of relevant application layer module in first convergence table;
Step S21:If retrieval achievement, application layer distribution convergence module by the frame information after parsing converge to it is described
Management driving indexes relevant application layer module;If retrieval failure feeds back error handling processing information to application layer;
Step S22:Frame information after parsing is converged or is presented by the application layer module.
As shown in Figure 10, the another specific embodiment of the communication equipment fusion management method of the present invention, implementation steps are shown
Including from the figure upper left corner to the lower right corner.
The automatic logon mode of equipment in one embodiment of the communication equipment fusion management method of the present invention, including step S16
To step S22, the application layer module registers equipment after handling the frame information after parsing, distributing equipment number.
Equipment active probe mode in one embodiment of the communication equipment fusion management method of the present invention, including:It is described to set
Standby poll sends different detection informations to equipment to be registered, is waited for as described in receiving the bottom of equipment distribution convergence module
The reply frame that registration equipment is sent out, executes step S16 to step S22, and the application layer module handles the frame information after parsing
Equipment is registered afterwards, distributing equipment number.
The storage of the various permutation and combination methods of related information is equal in advance in the communication equipment fusion management method of the present invention
It can be applicable in various embodiments of the present invention, and various permutation and combination methods can also be stored in the one or more of other forms
In table, such as merging table both arbitrary in above-mentioned first mapping table, the second mapping table, convergence table;Alternatively, above-mentioned first mapping
Table, the second mapping table and convergence table merge into one list etc., not with the first mapping table in above-described embodiment, the second mapping
The form of table and convergence table is limited.Foregoing convergence table can be the first convergence table, the second convergence table.
The present invention can provide a kind of communication equipment in another embodiment, can pass through the end with communication and processing capacity
End equipment is realized, such as server, laptop, smart mobile phone or tablet computer etc., can pass through wired or nothing with outside
Line mode communicates to connect.The communication equipment that this example provides, including:Processor, memory, transceiver, communication interface and system
Bus;Memory and communication interface connect with processor and transceiver by system bus and complete mutual communication, storage
Device is for storing computer program, and communication interface is used for and other equipment is communicated, and processor and transceiver are based on running
Calculation machine program makes communication equipment fusion managing device execute each step of communication equipment fusion management method as above.
System bus mentioned above can be Peripheral Component Interconnect standard
(PeripheralPomponentInterconnect, abbreviation PCI) bus or expanding the industrial standard structure
(ExtendedIndustryStandardArchitecture, abbreviation EISA) bus etc..The system bus can be divided into address
Bus, data/address bus, controlling bus etc..Communication interface for realizing database access device and other equipment (such as client,
Read and write library and read-only library) between communication.Memory may include random access memory (RandomAccessMemory, letter
Claim RAM), it is also possible to further include nonvolatile memory (non-volatilememory), a for example, at least magnetic disk storage.
Above-mentioned processor can be general processor, including central processing unit (CentralProcessingUnit, letter
Claim CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can also be digital signal processor
(DigitalSignalProcessing, abbreviation DSP), application-specific integrated circuit
(ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field-
ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device
Part, discrete hardware components.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of Fig. 6~Figure 10 embodiments of the method can
To be completed by the relevant hardware of computer program.Computer program above-mentioned can be stored in a computer-readable storage medium
In matter.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium above-mentioned includes:ROM、
The various media that can store program code such as RAM, magnetic disc or CD.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should by the present invention claim be covered.