CN106331600B - Board plug type equipment - Google Patents

Board plug type equipment Download PDF

Info

Publication number
CN106331600B
CN106331600B CN201510404972.1A CN201510404972A CN106331600B CN 106331600 B CN106331600 B CN 106331600B CN 201510404972 A CN201510404972 A CN 201510404972A CN 106331600 B CN106331600 B CN 106331600B
Authority
CN
China
Prior art keywords
control module
sub
module
daughter board
main control
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
CN201510404972.1A
Other languages
Chinese (zh)
Other versions
CN106331600A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201510404972.1A priority Critical patent/CN106331600B/en
Publication of CN106331600A publication Critical patent/CN106331600A/en
Application granted granted Critical
Publication of CN106331600B publication Critical patent/CN106331600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of board plug type equipment comprising master control borad and daughter board.It is provided with main control module on master control borad, sub- control module and daughter board application module are provided on daughter board.Main control module is set as managing sub- control module, and sub- control module is set as management daughter board application module.Using above-mentioned board plug type equipment, main control module is only responsible for the son control module of each daughter board of management, and the daughter board application module of each daughter board is then managed collectively by sub- control module.Compared with the prior art all daughter board application modules of centerboard formula equipment by main control module management scheme, the son control module of introducing can mitigate the burden of main control module significantly, the system optimization for being conducive to board plug type equipment effectively prevents the unbalanced technical problem of task load existing for board plug type equipment in the prior art.

Description

Board plug type equipment
Technical field
The present invention relates to technical field of video monitoring more particularly to a kind of board plug type equipment.
Background technique
Fig. 1 shows the structural schematic diagram of board plug type equipment in the prior art.Board plug type equipment in the prior art includes Master control borad and one or more daughter board.Main control module is provided on the CPU of master control borad.Main control module is responsible for setting entire board plug type It is standby to be managed, the extraneous order and message sent of forwarding.Each daughter board is configured with multiple CPU.Son is both provided on each CPU Plate application module.Referring to Fig.1, each daughter board application module is connected with main control module.
Above-mentioned board plug type equipment at work, is communicated with each daughter board application module to main control module taking turn, with It inquires the state and task situation of each daughter board application module, and assigns new mission bit stream to daughter board application module.
Specifically, it for state-detection and control, is interacted with each daughter board application module to main control module taking turn, allows daughter board Application module returns to the state of oneself.Task is distributed, the taking turn of main control module elder generation obtains the task of each daughter board application module Load, and the task load table created according to the maintenance of information of acquisition itself.When receiving new task, main control module foundation The task load table selects corresponding daughter board application module, to distribute new task to the daughter board application module.When receiving needs When the information assigned, which is directly assigned to corresponding daughter board application module by main control module.
The primary defect of above-mentioned board plug type equipment is that the task load of main control module and each daughter board application module is uneven Weighing apparatus.Since the affairs being related to when the work of board plug type equipment are substantially all related with main control module, the task load of main control module It is very heavy.And the task load of daughter board application module is lighter, the transactional relationship being only related in the work of board plug type equipment to the daughter board When application module, which can just work.
In addition, the defect that above-mentioned board plug type equipment also has communication efficiency low.Based on board plug type equipment shown in FIG. 1 Structure, main control module, which needs to communicate one by one with each daughter board application module, carries out state-detection or task distribution, and communicates each time The waiting time is required, communication efficiency has been seriously affected.
Summary of the invention
The technical problems to be solved by the present invention are: in the board plug type equipment of the prior art, main control module and daughter board application The task load of module is unbalanced.
In order to solve the above-mentioned technical problems, the present invention provides a kind of board plug type equipment of task load equilibrium comprising:
Master control borad is provided with main control module;And
Daughter board is provided with sub- control module and daughter board application module;
The main control module is set as managing the sub- control module, and the sub- control module is set as managing the daughter board application Module.
Preferably, above-mentioned board plug type equipment further includes shared information memory module, be set as storing data to be issued and The attribute information of the daughter board application module.
Preferably, the main control module includes:
First updating unit is set as sending the first more newer command to the sub- control module;
First acquisition unit is set as responding the first interruptive command that the sub- control module is sent, arrives the shared information The attribute information that the sub- control module responds the described first more newer command update is obtained in memory module.
Preferably, the main control module and the sub- control module are subordinated to first network multicast group;Described first updates Unit is specifically configured to: sending the described first more newer command to the sub- control module by the first network multicast group.
Preferably, the main control module further include:
First information copy cell, be set as will data copy be issued into the shared information memory module;
First interrupt location is set as sending the second interruptive command to the sub- control module, so that the sub- control module is rung Second interruptive command is answered, the daughter board application module of the sub- control module management is notified to obtain into the shared information memory module Take data to be issued accordingly.
Preferably, the sub- control module includes:
Detection unit is set as responding the first more newer command that the main control module is sent, to the sub- control module management Daughter board application module sends the second more newer command, so that the daughter board application module feeds back its newest attribute information;
Second information copy unit is set as depositing using the newest attribute information update shared information detected Store up the attribute information of module storage;
Second interrupt location is set as sending the first interruptive command to the main control module, so that the main control module is rung First interruptive command is answered, the sub- control module is obtained into the shared information memory module and responds the described first more newer command The attribute information updated.
Preferably, the detection unit is specifically configured to: being responded the main control module every first and is updated interval transmission The described first primary more newer command updates interval every second and sends once to the daughter board application module of the sub- control module management Described second more newer command;Described first, which updates interval, is greater than second update interval.
Preferably, the sub- control module further include:
Notification unit is set as responding the second interruptive command that the main control module is sent, to the sub- control module management Daughter board application module sends data retrieval commands, to notify the daughter board application module to obtain into the shared information memory module Take data to be issued accordingly.
Preferably, the sub- control module and the daughter board application module are subordinated to the second network multicast group;The notice Unit is specifically configured to: sending the data retrieval commands to the daughter board application module by the second network multicast group.
Preferably, the daughter board application module includes:
Information feedback unit is set as responding the second more newer command that the sub- control module is sent, to the sub- control module Feed back the newest attribute information of the daughter board application module;
Second acquisition unit is set as responding the data retrieval commands that the sub- control module is sent, arrives the shared information Data to be issued corresponding with the daughter board application module are obtained in memory module.
Compared with prior art, one or more embodiments in above scheme can have following advantage or beneficial to effect Fruit:
Using above-mentioned board plug type equipment, main control module is only responsible for the son control module of each daughter board of management, and each daughter board Daughter board application module is then managed collectively by sub- control module.All daughter board application modules of centerboard formula equipment compared with the prior art By the scheme of main control module management, the son control module of introducing can mitigate the burden of main control module significantly, be conducive to board plug type The system optimization of equipment effectively prevents the unbalanced technical problem of task load existing for board plug type equipment in the prior art.
Other features and advantages of the present invention will be illustrated in the following description, and partly becomes from specification It is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by wanting in specification, right Specifically noted structure is sought in book and attached drawing to be achieved and obtained.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example and is used together to explain the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the structural schematic diagram of board plug type equipment in the prior art;
Fig. 2 shows the structural schematic diagrams of the present embodiment board plug type equipment;
Fig. 3 shows the flow diagram of the method for the attribute information of detection daughter board application module;
Fig. 4 shows the status diagram when attribute information of detection daughter board application module;
Fig. 5 shows the flow diagram for sending the method for data to be issued;
Fig. 6 shows the status diagram sent when issuing data;
Fig. 7 shows the structural schematic diagram of main control module;
Fig. 8 shows the structural schematic diagram of sub- control module;
Fig. 9 shows the structural schematic diagram of daughter board application module.
Specific embodiment
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to apply to the present invention whereby Technological means solves technical problem, and the realization process for reaching technical effect can fully understand and implement.It needs to illustrate As long as not constituting conflict, each feature in each embodiment and each embodiment in the present invention can be combined with each other, It is within the scope of the present invention to be formed by technical solution.
Embodiment one
To solve, the main control module of board plug type equipment and the task load of daughter board application module are unbalanced in the prior art Technical problem present embodiments provides a kind of board plug type equipment of task load equilibrium.
As shown in Fig. 2, being the structural schematic diagram of the present embodiment board plug type equipment.Board plug type equipment shown in Fig. 2 includes master Control plate and one or more daughter board.Main control module is provided on master control borad.A son control mould is provided on each daughter board Block and one or more daughter board application module.Wherein, main control module is used to manage the son control module on each daughter board.And for For a certain piece of daughter board, the son control module being arranged on the daughter board is used to manage all daughter board application modules on the daughter board.
Specifically, daughter board includes multiple CPU.Son control module is run on one of CPU, is transported on remaining each CPU Row has a daughter board application module.Son control module is responsible for the management of whole daughter board application modules on the daughter board specially, is the daughter board Total control entrance.
Using board plug type equipment described in the present embodiment, main control module is only responsible for the son control module of each daughter board of management, and The daughter board application module of each daughter board is then managed collectively by sub- control module.All sons of centerboard formula equipment compared with the prior art For plate application module by the scheme of main control module management, the son that the present embodiment introduces controls module can mitigate main control module significantly Burden, is conducive to the system optimization of board plug type equipment, effectively prevents task load existing for board plug type equipment in the prior art Unbalanced technical problem.
Embodiment two
In order to solve the technological deficiency that board plug type equipment communication efficiency is low in the prior art, the board plug type of the present embodiment is set Standby further includes shared information memory module.Shared information memory module is set as storing data to be issued and daughter board application module Attribute information.
Specifically, one piece is developed in equipment PCIe configuration space can be by main control module, sub- control module and daughter board application The region that module can access.This block region preferably by the memory of main control module map out Lai.The area communication, which uses, to interrupt, Each interruption can be notified to every other module.In the present embodiment, above-mentioned zone is defined as shared information storage mould Block.External module needs to be written and read the information stored in the shared information memory module by sending interruptive command.
In general, the work of board plug type equipment is broadly divided into two classes.The first kind is the state-detection of daughter board application module It is distributed with task, the present embodiment detects the attribute information that such work is known as daughter board application module.Second class is answered to daughter board Mission bit stream is issued with module.
Embodiment three
The present embodiment works mainly for the above-mentioned first kind, i.e. the attribute information detection of daughter board application module.Referring to Fig. 3 and Fig. 4, the method for detecting the attribute information of the daughter board application module of board plug type equipment, mainly including step 101 to step 104.Tool Body:
In a step 101, main control module sends the first more newer command to sub- control module.
In a step 102, sub- control module responds the first more newer command, and the daughter board application module managed to it sends second more Newer command.
In step 103, each daughter board application module responds the second more newer command, by the newest attribute of the daughter board application module Feed back to its corresponding sub- control module.
At step 104, sub- control module is updated in shared information memory module using the newest attribute information received Attribute information, main control module sends the first interruptive command again after the completion of updating.Then main control module responds the first interruptive command, arrives The sub- control module is obtained in shared information memory module responds the attribute information that the first more newer command updates.
Example IV
The present embodiment works mainly for above-mentioned second class, i.e., issues mission bit stream to daughter board application module.Referring to Fig. 5 and Fig. 6, the method for issuing mission bit stream to daughter board application module mainly include step 201 and step 202.Specifically:
In step 201, main control module takes together the data information obtained from external module, and formation etc. issues number According to then by the data copy to be issued to shared information memory module, then son control module sends the second interruptive command again.
In step 202, sub- control module responds the second interruptive command, sends out to the daughter board application module of the sub- control module management Data retrieval commands are sent, to notify daughter board application module to obtain data to be issued accordingly into shared information memory module.
Example IV
The method and step of the attribute information of the daughter board application module of corresponding above-mentioned detection board plug type equipment, and to daughter board application Module issues the method and step of mission bit stream, and referring to Fig. 7, main control module mainly includes that the first updating unit 301, first obtains list Member 302, first information copy cell 303 and the first interrupt location 304.Referring to Fig. 8, sub- control module mainly includes detection unit 401, the second information copy unit 402, the second interrupt location 403 and notification unit 404.Referring to Fig. 9, daughter board application module is main Including information feedback unit 501 and second acquisition unit 502.Specifically:
In main control module, the first updating unit 301 is set as sending the first more newer command to sub- control module.
First acquisition unit 302 is set as responding the first interruptive command that sub- control module is sent, and stores mould to shared information The sub- control module is obtained in block responds the attribute information that the first more newer command updates.
First information copy cell 303 be set as will data copy be issued into shared information memory module.
First interrupt location 304 is set as sending the second interruptive command to sub- control module, so that son control module response second Interruptive command notifies the daughter board application module of the sub- control module management to obtain into shared information memory module accordingly wait issue Data.
In sub- control module, detection unit 401 is set as the first more newer command that response main control module is sent, to the sub- control The daughter board application module of module management sends the second more newer command, so that daughter board application module feeds back its newest attribute information.
Second information copy unit 402 is set as updating shared information storage mould using the newest attribute information detected The attribute information of block storage.
Second interrupt location 403 is set as sending the first interruptive command to main control module, so that main control module response first Interruptive command obtains the sub- control module into shared information memory module and responds the attribute information that the first more newer command updates.
Notification unit 404 is set as the second interruptive command that response main control module is sent, to the son of the sub- control module management Plate application module send data retrieval commands, with notify daughter board application module obtained into shared information memory module accordingly to Issue data.
In daughter board application module, information feedback unit 501 is set as responding the second more newer command that sub- control module is sent, To the newest attribute information of the sub- control module feedback daughter board application module.
Second acquisition unit 502 is set as responding the data retrieval commands that sub- control module is sent, stores mould to shared information Data to be issued corresponding with the daughter board application module are obtained in block.
Further, in order to further increase the communication efficiency of board plug type equipment, main control module uses the side of multi-casting communication Formula sends control command to each height control module.In addition, son control module is also by the way of multi-casting communication to each of its management Daughter board application module sends control command.
Specifically, main control module and son control module are subordinated to first network multicast group.First updating unit 301 passes through first Network multicast group sends the first more newer command to sub- control module.
Son control module and daughter board application module are subordinated to the second network multicast group;Notification unit 404 is specifically configured to: being passed through Second network multicast group sends data retrieval commands to daughter board application module.
Further, since the son control module that main control module needs to manage to it regularly sends the first more newer command, and it is sub Control module needs the daughter board application module managed to it to regularly send the second more newer command.In order to avoid the two update action are mutual Mutually conflict, so that the timing of main control module updates, interval is longer, and the timing update interval of son control module is shorter, to accomplish in real time Property and synchronism are all taken into account.Specifically, in a preferred embodiment, detection unit 401 is specifically configured to: response main control module Interval is updated every first and sends the first primary more newer command, updates daughter board of the interval to the sub- control module management every second Application module sends one time second more newer command;First, which updates interval, is greater than the second update interval.
In addition, in the specific implementation process, in order to guarantee that the immediate updating of information, above-mentioned main control module further include the first surpassing When control unit (attached to be not shown in the figure), above-mentioned sub- control module further includes the second time-out control unit (attached to be not shown in the figure).
Specifically, the first time-out control unit is set as judging sub- control module in preset first time period not When Update attribute information, directly judge whether the sub- control module exception occurs, when the sub- control module occurs abnormal, by the sub- control Module and it is considered as abnormal handle by all daughter board application modules of the sub- control module management.
Second time-out control unit, be set as judging some daughter board application module of the sub- control module management occur it is abnormal or When person's task is saturated, directly the attribute information of the daughter board application module is updated into shared information memory module, and to master control Module issues interrupt notification.If burst without different, i.e., need not update.
In conclusion sub- control module can mitigate main control module significantly using board plug type equipment provided in this embodiment Burden, is conducive to the system optimization of board plug type equipment, effectively prevents task load existing for board plug type equipment in the prior art Unbalanced technical problem.In addition, using shared information memory module and its interrupting information reading manner, in conjunction with network multicast group The mode of intelligence transmission, substantially increase the communication efficiency of board plug type equipment, the properties of product of board plug type equipment greatly improved With the optimum level of internal resource.
Those skilled in the art should be understood that each module of the above invention or each step can use general calculating Device realizes that they can be concentrated on a single computing device, or be distributed in network constituted by multiple computing devices On, optionally, they can be realized with the program code that computing device can perform, it is thus possible to be stored in storage It is performed by computing device in device, perhaps they are fabricated to each integrated circuit modules or will be more in them A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and Software combines.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting Embodiment is not intended to limit the invention.Any those skilled in the art to which this invention pertains are not departing from this Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details, But protection scope of the present invention still should be subject to the scope of the claims as defined in the appended claims.

Claims (8)

1. a kind of board plug type equipment characterized by comprising
Master control borad is provided with main control module;
Daughter board is provided with sub- control module and daughter board application module;And
Shared information memory module is set as storing the attribute information of data to be issued and the daughter board application module;
Wherein, the main control module is set as managing the sub- control module, and the sub- control module, which is set as managing the daughter board, answers With module, the main control module includes:
First updating unit is set as sending the first more newer command to the sub- control module;
First acquisition unit is set as responding the first interruptive command that the sub- control module is sent, store to the shared information The attribute information that the sub- control module responds the described first more newer command update is obtained in module.
2. board plug type equipment according to claim 1, which is characterized in that the main control module and the sub- control module subordinate In first network multicast group;First updating unit is specifically configured to: by the first network multicast group to the sub- control Module sends the described first more newer command.
3. board plug type equipment according to claim 1 or 2, which is characterized in that the main control module further include:
First information copy cell, be set as will data copy be issued into the shared information memory module;
First interrupt location is set as sending the second interruptive command to the sub- control module, so that the sub- control module responds institute The second interruptive command is stated, the daughter board application module of the sub- control module management is notified to obtain phase into the shared information memory module The data to be issued answered.
4. board plug type equipment according to claim 1, which is characterized in that the sub- control module includes:
Detection unit is set as responding the first more newer command that the main control module is sent, to the daughter board of the sub- control module management Application module sends the second more newer command, so that the daughter board application module feeds back its newest attribute information;
Second information copy unit is set as updating the shared information storage mould using the newest attribute information detected The attribute information of block storage;
Second interrupt location is set as sending the first interruptive command to the main control module, so that the main control module responds institute The first interruptive command is stated, the sub- control module is obtained into the shared information memory module and responds the described first more newer command update The attribute information.
5. board plug type equipment according to claim 4, which is characterized in that the detection unit is specifically configured to: response institute It states main control module and updates the described first primary more newer command of interval transmission every first, update interval to the sub- control every second The daughter board application module of module management sends primary described second more newer command;Described first, which updates interval, is greater than described second more New interval.
6. board plug type equipment according to claim 4 or 5, which is characterized in that the sub- control module further include:
Notification unit is set as responding the second interruptive command that the main control module is sent, to the daughter board of the sub- control module management Application module sends data retrieval commands, to notify the daughter board application module to obtain phase into the shared information memory module The data to be issued answered.
7. board plug type equipment according to claim 6, which is characterized in that the sub- control module and the daughter board application module It is subordinated to the second network multicast group;The notification unit is specifically configured to: by the second network multicast group to the daughter board Application module sends the data retrieval commands.
8. board plug type equipment according to claim 1, which is characterized in that the daughter board application module includes:
Information feedback unit is set as responding the second more newer command that the sub- control module is sent, to the sub- control module feedback The newest attribute information of the daughter board application module;
Second acquisition unit is set as responding the data retrieval commands that the sub- control module is sent, store to the shared information Data to be issued corresponding with the daughter board application module are obtained in module.
CN201510404972.1A 2015-07-09 2015-07-09 Board plug type equipment Active CN106331600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510404972.1A CN106331600B (en) 2015-07-09 2015-07-09 Board plug type equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510404972.1A CN106331600B (en) 2015-07-09 2015-07-09 Board plug type equipment

Publications (2)

Publication Number Publication Date
CN106331600A CN106331600A (en) 2017-01-11
CN106331600B true CN106331600B (en) 2019-06-18

Family

ID=57725719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510404972.1A Active CN106331600B (en) 2015-07-09 2015-07-09 Board plug type equipment

Country Status (1)

Country Link
CN (1) CN106331600B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201426046Y (en) * 2009-04-21 2010-03-17 杜逢镭 Power management system for car high power lithium battery stack with balancing function
CN202679416U (en) * 2011-12-16 2013-01-16 高新兴科技集团股份有限公司 Load balancing processing system of service data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070047427A (en) * 2005-11-02 2007-05-07 삼성전자주식회사 System and method for monitoring a group of devices on a network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201426046Y (en) * 2009-04-21 2010-03-17 杜逢镭 Power management system for car high power lithium battery stack with balancing function
CN202679416U (en) * 2011-12-16 2013-01-16 高新兴科技集团股份有限公司 Load balancing processing system of service data

Also Published As

Publication number Publication date
CN106331600A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN103180852B (en) Distributed data processing method and apparatus
US9154382B2 (en) Information processing system
CN102546813B (en) A kind of High-Performance Computing Cluster computing system based on x86 PC framework
CN102761528A (en) System and method for data management
CN101873005B (en) Method for realizing balanced acquisition of electric energy
CN100570566C (en) The method of coordinated scheduling and heterogeneous multi-core system between a kind of heterogeneous polynuclear
CN110166524B (en) Data center switching method, device, equipment and storage medium
CN103684916A (en) Method and system for intelligent monitoring and analyzing under cloud computing
CN103049527B (en) A kind of parallel real-time database active-standby switch management system towards bulk power grid
CN105306605B (en) A kind of double host server systems
CN102902669A (en) Distribution information capturing method based on internet system
CN106569897B (en) The polling method and device of shared bus based on collaborative multi-task scheduling mechanism
CN105025046A (en) Cloud platform used for 3D printing, 3D printing system and method
CN101374077A (en) Method and system for forwarding network management alarm
CN110519354A (en) A kind of distributed objects storage system and its method for processing business and storage medium
CN102236340A (en) Multi-equipment management method and device
CN101373509A (en) RFID intermediate part based on distributed ALE
CN107612960A (en) Integral control system in dispatching of power netwoks
CN103916397A (en) Safety monitoring method under distributed network environment
CN101827120A (en) Cluster storage method and system
CN106375103B (en) Alarm data acquisition and transmission method
CN104394018A (en) Communication device and active-standby system data online exchange method for hot master control panel backup
CN103068034B (en) A kind of method that data are synchronous and device
JP5647561B2 (en) Power system supervisory control system
CN103428288A (en) Method for synchronizing copies on basis of partition state tables and coordinator nodes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant