CN108958764A - The application program update method, apparatus and household electrical appliance of household electrical appliance - Google Patents
The application program update method, apparatus and household electrical appliance of household electrical appliance Download PDFInfo
- Publication number
- CN108958764A CN108958764A CN201810587033.9A CN201810587033A CN108958764A CN 108958764 A CN108958764 A CN 108958764A CN 201810587033 A CN201810587033 A CN 201810587033A CN 108958764 A CN108958764 A CN 108958764A
- Authority
- CN
- China
- Prior art keywords
- storage
- application program
- new data
- electrical appliance
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
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 discloses the application program update method, apparatus and household electrical appliance of a kind of household electrical appliance, wherein this method comprises: module by wireless communication, the more new data for receiving the application program that cloud server issues, by the storage of more new data in the first storage region into storage unit;The identification information extracted in more new data is compared with the identification information of application program, when two identification informations are consistent, according to identification information, obtains the storage address of application program to be updated;The reading update data out of first storage region is updated the application program stored in the second storage region in storage unit using more new data.According to the method for the present invention, more new data and application program are stored respectively by two storage regions, so that the update of application program is more flexible and more safe and reliable, compatibility and high stability, and maintenance cost is greatly reduced, while making the maintenance in later period more convenient.
Description
Technical field
The present invention relates to program update method field, in particular to the application program update method of a kind of household electrical appliance, one
The application program update device and a kind of household electrical appliance of kind household electrical appliance.
Background technique
The frequency converter of impeller variable-frequency washing machine is mounted on the bottom of washing machine drum mostly in the related technology, as maintenance personal couple
When the software of frequency converter is updated, need that washing machine is inverted or is droped to the ground, it is easy to damage washing machine, and frequency converter
Software upgrading is more frequent, considerably increases maintenance cost.
And there is in the washing machine of part Wifi module at present, this kind of washing machine some has through mobile phone, plate etc.
Mobile terminal, the function that washing machine procedure is upgraded;However when upgrading specific to the software to frequency converter, due to upper
The presence for the problem of stating frequency converter installation site, the software upgrade problem of frequency converter is often still without can effectively be solved.Together
When, master control and frequency converter due to washing machine use different storage and control chip, if by the Wifi of washing machine into
Row still has compatibility to need to solve with the problem of stability when updating.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to propose a kind of method for updating program of household electrical appliance, to more new data and be answered respectively by two storage regions
It is stored with program, so that the update of application program is more flexible and more safe and reliable, compatibility and high stability, and
And can be effectively prevented from and household electrical appliance are damaged because updating software, maintenance cost is greatly reduced, while after making
The maintenance of phase is more convenient.
Second object of the present invention is to propose a kind of application program update device of household electrical appliance.
Third object of the present invention is to propose a kind of household electrical appliance.
Fourth object of the present invention is to propose a kind of electronic equipment.
5th purpose of the invention is to propose a kind of non-transitorycomputer readable storage medium.
To achieve the above object, first aspect present invention embodiment proposes a kind of method for updating program of household electrical appliance,
It include: that the more new data for the application program that cloud server issues is received, by institute by the wireless communication module on household electrical appliance
The storage of more new data is stated in the first storage region into storage unit;Identification information is extracted from the more new data;By institute
It states identification information to be compared with the identification information of the application program, when two identification informations are consistent, according to the mark
Information obtains the storage address of the application program to be updated;The more new data is read out of described first storage region,
Using the more new data and the storage address, to the application program stored in the second storage region in the storage unit
It is updated.
The method for updating program of household electrical appliance according to an embodiment of the present invention passes through the radio communication mold on household electrical appliance
Block, receives the more new data of application program that cloud server issues, and by the storage of more new data into storage unit the
In one storage region, and identification information is extracted from more new data, and by identification information and the identification information of application program into
Row compares, and when two identification informations are consistent, according to identification information, obtains the storage address of application program to be updated, and from
Reading update data in first storage region, using more new data and storage address, to the second storage region in storage unit
The application program of middle storage is updated.More new data and application program are stored up respectively by two storage regions as a result,
It deposits, so that the update of application program is more flexible and more safe and reliable, compatibility and high stability, and can be effectively
It avoids damaging household electrical appliance because updating software, greatly reduces maintenance cost, while making the maintenance in later period more
It is convenient.
In addition, the method for updating program of household electrical appliance according to the above embodiment of the present invention can also have it is following additional
Technical characteristic:
According to one embodiment of present invention, described using the more new data and the storage address, to the storage
The application program stored in the second storage region in unit is updated, comprising: according to the storage address, is navigated to described
First storage location of the application program in second storage region;It deletes described using journey in first storage location
The more new data is written in first storage location sequence.
According to one embodiment of present invention, described using the more new data and the storage address, to the storage
The application program stored in the second storage region in unit is updated, comprising: it is corresponding described to obtain the more new data
The module id of module to be updated in household electrical appliance;According to the module id of the module to be updated and the storage address,
Query Location is carried out in the application program, determines the corresponding program block of the module to be updated in second storage region
In the second storage location;Delete the described program block in second storage location, it will the more new data write-in described the
In two storage locations.
According to one embodiment of present invention, before the more new data from first storage region reading, also
It include: that the first check information of the more new data is generated according to the more new data received;From the more new data
Extract the second check information;First check information is compared with second check information, with determination described first
Check information is consistent with second check information.
According to one embodiment of present invention, before the more new data from first storage region reading, also
It include: the permission instruction message for receiving and allowing to update the application program on household electrical appliance.
According to one embodiment of present invention, described using the more new data, second in the storage unit is deposited
After the application program stored in storage area domain is updated, further includes: after the completion of the application program update, by the update
Data are deleted.
To achieve the above object, second aspect of the present invention embodiment proposes a kind of program renewing device of household electrical appliance,
It include: receiving module, for receiving the application program that cloud server issues by the wireless communication module on household electrical appliance
More new data, by more new data storage in the first storage region into storage unit;First authentication module is used for from institute
It states in more new data and extracts identification information, the identification information is compared with the identification information of the application program;It obtains
Module, for according to the identification information, obtaining the storage of the application program to be updated when two identification informations are consistent
Address;Update module utilizes the more new data and described for reading the more new data out of described first storage region
Storage address is updated the application program stored in the second storage region in the storage unit.
The application program update device of household electrical appliance according to an embodiment of the present invention, receiving module pass through on household electrical appliance
Wireless communication module receives the more new data for the application program that cloud server issues, and more new data is stored to storage unit
In the first storage region in, and identification information extracted from more new data by the first authentication module, by identification information with
The identification information of application program is compared, and by obtaining module when two identification informations are consistent, according to identification information, is obtained
The storage address of application program to be updated is taken, and passes through update module reading update data out of first storage region, benefit
With more new data and storage address, the application program stored in the second storage region in storage unit is updated.As a result,
More new data and application program are stored respectively by two storage regions so that the update of application program it is more flexible and
It is more safe and reliable, compatibility and high stability, and can be effectively prevented from and household electrical appliance are caused because updating software
Damage, greatly reduces maintenance cost, while making the maintenance in later period more convenient.
In addition, the application program update device of household electrical appliance according to the above embodiment of the present invention can also have it is following attached
The technical characteristic added:
According to one embodiment of present invention, the update module, comprising: the first positioning unit, for being deposited according to
Address is stored up, first storage location of the application program in second storage region is navigated to;First updating unit, is used for
The application program in first storage location is deleted, the more new data is written in first storage location.
According to one embodiment of present invention, the update module, comprising: mark acquiring unit, for obtain it is described more
The module id of module to be updated in the corresponding household electrical appliance of new data;Second positioning unit, for according to it is described to
The module id of update module and the storage address, carry out Query Location in the application program, determine described to be updated
Second storage location of the corresponding program block of module in second storage region;Second updating unit, it is described for deleting
The more new data is written in second storage location described program block in second storage location.
According to one embodiment of present invention, the application program update device of household electrical appliance further include: the second authentication module,
For before reading the more new data from first storage region, the more new data according to receiving to generate institute
The first check information for stating more new data extracts the second check information from the more new data, by first check information
It is compared with second check information, it is consistent with second check information with determination first check information.
According to one embodiment of present invention, the receiving module is also used to read described from first storage region
Before taking the more new data, the permission instruction message for allowing to update the application program on household electrical appliance is received.According to this hair
Bright one embodiment, the update module are also used to deposit second in the storage unit using the more new data
After the application program stored in storage area domain is updated, after the completion of the application program update, the more new data is deleted
It removes.
To achieve the above object, third aspect present invention embodiment proposes a kind of household electrical appliance, including the present invention second
The application program update device and storage unit for the household electrical appliance that aspect embodiment proposes, the storage unit include at least first
Storage region and the second storage region, wherein first storage region is for storing for updating application program to be updated
More new data, second storage region for store to the application program.
Household electrical appliance according to an embodiment of the present invention are passed through by the application program update device of above-mentioned household electrical appliance
Two storage regions respectively store more new data and application program, so that the update of application program is more flexible and more
Securely and reliably, compatibility and high stability, and can be effectively prevented from and household electrical appliance are damaged because updating software,
Maintenance cost is greatly reduced, while making the maintenance in later period more convenient.
To achieve the above object, fourth aspect present invention embodiment proposes a kind of electronic equipment, including memory, processing
Device;Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, with the application program update of the household electrical appliance proposed for realizing first aspect present invention embodiment
Method.
Electronic equipment according to an embodiment of the present invention is passed through by the application program update method of above-mentioned household electrical appliance
Two storage regions respectively store more new data and application program, so that the update of application program is more flexible and more
Securely and reliably, compatibility and high stability, and can be effectively prevented from and household electrical appliance are damaged because updating software,
Maintenance cost is greatly reduced, while making the maintenance in later period more convenient.
To achieve the above object, fifth aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium
Matter realizes the application program update side for the household electrical appliance that first aspect present invention embodiment proposes when the program is executed by processor
Method.
Non-transitorycomputer readable storage medium according to an embodiment of the present invention passes through the application of above-mentioned household electrical appliance
Method for updating program respectively stores more new data and application program by two storage regions, so that application program
More flexible and more safe and reliable, compatibility and high stability are updated, and can be effectively prevented from due to updating software
Household electrical appliance are damaged, maintenance cost is greatly reduced, while making the maintenance in later period more convenient.
Detailed description of the invention
Fig. 1 is the flow chart of the method for updating program of household electrical appliance according to an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of storage unit according to an embodiment of the invention;
Fig. 3 is the flow chart of the method for updating program of household electrical appliance according to an embodiment of the invention;
Fig. 4 is the flow chart of the method for updating program of household electrical appliance in accordance with another embodiment of the present invention;
Fig. 5 is the block diagram of the program renewing device of household electrical appliance according to an embodiment of the present invention;
Fig. 6 is the block diagram of the program renewing device of the household electrical appliance of embodiment according to a first aspect of the present invention;
Fig. 7 is the block diagram of the program renewing device of the household electrical appliance of embodiment according to a second aspect of the present invention;
Fig. 8 is the block diagram of the program renewing device of the household electrical appliance of embodiment according to a third aspect of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings method for updating program, the household electric of the household electrical appliance proposed according to embodiments of the present invention described
Application program update device, household electrical appliance, electronic equipment and the non-transitorycomputer readable storage medium of device.
Fig. 1 is the flow chart of the method for updating program of household electrical appliance according to an embodiment of the present invention.As shown in Figure 1, this hair
The method for updating program of the household electrical appliance of bright embodiment can comprise the following steps that
S1 receives the update number for the application program that cloud server issues by the wireless communication module on household electrical appliance
According to by the storage of more new data in the first storage region into storage unit.
S2 extracts identification information from more new data.
Wherein, identification information may include serial number or title of application program etc..
Identification information is compared by S3 with the identification information of application program, when two identification informations are consistent, according to mark
Know information, obtains the storage address of application program to be updated.
Specifically, it when being updated application program, needs first to judge to extract identification information from more new data and to more
Whether the identification information of new application program is consistent.For example, when the sequence for extracting application program from more new data is
01, and when the sequence of application program to be updated is also 01, it can determine whether to extract identification information and to be updated from more new data
The identification information of application program is consistent, i.e., the more new data can be updated application program to be updated, at this point, using this
More new data updates application program.
Further, in the embodiment of the present invention, pre-establish identification information and application program to be updated storage address it
Between mapping relations, can be existed according to the storage address of identification information-enquiry to the application program, i.e., application program to be updated
The storage address of ROM.Under normal circumstances, which includes initial address and end address.
Judging whether extraction identification information is consistent with the identification information of application program to be updated from more new data
When, the storage address of application program to be updated can be directly extracted from flag information.
S4, the reading update data out of first storage region, using more new data and storage address, in storage unit
The application program stored in second storage region is updated.
Specifically, as shown in Fig. 2, the process of the software code exploitation in household electrical appliance (such as impeller variable-frequency washing machine)
In, need to reserve area of space (the first memory block that program updates in ROM (Read-Only Memory, read-only memory)
Domain), i.e., one piece of fixed place is opened up in Flash ROM (Read-Only Memory, flash ROM) places far
The content for more new application that journey sends over cannot be put into the control routine of household electrical appliance in this partial region.Into
One step, the space region of storage application program, i.e. the second storage region are provided in ROM.For example, application program can be electricity
The control program of machine algorithm and peripheral hardware.
The programming file of the more fresh code of household electrical appliance can be uploaded to cloud server by engineer, when cloud server obtains
After getting more fresh code (more new data), more new data can be sent to household electrical appliance.Specifically, nothing is provided on household electrical appliance
Line communication module WiFi function, programming text needed for can receive the update software on cloud server by the wireless communication module
The data of part, the i.e. more new data of application program.For example, household electrical appliance are washing machine, it is provided on the frequency converter of washing machine
WiFi module can be accessed in internet by WiFi module, be transmitted to realize with the information of cloud server.
Further, which is passed through UART (Universal Asynchronous by WiFi module
Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) communication modes issue MCU (Micro Control Unit, it is micro-
Control unit), the more new data to be stored to the area of space reserving program into ROM and updating by MCU, i.e., in storage unit
The first storage region.Further, detect whether code update region has needed for updating software after chip powers on, after initialization
More new data can directly be jumped if code update region without more new data, illustrate to be not necessarily to be updated application program
To subsequent control program;If code update region there are the data of programming file, the update is read from code update region
Data, and after successfully reading the more new data, the application program of the second storage region kind storage is updated.
In the present embodiment, by online updating, it can be effectively prevented from and household electrical appliance are damaged because updating software,
Later period bring maintenance cost due to software upgrading is greatly reduced, while shortening the development cycle of household electrical appliance, so that after
The maintenance of phase is more convenient.And by the way that two storage regions, a storage more one storage application of new data are arranged in ROM
Program caches more new data by the first storage region, and update data is not recycled directly to carry out more to application program
New or covering, so that the update of application program is more flexible and more safe and reliable.
According to one embodiment of present invention, before the first storage region reading update data, further includes: according to reception
The more new data arrived generates the first check information of more new data;The second check information is extracted from more new data;By the first school
It tests information to be compared with the second check information, to determine that the first check information is consistent with the second check information.
That is, MCU after receiving more new data, is needed, to this, more new data is verified, to ensure to update number
According to accuracy, prevent from leading to program more kainogenesis mistake because artificial programming file mistake occurs.
Specifically, can according to the more new data received, generate more new data the first check information, and from update number
According to the second check information of middle extraction, and the first check information is compared with the second check information, to determine the first verification letter
Whether breath is consistent with the second check information, when the first check information is consistent with the second check information, can determine whether the more new data
Accurately.
For example, the data of programming file needed for can updating software according to what is received, calculate MD5 value, and will
The MD5 value is compared with the MD5 extracted from more new data, when two MD5 values are consistent, can determine whether needed for updating software
The data of programming file are accurate.
According to one embodiment of present invention, before the first storage region reading update data, further includes: receiving allows
Update the permission instruction message of application program on household electrical appliance.
Specifically, before the first storage region reading update data, can be received by the touch screen of household electrical appliance allows
Update the permission instruction message of application program on household electrical appliance.For example, it needs to carry out more in the application program of household electrical appliance
When new, the prompting message for needing to update the application program on household electrical appliance can be issued by the touch screen of household electrical appliance.Work as user
Confirm the prompting message, and click the confirmation on touch screen update button after, household electrical appliance can receive allow update household electric
The permission instruction message of application program on device, and the reading update data out of first storage region are right to utilize the more new data
The application program stored in the second storage region in storage unit is updated.It was determined due to increasing before the update
Journey, can be to avoid receiving the problem of directly automatically updating to application program after more new data.
In practical application, it can use more new data correspondence with program and carry out whole updating.One embodiment of the present of invention
A kind of application program progress using more new data and storage address, to storing in the second storage region in storage unit is provided
The method of update, as shown in figure 3, method includes the following steps:
S301 navigates to first storage location of the application program in the second storage region according to storage address.
According to flag information, application program to be updated is extracted after the storage address of ROM, accordingly, is deposited according to this
Address is stored up, the storage location of application program to be updated in ROM can be inquired, that is, navigate to application program in the second memory block
The first storage location in domain.
S302 deletes the application program in the first storage location, and more new data is written in the first storage location.
After navigating to the storage location of application program to be updated, application journey to be updated in the storage location can be deleted
Sequence, such as remove the data of application program to be updated in the storage location and the program of storage etc., and will more new data again
It is written in the storage location, to realize the update to former application program.
Further, in practical applications, it is possible to only to some module (such as impeller variable-frequency washing machine in household electrical appliance
In frequency converter software) be updated, therefore, another embodiment of the present invention provides another kinds using more new data and depositing
Address is stored up, to the method that the application program stored in the second storage region in storage unit is updated, as shown in figure 4, should
Method the following steps are included:
S401 obtains the module id of the module to be updated in the corresponding household electrical appliance of more new data.
Wherein, the module id of module to be updated may include title of more module, such as frequency converter, motor etc..
S402 carries out Query Location according to the module id and storage address of module to be updated in the application, determines
Second storage location of the corresponding program block of module to be updated in the second storage region.
Specifically, after the module id flag information for obtaining module to be updated, it may be determined that the module for needing to update, and can look into
Ask out the position of the module in the application.According to the storage address of application program and module to be updated in application program
In location information, it may be determined that go out second storage location of the corresponding program block of module to be updated in the second storage region.
S403 deletes the program block in the second storage location, and more new data is written in the second storage location.
After determining the storage location of the corresponding program block of module to be updated, mould to be updated in the storage location can be deleted
The corresponding program block of block, such as the data of program block and the program of storage etc. in the storage location are removed, and will more new data weight
It is newly written in the storage location, the module in household electrical appliance is updated with realizing.Further, right using more new data
After the application program stored in the second storage region in storage unit is updated, further includes: complete in application program update
Cheng Hou deletes more new data.
That is, the method in through the foregoing embodiment, carries out more the module in household electrical appliance or household electrical appliance
Newly, and after the completion of determining update, more new data is deleted, the space occupied can not only be saved, and can be avoided repetition
Application program is updated.And when the program block of other modules is variation, the certain moulds for needing to update can be only updated
Block can not only reduce the transmission quantity of more new data, but also can improve and update efficiency.
In conclusion the method for updating program of household electrical appliance according to an embodiment of the present invention, passes through the nothing on household electrical appliance
Line communication module receives the more new data for the application program that cloud server issues, and will more new data storage to storage list
In the first storage region in member, and identification information is extracted from more new data, and by the mark of identification information and application program
Know information to be compared, when two identification informations are consistent, according to identification information, with obtaining the storage of application program to be updated
Second in storage unit is deposited using more new data and storage address in location, and the reading update data out of first storage region
The application program stored in storage area domain is updated.As a result, by two storage regions respectively to more new data and application program
It is stored, so that the update of application program is more flexible and more safe and reliable, compatibility and high stability, and can
It is effectively prevented from and household electrical appliance is damaged because updating software, greatly reduce maintenance cost, while making the dimension in later period
Shield is more convenient.
Fig. 5 is the block diagram of the application program update device of household electrical appliance according to an embodiment of the present invention.Such as Fig. 5 institute
Show, the application program update device of the household electrical appliance of the embodiment of the present invention may include receiving module 100, the first authentication module 200,
Obtain module 300 and update module 400.
Wherein receiving module 100 is used to receive what cloud server issued by the wireless communication module on household electrical appliance
The more new data of application program, by the storage of more new data in the first storage region into storage unit;First authentication module 200
For extracting identification information from more new data, identification information is compared with the identification information of application program;Obtain module
300 for according to identification information, obtaining the storage address of application program to be updated when two identification informations are consistent;It updates
Module 400 is used for the reading update data out of first storage region, using more new data, to the second memory block in storage unit
The application program stored in domain is updated.
According to one embodiment of present invention, as shown in fig. 6, update module 400 may include the first positioning unit 410 and
One updating unit 420.Wherein, the first positioning unit 410 is used to navigate to application program in the second memory block according to storage address
The first storage location in domain;First updating unit 420 is used to delete the application program in the first storage location, will more new data
It is written in the first storage location.
According to one embodiment of present invention, as shown in fig. 7, update module 400 may also include mark acquiring unit 430,
Second positioning unit 440 and the second updating unit 450.Wherein, mark acquiring unit 430 is for obtaining the corresponding family of more new data
The module id of module to be updated in electrical appliance;Second positioning unit 440 is used for the module id according to module to be updated,
Query Location is carried out in application program, determines second storage position of the corresponding program block of module to be updated in the second storage region
It sets;Second updating unit 450 is used to delete the program block in the second storage location, and the second storage location is written in more new data
On.
According to one embodiment of present invention, as shown in figure 8, the application program update device of household electrical appliance may also include
Two authentication modules 500.Wherein, the second authentication module 500 is used for before the first storage region reading update data, according to connecing
The more new data received generates the first check information of more new data, the second check information is extracted from more new data, by first
Check information is compared with the second check information, to determine that the first check information is consistent with the second check information.
According to one embodiment of present invention, receiving module 100 is also used to from the first storage region reading update data
Before, the permission instruction message for allowing to update application program on household electrical appliance is received.
According to one embodiment of present invention, update module 400 is also used to utilizing more new data, in storage unit
After the application program stored in second storage region is updated, after the completion of application program update, more new data is deleted.
It should be noted that undisclosed details in the application program update device of the household electrical appliance of the embodiment of the present invention,
Details disclosed in the application program update method of the household electrical appliance of the embodiment of the present invention is please referred to, specifically here no longer in detail
It states.
The application program update device of household electrical appliance according to an embodiment of the present invention, receiving module pass through on household electrical appliance
Wireless communication module receives the more new data for the application program that cloud server issues, and more new data is stored to storage unit
In the first storage region in, and identification information extracted from more new data by the first authentication module, by identification information with
The identification information of application program is compared, and by obtaining module when two identification informations are consistent, according to identification information, is obtained
The storage address of application program to be updated is taken, and passes through update module reading update data out of first storage region, benefit
With more new data and storage address, the application program stored in the second storage region in storage unit is updated.As a result,
More new data and application program are stored respectively by two storage regions so that the update of application program it is more flexible and
It is more safe and reliable, compatibility and high stability, and can be effectively prevented from and household electrical appliance are caused because updating software
Damage, greatly reduces maintenance cost, while making the maintenance in later period more convenient.
In addition, the embodiment of the present invention also proposes a kind of household electrical appliance comprising the application program of above-mentioned household electrical appliance
Updating device and storage unit, storage unit include at least the first storage region and the second storage region, wherein the first memory block
Domain is used to store the more new data for updating application program to be updated, and the second storage region is for storing program to be applied.
Household electrical appliance according to an embodiment of the present invention pass through the application program update device of above-mentioned household electrical appliance, pass through two
A storage region respectively stores more new data and application program, so that the update of application program is more flexible and more pacifies
It is complete reliable, compatibility and high stability, and can be effectively prevented from and household electrical appliance are damaged because updating software, greatly
Maintenance cost is reduced greatly, while making the maintenance in later period more convenient.
In addition, the embodiment of the present invention also proposes a kind of electronic equipment, including memory, processor;Wherein, processor is logical
Cross and read in memory the executable program code that stores to run program corresponding with executable program code, with for realizing
The application program update method of above-mentioned household electrical appliance.
Electronic equipment according to an embodiment of the present invention is passed through by the application program update method of above-mentioned household electrical appliance
Two storage regions respectively store more new data and application program, so that the update of application program is more flexible and more
Securely and reliably, compatibility and high stability, and can be effectively prevented from and household electrical appliance are damaged because updating software,
Maintenance cost is greatly reduced, while making the maintenance in later period more convenient.
In addition, the embodiment of the present invention also proposes a kind of non-transitorycomputer readable storage medium, it is stored thereon with meter
Calculation machine program, the program realize the application program update method of above-mentioned household electrical appliance when being executed by processor.
Non-transitorycomputer readable storage medium according to an embodiment of the present invention passes through the application of above-mentioned household electrical appliance
Method for updating program respectively stores more new data and application program by two storage regions, so that application program
More flexible and more safe and reliable, compatibility and high stability are updated, and can be effectively prevented from due to updating software
Household electrical appliance are damaged, maintenance cost is greatly reduced, while making the maintenance in later period more convenient.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In addition, in the description of the present invention, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ",
"upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " clockwise ", " inverse time
The orientation or positional relationship of the instructions such as needle ", " axial direction ", " radial direction ", " circumferential direction " is to be based on the orientation or positional relationship shown in the drawings,
Be merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must have it is specific
Orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary
The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art
For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with
It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below "
One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (15)
1. a kind of application program update method of household electrical appliance characterized by comprising
By the wireless communication module on household electrical appliance, the more new data for the application program that cloud server issues is received, by institute
The storage of more new data is stated in the first storage region into storage unit;
Identification information is extracted from the more new data;
The identification information is compared with the identification information of the application program, when two identification informations are consistent, according to
The identification information obtains the storage address of the application program to be updated;
The more new data is read out of described first storage region, using the more new data and the storage address, to institute
The application program stored in the second storage region in storage unit is stated to be updated.
2. the method according to claim 1, wherein described using the more new data and the storage address,
The application program stored in the second storage region in the storage unit is updated, comprising:
According to the storage address, first storage location of the application program in second storage region is navigated to;
The application program in first storage location is deleted, first storage location is written into the more new data
On.
3. the method according to claim 1, wherein described using the more new data and the storage address,
The application program stored in the second storage region in the storage unit is updated, comprising:
Obtain the module id of the module to be updated in the corresponding household electrical appliance of the more new data;
According to the module id of the module to be updated and the storage address, Query Location is carried out in the application program,
Determine second storage location of the corresponding program block of the module to be updated in second storage region;
The described program block in second storage location is deleted, the more new data is written in second storage location.
4. the method according to claim 1, wherein described read the update number from first storage region
According to before, further includes:
The more new data according to receiving generates the first check information of the more new data;
The second check information is extracted from the more new data;
First check information is compared with second check information, with determination first check information with it is described
Second check information is consistent.
5. according to the method described in claim 3, it is characterized in that, described read the update number from first storage region
According to before, further includes:
Receive the permission instruction message for allowing to update the application program on household electrical appliance.
6. method according to claim 1-5, which is characterized in that it is described using the more new data, to described
After the application program stored in the second storage region in storage unit is updated, further includes:
After the completion of the application program update, the more new data is deleted.
7. a kind of application program update device of household electrical appliance characterized by comprising
Receiving module, for receiving the application program that cloud server issues by the wireless communication module on household electrical appliance
More new data, by more new data storage in the first storage region into storage unit;
The identification information is applied journey with described for extracting identification information from the more new data by the first authentication module
The identification information of sequence is compared;
Module is obtained, for when two identification informations are consistent, according to the identification information, is obtained to be updated described using journey
The storage address of sequence;
Update module utilizes the more new data and described for reading the more new data out of described first storage region
Storage address is updated the application program stored in the second storage region in the storage unit.
8. device according to claim 7, which is characterized in that the update module, comprising:
First positioning unit, for navigating to the application program in second storage region according to the storage address
The first storage location;
First updating unit will the more new data write-in for deleting the application program in first storage location
In first storage location.
9. device according to claim 7, which is characterized in that the update module, comprising:
Mark acquiring unit, for obtaining the module mark of the module to be updated in the corresponding household electrical appliance of the more new data
Know;
Second positioning unit, for according to the module to be updated module id and the storage address, it is described apply journey
Query Location is carried out in sequence, determines second storage of the corresponding program block of the module to be updated in second storage region
Position;
For deleting the described program block in second storage location institute is written in the more new data by the second updating unit
It states in the second storage location.
10. device according to claim 7, which is characterized in that further include:
Second authentication module, before the more new data described in being read from first storage region, according to the institute received
More new data is stated, the first check information of the more new data is generated, the second check information is extracted from the more new data, it will
First check information is compared with second check information, with determination first check information and second school
It is consistent to test information.
11. device according to claim 10, which is characterized in that the receiving module is also used to described from described
Before one storage region reads the more new data, receiving, which allows to update the application program on household electrical appliance, allows to indicate to disappear
Breath.
12. according to the described in any item devices of claim 7-11, which is characterized in that the update module is also used to utilizing
The more new data, after being updated to the application program stored in the second storage region in the storage unit, in institute
After the completion of stating application program update, the more new data is deleted.
13. a kind of household electrical appliance characterized by comprising such as the application of the described in any item household electrical appliance of claim 7-12
Program renewing device and storage unit, the storage unit include at least the first storage region and the second storage region, wherein institute
It states the first storage region and is used for for storing the more new data for updating application program to be updated, second storage region
Storage is to the application program.
14. a kind of electronic equipment, which is characterized in that including memory, processor;
Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, with the application program update for realizing household electrical appliance such as claimed in any one of claims 1 to 6
Method.
15. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program
The application program update method such as household electrical appliance as claimed in any one of claims 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810587033.9A CN108958764B (en) | 2018-06-08 | 2018-06-08 | Application program updating method and device of household appliance and household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810587033.9A CN108958764B (en) | 2018-06-08 | 2018-06-08 | Application program updating method and device of household appliance and household appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108958764A true CN108958764A (en) | 2018-12-07 |
CN108958764B CN108958764B (en) | 2022-12-20 |
Family
ID=64493411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810587033.9A Active CN108958764B (en) | 2018-06-08 | 2018-06-08 | Application program updating method and device of household appliance and household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958764B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559002A (en) * | 2019-09-26 | 2021-03-26 | 上海汽车集团股份有限公司 | Vehicle application updating method and device and storage medium |
CN112748945A (en) * | 2019-10-29 | 2021-05-04 | 杭州海康机器人技术有限公司 | Data storage method and device and electronic equipment |
CN113757935A (en) * | 2021-09-03 | 2021-12-07 | Tcl空调器(中山)有限公司 | Data updating method and device, air conditioner and computer readable storage medium |
CN114003516A (en) * | 2021-12-30 | 2022-02-01 | 深圳市吉方工控有限公司 | Method, system, equipment and storage medium for setting BIOS as default value |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006011801A (en) * | 2004-06-25 | 2006-01-12 | Fujitsu Ltd | Module updating program |
US20060259207A1 (en) * | 2005-04-20 | 2006-11-16 | Denso Corporation | Electronic control system for automobile |
US20080104585A1 (en) * | 2006-11-01 | 2008-05-01 | Seiko Epson Corporation | Information processor and information updating method |
CN103324501A (en) * | 2013-05-28 | 2013-09-25 | 大连理工大学 | Efficient remote updating method for node software of wireless sensor network |
CN103777983A (en) * | 2014-01-24 | 2014-05-07 | 航天东方红卫星有限公司 | Satellite-borne software in-orbit maintaining and upgrading method |
CN104144382A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Positioning method and system for zone application |
US20140380298A1 (en) * | 2012-03-09 | 2014-12-25 | Fujitsu Limited | Wireless communication terminal, software update system, and software update method |
CN104881302A (en) * | 2014-02-28 | 2015-09-02 | 北京谊安医疗系统股份有限公司 | Burning method and device for DSP chip program upgrading |
US20150334184A1 (en) * | 2011-12-22 | 2015-11-19 | Hew-Lett-Pack Development Company, L.P. | Enabling execution of remotely-hosted applications using application metadata and client updates |
CN105808283A (en) * | 2014-12-31 | 2016-07-27 | 海洋王照明科技股份有限公司 | Program updating method and device applicable to intelligent illumination equipment |
CN106610859A (en) * | 2016-12-30 | 2017-05-03 | 珠海艾派克微电子有限公司 | Program update method, device and system, and imaging box |
US20170286094A1 (en) * | 2014-09-02 | 2017-10-05 | Gemalto M2M Gmbh | Method for adapting firmware of a wireless communication device |
-
2018
- 2018-06-08 CN CN201810587033.9A patent/CN108958764B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006011801A (en) * | 2004-06-25 | 2006-01-12 | Fujitsu Ltd | Module updating program |
US20060259207A1 (en) * | 2005-04-20 | 2006-11-16 | Denso Corporation | Electronic control system for automobile |
US20080104585A1 (en) * | 2006-11-01 | 2008-05-01 | Seiko Epson Corporation | Information processor and information updating method |
US20150334184A1 (en) * | 2011-12-22 | 2015-11-19 | Hew-Lett-Pack Development Company, L.P. | Enabling execution of remotely-hosted applications using application metadata and client updates |
US20140380298A1 (en) * | 2012-03-09 | 2014-12-25 | Fujitsu Limited | Wireless communication terminal, software update system, and software update method |
CN104144382A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Positioning method and system for zone application |
CN103324501A (en) * | 2013-05-28 | 2013-09-25 | 大连理工大学 | Efficient remote updating method for node software of wireless sensor network |
CN103777983A (en) * | 2014-01-24 | 2014-05-07 | 航天东方红卫星有限公司 | Satellite-borne software in-orbit maintaining and upgrading method |
CN104881302A (en) * | 2014-02-28 | 2015-09-02 | 北京谊安医疗系统股份有限公司 | Burning method and device for DSP chip program upgrading |
US20170286094A1 (en) * | 2014-09-02 | 2017-10-05 | Gemalto M2M Gmbh | Method for adapting firmware of a wireless communication device |
CN105808283A (en) * | 2014-12-31 | 2016-07-27 | 海洋王照明科技股份有限公司 | Program updating method and device applicable to intelligent illumination equipment |
CN106610859A (en) * | 2016-12-30 | 2017-05-03 | 珠海艾派克微电子有限公司 | Program update method, device and system, and imaging box |
Non-Patent Citations (2)
Title |
---|
RAMY E. ALI等: ""Consistent distributed storage of correlated data updates via multi-version coding"", 《2016 IEEE INFORMATION THEORY WORKSHOP (ITW)》 * |
顾会光等: ""数据无损的远程代码更新的设计与研究"", 《计算机工程与设计》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559002A (en) * | 2019-09-26 | 2021-03-26 | 上海汽车集团股份有限公司 | Vehicle application updating method and device and storage medium |
CN112748945A (en) * | 2019-10-29 | 2021-05-04 | 杭州海康机器人技术有限公司 | Data storage method and device and electronic equipment |
CN113757935A (en) * | 2021-09-03 | 2021-12-07 | Tcl空调器(中山)有限公司 | Data updating method and device, air conditioner and computer readable storage medium |
CN113757935B (en) * | 2021-09-03 | 2023-02-17 | Tcl空调器(中山)有限公司 | Data updating method and device, air conditioner and computer readable storage medium |
CN114003516A (en) * | 2021-12-30 | 2022-02-01 | 深圳市吉方工控有限公司 | Method, system, equipment and storage medium for setting BIOS as default value |
Also Published As
Publication number | Publication date |
---|---|
CN108958764B (en) | 2022-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108958764A (en) | The application program update method, apparatus and household electrical appliance of household electrical appliance | |
CN104978206B (en) | The method, apparatus and system that the car body control module of vehicle is updated | |
US11256496B2 (en) | Apparatus and method for managing application | |
US20180253586A1 (en) | Fingerprint information processing method and electronic device supporting the same | |
US10606406B2 (en) | Electronic device and operation method thereof | |
CN102595384A (en) | Method and device for software updating, mobile terminal and system thereof | |
CN103942061A (en) | Battery firmware updating method, portable electronic device and rechargeable battery module | |
CN106612192A (en) | An equipment upgrading method, apparatus and system | |
CN106101984B (en) | A kind of the security module management method and terminal of NFC Mobile payment terminal | |
US9619354B2 (en) | Mobile device and chassis with contactless tags to diagnose hardware and software faults | |
KR20160097511A (en) | Permission control method and Electronic device operating the same | |
CN109002305A (en) | A kind of update method and its system of device program | |
CN102147742A (en) | Method and system for upgrading embedded software on line | |
US9954325B2 (en) | Earphone interface and electronic device including the same | |
CN108596634A (en) | A kind of detection method and system of genuine component | |
CN107766185A (en) | Test system and method | |
CN106371859B (en) | The Oftware updating method and device of vehicle electronics | |
CN104065704A (en) | Method and system for motor vehicle detection | |
CN108733440A (en) | interface icon configuration method, device and terminal device | |
CN107515958A (en) | Wiring inspection method and device | |
CN106022408A (en) | Medical refrigerator and medical refrigerator sample identification method and system | |
CN107885515A (en) | A kind of firmware upgrade method and device | |
CN108958765A (en) | Upgrade the method and device of optical module firmware | |
CN106990981A (en) | Method for updating program and device | |
CN106991288A (en) | Arteriosclerosis detecting 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |