CN110597519A - Upgrading failure processing method, device and system - Google Patents

Upgrading failure processing method, device and system Download PDF

Info

Publication number
CN110597519A
CN110597519A CN201910888185.7A CN201910888185A CN110597519A CN 110597519 A CN110597519 A CN 110597519A CN 201910888185 A CN201910888185 A CN 201910888185A CN 110597519 A CN110597519 A CN 110597519A
Authority
CN
China
Prior art keywords
upgrade
intelligent
failure
product
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910888185.7A
Other languages
Chinese (zh)
Other versions
CN110597519B (en
Inventor
康弦
刘皓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN201910888185.7A priority Critical patent/CN110597519B/en
Publication of CN110597519A publication Critical patent/CN110597519A/en
Application granted granted Critical
Publication of CN110597519B publication Critical patent/CN110597519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an upgrade failure processing method, device and system. The intelligent product comprises a shell, an information providing module, a first processing unit, a second processing unit and a wireless communication module. The first processing unit downloads an upgrade package upon receiving a system upgrade notification for the upgrade package from an external server via the wireless communication module based on an execution operating system running thereon; analyzing the upgrade package by using a script interpreter arranged in an execution operating system; and performing system upgrading treatment to install the upgrading package on the execution operating system, monitoring the execution condition of each upgrading step in the system upgrading treatment by using an error tracking module in the upgrading package, and sending failure information to the second processing unit when the execution of one upgrading step fails. The second processing unit receives the failure information and controls the information providing module to provide the failure information to the outside based on the standby system running thereon. Therefore, the scheme can simplify the processing flow when the upgrading fails.

Description

Upgrading failure processing method, device and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for processing an upgrade failure.
Background
After the production of the intelligent product is completed, an Execution Operating System (EOS) is burned in to support the normal operation of software or a system installed on the intelligent product. Such executing operating systems may typically be Android, iOS, Linux, Windows, etc. In order to support new functions, repair existing vulnerabilities, perfect an optimization system, and the like, an execution operating system running on an intelligent product generally needs to be updated and upgraded, so that a user can have better product use experience. After the developer develops a new version of the executive operating system, the server can notify each intelligent product to perform system upgrade. Therefore, the intelligent product can download the upgrade package provided by the server and install the upgrade package in a remote networking mode based on the execution operating system which normally runs on the intelligent product. And after the upgrade package is successfully installed, finishing the system upgrade of the execution operating system.
At present, when there is a special reason in the upgrading process, such as damage or loss of part of system files of the original system, the situations that the system upgrading fails and the intelligent product cannot be normally networked may occur, that is, the error positioning information of the upgrading failure cannot be directly sent to the server through a remote networking mode.
Therefore, professional after-sales personnel are usually required to debug the mobile phone to determine the reason of the failure, and thus, the processing flow when the upgrade fails is complicated.
Disclosure of Invention
The invention provides an upgrade failure processing method, device and system, which can simplify the processing flow when the upgrade fails.
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a smart product comprising: the device comprises a shell, an information providing module, a first processing unit, a second processing unit and a wireless communication module;
wherein the first processing unit, the second processing unit, and the wireless communication module are all located inside the housing;
the information providing module is connected with the shell;
the first processing unit is connected with the wireless communication module;
the second processing unit is connected with the information providing module;
an execution operating system runs on the first processing unit, and a script interpreter is arranged in the execution operating system;
a standby system runs on the second processing unit;
the first processing unit is used for downloading an upgrade package when receiving a system upgrade notification aiming at the upgrade package sent by an external server through the wireless communication module based on the execution operating system, wherein the upgrade package comprises an error tracking module; analyzing the upgrade package by using the script interpreter; performing system upgrade processing to install the analyzed upgrade package on the execution operating system, monitoring the execution condition of each upgrade step in the system upgrade processing by using the error tracking module, and sending the monitored corresponding failure information to the second processing unit when monitoring that the execution of one upgrade step fails;
and the second processing unit is used for receiving the failure information based on the standby system and controlling the information providing module to provide the failure information externally.
Further, the information providing module comprises a display;
the display screen of the display is positioned on the outer surface of the shell;
the second processing unit is used for sending the failure information to the display;
and the display is used for displaying the failure information by utilizing the display screen.
Furthermore, the intelligent product is any one of an intelligent refrigerator, an intelligent vertical air conditioner, an intelligent television and an intelligent range hood.
Further, the smart product further comprises a card slot;
the notch of the clamping groove is positioned on the outer surface of the shell;
the information providing module comprises a memory card inserted in the card slot;
the second processing unit is configured to store the failure information in the memory card.
Further, the intelligent product is any one of intelligent hanging air conditioner, intelligent air purifier, intelligent water heater, intelligent water purifier, intelligent audio amplifier, the intelligence robot of sweeping the floor.
Further, when the executing operating system comprises an android system or a Linux system, the standby system comprises recovery (recovery mode); when the executing operating System includes a Windows System, the standby System includes a BIOS (Basic Input Output System).
In a second aspect, the present invention provides an upgrade failure processing system, including: a server, at least one client, at least one smart product as described in any of the above;
the server is used for recording the contact information of the after-sales personnel of each intelligent product; recording an execution operating system running on each intelligent product; when an upgrade notification sent from the outside is received, and the upgrade notification relates to an upgrade package of an executing operating system, sending a system upgrade notification aiming at the upgrade package to each target intelligent product running the executing operating system; when an upgrade failure notification aiming at an intelligent product sent by a client is received, according to the contact way of the after-sales personnel of the intelligent product, the failure information included in the upgrade failure notification is sent to the corresponding after-sales personnel;
each client is used for acquiring failure information provided by an information providing module of an intelligent product based on external control and sending an upgrade failure notice including the failure information for the intelligent product to the server.
Further, the at least one client comprises: a smart phone;
the intelligent mobile phone is used for photographing failure information displayed on a display screen of an intelligent product based on external control, and sending an upgrade failure notice carrying a photographed image for the intelligent product to the server.
Further, the at least one client comprises: a user computer;
the user computer is used for acquiring failure information stored in a storage card of the card reader through the connected card reader based on external control, and sending an upgrade failure notice including the failure information for an intelligent product to the server.
In a third aspect, the present invention provides an upgrade failure processing method, which is applied to any one of the above intelligent products, and includes:
downloading an upgrade package when receiving a system upgrade notification for the upgrade package sent by an external server through a wireless communication module of the smart product based on an execution operating system running on the smart product, wherein the upgrade package comprises an error tracking module;
analyzing the upgrade package by using a script interpreter arranged in the execution operating system;
performing system upgrading processing based on the execution operating system to install the analyzed upgrade package on the execution operating system;
monitoring the execution condition of each upgrading step in the system upgrading treatment by using the error tracking module, and when the execution failure of one upgrading step is monitored, sending the monitored corresponding failure information to a standby system running on the intelligent product;
and based on the standby system, receiving the failure information, and controlling an information providing module of the intelligent product to provide the failure information to the outside.
The invention provides an upgrade failure processing method, device and system. The intelligent product comprises a shell, an information providing module, a first processing unit, a second processing unit and a wireless communication module. The first processing unit downloads an upgrade package upon receiving a system upgrade notification for the upgrade package from an external server via the wireless communication module based on an execution operating system running thereon; analyzing the upgrade package by using a script interpreter arranged in an execution operating system; and performing system upgrading treatment to install the upgrading package on the execution operating system, monitoring the execution condition of each upgrading step in the system upgrading treatment by using an error tracking module in the upgrading package, and sending failure information to the second processing unit when the execution of one upgrading step fails. The second processing unit receives the failure information and controls the information providing module to provide the failure information to the outside based on the standby system running thereon. Therefore, the invention can simplify the processing flow when the upgrading fails.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of a smart product provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of another smart product provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of yet another smart product provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of an upgrade failure handling system according to an embodiment of the present invention;
fig. 5 is a flowchart of an upgrade failure processing method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a smart product, which may include: a housing 101, an information providing module 102, a first processing unit 103, a second processing unit 104, and a wireless communication module 105;
wherein the first processing unit 103, the second processing unit 104 and the wireless communication module 105 are all located inside the housing 101;
the information providing module 102 is connected with the casing 101;
the first processing unit 103 is connected with the wireless communication module 105;
the second processing unit 104 is connected with the information providing module 102;
an execution operating system runs on the first processing unit 103, and a script interpreter is arranged in the execution operating system;
a standby system runs on the second processing unit 104;
the first processing unit 103 is configured to download an upgrade package when receiving a system upgrade notification for the upgrade package sent by an external server via the wireless communication module 105 based on the execution operating system, where the upgrade package includes an error tracking module; analyzing the upgrade package by using the script interpreter; performing system upgrade processing to install the parsed upgrade package on the execution operating system, monitoring the execution condition of each upgrade step in the system upgrade processing by using the error tracking module, and when it is monitored that an upgrade step fails to be executed, sending the monitored corresponding failure information to the second processing unit 104;
the second processing unit 104 is configured to receive the failure information based on the standby system, and control the information providing module 102 to provide the failure information to the outside.
The intelligent product provided by the embodiment of the invention comprises a shell, an information providing module, a first processing unit, a second processing unit and a wireless communication module. The first processing unit downloads an upgrade package upon receiving a system upgrade notification for the upgrade package from an external server via the wireless communication module based on an execution operating system running thereon; analyzing the upgrade package by using a script interpreter arranged in an execution operating system; and performing system upgrading treatment to install the upgrading package on the execution operating system, monitoring the execution condition of each upgrading step in the system upgrading treatment by using an error tracking module in the upgrading package, and sending failure information to the second processing unit when the execution of one upgrading step fails. The second processing unit receives the failure information and controls the information providing module to provide the failure information to the outside based on the standby system running thereon. Therefore, the embodiment of the invention can simplify the processing flow when the upgrading fails.
In general, the smart product can normally communicate with a remote server via a wireless communication module based on an executing operating system which normally operates inside. Developers can upgrade the execution operating system as required and develop upgrade packages for the upgrade. When the upgrade package exists, the server can inform each intelligent product running with the execution operating system, and correspondingly, the intelligent product can download the upgrade package and install the upgrade package so as to upgrade the original execution operating system.
However, in reality, not all upgrade operations can be successfully performed. For example, if a part of system files on an intelligent product, which execute an operating system, is lost by a user through unintended deletion during use of the product, the lost part of system files does not affect normal use of the intelligent product, but does not necessarily support smooth installation of an upgrade package, thereby causing failure in executing an operating system upgrade. In general, when the upgrade of the operating system fails, the system fails to operate normally due to the system crash, and thus cannot communicate with the server through the wireless communication module, that is, the failure reason of the upgrade failure cannot be automatically transmitted to the server, so that the server performs corresponding processing. Because the normal use of the intelligent product can be seriously influenced by the failure of the upgrade, how to simply, timely and effectively transmit the failure reason to the server can be considered, so that the server can process the failure reason as soon as possible.
In the embodiment of the invention, a developer can write a section of code with an error tracking function in the code script of the upgrade package, so that the upgrade package is provided with the error tracking module. Therefore, in the installation process of the upgrade package, the error tracking module can monitor the execution condition of each upgrade step, for example, whether each upgrade step is successfully upgraded is monitored, and when the upgrade failure is monitored, failure information of the upgrade failure is determined, for example, specific files are lost.
Correspondingly, in order to analyze and identify the upgrade package, when a developer develops and executes the operating system, a section of code of the script analysis function can be written in a code script of the executing operating system, so that a script interpreter is arranged in the executing operating system. Therefore, after the upgrade package is downloaded, the upgrade package can be analyzed by the script interpreter, and the analyzed upgrade package can be installed. Therefore, before the intelligent product leaves the factory, an execution operating system provided with a script interpreter is burnt in, so that the upgrade package can be analyzed in the following sequence.
As mentioned above, the execution operating system cannot normally operate when the upgrade fails, and even if the error tracking module detects the failure information, the execution operating system cannot transmit the failure information. As such, a standby system that executes an operating system may be used herein. And after monitoring the failure information, the error tracking module can send the failure information to a standby system capable of normally operating.
Correspondingly, in order to output the failure information to the outside, the intelligent product can be enabled to comprise an information providing module, and the standby system control information providing module provides the failure information to the outside. Therefore, the user can obtain the failure information and provide the failure information for the after-sales personnel, or upload the failure information to the server and then forward the failure information to the after-sales personnel. Therefore, when the intelligent product fails to be upgraded, a user does not need to reserve after-sales personnel, wait for after-sales personnel and the like, the after-sales personnel do not need to arrive at the product site, disassemble and assemble the maintenance product and the like, the intelligent product does not need to be disassembled and assembled and the like, and the situation that the problem of upgrading failure cannot be solved even after ordinary after-sales personnel arrive at the site is avoided. In summary, the embodiment of the present invention can simplify the processing flow when the upgrade fails.
In an embodiment of the present invention, the failure information may be a system partial function damage, a system key file loss, a system key file damage, a malware damage, and the like.
The information providing module may be a display, considering that the standby system can directly support the display function of the display. After the failure information is displayed by the display, the user can take pictures of the displayed failure information, upload the pictures to the server and distribute the pictures to corresponding after-sales personnel by the server. The operation process is simple, convenient and quick, and the user experience is good.
Therefore, in an embodiment of the present invention, referring to fig. 2, the information providing module 102 includes a display 1021;
a display screen of the display 1021 is located on an outer surface of the housing 101;
the second processing unit 104 is configured to send the failure information to the display 1021;
the display 1021 is configured to display the failure information by using the display screen.
In the embodiment of the invention, the standby system can control the display to display the failure information according to the requirement, and the operation is usually realized without changing the standby system, so that the method is suitable for the development scene of the existing products.
In the embodiment of the invention, when the upgrade fails, the standby system controls the display to display the failure information, thereby solving the problem that the common android system only can be in a black screen state or a white screen state or can be continuously restarted all the time when the common android system is crashed.
Since the intelligent product needs to display the failure information by using the display screen, in an embodiment of the invention, the intelligent product is any one of an intelligent refrigerator, an intelligent vertical air conditioner, an intelligent television and an intelligent range hood. Of course, when the size of the display screen is not enough to display all the failure information at one time, the failure information can be displayed in pages, and a user only needs to take a plurality of photos as required.
Under the normal condition, the display brings certain cost investment, and the display screen also has the inherent human-computer interaction support function, for example, the user can be supported on an intelligent refrigerator and an intelligent range hood to browse online supermarkets, shop fresh foods, look up menu and the like. Based on this, the display is not suitable for all intelligent products, such as intelligent hanging air conditioner, intelligent water heater etc..
Therefore, for those intelligent products which are not provided with the large screen display, a card slot can be newly added on the intelligent products to provide failure information for the outside through the memory card arranged in the card slot. Therefore, in one embodiment of the present invention, please refer to fig. 3, the smart product further includes a card slot 301;
the notch of the card slot 301 is located on the outer surface of the housing 101;
the information providing module 102 includes a memory card 1022 plugged in the card slot 301;
the second processing unit 104 is configured to store the failure information in the memory card 1022.
In the embodiment of the invention, the standby system can store the failure information into the memory card, and the user can read the failure information from the memory card and then forward the failure information to the server.
In the embodiment of the invention, the standby system can control the memory card to store the failure information according to the requirement, and the operation is usually realized without involving excessive change of the standby system, so that the method is suitable for the existing product development scene.
Based on the above, in an embodiment of the invention, the intelligent product is any one of an intelligent hanging type air conditioner, an intelligent air purifier, an intelligent water heater, an intelligent water purifier, an intelligent sound box and an intelligent floor sweeping robot.
In an embodiment of the present invention, when the execution operating system includes an android system or a Linux system, the standby system includes recovery; when the executing operating system comprises a Windows system, the standby system comprises a BIOS.
For example, not only the android system but also a recovery mode of the android system run on a processor of an intelligent large-screen refrigerator.
Typically, both the executing operating system and the standby system run on the processor of the smart product. The two processing units may be two virtualized execution unit modules with different functions in the processor.
As shown in fig. 4, an embodiment of the present invention provides an upgrade failure processing system, which may include: a server 401, at least one client 402, at least one smart product 403 as described above;
the server 401 is configured to record an after-sales contact information of each of the intelligent products 403; recording the execution operating system running on each intelligent product 403; when an upgrade notification sent from the outside is received, and the upgrade notification relates to an upgrade package of an executing operating system, sending a system upgrade notification aiming at the upgrade package to each target intelligent product running the executing operating system; when receiving an upgrade failure notification for an intelligent product 403 sent by a client 402, sending failure information included in the upgrade failure notification to corresponding after-sales personnel according to an after-sales personnel contact way of the intelligent product 403;
each of the clients 402 is configured to obtain failure information provided by an information providing module of an intelligent product 403 based on external control, and send an upgrade failure notification including the failure information for the intelligent product 403 to the server 401.
Based on the above, the information providing module on the intelligent product can provide the failure information to the outside, so the client can send the failure information to the server. Certainly, in order to facilitate the server to accurately forward the failure information to the relevant after-sales personnel, the client should also specify the intelligent product with failed upgrade when submitting the upgrade failure notification.
In detail, the user can log in the server based on the own account password, and submit the upgrade failure notification after successful login. The user can log in through a webpage or an APP.
In detail, for the downloading of the upgrade package, the intelligent product can download the upgrade package from the server, and can also download the upgrade package in other modes. For example, the upgrade package may be downloaded from a corresponding memory based on common software download software.
When the upgrade package is downloaded from the server, a developer can upload the developed upgrade package to the server, and the server can inform the corresponding intelligent product to perform system upgrade after receiving the upgrade package.
When the upgrade package is downloaded in other modes, the developer can send the download address of the upgrade package to the server, and after the server receives the download address, the server can inform the corresponding intelligent product of system upgrade and inform the corresponding intelligent product of the download address.
In one embodiment of the present invention, the at least one client 402 comprises: a smart phone;
the smart phone is configured to photograph failure information displayed on a display screen of an intelligent product 403 based on external control, and send an upgrade failure notification carrying an image obtained by photographing to the intelligent product 403 to the server 401.
In detail, when the intelligent product displays the failure information through the display, the user can use the smart phone of the user to photograph the failure information displayed by the display screen and send the photograph to the server.
In one embodiment of the present invention, the at least one client 402 comprises: a user computer;
the user computer is configured to obtain failure information stored in a memory card of a card reader through the connected card reader based on external control, and send an upgrade failure notification including the failure information for an intelligent product 403 to the server 401.
In detail, when the smart product stores the failure information through the memory card, the user can pull out the memory card from the smart product, insert the memory card into the card reader, and connect the card reader through the user computer to read the failure information stored in the memory card, so as to send the failure information to the server.
Therefore, no matter the failure information displayed by the photographing display screen or the failure information is read from the memory card, the user can timely obtain the failure information and send the failure information to the server when the upgrading fails or the upgrading fails, the information is timely and effective to transmit, and the user operation is simple and convenient. Correspondingly, after-sale personnel can timely and effectively acquire failure information without arriving at the local intelligent product, and labor input is greatly saved. In a comprehensive way, the upgrading failure processing mode can improve the failure processing efficiency, and the user and after-sale experience are better, so that the method is particularly suitable for large intelligent products which are difficult to move electrically.
As shown in fig. 5, an upgrade failure processing method provided in an embodiment of the present invention is applied to any one of the intelligent products, and may include the following steps:
step 501: and downloading an upgrade package when receiving a system upgrade notification aiming at the upgrade package sent by an external server through a wireless communication module of the intelligent product based on an execution operating system running on the intelligent product, wherein the upgrade package comprises an error tracking module.
Step 502: and analyzing the upgrade package by utilizing a script interpreter arranged in the execution operating system.
Step 503: and performing system upgrading treatment based on the execution operating system so as to install the analyzed upgrading package on the execution operating system.
Step 504: and monitoring the execution condition of each upgrading step in the system upgrading treatment by using the error tracking module, and when the execution failure of one upgrading step is monitored, sending the monitored corresponding failure information to a standby system running on the intelligent product.
Step 505: and based on the standby system, receiving the failure information, and controlling an information providing module of the intelligent product to provide the failure information to the outside.
The contents of information interaction, execution process and the like among the unit modules in the method are based on the same concept as the embodiment of the product of the present invention, and specific contents can be referred to the description in the embodiment of the product of the present invention, and are not described herein again.
In summary, the embodiments of the present invention have at least the following advantages:
1. the intelligent product provided by the embodiment of the invention comprises a shell, an information providing module, a first processing unit, a second processing unit and a wireless communication module. The first processing unit downloads an upgrade package upon receiving a system upgrade notification for the upgrade package from an external server via the wireless communication module based on an execution operating system running thereon; analyzing the upgrade package by using a script interpreter arranged in an execution operating system; and performing system upgrading treatment to install the upgrading package on the execution operating system, monitoring the execution condition of each upgrading step in the system upgrading treatment by using an error tracking module in the upgrading package, and sending failure information to the second processing unit when the execution of one upgrading step fails. The second processing unit receives the failure information and controls the information providing module to provide the failure information to the outside based on the standby system running thereon. Therefore, the embodiment of the invention can simplify the processing flow when the upgrading fails.
2. In the embodiment of the invention, when the upgrading of the intelligent product fails, a user does not need to reserve after-sales personnel, wait for after-sales personnel and the like, the after-sales personnel do not need to arrive at the product site, disassemble and repair the product and the like, the intelligent product does not need to be disassembled and assembled and the like, and the situation that the upgrading failure problem can not be solved after the ordinary after-sales personnel arrive at the site is avoided. In summary, the embodiment of the present invention can simplify the processing flow when the upgrade fails.
3. In one embodiment of the invention, when the upgrade fails, the standby system controls the display to display the failure information, thereby solving the problem that the common android system only can be in a black screen state or a white screen state or can be continuously restarted all the time when the common android system is crashed.
4. In the embodiment of the invention, no matter the failure information displayed by the photographing display screen or the failure information is read from the memory card, a user can timely obtain the failure information and send the failure information to the server when the upgrading fails or the upgrading fails, the information transmission is timely and effective, and the user operation is simple and convenient. Correspondingly, after-sale personnel can timely and effectively acquire failure information without arriving at the local intelligent product, and labor input is greatly saved. In a comprehensive way, the upgrading failure processing mode can improve the failure processing efficiency, and the user and after-sale experience are better, so that the method is particularly suitable for large intelligent products which are difficult to move electrically.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A smart product, comprising:
the device comprises a shell, an information providing module, a first processing unit, a second processing unit and a wireless communication module;
wherein the first processing unit, the second processing unit, and the wireless communication module are all located inside the housing;
the information providing module is connected with the shell;
the first processing unit is connected with the wireless communication module;
the second processing unit is connected with the information providing module;
an execution operating system runs on the first processing unit, and a script interpreter is arranged in the execution operating system;
a standby system runs on the second processing unit;
the first processing unit is used for downloading an upgrade package when receiving a system upgrade notification aiming at the upgrade package sent by an external server through the wireless communication module based on the execution operating system, wherein the upgrade package comprises an error tracking module; analyzing the upgrade package by using the script interpreter; performing system upgrade processing to install the analyzed upgrade package on the execution operating system, monitoring the execution condition of each upgrade step in the system upgrade processing by using the error tracking module, and sending the monitored corresponding failure information to the second processing unit when monitoring that the execution of one upgrade step fails;
and the second processing unit is used for receiving the failure information based on the standby system and controlling the information providing module to provide the failure information externally.
2. The smart product of claim 1,
the information providing module comprises a display;
the display screen of the display is positioned on the outer surface of the shell;
the second processing unit is used for sending the failure information to the display;
and the display is used for displaying the failure information by utilizing the display screen.
3. The smart product of claim 2,
the intelligent product is any one of an intelligent refrigerator, an intelligent vertical air conditioner, an intelligent television and an intelligent range hood.
4. The smart product of claim 1,
the smart product further comprises a card slot;
the notch of the clamping groove is positioned on the outer surface of the shell;
the information providing module comprises a memory card inserted in the card slot;
the second processing unit is configured to store the failure information in the memory card.
5. Smart product according to claim 4,
the intelligent product is any one of intelligent hanging air conditioner, intelligent air purifier, intelligent water heater, intelligent water purifier, intelligent audio amplifier, the intelligence robot of sweeping the floor.
6. Smart product according to any of claims 1 to 5,
when the execution operating system comprises an android system or a Linux system, the standby system comprises a recovery mode; when the executing operating system comprises a Windows system, the standby system comprises a Basic Input Output System (BIOS).
7. An upgrade failure handling system, comprising:
-a server, at least one client, at least one smart product according to any of claims 1 to 6;
the server is used for recording the contact information of the after-sales personnel of each intelligent product; recording an execution operating system running on each intelligent product; when an upgrade notification sent from the outside is received, and the upgrade notification relates to an upgrade package of an executing operating system, sending a system upgrade notification aiming at the upgrade package to each target intelligent product running the executing operating system; when an upgrade failure notification aiming at an intelligent product sent by a client is received, according to the contact way of the after-sales personnel of the intelligent product, the failure information included in the upgrade failure notification is sent to the corresponding after-sales personnel;
each client is used for acquiring failure information provided by an information providing module of an intelligent product based on external control and sending an upgrade failure notice including the failure information for the intelligent product to the server.
8. The upgrade failure handling system according to claim 7,
the at least one client includes: a smart phone;
the intelligent mobile phone is used for photographing failure information displayed on a display screen of an intelligent product based on external control, and sending an upgrade failure notice carrying a photographed image for the intelligent product to the server.
9. The upgrade failure processing system according to claim 7 or 8,
the at least one client includes: a user computer;
the user computer is used for acquiring failure information stored in a storage card of the card reader through the connected card reader based on external control, and sending an upgrade failure notice including the failure information for an intelligent product to the server.
10. An upgrade failure handling method applied to the smart product according to any one of claims 1 to 6, comprising:
downloading an upgrade package when receiving a system upgrade notification for the upgrade package sent by an external server through a wireless communication module of the smart product based on an execution operating system running on the smart product, wherein the upgrade package comprises an error tracking module;
analyzing the upgrade package by using a script interpreter arranged in the execution operating system;
performing system upgrading processing based on the execution operating system to install the analyzed upgrade package on the execution operating system;
monitoring the execution condition of each upgrading step in the system upgrading treatment by using the error tracking module, and when the execution failure of one upgrading step is monitored, sending the monitored corresponding failure information to a standby system running on the intelligent product;
and based on the standby system, receiving the failure information, and controlling an information providing module of the intelligent product to provide the failure information to the outside.
CN201910888185.7A 2019-09-19 2019-09-19 Upgrading failure processing method, device and system Active CN110597519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910888185.7A CN110597519B (en) 2019-09-19 2019-09-19 Upgrading failure processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910888185.7A CN110597519B (en) 2019-09-19 2019-09-19 Upgrading failure processing method, device and system

Publications (2)

Publication Number Publication Date
CN110597519A true CN110597519A (en) 2019-12-20
CN110597519B CN110597519B (en) 2022-07-12

Family

ID=68861318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910888185.7A Active CN110597519B (en) 2019-09-19 2019-09-19 Upgrading failure processing method, device and system

Country Status (1)

Country Link
CN (1) CN110597519B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572222A (en) * 2015-02-02 2015-04-29 深圳市新联锋科技有限公司 Main program upgrading method and device for supporting upgrading of main program
CN105183525A (en) * 2015-10-09 2015-12-23 深圳市网心科技有限公司 Upgrading method of system software and electronic equipment for implementing upgrading method
CN105975300A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 System upgrading method and device
CN109189419A (en) * 2018-07-27 2019-01-11 广州视源电子科技股份有限公司 Method for upgrading system, apparatus and system, server-side and client
US20190018964A1 (en) * 2017-07-14 2019-01-17 Google Inc. Secure Persistent Software Updates
CN109324815A (en) * 2018-08-31 2019-02-12 百度在线网络技术(北京)有限公司 Monitoring method, device, equipment and the computer readable storage medium of system upgrade
CN109408135A (en) * 2018-08-29 2019-03-01 百度在线网络技术(北京)有限公司 Dual system upgrade method, device, equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572222A (en) * 2015-02-02 2015-04-29 深圳市新联锋科技有限公司 Main program upgrading method and device for supporting upgrading of main program
CN105183525A (en) * 2015-10-09 2015-12-23 深圳市网心科技有限公司 Upgrading method of system software and electronic equipment for implementing upgrading method
CN105975300A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 System upgrading method and device
US20190018964A1 (en) * 2017-07-14 2019-01-17 Google Inc. Secure Persistent Software Updates
CN109189419A (en) * 2018-07-27 2019-01-11 广州视源电子科技股份有限公司 Method for upgrading system, apparatus and system, server-side and client
CN109408135A (en) * 2018-08-29 2019-03-01 百度在线网络技术(北京)有限公司 Dual system upgrade method, device, equipment and computer readable storage medium
CN109324815A (en) * 2018-08-31 2019-02-12 百度在线网络技术(北京)有限公司 Monitoring method, device, equipment and the computer readable storage medium of system upgrade

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GREGORY LEVITIN 等: "Heterogeneous Non-Repairable Warm Standby Systems With Periodic Inspections", 《IEEE TRANSACTIONS ON RELIABILITY》 *
赵真: "变压器防盗系统的在线升级和远程监测的相关研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *
陈素琼: "数字卫星机顶盒空中升级实现", 《有线电视技术》 *

Also Published As

Publication number Publication date
CN110597519B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US8997090B2 (en) Installing an operating system in a host system
WO2017133691A1 (en) Intelligent device networking method and apparatus
US10127057B2 (en) Method and apparatus for dynamically implementing application function
CN107040777A (en) A kind of remote debugging method, set top box and server
US10261772B2 (en) Method and device for generating image file
US20150347153A1 (en) System management controller and method of configuration file backup and recovery
CN109614203B (en) Android application cloud data evidence obtaining and analyzing system and method based on application data simulation
CN105740097A (en) Terminal radio-frequency parameter processing apparatus and method
TW201944234A (en) Scalable life-cycle maintenance of hardware
CN116382746A (en) Firmware upgrading method, device, equipment and medium
CN111459524A (en) Software upgrading method, device and system
CN110851303A (en) Data backup method, system and equipment
CN108847959B (en) Server monitoring method and server
CN107396185B (en) Upgrading method and system
CN109218338B (en) Information processing system, method and device
CN110597519B (en) Upgrading failure processing method, device and system
KR101800097B1 (en) Method, apparatus, program and recording medium for installation of smart hardware device
CN104077168A (en) Method and device for updating operation systems for terminal
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN104090805A (en) Method, device and system for updating terminal operating systems
CN112650557B (en) Command execution method and device
CN109002309A (en) A kind of HardwareUpgring method and relevant apparatus
CN112416698B (en) Expansion method and device of monitoring system, storage medium and electronic equipment
US9417863B2 (en) System and method for expedited loading of an image onto a storage device
US20230409309A1 (en) Device of Updating Library Required by Testing Program for Testing and Method Thereof

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