CN105812426A - Upgrade system and upgrade method for multi-business access platform - Google Patents

Upgrade system and upgrade method for multi-business access platform Download PDF

Info

Publication number
CN105812426A
CN105812426A CN201410851402.2A CN201410851402A CN105812426A CN 105812426 A CN105812426 A CN 105812426A CN 201410851402 A CN201410851402 A CN 201410851402A CN 105812426 A CN105812426 A CN 105812426A
Authority
CN
China
Prior art keywords
subsystem
upgrade
corresponding levels
broadcast packet
upgrading
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.)
Pending
Application number
CN201410851402.2A
Other languages
Chinese (zh)
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.)
ZHEJIANG DAHUA SYSTEM ENGINEERING CO LTD
Original Assignee
ZHEJIANG DAHUA SYSTEM ENGINEERING 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 ZHEJIANG DAHUA SYSTEM ENGINEERING CO LTD filed Critical ZHEJIANG DAHUA SYSTEM ENGINEERING CO LTD
Priority to CN201410851402.2A priority Critical patent/CN105812426A/en
Publication of CN105812426A publication Critical patent/CN105812426A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an upgrade system and an upgrade method for a multi-business access platform and aims to realize rapid upgrade of a cascaded subsystem and reduce maintenance cost of the multi-business access platform. The upgrade system comprises at least two levels of subsystems cascaded in a topology mode; each level of subsystems receives broadcast packets of the upper level of subsystems, the received broadcast packets are analyzed to acquire the identification information, and the identification information acquired through analysis and the identification information of the present level of subsystems are matched; the response information is fed back to the upper level of subsystems, the upper level of subsystems is enabled to establish transmission control protocol connection with the present level of subsystems after receiving the response information, and acquired upgrade files are sent to the present level of subsystems; when matching succeeds, the present level of subsystems are upgraded according to the received upgrade files; except the last level of subsystems, the received broadcast packets are sent to the lower level of subsystems; the first level of subsystems receive broadcast packets and upgrade files sent by local configuration clients or application programs.

Description

A kind of access multiservice platform upgrade-system and upgrade method
Technical field
The present invention relates to access multiservice platform technical field, particularly relate to a kind of access multiservice platform upgrade-system and upgrade method.
Background technology
Along with emerging rapidly of technology of Internet of things and quickly propelling of safety urban project, the access multiservice platform that the functions such as collection video, audio frequency, environment parameter detection, the networking telephone (VoiceOverInternetProtocol, VOIP), intelligent linkage control are integrated increasingly is widely applied.The integrated height of access multiservice platform, accessible equipment are extensive, access multiservice platform can realize the feature of overall-in-one control schema by cascade, make its system deployment and become in using more convenient flexibly, but the access multiservice platform of cascade mode makes the upgrading to each subsystem in this access platform extremely difficult.
Owing to the network of subsystem each in access multiservice platform is LAN, externally only providing single external IP, outside cannot have access to concrete certain subsystem, be more difficult to two grades of CPU having access on the board in certain subsystem.The upgrade method of the access multiservice platform of tradition cascade mode is directly accessed subsystem or concrete certain board typically by notebook computer, adopt the upgrading tool customized to certain subsystem or specifically certain board carry out updating operation.This upgrading mode, needs professional to go to device context to implement on the one hand, and requires that enforcement personnel are familiar to each subsystem, so that system maintenance is relatively costly;On the other hand when same subsystem has multiple same board, it is necessary to each board is individually upgraded, operates quite loaded down with trivial details and take time and effort.Popularization and application and the later stage upgrade maintenance of whole access multiservice platform are caused bigger puzzlement by this kind of upgrading mode.
In sum, in the access multiservice platform of prior art, the upgrading of each subsystem or board is cumbersome, and access multiservice platform maintenance cost is higher.
Summary of the invention
Embodiments provide a kind of access multiservice platform upgrade-system and upgrade method, in order to realize the quick upgrading of the subsystem to cascade, reduce the maintenance cost of access multiservice platform.
A kind of access multiservice platform upgrade-system that the embodiment of the present invention provides, described upgrade-system includes at least two-stage subsystem according to topology mode cascade;Wherein
Every one-level subsystem receives the broadcast packet that upper level subsystem sends, and the broadcast packet received is carried out parsing obtains an identification information, is mated by the identification information resolving identification information and the corresponding levels subsystem obtained, and
Feeding back response message to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, the upgrade file that will obtain sends to corresponding levels subsystem, and
When the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;And except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem;
Wherein, first order subsystem receives broadcast packet and the upgrade file of the configuration client being set in advance in this locality or application program transmission.
The access multiservice platform upgrade-system provided by the embodiment of the present invention, this upgrade-system includes at least two-stage subsystem according to topology mode cascade;Owing to every one-level subsystem receives the broadcast packet that upper level subsystem sends, and the broadcast packet received is carried out parsing obtain an identification information, the identification information resolving identification information and the subsystem at the corresponding levels obtained is mated, and feed back response message to upper level subsystem, so that after upper level subsystem receives described response message, it is connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, the upgrade file obtained is sent to subsystem at the corresponding levels, and when the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;And except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem, therefore, compared with traditional access multiservice platform upgrade-system, a series of updating operation such as upgrade-system provided by the invention can realize upgrade file automatically delivering in subsystems at different levels, receives, verification, it is possible to convenient, realize the upgrade function of system and application efficiently.
It is preferred that every one-level subsystem topology location in upgrade-system can be adjusted.
So, when every one-level subsystem topology location in upgrade-system can be adjusted, the cascade system of the subsystem in access multiservice platform upgrade-system is more convenient and flexible.
It is preferred that described identification information includes identity code, subsystem types information, subsystem architecture identification code, upgrade file total length;
Every one-level subsystem is by the identity code comprised in locally stored identity code, subsystem types information, subsystem architecture identification code and the identification information parsed, subsystem types information, the comparison one by one of subsystem architecture identification code, if it is identical, then the match is successful, otherwise it is assumed that it fails to match.
It is preferred that every one-level subsystem establishment upgrading host process, upgrading host process creates configuration tool communication module, upgrading processing module, upwards cascaded communication module and downward cascaded communication module when starting, and creates the communication thread between each module;
Described configuration tool communication module is used for, and receives broadcast packet and upgrade file that the configuration client being set in advance in this locality sends;
Described upgrading processing module is used for, the broadcast packet received is carried out parsing and obtains an identification information, the identification information resolving identification information and the subsystem at the corresponding levels obtained is mated, and when the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;
Described upwards cascaded communication module is used for, receive the broadcast packet that upper level subsystem sends, and feed back response message to upper level subsystem, so that after upper level subsystem receives described response message, it is connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, after connection, receives the upgrade file that upper level subsystem sends;
Described downward cascaded communication module is used for, and except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem.
So, compared with traditional access multiservice platform upgrade-system, upgrade-system provided by the invention can pass through the upgrading host process operating in subsystem at different levels, realize upgrade file automatically delivering in subsystems at different levels, receive, a series of updating operation such as verification, both can realize crossing over the restriction of LAN, it is possible to upgrade while realizing the same type subset in sub-system.
It is preferred that described configuration tool communication module specifically for,
Receive and be set in advance in the broadcast packet that the configuration client of this locality sends, by the communication thread between configuration tool communication module and upgrading processing module that the upgrading host process of subsystem at the corresponding levels creates, broadcast packet is passed to upgrading processing module at the corresponding levels;And
Receive the response message of upgrading processing module feedback at the corresponding levels, this response message is fed back to the configuration client being set in advance in this locality, so that be set in advance in this locality configuration client receive described response message after, it is connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, receives after connection and be set in advance in the upgrade file that the configuration client of this locality sends;And
By the communication thread between configuration tool communication module and upgrading processing module that corresponding levels upgrading host process creates, the upgrade file of reception is passed to upgrading processing module.
It is preferred that described upwards cascaded communication module specifically for,
Receive the broadcast packet that upper level subsystem sends, by the communication thread between upwards cascaded communication module and upgrading processing module that the upgrading host process of subsystem at the corresponding levels creates, broadcast packet is passed to upgrading processing module at the corresponding levels;And
Receive the response message of upgrading processing module feedback at the corresponding levels, this response message is fed back to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, receiving the upgrade file of upper level subsystem transmission after connection;And
By the communication thread between upwards cascaded communication module and upgrading processing module that corresponding levels upgrading host process creates, the upgrade file of reception is passed to upgrading processing module.
It is preferred that described downward cascaded communication module specifically for,
Except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem, and receive the response message of next stage subsystem feedback, so that after subsystem at the corresponding levels receives described response message, it is connected with setting up transmission control protocol TCP between next stage subsystem, the upgrade file obtained is sent to next stage subsystem.
It is preferred that described upgrading processing module specifically for,
The broadcast packet received is resolved by subsystem at the corresponding levels, obtain an identification information comprising identity code, subsystem types information, subsystem architecture identification code, and by the identity code comprised in locally stored identity code, subsystem types information, subsystem architecture identification code and the identification information parsed, subsystem types information, the comparison one by one of subsystem architecture identification code, if it is identical, then the match is successful, after the match is successful, subsystem at the corresponding levels is upgraded.
It is preferred that after often one-level subsystem reception upgrade file is upgraded, or upgrade after unsuccessfully, all return upgrading response message to configuration client, and restart corresponding levels subsystem.
So, configuration client can be better understood by the upgrade case of each subsystem, and each subsystem restart after can better ensure that this sub-system staging completes or upgrade failure.
The embodiment of the present invention additionally provides the upgrade method of a kind of above-mentioned access multiservice platform upgrade-system, and described method includes:
Every one-level subsystem receives the broadcast packet that upper level subsystem sends, and the broadcast packet received is carried out parsing obtains an identification information, is mated by the identification information resolving identification information and the corresponding levels subsystem obtained, and
Feeding back response message to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, the upgrade file that will obtain sends to corresponding levels subsystem, and
When the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;And except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem;
Wherein, first order subsystem receives broadcast packet and the upgrade file of the configuration client being set in advance in this locality or application program transmission,
The upgrade method of the above-mentioned access multiservice platform upgrade-system provided by the embodiment of the present invention, compared with the upgrade method of traditional access multiservice platform upgrade-system, a series of updating operation such as upgrade method provided by the invention can realize upgrade file automatically delivering in subsystems at different levels, receives, verification, it is possible to convenient, realize the upgrade function of system and application efficiently.
Accompanying drawing explanation
The structural representation of a kind of access multiservice platform upgrade-system that Fig. 1 provides for the embodiment of the present invention;
Every one-level subsystem internal structural representation in a kind of access multiservice platform upgrade-system that Fig. 2 provides for the embodiment of the present invention;
Signal transmission schematic diagram during upgrading first order subsystem in a kind of access multiservice platform upgrade-system that Fig. 3 provides for the embodiment of the present invention;
Signal transmission schematic diagram when there is second level system in a kind of access multiservice platform upgrade-system that Fig. 4 provides for the embodiment of the present invention, between first order subsystem and configuration client and second level subsystem;
Signal transmission schematic diagram between communication module in the subsystem of the level that mediates in a kind of access multiservice platform upgrade-system that Fig. 5 provides for the embodiment of the present invention;
The schematic diagram by application program updating system that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Embodiments provide a kind of access multiservice platform upgrade-system and upgrade method, in order to realize the quick upgrading of the subsystem to cascade, reduce the maintenance cost of access multiservice platform.
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Access multiservice platform upgrade-system that the specific embodiment of the invention provide is discussed in detail below in conjunction with accompanying drawing.
As shown in Figure 1, the specific embodiment of the invention provides a kind of access multiservice platform upgrade-system, described upgrade-system includes at least two-stage subsystem according to topology mode cascade, the subsystem of the access multiservice platform upgrade-system cascade in the specific embodiment of the invention is only introduced for three grades of subsystems, in actual applications, access multiservice platform upgrade-system can cascade two-stage subsystem, it is also possible to subsystem more than level ter level.First order subsystem 11 in the specific embodiment of the invention includes a subsystem, this first order subsystem 11 cascade connects three second level subsystems 12, each second level subsystem 12 cascade connects two third level subsystems 13, certainly, the number of the third level subsystem 13 that each second level subsystem 12 cascade connects can be identical, can also be different, the second level subsystem 12 that first order subsystem 11 cascade is not connected by the specific embodiment of the invention, and the number of third level subsystem 13 that each second level subsystem 12 cascade connects limits.
Every one-level subsystem receives the broadcast packet that upper level subsystem sends, and the broadcast packet received is carried out parsing obtains an identification information, is mated by the identification information resolving identification information and the corresponding levels subsystem obtained, and
Feeding back response message to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, the upgrade file that will obtain sends to corresponding levels subsystem, and
When the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;And except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem;
Wherein, first order subsystem receives broadcast packet and the upgrade file of the configuration client being set in advance in this locality or application program transmission.
The access multiservice platform upgrade-system that the specific embodiment of the invention provides specifically is introduced below in conjunction with accompanying drawing.
As shown in Figure 2, the access multiservice platform upgrade-system that the specific embodiment of the invention provides includes according to the topology first order subsystem 11 of mode cascade, second level subsystem 12 and third level subsystem 13, wherein, second level subsystem 12 is the intergrade subsystem in access multiservice platform upgrade-system, and third level subsystem 13 is the afterbody subsystem in access multiservice platform upgrade-system.First order subsystem 11 in the specific embodiment of the invention creates upgrading host process, upgrading host process creates upgrading processing module, upwards cascaded communication module, downward cascaded communication module and configuration tool communication module when starting, and create the communication thread between each module, and provide the signal of communication between each communication thread;Preferably, in the specific embodiment of the invention, every one-level subsystem all creates upgrading host process, upgrading host process creates configuration tool communication module, upgrading processing module, upwards cascaded communication module and downward cascaded communication module when starting, and create the communication thread between each module, wherein, configuration tool communication module is used for, and receives broadcast packet and upgrade file that the configuration client being set in advance in this locality sends;Upgrading processing module is used for, the broadcast packet received is carried out parsing and obtains an identification information, the identification information resolving identification information and the subsystem at the corresponding levels obtained is mated, and when the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;Upwards cascaded communication module is used for, receive the broadcast packet that upper level subsystem sends, and feed back response message to upper level subsystem, so that after upper level subsystem receives described response message, it is connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, after connection, receives the upgrade file that upper level subsystem sends;Downward cascaded communication module is used for, and except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem.
Owing to the structure of every one-level subsystem is identical in the specific embodiment of the invention, therefore, every one-level subsystem topology location in access multiservice platform upgrade-system can be adjusted, as: certain third level subsystem can pass through physical connection mode, directly being connected with first order subsystem, now this third level subsystem then becomes two grades of subsystems.
When first order subsystem in the access multiservice platform upgrade-system that the specific embodiment of the invention provides obtains broadcast packet and upgrade file, it is possible to obtain from application program, it is also possible to obtain from the configuration client being set in advance in this locality.Specifically, as in figure 2 it is shown, the upgrading processing module of the first order subsystem 11 in the access multiservice platform upgrade-system of specific embodiment of the invention offer can be connected with application program, broadcast packet and upgrade file that application program sends are received.Configuration tool communication module in first order subsystem 11 is connected with the configuration client being set in advance in this locality, receives broadcast packet and upgrade file that configuration client sends.In actual design, can also being not provided with configuration tool communication module in first order subsystem 11, access multiservice platform upgrade-system is when needs are upgraded, and first order subsystem 11 directly obtains broadcast packet and upgrade file from application program.
The escalation process of access multiservice platform upgrade-system that the specific embodiment of the invention provide is described below.
The specific embodiment of the invention obtains broadcast packet and upgrade file introduction for first order subsystem from configuration client.Subsystems at different levels automatically start upgrading host process when system start-up, upgrading host process creates configuration tool communication module, upgrading processing module, upwards cascade module, downward cascade module when starting, and create the communication thread between each module, and provide the signal of communication between each communication thread.
nullWhen access multiservice platform upgrade-system is upgraded by needs,As shown in Figure 3,First,Configuration client sends upgrade broadcasts bag to the configuration tool communication module in first order subsystem,When configuration tool communication module in first order subsystem receives broadcast packet,By the communication thread between configuration tool communication module and upgrading processing module that host process of upgrading in first order subsystem creates,Broadcast packet is passed to upgrading processing module,After upgrading processing module receives broadcast packet,Upgrading processing module in first order subsystem resolves broadcast packet,Obtain an identification information,This identification information includes identification ID code、Subsystem types information、Check code、Upgrading mode identity code、The information such as subsystem architecture identification code and upgrade file total length,According to the upgrade file total length parsed,Create size to be used for storing upgrade file equal to the memory block of upgrade file total length.Creating after successfully, notice configuration tool communication module sends feedback response message to configuration client.After configuration client receives response message, by transmission control protocol (TransmissionControlProtocol between configuration client and the configuration tool communication module of first order subsystem, TCP) set up connection, configure client after connection and send upgrade file to first order subsystem.After upgrade file is transmitted, the upgrading processing module of first order subsystem is by the identity code comprised in locally stored identity code, subsystem types information, subsystem architecture identification code and the identification information parsed, subsystem types information, the comparison one by one of subsystem architecture identification code, if it is identical, then the match is successful, otherwise it is assumed that it fails to match, if the match is successful, first order subsystem is upgraded by the upgrading processing module of first order subsystem, the concrete escalation process of upgrading processing module is same as the prior art, does not repeat here;If it fails to match, then illustrating that upgrade file is not belonging to subsystem at the corresponding levels, the upgrading processing module of subsystem at the corresponding levels does not do corresponding upgrading processing.
nullWhen the identification information resolving identification information and the subsystem at the corresponding levels obtained is mated by the upgraded module of first order subsystem,In order to save the time,Broadcast packet is sent to the downward cascaded communication module in first order subsystem simultaneously,As shown in Figure 4,The broadcast packet received is separately sent to the upwards cascaded communication module in the subsystem of the second level by the downward cascade module in first order subsystem,Referring also to Fig. 2 and Fig. 5,When upwards cascaded communication module in the subsystem of the second level receives broadcast packet,By the communication thread between upwards cascaded communication module and upgrading processing module that host process of upgrading in the subsystem of the second level creates,Broadcast packet is passed to the upgrading processing module in the subsystem of the second level,After upgrading processing module in the subsystem of the second level receives broadcast packet,Upgrading processing module in the subsystem of the second level resolves broadcast packet,Obtain an identification information,This identification information includes identification ID code、Subsystem types information、Check code、Upgrading mode identity code、The information such as subsystem architecture identification code and upgrade file total length,According to the upgrade file total length parsed,Create size to be used for storing upgrade file equal to the memory block of upgrade file total length.Create after successfully, notify that upwards cascaded communication module sends feedback response message to the downward cascade module of first order subsystem.After the downward cascaded communication module of first order subsystem receives response message, by transmission control protocol (TransmissionControlProtocol between downward cascaded communication module and the upwards cascaded communication module of second level subsystem of first order subsystem, TCP) setting up connection, after connection, the upgrade file of upgrading processing module stores in first order subsystem is sent to second level subsystem by the downward cascaded communication module in first order subsystem.After upgrade file is transmitted, the upgrading processing module of second level subsystem is mated resolving the identification information obtained with the identification information of second level subsystem, if the match is successful, second level subsystem is upgraded by the upgrading processing module of second level subsystem, the concrete escalation process of upgrading processing module is identical with the upgrading processing module upgrade process in first order subsystem, repeats no more herein;If it fails to match, then illustrating that upgrade file is not belonging to subsystem at the corresponding levels, the upgrading processing module of subsystem at the corresponding levels does not do corresponding upgrading processing.If second level subsystem includes multiple identical subsystem, then these identical subsystems all send feedback response message to first order subsystem, after the downward cascaded communication module of first order subsystem receives the feedback response message of each two grades of subsystems, set up TCP each through respective communication link be connected with between the multiple second level subsystem sending feedback response message respectively, after connection, first order subsystem sends upgrade file and sets up the TCP second level subsystem being connected to each with the downward cascaded communication module of first order subsystem, so, subsystem identical in the subsystem of the second level can be upgraded simultaneously, each subsystem individually need not be upgraded, simple to operate.
When the identification information of broadcast packet identification information with second level subsystem is mated by the upgrading processing module of second level subsystem, broadcast packet is sent to the downward cascaded communication module in the subsystem of the second level by the upgrading processing module of second level subsystem, as shown in Figure 5, the broadcast packet received is separately sent to the upwards cascaded communication module of third level subsystem by the downward cascaded communication module of second level subsystem, the concrete escalation process of third level subsystem is identical with the escalation process of second level subsystem, does not repeat here.The like, the concrete escalation process of the subsystem of fourth stage subsystem and higher level is identical with the escalation process of second level subsystem.
nullSpecifically,For the afterbody subsystem in the specific embodiment of the invention,When upwards cascaded communication module in afterbody subsystem receives broadcast packet,By the communication thread between upwards cascaded communication module and upgrading processing module that host process of upgrading in afterbody subsystem creates,Broadcast packet is passed to the upgrading processing module in afterbody subsystem,After upgrading processing module in afterbody subsystem receives broadcast packet,Upgrading processing module in afterbody subsystem resolves broadcast packet,Obtain an identification information,This identification information includes identification ID code、Subsystem types information、Check code、Upgrading mode identity code、The information such as subsystem architecture identification code and upgrade file total length,According to the upgrade file total length parsed,Create size to be used for storing upgrade file equal to the memory block of upgrade file total length,The upgrading processing module of afterbody subsystem is mated resolving the identification information obtained with the identification information of afterbody subsystem,If the match is successful,Notify that upwards cascaded communication module sends feedback response message to the downward cascade module of upper level subsystem,After the downward cascaded communication module of upper level subsystem receives response message,Set up by TCP between downward cascaded communication module and the upwards cascaded communication module of afterbody subsystem of upper level subsystem and be connected,After connection, the upgrade file of upgrading processing module stores in upper level subsystem is sent to afterbody subsystem by the downward cascaded communication module in upper level subsystem,After upgrade file is transmitted,Afterbody subsystem is upgraded by the upgrading processing module of afterbody subsystem,The concrete escalation process of upgrading processing module is identical with the upgrading processing module upgrade process in the subsystem of the second level,Repeat no more herein.
In the specific embodiment of the invention, every one-level subsystem all can not create configuration tool communication module, simultaneously, if every one-level subsystem topology location in upgrade-system is fixing in access multiservice platform upgrade-system, then first order subsystem can not create upwards cascaded communication module, and afterbody subsystem can not create downward cascaded communication module.The specific embodiment of the invention removes afterbody subsystem, every one-level subsystem all receives upgrade file, for afterbody subsystem, only when the match is successful for the upgrading processing module in afterbody subsystem, receive the upgrade file that upper level subsystem sends, otherwise, afterbody subsystem does not receive the upgrade file that upper level subsystem sends.
As shown in Figure 6, the specific embodiment of the invention can also pass through application program updating subsystem, after application program receives broadcast packet, call upgrading processing module library function to upgrade, returning result after upgrading, concrete upgrade method is same as the prior art, does not repeat here.
Preferably, the upgrading processing module in the every one-level subsystem of the specific embodiment of the invention resolves broadcast packet and obtains an identification information, when the identification information resolving identification information and the subsystem at the corresponding levels obtained is mated, if the match is successful, then and this subsystem of upgrading;If it fails to match, then this subsystem is not carried out upgrading processing.When the configuration parameter display subsystem at the corresponding levels of subsystem at the corresponding levels does not have downwards more next stage subsystem, or the downward cascaded communication module of subsystem at the corresponding levels receives the upgrading of all next stage subsystems feedback and completes response message, or it is connected time-out when the downward cascaded communication module of subsystem at the corresponding levels returns with the upwards cascaded communication module of next stage subsystem, after now the upgraded module of subsystem at the corresponding levels completes the upgrading of subsystem at the corresponding levels, or after it fails to match, the transmission then giving the downward cascade module of upper level subsystem upgrades successfully, overtime or failed response message, and corresponding levels subsystem is carried out reboot operation.
Preferably, the every one-level subsystem of the specific embodiment of the invention receives after upgrade file upgrades, or after upgrade unsuccessfully, all upgrades response message to configuration client return, and performs reboot operation, is restarted by corresponding levels subsystem.Configuration client is according to the response message received, determine whether the subsystem needing upgrading all upgrades successfully, if there is the situation that sub-system staging is failed, it is possible to again sending broadcast packet and upgrade file by configuring client, upgrade-system carries out upgrading next time.
In sum, the specific embodiment of the invention provides a kind of access multiservice platform upgrade-system, compared with traditional access multiservice platform upgrade-system, upgrade-system provided by the invention can pass through the upgrading host process operating in subsystem at different levels, realize upgrade file automatically delivering in subsystems at different levels, receive, a series of updating operation such as verification, it is directly integrated in the main service of subsystem at different levels also by independent upgrading host process, it is easy to the integral deployment of upgrade-system, both can realize crossing over the restriction of LAN, realize upgrading to while the same type subset in each subsystem.The employing of the access multiservice platform upgrading mode that the specific embodiment of the invention provides can the maintenance work in very big convenient access multiservice platform later stage, it is possible to reduce the maintenance cost in whole upgrade-system later stage preferably.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. an access multiservice platform upgrade-system, it is characterised in that described upgrade-system includes at least two-stage subsystem according to topology mode cascade;Wherein
Every one-level subsystem receives the broadcast packet that upper level subsystem sends, and the broadcast packet received is carried out parsing obtains an identification information, is mated by the identification information resolving identification information and the corresponding levels subsystem obtained, and
Feeding back response message to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, the upgrade file that will obtain sends to corresponding levels subsystem, and
When the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;And except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem;
Wherein, first order subsystem receives broadcast packet and the upgrade file of the configuration client being set in advance in this locality or application program transmission.
2. upgrade-system according to claim 1, it is characterised in that every one-level subsystem topology location in upgrade-system can be adjusted.
3. upgrade-system according to claim 1, it is characterised in that described identification information includes identity code, subsystem types information, subsystem architecture identification code, upgrade file total length;
Every one-level subsystem is by the identity code comprised in locally stored identity code, subsystem types information, subsystem architecture identification code and the identification information parsed, subsystem types information, the comparison one by one of subsystem architecture identification code, if it is identical, then the match is successful, otherwise it is assumed that it fails to match.
4. upgrade-system according to claim 1, it is characterized in that, every one-level subsystem creates upgrading host process, upgrading host process creates configuration tool communication module, upgrading processing module, upwards cascaded communication module and downward cascaded communication module when starting, and creates the communication thread between each module;
Described configuration tool communication module is used for, and receives broadcast packet and upgrade file that the configuration client being set in advance in this locality sends;
Described upgrading processing module is used for, the broadcast packet received is carried out parsing and obtains an identification information, the identification information resolving identification information and the subsystem at the corresponding levels obtained is mated, and when the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;
Described upwards cascaded communication module is used for, receive the broadcast packet that upper level subsystem sends, and feed back response message to upper level subsystem, so that after upper level subsystem receives described response message, it is connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, after connection, receives the upgrade file that upper level subsystem sends;
Described downward cascaded communication module is used for, and except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem.
5. upgrade-system according to claim 4, it is characterised in that described configuration tool communication module specifically for,
Receive and be set in advance in the broadcast packet that the configuration client of this locality sends, by the communication thread between configuration tool communication module and upgrading processing module that the upgrading host process of subsystem at the corresponding levels creates, broadcast packet is passed to upgrading processing module at the corresponding levels;And
Receive the response message of upgrading processing module feedback at the corresponding levels, this response message is fed back to the configuration client being set in advance in this locality, so that be set in advance in this locality configuration client receive described response message after, it is connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, receives after connection and be set in advance in the upgrade file that the configuration client of this locality sends;And
By the communication thread between configuration tool communication module and upgrading processing module that corresponding levels upgrading host process creates, the upgrade file of reception is passed to upgrading processing module.
6. upgrade-system according to claim 4, it is characterised in that described upwards cascaded communication module specifically for,
Receive the broadcast packet that upper level subsystem sends, by the communication thread between upwards cascaded communication module and upgrading processing module that the upgrading host process of subsystem at the corresponding levels creates, broadcast packet is passed to upgrading processing module at the corresponding levels;And
Receive the response message of upgrading processing module feedback at the corresponding levels, this response message is fed back to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, receiving the upgrade file of upper level subsystem transmission after connection;And
By the communication thread between upwards cascaded communication module and upgrading processing module that corresponding levels upgrading host process creates, the upgrade file of reception is passed to upgrading processing module.
7. upgrade-system according to claim 4, it is characterised in that described downward cascaded communication module specifically for,
Except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem, and receive the response message of next stage subsystem feedback, so that after subsystem at the corresponding levels receives described response message, it is connected with setting up transmission control protocol TCP between next stage subsystem, the upgrade file obtained is sent to next stage subsystem.
8. upgrade-system according to claim 4, it is characterised in that described upgrading processing module specifically for,
The broadcast packet received is resolved by subsystem at the corresponding levels, obtain an identification information comprising identity code, subsystem types information, subsystem architecture identification code, and by the identity code comprised in locally stored identity code, subsystem types information, subsystem architecture identification code and the identification information parsed, subsystem types information, the comparison one by one of subsystem architecture identification code, if it is identical, then the match is successful, after the match is successful, subsystem at the corresponding levels is upgraded.
9. upgrade-system according to claim 8, it is characterised in that after every one-level subsystem reception upgrade file is upgraded, or upgrade after unsuccessfully, all return upgrading response message to configuration client, and restart subsystem at the corresponding levels.
10. the upgrade method of the access multiservice platform upgrade-system as described in a claim as arbitrary in claim 1-9, it is characterised in that described method includes:
Every one-level subsystem receives the broadcast packet that upper level subsystem sends, and the broadcast packet received is carried out parsing obtains an identification information, is mated by the identification information resolving identification information and the corresponding levels subsystem obtained, and
Feeding back response message to upper level subsystem, so that after upper level subsystem receives described response message, being connected with setting up transmission control protocol TCP between subsystem at the corresponding levels, the upgrade file that will obtain sends to corresponding levels subsystem, and
When the match is successful, according to the upgrade file received, subsystem at the corresponding levels is upgraded;And except afterbody subsystem, the broadcast packet of reception is sent to next stage subsystem;
Wherein, first order subsystem receives broadcast packet and the upgrade file of the configuration client being set in advance in this locality or application program transmission.
CN201410851402.2A 2014-12-30 2014-12-30 Upgrade system and upgrade method for multi-business access platform Pending CN105812426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410851402.2A CN105812426A (en) 2014-12-30 2014-12-30 Upgrade system and upgrade method for multi-business access platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410851402.2A CN105812426A (en) 2014-12-30 2014-12-30 Upgrade system and upgrade method for multi-business access platform

Publications (1)

Publication Number Publication Date
CN105812426A true CN105812426A (en) 2016-07-27

Family

ID=56421280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410851402.2A Pending CN105812426A (en) 2014-12-30 2014-12-30 Upgrade system and upgrade method for multi-business access platform

Country Status (1)

Country Link
CN (1) CN105812426A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329784A (en) * 2017-06-27 2017-11-07 广东美的暖通设备有限公司 Firmware upgrade method and Distributed-tier system
CN107404490A (en) * 2017-08-09 2017-11-28 湖南康通电子股份有限公司 Broadcast terminal and data updating method
CN109842524A (en) * 2019-02-18 2019-06-04 视联动力信息技术股份有限公司 Automatically updating method, device, electronic equipment and computer readable storage medium
CN109889570A (en) * 2019-01-04 2019-06-14 四川虹美智能科技有限公司 A kind of facility information dissemination system and method
CN110619749A (en) * 2019-07-22 2019-12-27 北京计算机技术及应用研究所 Automobile electronic identification reading device fused with C-V2X
CN110769057A (en) * 2019-10-25 2020-02-07 广东博智林机器人有限公司 Automatic upgrading method, device and system based on cascade system
CN110972164A (en) * 2019-12-04 2020-04-07 深圳市国电科技通信有限公司 Upgrading method and system for wireless self-organizing network
CN114237786A (en) * 2021-11-18 2022-03-25 中国南方电网有限责任公司 Operation response processing method, device, equipment and storage medium of multi-level system
CN114500174A (en) * 2022-02-21 2022-05-13 杭州萤石软件有限公司 Interconnection system and data transmission method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594613A (en) * 2009-06-22 2009-12-02 中兴通讯股份有限公司 The method of terminal equipment and upgrading thereof, system
CN103051674A (en) * 2012-11-23 2013-04-17 深圳市航天泰瑞捷电子有限公司 Method and device for remotely upgrading wireless communication module as well as handheld unit (HHU)
CN103532922A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Software version upgrade method, device and system
CN104077152A (en) * 2013-03-27 2014-10-01 广东威创视讯科技股份有限公司 Batch upgrading method and batch upgrading device for embedded system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594613A (en) * 2009-06-22 2009-12-02 中兴通讯股份有限公司 The method of terminal equipment and upgrading thereof, system
CN103532922A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Software version upgrade method, device and system
CN103051674A (en) * 2012-11-23 2013-04-17 深圳市航天泰瑞捷电子有限公司 Method and device for remotely upgrading wireless communication module as well as handheld unit (HHU)
CN104077152A (en) * 2013-03-27 2014-10-01 广东威创视讯科技股份有限公司 Batch upgrading method and batch upgrading device for embedded system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329784A (en) * 2017-06-27 2017-11-07 广东美的暖通设备有限公司 Firmware upgrade method and Distributed-tier system
CN107329784B (en) * 2017-06-27 2021-01-05 广东美的暖通设备有限公司 Firmware upgrading method and distributed multi-layer system
CN107404490A (en) * 2017-08-09 2017-11-28 湖南康通电子股份有限公司 Broadcast terminal and data updating method
CN109889570A (en) * 2019-01-04 2019-06-14 四川虹美智能科技有限公司 A kind of facility information dissemination system and method
CN109889570B (en) * 2019-01-04 2021-04-27 四川虹美智能科技有限公司 Equipment information distribution system and method
CN109842524B (en) * 2019-02-18 2022-04-12 视联动力信息技术股份有限公司 Automatic upgrading method and device, electronic equipment and computer readable storage medium
CN109842524A (en) * 2019-02-18 2019-06-04 视联动力信息技术股份有限公司 Automatically updating method, device, electronic equipment and computer readable storage medium
CN110619749A (en) * 2019-07-22 2019-12-27 北京计算机技术及应用研究所 Automobile electronic identification reading device fused with C-V2X
CN110769057A (en) * 2019-10-25 2020-02-07 广东博智林机器人有限公司 Automatic upgrading method, device and system based on cascade system
CN110972164A (en) * 2019-12-04 2020-04-07 深圳市国电科技通信有限公司 Upgrading method and system for wireless self-organizing network
CN110972164B (en) * 2019-12-04 2023-02-03 深圳市国电科技通信有限公司 Upgrading method and system for wireless self-organizing network
CN114237786A (en) * 2021-11-18 2022-03-25 中国南方电网有限责任公司 Operation response processing method, device, equipment and storage medium of multi-level system
CN114500174A (en) * 2022-02-21 2022-05-13 杭州萤石软件有限公司 Interconnection system and data transmission method
CN114500174B (en) * 2022-02-21 2024-05-14 杭州萤石软件有限公司 Interconnection and interworking system and data transmission method

Similar Documents

Publication Publication Date Title
CN105812426A (en) Upgrade system and upgrade method for multi-business access platform
CN111770169B (en) Method, device, equipment and storage medium for upgrading equipment firmware
US10193971B2 (en) Method, server and system for application synchronization
US9218174B2 (en) OSGi program, OSGi system
US9596501B2 (en) Remote control processing method, device and system
CN103200271B (en) The method of ARM server and automation installation system thereof
EP2582089A1 (en) System and method for implementing automatic configuration for equipments
CN101426077A (en) Method for on-line updating television set software through Internet
CN105897461A (en) Multi-system OTA upgrading method and multi-system device
CN104717282A (en) Method, device and system for controlling intelligent terminals with Android operating system
CN103810011A (en) Method for achieving OTA upgrading through file server
CN106572200A (en) IP address configuration method and IP address configuration device for baseboard management controller BMC
CN101968741A (en) Method, server and system for data update
CN104615455A (en) Remote upgrading method and device for IPMC program of ATCA structure
CN109684155B (en) Monitoring configuration method, device, equipment and readable storage medium
CN101178670A (en) Apparatus upgrade method
CN102164312A (en) Set-top box configuration method and system for Internet protocol television
CN104301395A (en) Method, electronic equipment and system for upgrading devices automatically
CN103957117A (en) System and method for achieving intelligent installation of network equipment
CN104836848A (en) Method for remotely upgrading intelligent household electrical appliances
WO2018086478A1 (en) Method and device for upgrading wifi module in set top box, set top box and system
CN101593119A (en) A kind of aerial firmware upgrade method of flash memory unit equipment and device monopolized
CN111147314A (en) Switch upgrading method, device and storage medium
CN102984578A (en) Method, video terminal and system for processing program channel list information
CN109614131A (en) A kind of broadcasting equipment upgrading control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication