CN106484471A - The loading method of program curing in a kind of communication module - Google Patents

The loading method of program curing in a kind of communication module Download PDF

Info

Publication number
CN106484471A
CN106484471A CN201610867922.1A CN201610867922A CN106484471A CN 106484471 A CN106484471 A CN 106484471A CN 201610867922 A CN201610867922 A CN 201610867922A CN 106484471 A CN106484471 A CN 106484471A
Authority
CN
China
Prior art keywords
program
communication module
storehouse
main program
cloud 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.)
Pending
Application number
CN201610867922.1A
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.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware 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 Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN201610867922.1A priority Critical patent/CN106484471A/en
Publication of CN106484471A publication Critical patent/CN106484471A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The present invention relates in a kind of communication module program curing loading method, it is characterised in that:Program curing in the communication module is classified into startup program, main program and operation and relies on three part of storehouse;Fixed storage portion startup program and main program first in the communication module;When the link between communication module connectivity device terminal and Cloud Server and when enabling, startup program reads main program and its version number first in local storage and runs main program, then main program obtains, to Cloud Server, the operation that is currently needed for and relies on storehouse and its version number, and will obtain the operation that is currently needed for from Cloud Server and rely on storehouse renewal and be loaded in the local storage of communication module and start;When the communication module is enabled next time, update operation and rely on storehouse.Compared with prior art, it is an advantage of the current invention that:Same communication module adapts to different device ends and Cloud Server agreement.

Description

The loading method of program curing in a kind of communication module
Technical field
The present invention relates in a kind of communication module program curing loading method.
Background technology
Internet of Things communication module refers to be applied to a kind of communication module of device end, the communication module in Internet of things system The data channel of device end and up-link is used as, conventional communication module type has Wifi module, Bluetooth mould at present Block (also referred to as bluetooth module), Zigbee module, RF module (also referred to as radio-frequency module) etc..Solidification path is loaded with these communication modules Sequence, these program curings are stored in the storage device of communication module (ROM, Flash etc.), start luck in communication module and exercise With.Internet of Things cloud platform producer and the agreement variation of device end producer, therefore need during communication module use different at present Program curing is being adapted to.When accessing different cloud platforms, terminal producer needs to write communication module and supports corresponding platform Program curing, can so increase the not convenient property of exploitation;When accessing multiple cloud platforms, program curing needs same to multiple platform protocol When be supported, can so cause program curing increase, need the jumbo storage device of communication module to support.
Content of the invention
The technical problem to be solved is to provide program curing in a kind of communication module for above-mentioned prior art Loading method, the method can program curing in dynamic load communication module according to the actual requirements, to adapt to different equipment ends End and Cloud Server agreement.
The present invention solves the technical scheme that adopted of above-mentioned technical problem:The loading of program curing in a kind of communication module Method, it is characterised in that:Program curing in the communication module is classified into startup program, main program and operation and relies on three, storehouse Point, wherein startup program is used for renewal and the loading that main program and operation rely on storehouse;Main program is used for realizing the base of communication module This function and communication function;Operation relies on storehouse is used for realizing the dissection process of device end and cloud platform agreement;
Fixed storage portion startup program and main program first in the communication module;
When the link between communication module connectivity device terminal and Cloud Server and when enabling, startup program is first local Main program and its version number being read in memory and running main program, then main program obtains the fortune being currently needed for Cloud Server Row relies on storehouse and its version number, and will obtain the operation that is currently needed for from Cloud Server and rely on storehouse renewal and be loaded into communication module In local storage and start;
When the communication module is enabled next time, startup program reads main program first in local storage and operation is relied on Storehouse and its corresponding version number, while running main program, then main program obtains the operation being currently needed for and relies on to Cloud Server Storehouse and its version number, if the local operation that reads relies on the version that the version number in storehouse and the operation acquired in Cloud Server rely on storehouse Number inconsistent, then new operation is asked for from startup program to Cloud Server rely on library file and update locally depositing for communication module In reservoir and start.
As improvement, when the link between communication module connectivity device terminal and Cloud Server and when enabling, startup program The version number of main program is have read in local storage, then obtains the version of the main program being currently needed for Cloud Server Number, if the version number of the local main program for reading is inconsistent with the version number of the main program acquired in Cloud Server, by starting Program is asked for new master program file to Cloud Server and updates in the local storage of communication module and start.
Improving, the startup program in program curing in communication module, main program and operation are being relied on this three difference of storehouse It is stored in the middle of the different subregions of communication module local storage, in order to practical operation.
Compared with prior art, it is an advantage of the current invention that:In the case that communication module is constant, it is only necessary to fixed storage A startup program and main program, for different terminal devices or cloud platform agreement, it is only necessary to the corresponding fortune of dynamic load Row relies on storehouse, so same communication module just can program curing in dynamic load communication module according to the actual requirements, to adapt to Different device ends and Cloud Server agreement.
Description of the drawings
Fig. 1 is the dynamic load general flow chart of program curing in communication module in the embodiment of the present invention.
Specific embodiment
The present invention is described in further detail below in conjunction with accompanying drawing embodiment.
The loading method of program curing in communication module in the present embodiment, first by program curing in the communication module Be classified into startup program, main program and operation and three part of storehouse is relied on, then communication module is stored respectively in by this three and locally deposits In the middle of the different subregions of reservoir;Shown in Figure 1, wherein startup program is used for main program and operation relies on the renewal in storehouse and adds Carry;Main program is used for realizing basic function and the communication function of communication module;Operation relies on storehouse to be used for realizing device end and cloud The dissection process of platform protocol;
Fixed storage portion startup program and main program first in the communication module;
When the link between communication module connectivity device terminal and Cloud Server and when enabling, startup program is first local Main program and its version number being read in memory and running main program, then main program obtains the fortune being currently needed for Cloud Server Row relies on storehouse and its version number, and will obtain the operation that is currently needed for from Cloud Server and rely on storehouse renewal and be loaded into communication module In local storage and start;
When the communication module is enabled next time, startup program reads main program first in local storage and operation is relied on Storehouse and its corresponding version number, while running main program, then main program obtains main program, the fortune being currently needed for Cloud Server Row relies on storehouse and its version number, if the local main program for reading and operation rely on the version number in storehouse and the master acquired in Cloud Server The version number that program and operation rely on storehouse is inconsistent, then ask for new main program from startup program to Cloud Server and operation is relied on Library file simultaneously in updating the local storage of communication module and starts.

Claims (3)

1. in a kind of communication module program curing loading method, it is characterised in that:Will by program curing in the communication module It is divided into startup program, main program and operation and three part of storehouse is relied on, wherein startup program is used for main program and operation relies on storehouse more New and loading;Main program is used for realizing basic function and the communication function of communication module;Operation relies on storehouse to be used for realizing equipment end End and the dissection process of cloud platform agreement;
Fixed storage portion startup program and main program first in the communication module;
When the link between communication module connectivity device terminal and Cloud Server and when enabling, startup program is first locally stored Read main program and its version number in device and run main program, then main program obtain to Cloud Server the operation that is currently needed for according to Bad storehouse and its version number, and by obtain from Cloud Server be currently needed for operation rely on storehouse update be loaded into the local of communication module In memory and start;
When the communication module is enabled next time, startup program reads main program first in local storage and operation rely on storehouse and Its corresponding version number, while run main program, then main program to Cloud Server obtain the operation that is currently needed for rely on storehouse and Its version number, if the version number that the version number in the local operation dependence storehouse that reads relies on storehouse with the operation acquired in Cloud Server is not Unanimously, then ask for new operation from startup program to Cloud Server to rely on library file and update the local storage of communication module In and start.
2. in communication module according to claim 1 program curing loading method, it is characterised in that:When communication module connects Link between logical device end and Cloud Server when enabling, startup program have read the version of main program in local storage This number, then obtain the version number of main program being currently needed for Cloud Server, if the version number of the local main program for reading with The version number of the main program acquired in Cloud Server is inconsistent, then ask for new master program file from startup program to Cloud Server And update in the local storage of communication module and start.
3. in communication module according to claim 1 program curing loading method, it is characterised in that:By in communication module Startup program, main program and operation in program curing relies on this three, storehouse and is stored respectively in communication module local storage not In the middle of subregion.
CN201610867922.1A 2016-09-30 2016-09-30 The loading method of program curing in a kind of communication module Pending CN106484471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610867922.1A CN106484471A (en) 2016-09-30 2016-09-30 The loading method of program curing in a kind of communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610867922.1A CN106484471A (en) 2016-09-30 2016-09-30 The loading method of program curing in a kind of communication module

Publications (1)

Publication Number Publication Date
CN106484471A true CN106484471A (en) 2017-03-08

Family

ID=58268134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610867922.1A Pending CN106484471A (en) 2016-09-30 2016-09-30 The loading method of program curing in a kind of communication module

Country Status (1)

Country Link
CN (1) CN106484471A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376082A (en) * 2018-01-10 2018-08-07 链家网(北京)科技有限公司 A kind of reference library method for updating edition and system
CN108833191A (en) * 2018-08-03 2018-11-16 云丁智能科技(北京)有限公司 Gateway configuration method and device
CN111124526A (en) * 2018-11-01 2020-05-08 北京奇虎科技有限公司 Dependency management method, dependency management device, storage medium and computer equipment
US11743336B2 (en) 2018-07-04 2023-08-29 Yunding Network Technology (Beijing) Co., Ltd. Method and system for operating an electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426077A (en) * 2008-12-05 2009-05-06 深圳创维-Rgb电子有限公司 Method for on-line updating television set software through Internet
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
CN102955702A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Method and device for installing and upgrading software
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method
CN104572169A (en) * 2014-09-10 2015-04-29 中电科技(北京)有限公司 Software distribution and installation system on basis of UEFI (Unified Extensible Firmware Interface)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426077A (en) * 2008-12-05 2009-05-06 深圳创维-Rgb电子有限公司 Method for on-line updating television set software through Internet
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
CN102955702A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Method and device for installing and upgrading software
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method
CN104572169A (en) * 2014-09-10 2015-04-29 中电科技(北京)有限公司 Software distribution and installation system on basis of UEFI (Unified Extensible Firmware Interface)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376082A (en) * 2018-01-10 2018-08-07 链家网(北京)科技有限公司 A kind of reference library method for updating edition and system
CN108376082B (en) * 2018-01-10 2021-09-17 贝壳找房(北京)科技有限公司 Reference library version updating method and system
US11743336B2 (en) 2018-07-04 2023-08-29 Yunding Network Technology (Beijing) Co., Ltd. Method and system for operating an electronic device
CN108833191A (en) * 2018-08-03 2018-11-16 云丁智能科技(北京)有限公司 Gateway configuration method and device
CN111124526A (en) * 2018-11-01 2020-05-08 北京奇虎科技有限公司 Dependency management method, dependency management device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN106484471A (en) The loading method of program curing in a kind of communication module
CN108055264A (en) Dispatching device, method and the computer readable storage medium of stream pushing server
CN105187475B (en) The method and system that data synchronize
CN104850301A (en) Method and system for classifying application icons on system desktop
CN105516367A (en) Distributed data storage system, method and device
CN103813295B (en) A kind of method and device for automatically configuring and updating APN parameter
CN102520948A (en) Application program maintenance and update method and device
CN111258587B (en) Android application plug-in implementation method, device, equipment and storage medium
CN105760184A (en) Method and device for loading component
CN111381858A (en) Application program upgrading method, server and terminal equipment
CN106970816B (en) Software upgrading processing method and device and audio playing equipment
CN104484206A (en) Method, terminal and system for setting up application program
CN106293782A (en) A kind of method for upgrading system and terminal
CN102375744B (en) Network television upgrade method
CN106209452A (en) It is applied to wireless downloading installation method and the system of smart machine
CN103092657A (en) Embedded device upgrade method based on peer-to-peer (P2P)
CN106066802A (en) A kind of method and apparatus loading MBN file
CN102063494A (en) Database synchronizing method and device
CN104092777A (en) Method and system for synchronously storing layout setting of clients in server
CN110990356A (en) Real-time automatic capacity expansion method and system for logical mirror image
US10300923B2 (en) Device for storing data in a motor vehicle
CN104598281A (en) Method for upgrading system of electronic device
CN107222341A (en) The method and electronic equipment updated for radio frequency protocol parameter
CN102932691A (en) Method and device for upgrading wireless fidelity (Wi-Fi) software of digital television terminal
CN104750167A (en) Configuration method and device of dynamic clock topological structure

Legal Events

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

Application publication date: 20170308