CN107357571B - Maintenance method and system for equipment component program - Google Patents

Maintenance method and system for equipment component program Download PDF

Info

Publication number
CN107357571B
CN107357571B CN201710469587.4A CN201710469587A CN107357571B CN 107357571 B CN107357571 B CN 107357571B CN 201710469587 A CN201710469587 A CN 201710469587A CN 107357571 B CN107357571 B CN 107357571B
Authority
CN
China
Prior art keywords
model
version
module
equipment
data transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710469587.4A
Other languages
Chinese (zh)
Other versions
CN107357571A (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

Images

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 invention provides a method and a system for maintaining a device component program and a component server. The maintenance method of the equipment component program comprises the following steps: the deployment component server is used for storing a device component program, and the device component program comprises a model configuration file and a version configuration file of a device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; and the equipment acquires the model configuration file and the version configuration file of the equipment from the component server so as to realize the maintenance of the equipment component program. The technical scheme provided by the invention can realize centralized management and maintenance of the version components, can thermally update the version components, does not need to restart the server during updating, not only improves the development efficiency of the version components, but also greatly improves the user experience of users, and provides powerful guarantee for the subsequent sustainable development of the system.

Description

Maintenance method and system for equipment component program
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for maintaining an equipment component program, and a component server.
Background
At present, a remote monitoring system of equipment can remotely collect and analyze operation data of the equipment, provide daily maintenance information of an equipment unit for a user in time, and give an alarm in time when the unit fails, so that the failure generation probability of the unit is effectively reduced and failure expansion is avoided. With the advent of the internet + big data era, the data value of a commercial central air conditioner is more and more emphasized, the types of models provided with a GPRS (General Packet Radio Service) module are more and more increased, and each model also comprises a plurality of program versions due to the upgrade of the program of the model. The delivered models have all program versions, so that the system can not only analyze the data of the latest version, but also be compatible with the data of the old version. However, the version component programs are stored on a plurality of application servers, as the monitored models are more and more, each model program version is updated continuously, system developers need to develop and update the version component programs on each application server along with the updating of the model program versions, and each updating needs to restart the server to enable the updating to be effective. As the monitored models are more and more, system developers have to frequently update component programs and restart servers, which not only causes the system developers to spend a lot of time maintaining a large number of continuously updated model version components, but also causes the monitoring personnel using the system to monitor frequently and interrupt, thereby seriously affecting user experience.
Disclosure of Invention
The main purpose of the present invention is to overcome the above-mentioned defects in the prior art, and provide a method, a system and a component server for maintaining a device component program, so as to solve the problems of low development efficiency of the device component program and service interruption caused by restarting the server.
One aspect of the present invention provides a method for maintaining a device component program, including: the deployment component server is used for storing a device component program, and the device component program comprises a model configuration file and a version configuration file of a device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; and the equipment acquires the model configuration file and the version configuration file of the equipment from the component server so as to realize the maintenance of the equipment component program.
Optionally, the method further comprises: setting a data transmission module on the equipment, sending a connection request by the equipment through the data transmission module, sending equipment model version information after connection is established, and acquiring the equipment component program according to the sent equipment model version information; the equipment model version information comprises a model ID and a version number.
Optionally, the method further comprises: deploying an application server, and setting an automatic engineering building module and a data analysis module in the application server; the automatic engineering building module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the model ID from the received equipment model version information, acquiring a model configuration file of equipment corresponding to the model ID from the component server according to the model ID, and realizing automatic building of the model engineering; the data analysis module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the version number from the received equipment model version information, and acquiring a version configuration file of the equipment corresponding to the version number from the component server according to the version number to realize the analysis of the version data.
Optionally, the method further includes setting a data access module in the application server, where the data access module is configured to receive the device model version information sent by the data transmission module after establishing connection with the data transmission module, and transmit the received device model version information to the automatic engineering building module and the data analysis module.
Optionally, the method further comprises deploying a load balancing server and a plurality of the application servers; the load balancing server is used for receiving connection requests sent by the data transmission modules of a plurality of devices, responding to the connection requests sent by the data transmission module of a certain device, determining an application server according to a polling strategy, and establishing connection between the data transmission module of the sent connection requests and the application server determined according to the polling strategy; the polling strategy is to select one of the application servers in turn to establish connection.
Optionally, the method further comprises: deploying a new version of application server, and setting the updated automatic engineering building module, the updated data analysis module and/or the updated data access module on the new version of application server; and responding to the received connection request sent by the data transmission module, and establishing connection between the data transmission module sending the connection request and the application server of the new version.
Another aspect of the present invention provides a maintenance system of a device component program, including: the component server is used for storing a device component program, and the device component program comprises a model configuration file and a version configuration file of the device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; and the equipment acquires the model configuration file and the version configuration file of the equipment from the component server so as to realize the maintenance of the equipment component program.
Optionally, the method further comprises: the equipment is provided with a data transmission module, the equipment sends a connection request through the data transmission module, sends equipment model version information after connection is established, and acquires the equipment component program according to the sent equipment model version information; the equipment model version information comprises a model ID and a version number.
Optionally, the method further comprises: the system comprises an application server, a data analysis module and a data processing module, wherein the application server is provided with an automatic engineering building module and the data analysis module; the automatic engineering building module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the model ID from the received equipment model version information, acquiring a model configuration file of equipment corresponding to the model ID from the component server according to the model ID, and realizing automatic building of the model engineering; the data analysis module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the version number from the received equipment model version information, and acquiring a version configuration file of the equipment corresponding to the version number from the component server according to the version number to realize the analysis of the version data.
Optionally, the application server is further provided with a data access module, and the data access module is configured to receive the device model version information sent by the data transmission module after establishing connection with the data transmission module, and transmit the received device model version information to the automatic engineering building module and the data analysis module.
Optionally, the system further comprises a load balancing server and a plurality of the application servers; the load balancing server is used for receiving connection requests sent by the data transmission modules of a plurality of devices, responding to the connection requests sent by the data transmission module of a certain device, determining an application server according to a polling strategy, and establishing connection between the data transmission module of the sent connection requests and the application server determined according to the polling strategy; the polling strategy is to select one of the application servers in turn to establish connection.
Optionally, the method further comprises: the application server of the new version is deployed for updating the application server program, and the updated automatic construction engineering module, the data analysis module and/or the data access module are/is arranged on the application server of the new version; and responding to the received connection request sent by the data transmission module, and establishing connection between the application server of the new version and the data transmission module of the sent connection request.
Yet another aspect of the present invention provides a component server, including: the device component program comprises a model configuration file and a version configuration file of the device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; and responding to the received equipment model version information, and providing the equipment component program corresponding to the received equipment model version information.
The technical scheme provided by the invention can realize centralized management and maintenance of the version components, can thermally update the version components, does not need to restart the server during updating, not only improves the development efficiency of the version components, but also greatly improves the user experience of users, and provides powerful guarantee for the subsequent sustainable development of the system.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a system deployment architecture diagram of a method for maintaining a device component program provided by the present invention;
FIG. 2 is a network topology diagram of a preferred embodiment of a method for maintaining a program of a device component provided by the present invention;
FIG. 3 is a flowchart of the method of maintaining a program for a device component provided by the present invention;
fig. 4 is a schematic diagram of establishing a TCP connection through nginn according to the maintenance method of the device component program provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a maintenance method of a device component program. Fig. 1 is a system deployment structure diagram of a maintenance method of a device component program provided by the present invention. The maintenance method of the equipment component program comprises the following steps: a deployment component server 100 for storing a device component program, the device component program including a model configuration file and a version configuration file of a device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; the device 200 obtains the model configuration file and the version configuration file of the device from the component server 100 to implement maintenance of the device component program.
In the prior art, individual model and version component codes of devices (such as air conditioners) are stored on a plurality of application servers. Each model is provided with a model component in the application server correspondingly, and the model component is mainly used for helping the application server to establish projects of the model; meanwhile, the controller program of each model is continuously updated, a new program version is available for each update, and the controller program version is changed from old to new in the project of shipment in time sequence. So in order to monitor all versions of the controller program, there is one version component for each model of different controller program versions in the application server. The version component is mainly used for analyzing unit data sent by a certain controller program version of a certain machine type. The device needs to access the application server to obtain the component code, and all the components and the application server program are written together and can be regarded as one program. When a new controller version program of a certain model is updated, a new version component needs to be correspondingly developed on each application server. And the server needs to be restarted to be effective after the modification is finished. The server is restarted each time, so that the connection is disconnected, monitoring personnel cannot receive data, and the user experience is poor.
The technical scheme provided by the invention extracts the component codes of each machine type and version in the original application server program, compiles the component codes into independent shared library files, and then adds the configuration files and puts the shared library files on an independent component server. So, the shared library file ends, and the required modules are dynamically loaded while the program is running. When the device accesses the application server, the application server obtains the component code from the component server. Therefore, system developers only need to maintain the model and version components on the server, all application server programs can take effect, one server is not needed to maintain the model and version components on all application servers, the development efficiency of the model and version components is greatly improved, and the development cost of the developers is reduced.
As shown in fig. 1, an embodiment of the method for maintaining the equipment component program according to the present invention further includes: setting a data transmission module 201 on the device 200, the device 200 sending a connection request through the data transmission module 201, sending device model version information after establishing a connection, and acquiring the device component program according to the sent device model version information; the equipment model version information comprises a model ID and a version number.
FIG. 2 is a network topology diagram of a preferred embodiment of a method for maintaining a program of a device component provided by the present invention; fig. 3 is a flowchart of a method for maintaining a device component program according to the present invention. Referring to fig. 1 and fig. 3, in one embodiment, the data transmission module performs data transmission by using GPRS technology, i.e., the illustrated GPRS module. GPRS is a short form of general packet radio service technology, is a Mobile data service available to GSM (Global System for Mobile Communication) Mobile phone users, and belongs to a data transmission technology in second-generation Mobile Communication. In this embodiment, each device is equipped with a GPRS module, which transmits data to the server via GPRS technology.
Referring to fig. 1 and 3, an embodiment of the method for maintaining the equipment component program according to the present invention further includes: deploying an application server 300, and setting an automatic engineering building module 301 and a data analysis module 302 in the application server 300; the automatic construction engineering module 301 is configured to respond to the received device model version information sent by the data transmission module, acquire the model ID from the received device model version information, acquire a model configuration file of a device corresponding to the model ID from the component server according to the model ID, and implement automatic construction of the model engineering; the data analysis module 302 is configured to respond to the received device model version information sent by the data transmission module, obtain the version number from the received device model version information, obtain a version configuration file of the device corresponding to the version number from the component server according to the version number, and implement analysis of the version data.
Specifically, the automatic engineering building module acquires a model ID from the group data, reads a model configuration file from the component server, finds a shared library file path address corresponding to the model ID from the configuration file, and calls a corresponding shared library according to the path address to realize automatic engineering building of the model; similarly, the data analysis module obtains the version number from the group data, then reads the version configuration file from the component server, finds the path address of the shared library file corresponding to the version number from the configuration file, and finally calls the corresponding shared library according to the path address to realize the analysis of the version group data.
Referring to fig. 1 and fig. 3, according to an embodiment of the method for maintaining the device component program of the present invention, a data access module 303 is further disposed in the application server 300, where the data access module 303 is configured to receive the device model version information sent by the data transmission module after establishing a connection with the data transmission module, and transmit the received device model version information to the automatic construction module and the data analysis module.
Specifically, the Data access module performs Data transmission through a Data Transfer Unit (DTU) device, that is, the DTU access module in the figure. The DTU is a wireless terminal device that is specially used to convert serial data into IP data or convert IP data into serial data and transmit the serial data through a wireless communication network. After the GPRS module is connected with the DTU access module, the GPRS module sends unit data to the DTU access module. The DTU access module sends the unit data to the automatic engineering building module and the data analysis module.
Referring to fig. 1 and fig. 3, according to an embodiment of the method for maintaining the device component program of the present invention, a load balancing server 400 and a plurality of the application servers 300 are deployed; the load balancing server 400 is configured to receive connection requests sent by the data transmission modules 201 of multiple devices 200, determine one application server 300 according to a polling policy in response to receiving a connection request sent by the data transmission module 201 of a certain device 200, and establish a connection between the data transmission module 201 of the sent connection request and the application server 300 determined according to the polling policy; the polling strategy is to select one of the application servers in turn to establish connection.
According to one embodiment of the invention, the deployment load balancing server may employ a nginnx (engine x) reverse proxy server. Nginx is a lightweight reverse proxy server and is characterized by small memory occupation and strong concurrency capability. Still taking an air conditioner as an example, the air conditioner unit GPRS module is connected to a nginn reverse proxy server, and the nginn forwards a connection request of the unit GPRS module to a DTU access module of an application server according to a configuration file. Nginx is an open source reverse proxy software that can support TCP connections. The software itself has a configuration file in which the forwarding of the specified connection can be written.
The GPRS module establishes a TCP (Transmission Control Protocol) connection in communication with the application server. Because the number of the devices is large, there may be tens of thousands of GPRS modules, and one application server is difficult to support and process the connections and data of all GPRS modules, a load balancing operation needs to be performed by the nginnx, and the connections of the tens of thousands of GPRS modules are spread over a plurality of application servers, so as to relieve the processing pressure of a single application server. The Nginx can simultaneously and respectively establish TCP connection with the GPRS module and the application server, data sent by the GPRS module is transmitted to the application server through the Nginx, and data sent by the application server is transmitted to the GPRS module through the Nginx.
Here the load balancing policy of the Nginx configuration is a polling policy. Fig. 4 is a schematic diagram of establishing a TCP connection through Nginx according to the method for maintaining a device component program provided by the present invention, where in an actual application, a system needs to deploy multiple application servers, and only 3 application servers are taken as an example in the diagram to illustrate a polling policy. As shown in fig. 4, for example: the IP of Nginx is a, and the IP addresses of 3 application servers are B, C, D. All GPRS modules have a connection destination IP address a, and when a GPRS module is connected to nginnx, nginnx selects B, C, D an application server according to a polling policy and establishes a connection with the application server. For example, when the 1 st GPRS module is connected to the Nginx, the Nginx selects to establish connection with the server B, when the 2 nd GPRS module is connected to the Nginx, the Nginx establishes connection with the server C, when the 3 rd GPRS module is connected to the Nginx, the Nginx establishes connection with the server D, when the 4 th GPRS module is connected to the Nginx, the Nginx establishes connection with the server B, and so on, each application server is connected to a plurality of GPRS modules. In the process, connection is established through a round polling strategy, and the received equipment model version information from the multiple equipment is transmitted to the multiple application servers in a balanced mode, so that load balance is achieved.
Referring to fig. 1 and 3, an embodiment of the method for maintaining the equipment component program according to the present invention further includes: deploying a new version of the application server 300, and setting the updated automatic engineering building module 301, the updated data analysis module 302 and/or the updated data access module 303 on the new version of the application server 300; in response to receiving the connection request sent by the data transmission module 201, a connection is established between the data transmission module 201 sending the connection request and the new version of the application server 300.
The above embodiment adopts a method of gradation distribution. Gray scale distribution refers to a distribution method that can smoothly transition between black and white. The stability of the whole system can be ensured by gray scale release, and problems can be found and adjusted in the initial gray scale so as to ensure the influence degree of the gray scale. By adopting the gray release mode, the server is not required to be restarted when the server program or the model and version components are updated.
Specifically, on one hand, when the application server program needs to be updated, some new versions of the application server program may be deployed first, and then the configuration file of the nginnx is modified to point the connection of the GPRS module to the new version of the application server. At this time, the module of the original connected server is still connected to the old server under the condition of not being disconnected, and the module of the reconnected server is connected to the application server of the new version through Nginx forwarding. After a period of time, due to reasons such as power failure or signal fluctuation of the GPRS module of the equipment, all the GPRS modules can be connected to the application server of the new version after being disconnected and reconnected, so that the application server of the old version can be removed, the smooth upgrade of the server program is completed, the server does not need to be restarted, and the user experience cannot be influenced.
Referring to fig. 4, in terms of gray scale distribution of the server program, initially the Nginx connection was B, C, D application servers. When updating, 3 modified updated server programs E, F, G (not shown in the figure) can be newly deployed, the configuration file of the Nginx is modified, the module connection is changed from B, C, D to E, F, G, and the reconnected module is connected to one of E, F, G after being selected by the Nginx, that is, the updating of the server programs is effective, and meanwhile, the server does not need to be restarted.
On the other hand, when the model and version components need to be updated, a new model or version component shared library file can be compiled and generated first, then the shared library file is added into the component server, and the model or version configuration file is modified to point to the path address of the latest shared library file. At this time, when the module needs to call the shared file library again, the module calls the model or version component shared library of the latest version through the modified configuration file without restarting the server.
The technical scheme provided by the invention realizes the rapid modification, updating and upgrading of the application server component. The technical scheme provided by the invention is that the component codes on all the application servers are extracted and placed into the component servers, and the component codes are provided for the application servers to be called in a dynamic link library mode, and no matter how many application servers are added, all the application servers can take effect only by modifying the components of 1 part of each machine type and each version, so that the effects of quick upgrading and updating of the components and quick iteration are achieved.
In another aspect of the invention, a system for maintaining a program of a device component is provided. Referring to fig. 1 to 3, the maintenance system of the device component program of the present invention includes: a component server 100 for storing a device component program including a model configuration file and a version configuration file of a device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; the device 200 obtains the model configuration file and the version configuration file of the device from the component server 100 to implement maintenance of the device component program.
An embodiment of the maintenance system of the device component program according to the present invention further comprises: the device 200 is provided with a data transmission module 201, the device 200 sends a connection request through the data transmission module 201, sends device model version information after connection is established, and acquires the device component program according to the sent device model version information; the equipment model version information comprises a model ID and a version number.
An embodiment of the maintenance system of the device component program according to the present invention further comprises: the system comprises an application server 300, wherein an automatic construction module 301 and a data analysis module 302 are arranged in the application server 300; the automatic construction engineering module 301 is configured to respond to the received device model version information sent by the data transmission module, acquire the model ID from the received device model version information, acquire a model configuration file of a device corresponding to the model ID from the component server according to the model ID, and implement automatic construction of the model engineering; the data analysis module 302 is configured to respond to the received device model version information sent by the data transmission module, obtain the version number from the received device model version information, obtain a version configuration file of the device corresponding to the version number from the component server according to the version number, and implement analysis of the version data.
According to an embodiment of the maintenance system of the device component program of the present invention, the application server 300 is further provided with a data access module 303, and the data access module 303 is configured to receive the device model version information sent by the data transmission module 201 after establishing a connection with the data transmission module 201, and transmit the received device model version information to the automatic construction module 301 and the data analysis module 302.
An embodiment of the system for maintaining a device component program according to the present invention further comprises a load balancing server 400 and a plurality of said application servers 300; the load balancing server 400 is configured to receive connection requests sent by the data transmission modules 201 of multiple devices 200, determine one application server 300 according to a polling policy in response to receiving a connection request sent by the data transmission module 201 of a certain device 200, and establish a connection between the data transmission module 201 of the sent connection request and the application server 300 determined according to the polling policy; the polling strategy is to select one of the application servers in turn to establish connection.
An embodiment of the maintenance system of the device component program according to the present invention further comprises: the application server 300 of the new version deployed for updating the application server program is provided with the updated automatic engineering building module 301, the updated data analysis module 302 and/or the updated data access module 303 on the application server 300 of the new version; in response to receiving the connection request sent by the data transmission module 201, the new version of the application server 300 establishes a connection with the data transmission module 201 that sent the connection request.
Yet another aspect of the present invention provides a component server, including: the device component program comprises a model configuration file and a version configuration file of the device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model; and responding to the received equipment model version information, and providing the equipment component program corresponding to the received equipment model version information. The technical scheme provided by the invention extracts the component codes on all the application servers in the prior art, and puts the component codes into the specially-arranged component server, thereby facilitating centralized management and maintenance and improving the development efficiency of the version components.
The technical scheme provided by the invention can realize centralized management and maintenance of the version components, can thermally update the version components, does not need to restart the server during updating, not only improves the development efficiency of the version components, but also greatly improves the user experience of users, and provides powerful guarantee for the subsequent sustainable development of the system.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A method for maintaining a device component program, comprising:
the deployment component server is used for storing a device component program, and the device component program comprises a model configuration file and a version configuration file of a device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model;
the equipment acquires the model configuration file and the version configuration file of the equipment from the component server so as to realize the maintenance of the equipment component program;
setting a data transmission module on the equipment, sending a connection request by the equipment through the data transmission module, sending equipment model version information after connection is established, and acquiring the equipment component program according to the sent equipment model version information; the equipment model version information comprises a model ID and a version number;
deploying an application server, and setting an automatic engineering building module and a data analysis module in the application server;
the automatic engineering building module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the model ID from the received equipment model version information, acquiring a model configuration file of equipment corresponding to the model ID from the component server according to the model ID, and realizing automatic building of the model engineering;
the data analysis module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the version number from the received equipment model version information, and acquiring a version configuration file of the equipment corresponding to the version number from the component server according to the version number to realize the analysis of the version data.
2. The method according to claim 1, further comprising setting a data access module in the application server, wherein the data access module is configured to receive device model version information sent by the data transmission module after establishing connection with the data transmission module, and transmit the received device model version information to the automatic engineering building module and the data analysis module.
3. The method of claim 2, further comprising deploying a load balancing server and a plurality of said application servers; the load balancing server is used for receiving connection requests sent by the data transmission modules of a plurality of devices, responding to the connection requests sent by the data transmission module of a certain device, determining an application server according to a polling strategy, and establishing connection between the data transmission module sending the connection requests and the application server determined according to the polling strategy; the polling strategy is to select one of the application servers in turn to establish connection.
4. The method as recited in claim 2, further comprising:
deploying a new version of application server, and setting the updated automatic engineering building module, the updated data analysis module and/or the updated data access module on the new version of application server;
and responding to the received connection request sent by the data transmission module, and establishing connection between the data transmission module sending the connection request and the new version application server.
5. The method of claim 3, further comprising:
deploying a new version of application server, and setting the updated automatic engineering building module, the updated data analysis module and/or the updated data access module on the new version of application server;
and responding to the received connection request sent by the data transmission module, and establishing connection between the data transmission module sending the connection request and the new version application server.
6. A system for maintaining a device component program, comprising:
the component server is used for storing a device component program, and the device component program comprises a model configuration file and a version configuration file of the device; the model configuration file comprises model component programs corresponding to various models, and the version configuration file comprises version component programs corresponding to various versions of each model;
the equipment acquires the model configuration file and the version configuration file of the equipment from the component server so as to realize the maintenance of the equipment component program;
the equipment is provided with a data transmission module, the equipment sends a connection request through the data transmission module, sends equipment model version information after connection is established, and acquires the equipment component program according to the sent equipment model version information; the equipment model version information comprises a model ID and a version number;
the system comprises an application server, a data analysis module and a data processing module, wherein the application server is provided with an automatic engineering building module and the data analysis module;
the automatic engineering building module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the model ID from the received equipment model version information, acquiring a model configuration file of equipment corresponding to the model ID from the component server according to the model ID, and realizing automatic building of the model engineering;
the data analysis module is used for responding to the received equipment model version information sent by the data transmission module, acquiring the version number from the received equipment model version information, and acquiring a version configuration file of the equipment corresponding to the version number from the component server according to the version number to realize the analysis of the version data.
7. The system according to claim 6, further comprising a data access module disposed in the application server, wherein the data access module is configured to receive the device model version information sent by the data transmission module after establishing connection with the data transmission module, and transmit the received device model version information to the automatic engineering building module and the data parsing module.
8. The system of claim 7, further comprising a load balancing server and a plurality of said application servers; the load balancing server is used for receiving connection requests sent by the data transmission modules of a plurality of devices, responding to the connection requests sent by the data transmission module of a certain device, determining an application server according to a polling strategy, and establishing connection between the data transmission module sending the connection requests and the application server determined according to the polling strategy; the polling strategy is to select one of the application servers in turn to establish connection.
9. The system of claim 7, further comprising:
the application server of the new version is deployed for updating the application server program, and the updated automatic construction engineering module, the data analysis module and/or the data access module are/is arranged on the application server of the new version;
and responding to the received connection request sent by the data transmission module, and establishing connection between the application server of the new version and the data transmission module sending the connection request.
10. The system of claim 8, further comprising:
the application server of the new version is deployed for updating the application server program, and the updated automatic construction engineering module, the data analysis module and/or the data access module are/is arranged on the application server of the new version;
and responding to the received connection request sent by the data transmission module, and establishing connection between the application server of the new version and the data transmission module sending the connection request.
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 CN107357571A (en) 2017-11-17
CN107357571B true 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)

Families Citing this family (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
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
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
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
CN112732291B (en) * 2020-12-29 2024-03-22 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (4)

* 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
US7926033B2 (en) * 2005-05-27 2011-04-12 Cisco Technology, Inc. Method for supporting new network element software versions in an element management system without upgrading
WO2008026139A2 (en) * 2006-08-29 2008-03-06 Koninklijke Philips Electronics N.V. Method and device for upgrading software in a consumer product
CN103455343A (en) * 2013-07-22 2013-12-18 小米科技有限责任公司 Method and device for updating application programs

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107357571A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN107357571B (en) Maintenance method and system for equipment component program
US10140112B2 (en) Update management system and update management method
WO2016149908A1 (en) Method for updating terminal system, terminal and system
CN110933137B (en) Data synchronization method, system, equipment and readable storage medium
CN108259215B (en) Equipment management method and device
CN110752943B (en) Distributed fault diagnosis system and method for power transmission line
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN107483297B (en) Active monitoring system and method for quality of service carried on embedded equipment
US20180152347A1 (en) Network Function Virtualisation
EP4066441B1 (en) Management of iot devices in wireless communication networks
US11636016B2 (en) Cloud simulation and validation system
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN106339273A (en) Application program restoration method, terminal and server
CN106911502A (en) A kind of upgrade method and system of intelligent home gateway equipment
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN105721203A (en) Upgrade processing method and device
JP2010251838A (en) Access gateway device, and session information duplication method in the same
CN111078238A (en) Centralized processing method and device for application configuration in container environment
JP2015529924A (en) How to establish a network socket with a data server
WO2017124741A1 (en) Method and device for synchronizing apparatus version
CN114553867A (en) Cloud-native cross-cloud network monitoring method and device and storage medium
WO2013037234A1 (en) Parameter receiving method and system
CN114565502A (en) GPU resource management method, scheduling method, device, electronic equipment and storage medium
CN111901395B (en) Multi-cluster switching method and device
CN109391982B (en) Information packet generation method, arrangement management method, network element and storage medium

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