CN107357571A - Maintaining method, system and the component server of apparatus assembly program - Google Patents

Maintaining method, system and the component server of apparatus assembly program Download PDF

Info

Publication number
CN107357571A
CN107357571A CN201710469587.4A CN201710469587A CN107357571A CN 107357571 A CN107357571 A CN 107357571A CN 201710469587 A CN201710469587 A CN 201710469587A CN 107357571 A CN107357571 A CN 107357571A
Authority
CN
China
Prior art keywords
type
equipment
module
component
server
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.)
Granted
Application number
CN201710469587.4A
Other languages
Chinese (zh)
Other versions
CN107357571B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710469587.4A priority Critical patent/CN107357571B/en
Publication of CN107357571A publication Critical patent/CN107357571A/en
Application granted granted Critical
Publication of CN107357571B publication Critical patent/CN107357571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of maintaining method, system and the component server of apparatus assembly program.The maintaining method of wherein apparatus assembly program includes:Component server is disposed, for storage device component programs, the apparatus assembly program includes the type configuration file and edition configuration file of equipment;The type configuration file includes type component programs corresponding with each type, and the edition configuration file includes version component program corresponding with each version of each type;The equipment obtains type configuration file and the edition configuration file of the equipment to realize the maintenance of the apparatus assembly program from the component server.Technical scheme provided by the invention can realize the centralized management and maintenance of version component, hot it can update version component, server need not be restarted during renewal, not only increase the development efficiency of version component, the Consumer's Experience of user of service is also greatly improved, powerful guarantee is provided for the follow-up sustainable development of system.

Description

Maintaining method, system and the component server of apparatus assembly program
Technical field
The present invention relates to communication technique field, more particularly to a kind of maintaining method, system and the component of apparatus assembly program Server.
Background technology
At present, the remote monitoring system of equipment can carry out remote collection and remote analysis to the service data of equipment, and When provide the user equipment unit daily maintenance information, and can be when unit produces failure and alarm, so as to effectively subtract Few unit failure produces probability and prevents failure propagation, by taking business air conditioner as an example, improves that Central air-conditioning unit is more, management divides Economy and the safe operation problems such as scattered, man-machine interaction difference, provide the user central air-conditioning service that is more laborsaving, saving worry, save money. With the arrival in internet+big data epoch, the data value of Centralized Air-conditioning in Public Buildings is also increasingly paid attention to, and is mounted with GPRS The type species of (General Packet Radio Service, general packet radio service) module is also more and more, due to The upgrading of type itself program, every kind of type also include multiple program versions.Every kind of program version inside the type of shipment Have, so system should can parse the data of latest edition, to be also capable of the data of compatible legacy version.But version component Program is stored on multiple application servers, more and more with the type of monitoring, and every kind of type program version is not again Disconnected upgrading renewal, system developer are needed as the upgrading of type program version is gone on exploitation every application server of renewal Version component program, and renewal is required for restarting server so that renewal comes into force every time.Can be increasingly with the type of monitoring More, system developer need not must not continually update component programs and restart server, not only result in system developer Take considerable time and safeguard a large amount of type version components constantly upgraded, more allow using in the monitoring personnel monitoring frequently of system It is disconnected, have a strong impact on Consumer's Experience.
The content of the invention
A kind of the defects of it is a primary object of the present invention to overcome above-mentioned prior art, there is provided dimension of apparatus assembly program Maintaining method, system and component server, to solve, apparatus assembly program development efficiency is low, restarts server causes service disruption Problem.
One aspect of the present invention provides a kind of maintaining method of apparatus assembly program, including:Component server is disposed, is used for Storage device component programs, the apparatus assembly program include the type configuration file and edition configuration file of equipment;The machine Type configuration file includes type component programs corresponding with each type, and the edition configuration file includes each with each type Version component program corresponding to individual version;The equipment obtains the type configuration file of the equipment from the component server With edition configuration file to realize the maintenance of the apparatus assembly program.
Alternatively, in addition to:Data transmission module is set on said device, and the equipment passes through the data transfer mould Block sends connection request, sends equipment type version information upon establishment of a connection, is believed according to the equipment type version of the transmission Breath obtains the apparatus assembly program;The equipment type version information includes type ID and version number.
Alternatively, in addition to:Application deployment server, set in the application server and build engineering module sum automatically According to parsing module;It is described it is automatic build engineering module be used for respond receive the equipment type version of the data transmission module transmission Information, the type ID is obtained from the equipment type version information received, according to the type ID from the component The type configuration file of equipment corresponding with the type ID is obtained in server, realizes the automatic foundation of the type engineering;Institute State data resolution module be used for respond receive the equipment type version information of data transmission module transmission, from the reception To equipment type version information in obtain the version number, obtained according to the version number from the component server and institute The edition configuration file of equipment corresponding to version number is stated, realizes the parsing of the edition data.
Alternatively, setting data access module, the data access module in the application server is additionally included in be used for After connection is established with the data transmission module, the equipment type version information that the data transmission module is sent is received, And the equipment type version information received is sent to and described builds engineering module and the data resolution module automatically.
Alternatively, in addition to deployment load-balanced server and multiple application servers;The load balancing service Device is used to receive the connection request that the data transmission module from multiple equipment is sent, and response receives the institute of some equipment The connection request that data transmission module is sent is stated, an application server is determined according to polling schemas, in the connection sent Establish and connect between the data transmission module of request and the application server determined according to polling schemas;The polling schemas For one of them foundation connection of selection in turn successively from the multiple application server.
Alternatively, in addition to:The application server of redaction is disposed, is set more on the application server of the redaction Described after new builds engineering module, the data resolution module and/or the data access module automatically;Response receives described The connection request that data transmission module is sent, in the data transmission module of the connection request sent and answering for the redaction Connected with being established between server.
Another aspect of the present invention provides a kind of maintenance system of apparatus assembly program again, including:Component server, use In storage device component programs, the apparatus assembly program includes the type configuration file and edition configuration file of equipment;It is described Type configuration file includes type component programs corresponding with each type, and the edition configuration file includes and each type Version component program corresponding to each version;The equipment obtains the type configuration text of the equipment from the component server Part and edition configuration file are to realize the maintenance of the apparatus assembly program.
Alternatively, in addition to:Data transmission module is provided with the equipment, the equipment passes through the data transfer mould Block sends connection request, sends equipment type version information upon establishment of a connection, is believed according to the equipment type version of the transmission Breath obtains the apparatus assembly program;The equipment type version information includes type ID and version number.
Alternatively, in addition to:Application server, it is provided with the application server and builds engineering module and data automatically Parsing module;It is described it is automatic build engineering module be used for respond receive the equipment type version that the data transmission module is sent and believe Breath, obtains the type ID from the equipment type version information received, is taken according to the type ID from the component The type configuration file of equipment corresponding with the type ID is obtained in business device, realizes the automatic foundation of the type engineering;It is described Data resolution module, which is used to respond, receives the equipment type version information that the data transmission module is sent, and is received from described Equipment type version information in obtain the version number, obtained according to the version number from the component server with it is described The edition configuration file of equipment corresponding to version number, realize the parsing of the edition data.
Alternatively, in addition in the application server data access module is provided with, the data access module is used for After connection is established with the data transmission module, the equipment type version information that the data transmission module is sent is received, And the equipment type version information received is sent to and described builds engineering module and the data resolution module automatically.
Alternatively, in addition to load-balanced server and multiple application servers;The load-balanced server is used In the connection request that the data transmission module of the reception from multiple equipment is sent, response receives the number of some equipment The connection request sent according to transport module, an application server is determined according to polling schemas, in the connection request sent Data transmission module and it is described according to polling schemas determine application server between establish connect;The polling schemas be from One of them foundation connection of selection in turn successively in the multiple application server.
Alternatively, in addition to:To update the application server for the redaction that the application server programs are disposed, in institute State after renewal is provided with the application server of redaction it is described it is automatic build engineering module, the data resolution module and/or The data access module;Response receives the connection request that the data transmission module is sent, the application clothes of the redaction It is engaged in establishing between device and the data transmission module of the connection request sent and connects.
Another aspect of the present invention provides a kind of component server again, including:It is described for storage device component programs Apparatus assembly program includes the type configuration file and edition configuration file of equipment;The type configuration file includes and each machine Type component programs corresponding to type, the edition configuration file include version component journey corresponding with each version of each type Sequence;Response receives equipment type version information, there is provided is set described in corresponding with the equipment type version information received Slave component program.
Technical scheme provided by the invention can realize the centralized management and maintenance of version component, hot can update version component, Server need not be restarted during renewal, not only increases the development efficiency of version component, also greatly improves the use of user of service Family is experienced, and powerful guarantee is provided for the follow-up sustainable development of system.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the system deployment structure chart of the maintaining method of apparatus assembly program provided by the invention;
Fig. 2 is a kind of network topological diagram of preferred embodiment of the maintaining method of apparatus assembly program provided by the invention;
Fig. 3 is the workflow diagram of the maintaining method of apparatus assembly program provided by the invention;
Fig. 4 is the signal that TCP connections are established by Nginx of the maintaining method of apparatus assembly program provided by the invention Figure.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and Technical solution of the present invention is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the present invention one Section Example, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
One aspect of the present invention provides a kind of maintaining method of apparatus assembly program.Fig. 1 is equipment group provided by the invention The system deployment structure chart of the maintaining method of part program.The maintaining method of present device component programs includes:Dispose component clothes Business device 100, for storage device component programs, the apparatus assembly program includes type configuration file and the version configuration of equipment File;The type configuration file includes type component programs corresponding with each type, the edition configuration file include with Version component program corresponding to each version of each type;Described in the equipment 200 obtains from the component server 100 The type configuration file and edition configuration file of equipment are to realize the maintenance of the apparatus assembly program.
In the prior art, each type and version component code of equipment (such as air-conditioning) is stored in multiple application services On device.Each type is corresponding with a type component in application server, and type component serves mainly to facilitate application service Device establishes the engineering of such type;The director demon of each type is also that renewal will every time in continuous renewal simultaneously There is a new program version, in chronological order in the engineering of shipment, its director demon version is also to new by old.Institute With in order to monitor the director demon of all versions, the different director demon versions of each type in application server all It is corresponding with a version component.Version component is mainly used in parsing the unit number that some director demon version of certain type is sent According to.Equipment needs to access application server securing component code, and all component and application server programs write on together, can To regard a program as.The new controller version program of some type is updated, it is necessary to correspondingly be opened on every application server Send out a new version component.And also need to restart server after having changed and it is come into force.Connection can be made by restarting server every time Disconnect, monitoring personnel does not receive data, poor user experience.
Technical scheme provided by the invention carries each type and version component code in script application server programs Take out, then compiling is placed on an independent component together as shared library file independent one by one plus configuration file On server.Shared library file is ended up with .so, when program run, dynamically load needed for module.Equipment accesses application During server, application server securing component code from component server.Therefore system developer only needs to safeguard this Type and version component on platform server, you can all application server programs is come into force, without going for platform The type and version component on all application servers are safeguarded, substantially increases the development efficiency of type and version component, is reduced The development cost of developer.
As shown in figure 1, according to a kind of embodiment of the maintaining method of present device component programs, in addition to:Institute Setting data transmission module 201 in equipment 200 is stated, the equipment 200 sends connection by the data transmission module 201 please Ask, send equipment type version information upon establishment of a connection, set according to obtaining the equipment type version information of the transmission Slave component program;The equipment type version information includes type ID and version number.
Fig. 2 is a kind of network topological diagram of preferred embodiment of the maintaining method of apparatus assembly program provided by the invention; Fig. 3 is the workflow diagram of the maintaining method of apparatus assembly program provided by the invention.Referring to Fig. 1 and Fig. 3, in a kind of embodiment party In formula, data transmission module is carried out data transmission by GPRS technologies, that is, the GPRS module in illustrating.GPRS be general packet without The abbreviation of line service technology, it is GSM (Global System for Mobile Communication, global mobile communication System) a kind of available mobile data services of mobile phone user, the data transmission technology belonged in Generation Mobile Telecommunication System. In this embodiment, it is furnished with a GPRS module in each equipment, GPRS module transfers data to clothes by GPRS technologies Business device.
Referring to Fig. 1 and Fig. 3, according to a kind of embodiment of the maintaining method of present device component programs, in addition to:Portion Application server 300 is affixed one's name to, is set in the application server 300 and builds engineering module 301 and data resolution module 302 automatically; It is described it is automatic build engineering module 301 be used for respond receive the equipment type version information of the data transmission module transmission, from The type ID is obtained in the equipment type version information received, according to the type ID from the component server The type configuration file of equipment corresponding with the type ID is obtained, realizes the automatic foundation of the type engineering;The data solution Analysis module 302 is used to respond receives the equipment type version information that the data transmission module is sent, and is received from described The version number is obtained in equipment type version information, is obtained and the version from the component server according to the version number The edition configuration file of equipment corresponding to this number, realize the parsing of the edition data.
Specifically, acquisition type ID in engineering module slave group data is built automatically, then is gone component server to read type and matched somebody with somebody File is put, shared library file path address corresponding to type ID is found from configuration file, finally according to path address calling pair The shared library answered, realize that the engineering of the type is established automatically;Similarly, data resolution module obtains version number from unit data, Go component server to read edition configuration file again, from configuration file with finding shared library file path corresponding to the version number Location, finally the shared library according to corresponding to being called path address, realizes the parsing of the version unit data.
Referring to Fig. 1 and Fig. 3, according to a kind of embodiment of the maintaining method of present device component programs, it is additionally included in Data access module 303 is set in the application server 300, and the data access module 303 is used to pass with the data Defeated module is established after connection, receives the equipment type version information that the data transmission module is sent, and receive described Equipment type version information send to and described build engineering module and the data resolution module automatically.
Specifically, data access module enters line number by DTU (Data Transfer unit, data transmission unit) equipment According to transmission, that is, the DTU AM access modules in illustrating.DTU is used exclusively for serial data being converted to IP data or turns IP data It is changed to the wireless terminal device that serial data is transmitted by cordless communication network.GPRS module is established with DTU AM access modules After connection, unit data are issued DTU AM access modules by GPRS module.Unit data are issued build work automatically again by DTU AM access modules Journey module and data resolution module.
Referring to Fig. 1 and Fig. 3, according to a kind of embodiment of the maintaining method of present device component programs, in addition to portion Affix one's name to load-balanced server 400 and multiple application servers 300;The load-balanced server 400 comes from for reception The connection request that the data transmission module 201 of multiple equipment 200 is sent, response receive the number of some equipment 200 The connection request sent according to transport module 201, an application server 300 is determined according to polling schemas, in the company sent Connect to establish between the data transmission module 201 of request and the application server 300 determined according to polling schemas and connect;It is described Polling schemas is one of them foundation connection of selection in turn successively from the multiple application server.
According to one embodiment of the present invention, deployment load-balanced server can use Nginx (engine x) reverse Proxy server.Nginx is the Reverse Proxy of a lightweight, is characterized in that committed memory is few, concurrent capability is strong.Still By taking air-conditioning as an example, first by air-conditioner set GPRS module connect Nginx Reverse Proxies, Nginx can according to configuration file, The connection request of unit GPRS module is forwarded in the DTU AM access modules of certain application server.Nginx is one and increased income Reverse proxy software, the reverse proxy of TCP connections can be supported.This software its own has the configuration file of one, configuration text The forwarding for specifying connection can be write in part.
GPRS module is to establish TCP (Transmission Control Protocol, transmission with application server communication Control protocol) connection.Because the quantity of equipment is relatively more, GPRS module may have up to ten thousand, and an application server is difficult to prop up Connection and the data of all GPRS modules are supportted and handle, so Nginx is needed to do load balancing, by individual GPRS modules up to ten thousand Connection is divided on more application servers, to alleviate the processing pressure of separate unit application server.Nginx can simultaneously respectively with GPRS module is established TCP with application server and connected, and the data that GPRS module is sent pass to application server by Nginx, should The data sent with server are also to pass to GPRS module by Nginx.
Here the load balancing of Nginx configurations is polling schemas.Fig. 4 is apparatus assembly program provided by the invention The schematic diagram that TCP connections are established by Nginx of maintaining method, system needs to dispose multiple application servers in practical application, Only illustrate polling schemas by taking 3 application servers as an example in figure.As shown in figure 4, such as:Nginx IP is A, there is 3 application clothes Device IP address of being engaged in is respectively B, C, D.All GPRS module linking objective IP address are all A, when GPRS module connects Nginx When, Nginx can select an application server in B, C, D according to polling schemas and establish connection.Such as the 1st When GPRS module is connected with Nginx, Nginx selections are established with server B to be connected, when the 2nd GPRS module is connected with Nginx When, Nginx can be established with server C and connected, and when the 3rd GPRS module is connected with Nginx, Nginx can establish with server D Connection, when the 4th GPRS module is connected with Nginx, Nginx can be established with server B and connected again, and by that analogy, every should Multiple GPRS modules can be connected with server.Said process by take turns polling schemas establish connection, by it is described receive come from The equipment type version information equilibrium of multiple equipment is forwarded to multiple application servers, to reach load balancing.
Referring to Fig. 1 and Fig. 3, according to a kind of embodiment of the maintaining method of present device component programs, in addition to:Portion The application server 300 of redaction is affixed one's name to, is set on the application server 300 of the redaction and described builds work automatically after renewal Journey module 301, the data resolution module 302 and/or the data access module 303;Response receives the data transfer The connection request that module 201 is sent, data transmission module 201 and the application of the redaction in the connection request sent Connection is established between server 300.
The mode that embodiment of above is issued using gray scale.Gray scale, which is issued, to be referred between B&W, can be smooth A kind of published method of transition.Gray scale, which is issued, can ensure the stabilization of total system, when initial gray can find, Adjustment problem, to ensure its disturbance degree.By the way of gray scale issue, server program or type and version component are updated not Need to restart server.
Specifically, on the one hand, when needing to update application server programs, can first dispose answering for some redactions With server program, Nginx configuration file is then changed, the application server of redaction is pointed into the connection of GPRS module. At this moment, the module of former connection server, legacy server is still connected in the case where not disconnecting, reconnects server Module is attached on the application server of redaction by Nginx forwarding.Again through after a period of time, due to equipment The reason such as GPRS module power-off or signal fluctuation, all GPRS modules can all be connected to answering for redaction after disconnecting reconnection With on server, then at this moment the application server of legacy version can be removed, complete the smooth upgrade of server program, and be not required to Restart server, also do not interfere with the experience of user.
Referring to Fig. 4, in terms of the gray scale issue of server program, originally Nginx connections are B, C, D application server. Server program E, F, G (not shown) that can be newly disposed during renewal after 3 modification renewals, change Nginx configuration text Part, allow module connection by B, C, D be changed to connect E, F, G, then the module reconnected can be connected to after Nginx is selected E, F, One in G, that is, the renewal for completing server program comes into force, while also without restarting server.
On the other hand, when needing more new architecture and version component, it can first compile and generate new type or version component Shared library file, is then added in component server by shared library file, and changes type or edition configuration file, refers to it To newest shared library file path address.At this moment, when module needs to re-call shared file storehouse, will be by modification after Configuration file, call to latest edition type or version component shared library, without restarting server.
Technical scheme provided by the invention realizes quick modification, renewal, the upgrading of application server component.This hair The technical scheme of bright offer is to extract the component code on all application servers to be put into component server, with dynamic The mode of chained library is supplied to application server to call, no matter application server increases to how many, all only needs to change this 1 part The component of various types and various versions can make all application servers all come into force, and reach component and quickly upgrade, soon The effect of fast iteration.
Another aspect of the present invention provides a kind of maintenance system of apparatus assembly program again.Referring to Fig. 1-Fig. 3, the present invention The maintenance system of apparatus assembly program includes:Component server 100, for storage device component programs, the apparatus assembly journey Sequence includes the type configuration file and edition configuration file of equipment;The type configuration file includes machine corresponding with each type Type component programs, the edition configuration file include version component program corresponding with each version of each type;It is described to set Type configuration file and the edition configuration file for obtaining the equipment from the component server 100 for 200 are described to realize The maintenance of apparatus assembly program.
According to a kind of embodiment of the maintenance system of present device component programs, in addition to:Set in the equipment 200 Data transmission module 201 is equipped with, the equipment 200 sends connection request by the data transmission module 201, is connected establishing Equipment type version information is sent afterwards, and the apparatus assembly program is obtained according to the equipment type version information of the transmission;Institute Stating equipment type version information includes type ID and version number.
According to a kind of embodiment of the maintenance system of present device component programs, in addition to:Application server 300, It is provided with the application server 300 and builds engineering module 301 and data resolution module 302 automatically;It is described to build engineering automatically Module 301, which is used to respond, receives the equipment type version information that the data transmission module is sent, from it is described receive set The type ID is obtained in standby host type version information, is obtained and the type from the component server according to the type ID The type configuration file of equipment corresponding to ID, realize the automatic foundation of the type engineering;The data resolution module 302 is used to ring The equipment type version information that the data transmission module is sent should be received, from the equipment type version information received It is middle to obtain the version number, equipment corresponding with the version number is obtained from the component server according to the version number Edition configuration file, realize the parsing of the edition data.
According to a kind of embodiment of the maintenance system of present device component programs, in addition to the application server Data access module 303 is provided with 300, the data access module 303 is used to establish with the data transmission module 201 After connection, the equipment type version information that the data transmission module 201 is sent is received, and by the equipment machine received This information transmission of stencilling builds engineering module 301 and the data resolution module 302 automatically to described.
According to a kind of embodiment of the maintenance system of present device component programs, in addition to load-balanced server 400 and multiple application servers 300;The load-balanced server 400 is used to receive from described in multiple equipment 200 The connection request that data transmission module 201 is sent, the data transmission module 201 that response receives some equipment 200 are sent Connection request, an application server 300 is determined according to polling schemas, in the data transfer mould of the connection request sent Establish and connect between block 201 and the application server 300 determined according to polling schemas;The polling schemas is from described more One of them foundation connection of selection in turn successively in individual application server.
According to a kind of embodiment of the maintenance system of present device component programs, in addition to:To update the application Server program and the application server 300 of redaction disposed, are provided with more on the application server 300 of the redaction Described after new builds engineering module 301, the data resolution module 302 and/or the data access module 303 automatically;Response Receive the connection request that the data transmission module 201 is sent, the application server 300 of the redaction is sent with described Connection is established between the data transmission module 201 of connection request.
Another aspect of the present invention provides a kind of component server again, including:It is described for storage device component programs Apparatus assembly program includes the type configuration file and edition configuration file of equipment;The type configuration file includes and each machine Type component programs corresponding to type, the edition configuration file include version component journey corresponding with each version of each type Sequence;Response receives equipment type version information, there is provided is set described in corresponding with the equipment type version information received Slave component program.Technical scheme provided by the invention extracts the component code in the prior art on all application servers Come, be put into the component server specially set, be easy to manage concentratedly and safeguard, improve the development efficiency of version component.
Technical scheme provided by the invention can realize the centralized management and maintenance of version component, hot can update version component, Server need not be restarted during renewal, not only increases the development efficiency of version component, also greatly improves the use of user of service Family is experienced, and powerful guarantee is provided for the follow-up sustainable development of system.
Function described herein can be implemented in hardware, by the software of computing device, firmware or its any combinations. If implement in the software by computing device, then computer can be stored in using function as one or more instructions or code Transmitted on readable media or via computer-readable media.Other examples and embodiment will in of the invention and appended right Ask in the scope and spirit of book.For example, be attributed to the property of software, function described above can be used by processor, Hardware, firmware, hardwired appoint the software implementation that the combination of whichever performs in these.In addition, each functional unit can integrate In a processing unit or unit is individually physically present, can also two or more units be integrated in In one unit.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, as control fill The part put can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Embodiments of the invention are the foregoing is only, are not intended to limit the invention, for those skilled in the art For member, the present invention can have various modifications and variations.Any modification within the spirit and principles of the invention, being made, Equivalent substitution, improvement etc., should be included within scope of the presently claimed invention.

Claims (13)

  1. A kind of 1. maintaining method of apparatus assembly program, it is characterised in that including:
    Component server is disposed, for storage device component programs, the apparatus assembly program includes the type configuration text of equipment Part and edition configuration file;The type configuration file includes type component programs corresponding with each type, and the version is matched somebody with somebody Putting file includes version component program corresponding with each version of each type;
    The equipment obtains type configuration file and the edition configuration file of the equipment to realize from the component server The maintenance of the apparatus assembly program.
  2. 2. according to the method for claim 1, it is characterised in that also include:Data transmission module is set on said device, The equipment sends connection request by the data transmission module, sends equipment type version information, root upon establishment of a connection The apparatus assembly program is obtained according to the equipment type version information of the transmission;The equipment type version information includes type ID and version number.
  3. 3. according to the method for claim 2, it is characterised in that also include:
    Application deployment server, set in the application server and build engineering module and data parsing module automatically;
    It is described it is automatic build engineering module be used for respond receive the equipment type version information of the data transmission module transmission, from The type ID is obtained in the equipment type version information received, according to the type ID from the component server The type configuration file of equipment corresponding with the type ID is obtained, realizes the automatic foundation of the type engineering;
    The data resolution module, which is used to respond, receives the equipment type version information that the data transmission module is sent, from institute State in the equipment type version information received and obtain the version number, obtained according to the version number from the component server The edition configuration file of equipment corresponding with the version number is taken, realizes the parsing of the edition data.
  4. 4. according to the method for claim 3, it is characterised in that be additionally included in the application server and data access is set Module, the data access module are used for after connection is established with the data transmission module, receive the data transfer mould The equipment type version information that block is sent, and the equipment type version information received is sent to and described builds engineering automatically Module and the data resolution module.
  5. 5. the method according to claim 3 or 4, it is characterised in that also include deployment load-balanced server and multiple institutes State application server;The load-balanced server is used to receive the company that the data transmission module from multiple equipment is sent Request is connect, response receives the connection request that the data transmission module of some equipment is sent, and one is determined according to polling schemas Platform application server, taken in data transmission module and the application determined according to polling schemas of the connection request sent It is engaged in establishing connection between device;The polling schemas is one of them foundation of selection in turn successively from the multiple application server Connection.
  6. 6. according to the method any one of claim 3-5, it is characterised in that also include:
    The application server of redaction is disposed, is set on the application server of the redaction and described builds work automatically after renewal Journey module, the data resolution module and/or the data access module;
    Response receives the connection request that the data transmission module is sent, in the data transfer mould of the connection request sent Connection is established between block and the application server of the redaction.
  7. A kind of 7. maintenance system of apparatus assembly program, it is characterised in that including:
    Component server, for storage device component programs, the type configuration file of the apparatus assembly program including equipment and Edition configuration file;The type configuration file includes type component programs corresponding with each type, the version configuration text Part includes version component program corresponding with each version of each type;
    The equipment obtains type configuration file and the edition configuration file of the equipment to realize from the component server The maintenance of the apparatus assembly program.
  8. 8. system according to claim 7, it is characterised in that also include:Data transmission module is provided with the equipment, The equipment sends connection request by the data transmission module, sends equipment type version information, root upon establishment of a connection The apparatus assembly program is obtained according to the equipment type version information of the transmission;The equipment type version information includes type ID and version number.
  9. 9. system according to claim 8, it is characterised in that also include:
    Application server, it is provided with the application server and builds engineering module and data parsing module automatically;
    It is described it is automatic build engineering module be used for respond receive the equipment type version information of the data transmission module transmission, from The type ID is obtained in the equipment type version information received, according to the type ID from the component server The type configuration file of equipment corresponding with the type ID is obtained, realizes the automatic foundation of the type engineering;
    The data resolution module, which is used to respond, receives the equipment type version information that the data transmission module is sent, from institute State in the equipment type version information received and obtain the version number, obtained according to the version number from the component server The edition configuration file of equipment corresponding with the version number is taken, realizes the parsing of the edition data.
  10. 10. system according to claim 9, it is characterised in that also connect including being provided with data in the application server Enter module, the data access module is used for after connection is established with the data transmission module, receives the data transfer The equipment type version information that module is sent, and the equipment type version information received is sent to and described builds work automatically Journey module and the data resolution module.
  11. 11. the system according to claim 9 or 10, it is characterised in that also including load-balanced server and multiple described Application server;The load-balanced server is used to receive the connection that the data transmission module from multiple equipment is sent Request, response receive the connection request that the data transmission module of some equipment is sent, and one is determined according to polling schemas Application server, in data transmission module and the application service determined according to polling schemas of the connection request sent Connection is established between device;The polling schemas is that one of them foundation of selection connects in turn successively from the multiple application server Connect.
  12. 12. according to the system any one of claim 9-11, it is characterised in that also include:
    To update the application server for the redaction that the application server programs are disposed, in the application service of the redaction It is provided with device after renewal and described builds engineering module, the data resolution module and/or the data access module automatically;
    Response receives the connection request that the data transmission module is sent, and the application server of the redaction is sent with described Connection request data transmission module between establish connection.
  13. A kind of 13. component server, it is characterised in that including:
    For storage device component programs, the apparatus assembly program includes the type configuration file and version configuration text of equipment Part;The type configuration file includes type component programs corresponding with each type, the edition configuration file include with it is every Version component program corresponding to each version of individual type;
    Response receives equipment type version information, there is provided is set described in corresponding with the equipment type version information received Slave component program.
CN201710469587.4A 2017-06-20 2017-06-20 Maintenance method and system for equipment component program Active CN107357571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710469587.4A CN107357571B (en) 2017-06-20 2017-06-20 Maintenance method and system for equipment component program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710469587.4A CN107357571B (en) 2017-06-20 2017-06-20 Maintenance method and system for equipment component program

Publications (2)

Publication Number Publication Date
CN107357571A true CN107357571A (en) 2017-11-17
CN107357571B CN107357571B (en) 2020-06-30

Family

ID=60273871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710469587.4A Active CN107357571B (en) 2017-06-20 2017-06-20 Maintenance method and system for equipment component program

Country Status (1)

Country Link
CN (1) CN107357571B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832092A (en) * 2017-11-24 2018-03-23 四川长虹电器股份有限公司 Suitable for the software platform and processing method of individual demand
CN109285298A (en) * 2018-09-30 2019-01-29 苏州浪潮智能软件有限公司 A kind of method for remote updating applied to bank self-help system
CN110795398A (en) * 2019-08-29 2020-02-14 连连银通电子支付有限公司 Model file calling system and method
CN111045721A (en) * 2019-10-29 2020-04-21 平安科技(深圳)有限公司 Method, device and storage medium for dynamically modifying Nginx configuration parameters
CN111324373A (en) * 2018-12-13 2020-06-23 北京奇虎科技有限公司 Method and device for uploading multiple project files to code warehouse and computing equipment
CN111580857A (en) * 2020-04-27 2020-08-25 珠海格力电器股份有限公司 Equipment firmware online configuration method, device and system
CN111970140A (en) * 2020-06-28 2020-11-20 格创东智(深圳)科技有限公司 Real-time processing method and system based on hot update
CN112068871A (en) * 2020-08-12 2020-12-11 海信集团有限公司 Electronic device and application management method
CN112732291A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1178402A1 (en) * 2000-08-03 2002-02-06 Hsing Tech Enterprises Co., Ltd. Method and apparatus for actively updating program file(s) of a client computer
US20060271914A1 (en) * 2005-05-27 2006-11-30 Niraj Gopal Method for supporting new network element software versions in an element management system without upgrading
CN101384057A (en) * 2008-08-29 2009-03-11 宇龙计算机通信科技(深圳)有限公司 Diagnosis method, apparatus and system for mobile terminal software
CN101512486A (en) * 2006-08-29 2009-08-19 皇家飞利浦电子股份有限公司 Method and device for upgrading software in a consumer product
CN102271327A (en) * 2011-08-30 2011-12-07 大唐移动通信设备有限公司 Method and equipment for indicating software version updating
CN103455343A (en) * 2013-07-22 2013-12-18 小米科技有限责任公司 Method and device for updating application programs

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1178402A1 (en) * 2000-08-03 2002-02-06 Hsing Tech Enterprises Co., Ltd. Method and apparatus for actively updating program file(s) of a client computer
US20060271914A1 (en) * 2005-05-27 2006-11-30 Niraj Gopal Method for supporting new network element software versions in an element management system without upgrading
CN101512486A (en) * 2006-08-29 2009-08-19 皇家飞利浦电子股份有限公司 Method and device for upgrading software in a consumer product
CN101384057A (en) * 2008-08-29 2009-03-11 宇龙计算机通信科技(深圳)有限公司 Diagnosis method, apparatus and system for mobile terminal software
CN102271327A (en) * 2011-08-30 2011-12-07 大唐移动通信设备有限公司 Method and equipment for indicating software version updating
CN103455343A (en) * 2013-07-22 2013-12-18 小米科技有限责任公司 Method and device for updating application programs

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832092A (en) * 2017-11-24 2018-03-23 四川长虹电器股份有限公司 Suitable for the software platform and processing method of individual demand
CN109285298A (en) * 2018-09-30 2019-01-29 苏州浪潮智能软件有限公司 A kind of method for remote updating applied to bank self-help system
CN111324373A (en) * 2018-12-13 2020-06-23 北京奇虎科技有限公司 Method and device for uploading multiple project files to code warehouse and computing equipment
CN111324373B (en) * 2018-12-13 2023-12-05 北京奇虎科技有限公司 Method and device for sub-coding warehouse on multiple engineering files and computing equipment
CN110795398A (en) * 2019-08-29 2020-02-14 连连银通电子支付有限公司 Model file calling system and method
CN111045721A (en) * 2019-10-29 2020-04-21 平安科技(深圳)有限公司 Method, device and storage medium for dynamically modifying Nginx configuration parameters
CN111045721B (en) * 2019-10-29 2023-08-18 平安科技(深圳)有限公司 Method, device and storage medium for dynamically modifying Nginx configuration parameters
CN111580857B (en) * 2020-04-27 2021-10-19 珠海格力电器股份有限公司 Equipment firmware online configuration method, device and system
CN111580857A (en) * 2020-04-27 2020-08-25 珠海格力电器股份有限公司 Equipment firmware online configuration method, device and system
CN111970140A (en) * 2020-06-28 2020-11-20 格创东智(深圳)科技有限公司 Real-time processing method and system based on hot update
CN111970140B (en) * 2020-06-28 2023-06-27 格创东智(深圳)科技有限公司 Real-time processing method and system based on thermal update
CN112068871B (en) * 2020-08-12 2021-09-14 海信集团有限公司 Electronic device and application management method
CN112068871A (en) * 2020-08-12 2020-12-11 海信集团有限公司 Electronic device and application management method
CN112732291A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device
CN112732291B (en) * 2020-12-29 2024-03-22 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN107357571B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN107357571A (en) Maintaining method, system and the component server of apparatus assembly program
CN1499395B (en) Service appts. integration
CN102185718B (en) System upgrading method and device
CN107395729A (en) A kind of consumption system of message queue, method and device
CN100547545C (en) The method and system that is used for the application fractionation of network edge calculating
CN102710593B (en) Method, device and system for publishing message in graph mashup
CN105791344A (en) Grayscale release service processing method, system, load balancer and service bus device
CN102880475A (en) Real-time event handling system and method based on cloud computing in computer software system
CN102377817A (en) Connection management system, and a method for linking connection management server in thin client system
CN101615270B (en) B/S model-based workflow analysis and presence system and method
CN103414579A (en) Cross-platform monitoring system applicable to cloud computing and monitoring method thereof
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN103139157A (en) Network communication method based on socket, device and system
CN105208047A (en) Online and off line methods of distributed system server, and server
CN108667639A (en) A kind of method for managing resource under privately owned cloud environment and management server
US20070162604A1 (en) Information processing method, information processing device, and program
CN106357791A (en) Method, device and system for processing services
CN103246547A (en) Remote object calling method and system
CN112199353A (en) Data processing method and electric power customer service platform
CN110019539A (en) A kind of method and apparatus that the data of data warehouse are synchronous
CN111147308A (en) Network management method and system based on micro-service architecture
CN101895531A (en) Client equipment, multimedia data unloading system and unloading method
CN104219280A (en) Intelligent application data transmission channel
JP2005148895A (en) Remote supervisory system, remote supervisory method for electronic apparatus, subordinate supervisory device, notification method for apparatus supervisory information, host supervisory device, communication method for maintenance data, program and recording medium
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit

Legal Events

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