CN112905216A - Remote fixed-point program updating method and system - Google Patents

Remote fixed-point program updating method and system Download PDF

Info

Publication number
CN112905216A
CN112905216A CN202110357378.7A CN202110357378A CN112905216A CN 112905216 A CN112905216 A CN 112905216A CN 202110357378 A CN202110357378 A CN 202110357378A CN 112905216 A CN112905216 A CN 112905216A
Authority
CN
China
Prior art keywords
updating
program
data frame
update
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110357378.7A
Other languages
Chinese (zh)
Inventor
吴德斌
鲍延杰
刘立强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dazhou Tianbao Jinhu Electronic Co Ltd
Huizhou Tianbao Chuang Neng Technology Co ltd
Original Assignee
Dazhou Tianbao Jinhu Electronic Co Ltd
Huizhou Tianbao Chuang Neng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dazhou Tianbao Jinhu Electronic Co Ltd, Huizhou Tianbao Chuang Neng Technology Co ltd filed Critical Dazhou Tianbao Jinhu Electronic Co Ltd
Priority to CN202110357378.7A priority Critical patent/CN112905216A/en
Publication of CN112905216A publication Critical patent/CN112905216A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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)

Abstract

The invention relates to the technical field of network communication, and provides a remote fixed-point program updating method and a remote fixed-point program updating system. The monitoring background can be distributed to all available clients after data processing at the first time when the program updating data is acquired, the system is suitable for all renewable products, is wide in applicability, can timely complete remote program updating of the available clients without sending personnel to follow up on site for a long time, and is high in interaction efficiency between the monitoring background and the available clients, so that the resource utilization rate is further improved.

Description

Remote fixed-point program updating method and system
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and a system for updating a remote fixed-point program.
Background
At present, the program is updated in two ways:
1. and the field updating can be divided into direct updating and external communication updating. The site update must arrive at the product site and perform a one-to-one program update, which requires a lot of manpower, material resources and time. The resources consumed by this program update approach are magnified geometrically, particularly when the product has been distributed to various areas.
2. Remote updating, which can only realize simultaneous program updating of similar products at present, and at most, can realize simultaneous updating of similar products in a certain area. Although the updating mode is quick, people do not need to go to the site, but the updating of all programs of the same type of products or the updating of all the same type of products in a specified area can only be realized.
If only some or a certain product of all products needs to be updated, the above updating modes cannot quickly update the product, and only can consume considerable manpower, material resources and time, and send workers to the site to update one by one.
Disclosure of Invention
The invention provides a remote fixed-point program updating method, which solves the technical problems that the existing remote updating technology of products is poor in flexibility and cannot carry out batch updating in a targeted manner.
In order to solve the above technical problems, the present invention provides a remote fixed-point program updating method, comprising the steps of:
s1, acquiring program updating data and the current updating range, and integrating to obtain an updating data frame;
s2, sending the update data frame to an available client;
s3, the available client side carries out updating matching according to the updating data frame;
and S4, when the matching is successful, confirming that the available client meets the updating condition, and updating the program according to the updating data frame.
In further embodiments, the step S1 includes:
s11, uploading the program updating data and the updating range to a monitoring background;
and S12, the monitoring background integrates the program updating data and the current updating range to obtain an updating data frame.
The basic scheme is that the updating range is input in advance according to program updating data, an updating data frame is obtained after data integration is carried out through a monitoring background, the updating data frame can be directly distributed to all available clients, the available clients carry out updating matching operation, whether updating conditions are met or not is judged automatically, and then program updating is carried out directly according to the updating data frame when updating is determined to be needed. The monitoring background can be distributed to all available clients after data processing at the first time when the program updating data is acquired, the system is suitable for all renewable products, is wide in applicability, can timely complete remote program updating of the available clients without sending personnel to follow up on site for a long time, and is high in interaction efficiency between the monitoring background and the available clients, so that the resource utilization rate is further improved.
In further embodiments, the step S2 includes:
s21, the monitoring background sends the update data frame to all available clients in a wireless transmission mode;
and S22, the available client converts the update data frame into a recognizable format according to a preset rule.
In a further embodiment, the step S3 specifically includes: and the available client reads the updating range from the updating data frame and matches the updating range with a prestored unique product identification code.
The scheme utilizes the uniqueness of the unique identification code of the product to design the unique identification code as a matching mark to be directly matched with the current updating range, and can quickly determine whether the current available client is in the current program updating range.
In further embodiments, the step S4 includes:
s41, when the matching is successful, confirming that the available client side meets the updating condition;
and S42, extracting the program updating data from the updating data frame and replacing the old running program.
In a further embodiment, the updating range includes unique identification codes of all products to be updated;
the available clients are all product clients in communication connection with the monitoring background.
According to the scheme, the updating range is generated according to the unique identification codes of all products needing to be updated according to all product clients in communication connection with the monitoring background, so that only direct matching is needed in the updating range, whether the current product client meets the updating condition can be determined according to whether the matching is successful, the data size of the updating range is small, the positioning is accurate, and the quick positioning and updating of the product clients can be assisted.
The invention provides a remote fixed-point program updating system which is used for realizing the remote fixed-point program updating method and comprises a communication connection monitoring background and at least one product client; the product client comprises a control module and a communication module;
the monitoring background is used for acquiring program updating data and the updating range, integrating to obtain an updating data frame and sending the updating data frame to the communication module of the product client;
the communication module is used for receiving the update data frame in the wireless transmission format and converting the update data frame into an identifiable format corresponding to the control module;
and the control module is used for carrying out updating matching according to the updating data frame and carrying out program updating when the matching is successful.
The basic scheme integrates program updating data and the current updating range in the monitoring background to obtain the updating data frame, and the updating data frame is distributed to each product client side together, so that the data interaction times are few, and the interaction efficiency is high; the method has the advantages that the simple communication module and the simple control module in the product client are utilized to respectively realize the establishment of the communication link with the monitoring background and the judgment of the self program updating, namely the updating judgment is completed locally at the product client, so that the program updating data can be directly processed as required, the updating operation can be completed in time and at one time, the remote updating efficiency is high, the dispatching personnel are not required to follow the site for a long time, and the updating cost is lower.
In a further embodiment, the control module comprises a data processing module and a first storage module and a second storage module connected with the data processing module;
the data processing module is used for analyzing the update data frame with the identifiable format to obtain the program update data and the current update range;
the first storage module is used for storing the product unique identification code of the product client;
the data processing module is used for acquiring the unique identification code of the product and matching the unique identification code with the updating range;
the second storage module is used for storing an operation program;
and the data processing module is also used for determining that an updating condition is met when the matching is successful, and replacing the running program in the second storage module with the program updating data.
The scheme utilizes the existing data processing module and two divided storage areas (a first storage module and a second storage module) to establish an updating judgment mechanism, stores the product unique identification code of a product client in the first storage module in advance, stores an operation program in the second storage module, can directly call the product unique identification code for matching when the data processing module extracts the updating range from an updating data frame, and directly determines whether the updating condition is met or not according to the success or not of matching; when the updating condition is determined to be met, the program updating data is directly used for replacing the running program in the second storage module, and then the updating judgment and the program updating operation can be quickly completed.
In a further implementation, the communication module includes a transparent data module, and a wireless communication port and a connection communication port connected to the transparent data module, and the wireless communication port and the connection communication port are respectively connected to the monitoring background and the data processing module.
The communication module with the transparent data transmission module as the core is connected with the remote monitoring platform and the nearby product client, the data length and the content sent by the monitoring platform and received by the product client are completely consistent by utilizing transparent transmission, data do not need to be processed at all, and the data transmission efficiency can be improved.
In a further embodiment, the update scope includes unique identifiers of all products to be updated.
Drawings
Fig. 1 is a flowchart of a remote fixed-point program updating method according to embodiment 1 of the present invention;
fig. 2 is a system framework diagram of a remote fixed-point program update system according to embodiment 2 of the present invention.
Fig. 3 is a schematic diagram of the operation of the product client according to embodiment 2 of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, which are given solely for the purpose of illustration and are not to be construed as limitations of the invention, including the drawings which are incorporated herein by reference and for illustration only and are not to be construed as limitations of the invention, since many variations thereof are possible without departing from the spirit and scope of the invention.
Example 1
As shown in fig. 1, the method for updating a remote fixed-point program according to an embodiment of the present invention includes:
s1, acquiring program updating data and the updating range, and integrating to obtain an updating data frame, including steps S11-S12:
s11, uploading the program updating data and the updating range to a monitoring background;
and S12, integrating the program update data and the current update range by the monitoring background to obtain an update data frame.
In this embodiment, the update range includes unique identification codes of all products that need to be updated.
S2, sending the update data frame to the available client, including steps S21-S22:
s21, the monitoring background sends the update data frame to all available clients in a wireless transmission mode;
and S22, converting the update data frame into a recognizable format by the available client according to a preset rule.
In this embodiment, the available clients are all product clients in communication connection with the monitoring background.
According to the method and the device, the updating range is generated according to the unique identification codes of all products needing to be updated according to all product clients in communication connection with the monitoring background, so that only direct matching is needed in the updating range, whether the current product client meets the updating conditions or not can be determined according to whether the matching is successful or not, the data size of the updating range is small, the positioning is accurate, and the quick positioning and updating of the product clients can be assisted.
S3, the available client performs update matching according to the update data frame, specifically: and reading the updating range from the updating data frame by using the client, and matching the updating range with the unique identification code of the prestored product.
In the embodiment, the uniqueness of the product unique identification code is utilized and designed as the matching mark to be directly matched with the current updating range, so that whether the current available client is in the current program updating range can be quickly determined.
S4, when the matching is successful, confirming that the available client side meets the updating condition, and updating the program according to the updating data frame, wherein the method comprises the following steps of S41-S42:
s41, when the matching is successful, confirming that the available client side meets the updating condition;
and S42, extracting the program updating data from the updating data frame and replacing the old running program.
According to the embodiment of the invention, the updating range is input in advance according to the program updating data, the updating data frame is obtained after data integration is carried out through the monitoring background, the updating data frame can be directly distributed to all available clients, the available clients carry out updating matching operation, whether the updating condition is met or not is automatically judged, and then the program updating is directly carried out according to the updating data frame when the updating requirement is determined. The monitoring background can be distributed to all available clients after data processing at the first time when the program updating data is acquired, the system is suitable for all renewable products, is wide in applicability, can timely complete remote program updating of the available clients without sending personnel to follow up on site for a long time, and is high in interaction efficiency between the monitoring background and the available clients, so that the resource utilization rate is further improved.
Example 2
In an embodiment of the present invention, the reference numerals include: the system comprises a monitoring background 1, a product client 2, a control module 21, a data processing module 211, a first storage module 212 and a second storage module 213; the communication module 22, a transparent transmission data module 221, a wireless communication port 222 and a connection communication port 223.
Referring to fig. 2, the present invention provides a remote fixed-point program updating system, which is used to implement the remote fixed-point program updating method of embodiment 1, and includes a communication connection monitoring background 1 and at least one product client 2; the product client 2 comprises a control module 21 and a communication module 22;
the monitoring background 1 is used for acquiring program updating data and the current updating range, integrating to obtain an updating data frame and sending the updating data frame to the communication module 22 of the product client 2;
the communication module 22 is configured to receive the update data frame in the wireless transmission format and convert the update data frame into an identifiable format corresponding to the control module 21;
in the present embodiment, the communication module 22 includes, but is not limited to, a wifi module, a GPRS module.
The control module 21 is configured to perform update matching according to the update data frame, and perform program update when the matching is successful.
In this embodiment, the control module 21 includes a data processing module 211, and a first storage module 212 and a second storage module 213 connected thereto;
the data processing module 211 is configured to parse the update data frame with the identifiable format to obtain program update data and a current update range;
the first storage module 212 is used for storing the product unique identification code of the product client 2;
the data processing module 211 is configured to obtain a unique product identification code and match the unique product identification code with the current update range;
the second storage module 213 is used for storing the running program;
the data processing module 211 is further configured to determine that the update condition is satisfied when the matching is successful, and replace the running program in the second storage module 213 with the program update data.
In this embodiment, the first storage module 212 and the second storage module 213 are both flash storage spaces.
In this embodiment, an update determination mechanism is constructed by using the existing data processing module 211 and two divided storage areas (the first storage module 212 and the second storage module 213), the unique product identifier of the product client 2 is stored in the first storage module 212 in advance, the running program is stored in the second storage module 213, when the data processing module 211 extracts the update range from the update data frame, the unique product identifier can be directly called for matching, and whether the update condition is met is directly determined according to whether the matching is successful or not; when it is determined that the update condition is satisfied, the program update data is directly substituted for the running program in the second storage module 213, and the update determination and the program update operation can be completed quickly.
In this embodiment, the communication module 22 includes a transparent data module 221, and a wireless communication port 222 and a connection communication port 223 connected thereto, where the wireless communication port 222 and the connection communication port 223 are respectively connected to the monitoring background 1 and the data processing module 211.
In the embodiment, the communication module 22 with the transparent transmission data module 221 as a core is arranged to connect the remote monitoring platform and the product client 2 at a close place, so that the length and the content of data sent by the monitoring platform and received by the product client 2 are completely consistent by using transparent transmission, and the data transmission efficiency can be improved without any processing on the data.
In this embodiment, the update range includes unique identification codes of all products that need to be updated.
In this embodiment, the specific procedure updating process shown in fig. 1 and fig. 3 is as follows:
when the monitoring background 1 receives the program update data (i.e. the new program), the current update range is further obtained (which may be manually input by a worker or automatically obtained according to big data), the program update data and the current update range are fused into an update data frame, the update data frame is sent to the communication modules 22 of all available product clients 2 in a wireless transmission manner, and the update data frame is received to the transparent transmission data module 221 by the wireless communication port 222 and is output to the data processing module 211 by the connection communication port 223.
At this time, the data processing module 211 parses the update data frame, decomposes the program update data and the current update range, extracts the product unique identifier in the first storage module 212 according to a preset thread, matches the product unique identifier with the current update range, and when the matching fails, determines that the update condition is not met, and deletes or retains the program update data as log data (which is not limited herein, and can be set according to specific needs); when the matching is successful, it is determined that the update condition is satisfied, and the running program in the second storage module 213 is replaced with the program update data to complete the update.
According to the embodiment of the invention, the program updating data and the current updating range are integrated in the monitoring background 1 to obtain the updating data frame, and the updating data frame is distributed to each product client 2 together, so that the data interaction times are few, and the interaction efficiency is high; the simple communication module 22 and the control module 21 in the product client 2 are utilized to respectively realize the establishment of the communication link with the monitoring background 1 and the judgment of self program updating, namely the updating judgment is completed locally at the product client 2, so that the program updating data can be directly processed as required, the updating operation can be completed in time and at one time, the remote updating efficiency is high, no dispatching personnel is required to follow the site for a long time, and the updating cost is lower.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.

Claims (10)

1. A method for remote fixed point program update, comprising the steps of:
s1, acquiring program updating data and the current updating range, and integrating to obtain an updating data frame;
s2, sending the update data frame to an available client;
s3, the available client side carries out updating matching according to the updating data frame;
and S4, when the matching is successful, confirming that the available client meets the updating condition, and updating the program according to the updating data frame.
2. A remote fixed point program update method according to claim 1, wherein the step S1 includes:
s11, uploading the program updating data and the updating range to a monitoring background;
and S12, the monitoring background integrates the program updating data and the current updating range to obtain an updating data frame.
3. A remote fixed point program update method according to claim 1, wherein the step S2 includes:
s21, the monitoring background sends the update data frame to all available clients in a wireless transmission mode;
and S22, the available client converts the update data frame into a recognizable format according to a preset rule.
4. The method according to claim 1, wherein the step S3 specifically comprises: and the available client reads the updating range from the updating data frame and matches the updating range with a prestored unique product identification code.
5. A remote fixed point program update method according to claim 4, wherein said step S4 includes:
s41, when the matching is successful, confirming that the available client side meets the updating condition;
and S42, extracting the program updating data from the updating data frame and replacing the old running program.
6. A remote fixed-point program update method as defined in claim 1, wherein:
the updating range comprises the unique identification codes of all products needing to be updated;
the available clients are all product clients in communication connection with the monitoring background.
7. A remote fixed-point program update system for implementing a remote fixed-point program update method according to claims 1 to 6, comprising: the monitoring background and at least one product client are connected in a communication mode; the product client comprises a control module and a communication module;
the monitoring background is used for acquiring program updating data and the updating range, integrating to obtain an updating data frame and sending the updating data frame to the communication module of the product client;
the communication module is used for receiving the update data frame in the wireless transmission format and converting the update data frame into an identifiable format corresponding to the control module;
and the control module is used for carrying out updating matching according to the updating data frame and carrying out program updating when the matching is successful.
8. A remote fixed-point program update system as defined in claim 7, wherein: the control module comprises a data processing module, a first storage module and a second storage module which are connected with the data processing module;
the data processing module is used for analyzing the update data frame with the identifiable format to obtain the program update data and the current update range;
the first storage module is used for storing the product unique identification code of the product client;
the data processing module is used for acquiring the unique identification code of the product and matching the unique identification code with the updating range;
the second storage module is used for storing an operation program;
and the data processing module is also used for determining that an updating condition is met when the matching is successful, and replacing the running program in the second storage module with the program updating data.
9. A remote fixed-point program update system as defined in claim 8, wherein: the communication module comprises a transparent transmission data module, a wireless communication port and a connection communication port, wherein the wireless communication port and the connection communication port are connected with the transparent transmission data module, and the wireless communication port and the connection communication port are respectively connected with the monitoring background and the data processing module.
10. A remote fixed-point program update system as defined in claim 7, wherein: the updating range comprises the unique identification codes of all products needing to be updated.
CN202110357378.7A 2021-04-01 2021-04-01 Remote fixed-point program updating method and system Pending CN112905216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110357378.7A CN112905216A (en) 2021-04-01 2021-04-01 Remote fixed-point program updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110357378.7A CN112905216A (en) 2021-04-01 2021-04-01 Remote fixed-point program updating method and system

Publications (1)

Publication Number Publication Date
CN112905216A true CN112905216A (en) 2021-06-04

Family

ID=76109773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110357378.7A Pending CN112905216A (en) 2021-04-01 2021-04-01 Remote fixed-point program updating method and system

Country Status (1)

Country Link
CN (1) CN112905216A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046675A1 (en) * 1996-06-07 2003-03-06 William Cheng Automatic updating of diverse software products on multiple client computer systems
CN106708557A (en) * 2016-07-29 2017-05-24 腾讯科技(深圳)有限公司 Update processing method and device capable of aiming at terminal application
CN106775789A (en) * 2015-11-19 2017-05-31 中车大连电力牵引研发中心有限公司 Locomotive Oftware updating method, equipment and system
US20180143822A1 (en) * 2016-11-18 2018-05-24 Lenovo (Singapore) Pte. Ltd. Application update control
CN109002305A (en) * 2017-06-05 2018-12-14 深圳市海洋王照明工程有限公司 A kind of update method and its system of device program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046675A1 (en) * 1996-06-07 2003-03-06 William Cheng Automatic updating of diverse software products on multiple client computer systems
CN106775789A (en) * 2015-11-19 2017-05-31 中车大连电力牵引研发中心有限公司 Locomotive Oftware updating method, equipment and system
CN106708557A (en) * 2016-07-29 2017-05-24 腾讯科技(深圳)有限公司 Update processing method and device capable of aiming at terminal application
US20180143822A1 (en) * 2016-11-18 2018-05-24 Lenovo (Singapore) Pte. Ltd. Application update control
CN109002305A (en) * 2017-06-05 2018-12-14 深圳市海洋王照明工程有限公司 A kind of update method and its system of device program

Similar Documents

Publication Publication Date Title
CN109067617B (en) V2X protocol consistency test method, device and system
CN111031034A (en) Multi-protocol convergence edge computing gateway
CN111338814A (en) Message processing method and device, storage medium and electronic device
CN111683066A (en) Heterogeneous system integration method and device, computer equipment and storage medium
CN111478965A (en) Method, device and system for processing device shadow
CN105681113A (en) Automatic operation and maintenance method based on SaltStack
CN102622550B (en) Safe online patch check system facing terminal computers
CN101854623A (en) System and method for remote upgrade of M2M terminal
CN105180367A (en) Data transmitting method and system for air conditioner unit
CN113746714B (en) Communication method, communication system and communication device based on master station and slave station
CN114691398A (en) Rule-based fault analysis method, device, equipment and storage medium
CN112905216A (en) Remote fixed-point program updating method and system
CN111884938B (en) Router information acquisition method and device
CN113393342A (en) Building decoration project overall process management method and system
CN111240904A (en) Database backup method and device, electronic equipment and storage medium
CN109039427B (en) Ship monitoring management device
CN112150247A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN116260503B (en) Multi-station control data transmission system and method based on antenna equipment
KR101536350B1 (en) Self-management system of production resources based wired and wireless sensor network
CN116155720A (en) CAN data acquisition remote configuration method in T-BOX
CN113867220B (en) Sealed tank monitoring system and monitoring method thereof
CN102523567B (en) Data update method in telecommunication intelligent card, system thereof and telecommunication intelligent card
CN110716524B (en) WEB-based ESOP system
CN110012109B (en) Method for establishing engineering information capable of realizing high accuracy
CN110245032B (en) Intelligent home gateway terminal device based on MQTT and local authentication remote service method

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