CN116847019A - Communication abnormality processing method, electronic device, and computer-readable storage medium - Google Patents

Communication abnormality processing method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN116847019A
CN116847019A CN202310864257.0A CN202310864257A CN116847019A CN 116847019 A CN116847019 A CN 116847019A CN 202310864257 A CN202310864257 A CN 202310864257A CN 116847019 A CN116847019 A CN 116847019A
Authority
CN
China
Prior art keywords
communication
firmware
storage area
version
configuration parameter
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
CN202310864257.0A
Other languages
Chinese (zh)
Other versions
CN116847019B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310864257.0A priority Critical patent/CN116847019B/en
Publication of CN116847019A publication Critical patent/CN116847019A/en
Application granted granted Critical
Publication of CN116847019B publication Critical patent/CN116847019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724094Interfacing with a device worn on the user's body to provide access to telephonic functionalities, e.g. accepting a call, reading or composing a message
    • H04M1/724095Worn on the wrist, hand or arm
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a communication exception handling method, electronic equipment and a computer readable storage medium, and relates to the technical field of communication and networks. The method comprises the following steps: in response to powering up the communication device of the electronic device, operating, by the communication device, the communication firmware of the communication device stored in the second storage area of the electronic device; the access authority of the second storage area is readable and writable; copying the communication firmware stored in the first storage area to the second storage area under the condition that the communication firmware operates abnormally; and running the communication firmware copied from the first storage area to the second storage area through the communication device so as to enable the electronic equipment to access the network. Therefore, the communication device can be enabled to operate normally again under the condition that the communication firmware of the electronic equipment operates abnormally, so that the communication of the electronic equipment is improved to be normal, and the user experience is improved.

Description

Communication abnormality processing method, electronic device, and computer-readable storage medium
Technical Field
The embodiment of the application relates to the technical field of communication and networks, in particular to a communication exception handling method, electronic equipment and a computer readable storage medium.
Background
The communication function of the electronic device is realized by a plurality of communication devices. The communication function may be surfing the internet (for example surfing the internet through a 2G/3G/4G/5G network), making a call, etc. The communication device may include a modem, a radio frequency processor, an antenna, etc.
Firmware refers to software (also called program code) that can be executed by an electronic device, and in general, the electronic device can load and execute communication firmware in a readable and writable storage area to implement a communication function of the electronic device.
If the communication firmware is abnormal, for example, the communication firmware in the readable and writable storage area is falsified by mistake, the electronic device cannot realize the communication function.
Disclosure of Invention
The application provides a communication abnormality processing method, electronic equipment and a computer readable storage medium, which can make a communication device normally run again under the condition that communication firmware of the electronic equipment runs abnormally, so that the communication (for example, surfing) of the electronic equipment is improved to be normal, and the user experience is improved.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
in a first aspect, a method for processing communication abnormality is provided, where the method is applied to an electronic device, and a first storage area of the electronic device stores communication firmware, and an access right of the first storage area is read-only, where the method includes: in response to powering up the communication device of the electronic device, operating, by the communication device, the communication firmware of the communication device stored in the second storage area of the electronic device; the access authority of the second storage area is readable and writable; copying the communication firmware stored in the first storage area to the second storage area under the condition that the communication firmware operates abnormally; and running the communication firmware copied from the first storage area to the second storage area through the communication device so as to enable the electronic equipment to access the network.
In the embodiment of the application, the abnormal operation of the communication firmware in the readable and writable storage area may be caused by the fact that the communication firmware in the readable and writable storage area is falsified by errors, for example, other software errors. Therefore, under the condition that the communication firmware in the readable and writable storage area runs abnormally, the communication firmware in the untampered read-only storage area can be reloaded and run, so that the condition that the communication firmware in the readable and writable storage area runs abnormally caused by the fact that the communication firmware in the readable and writable storage area is falsified by errors is eliminated, and the communication firmware runs normally. The communication firmware is used for supporting the communication function of the electronic equipment, and the embodiment of the application can enable the electronic equipment to communicate (e.g. surfing the internet) normally on the basis of enabling the communication firmware to operate normally, so that the user experience is improved.
In another possible implementation manner of the first aspect, in a case where the communication device is powered on for the first time, before the communication firmware of the communication device stored in the second storage area of the electronic apparatus is run by the communication device, the method further includes: copying the communication firmware stored in the first storage area to the second storage area.
In another possible implementation manner of the first aspect, the method further includes: acquiring firmware configuration information of a communication device; and acquiring and storing communication firmware of the communication device to the first storage area according to the firmware configuration information.
In another possible implementation manner of the first aspect, the firmware configuration information includes: the communication main program and the configuration parameter firmware of the first version, the communication main program and the configuration parameter firmware of the second version and the communication parameter calibration value;
according to the firmware configuration information, acquiring and storing communication firmware of the communication device to the first storage area, including: calibrating the communication main program and the configuration parameter firmware of the first version according to the communication parameter calibration value to obtain configuration parameter restoration firmware; and fusing the communication main program and the configuration parameter firmware of the first version, the communication main program and the configuration parameter firmware of the second version and the configuration parameter restoration firmware to obtain and store the communication firmware of the communication device to the first storage area.
In another possible implementation manner of the first aspect, calibrating the communication main program and the configuration parameter firmware of the first version according to the communication parameter calibration value to obtain the configuration parameter recovery firmware includes: burning the communication main program and the configuration parameter firmware of the first version to a second storage area; and writing the communication parameter calibration value into the first version of configuration parameter firmware stored in the second storage area, and running the first version of communication main program and the configuration parameter firmware to obtain configuration parameter restoration firmware.
In another possible implementation manner of the first aspect, the method further includes: burning the communication main program and the configuration parameter firmware of the second version to a third storage area; the third storage area is different from the second storage area, and the access authority of the third storage area is readable and writable; fusing the first version of communication main program and configuration parameter firmware, the second version of communication main program and configuration parameter firmware, and configuration parameter restoration firmware to obtain and store the communication firmware of the communication device to the first storage area, including: changing the access right of the first storage area into writable; copying the communication main program and the configuration parameter firmware of the first version and the configuration parameter restoring firmware into a first storage area with read-only access rights; reading the second version communication main program and the configuration parameter firmware from the third storage area, and fusing the second version communication main program and the configuration parameter firmware, the first version communication main program and the configuration parameter firmware and the configuration parameter restoration firmware in the first storage area after the access authority is rewritten to obtain the communication firmware of the communication device; the access right of the first storage area is changed to read-only.
In another possible implementation manner of the first aspect, after the acquiring and storing the communication firmware of the communication device in the first storage area according to the firmware configuration information, the method further includes: configuring a sharing flag bit for the communication firmware stored in the first storage area, and setting the sharing flag bit as a first value; the shared flag bit set to the first value is used to indicate reading of the communication firmware stored in the first storage area.
In another possible implementation manner of the first aspect, before copying the communication firmware stored in the first storage area to the second storage area, the method further includes: and determining the sharing flag bit as a first value.
In another possible implementation manner of the first aspect, after copying the communication firmware stored in the first storage area to the second storage area, the method further includes: setting the shared flag bit to a second value; the shared flag bit set to the second value is used to indicate that the communication firmware stored in the first storage area is not to be read.
In another possible implementation manner of the first aspect, the communication firmware stored in the first storage area is updated with an update of the communication firmware version.
In another possible implementation manner of the first aspect, the method further includes: in response to detecting the version update, obtaining an upgraded firmware of the communication device; changing the access right of the first storage area into writable, and fusing the communication firmware stored in the first storage area with the updated firmware to obtain the communication firmware after updating the version; the access right of the first storage area is changed to read-only.
In another possible implementation manner of the first aspect, the method further includes: setting a sharing flag bit of the communication firmware stored in the first storage area as a first value; and in response to the sharing flag bit being a first value, copying the communication firmware stored in the first storage area to the second storage area so as to operate the communication firmware stored in the second storage area when the communication device is powered on.
In another possible implementation manner of the first aspect, the first communication device includes any one of a modem, a baseband processor, a baseband modem, and a mobile communication module.
In a second aspect, an electronic device is provided that includes a processor and a memory; the memory is used for storing code instructions; the processor is configured to execute code instructions to perform the method of conditioning an audio signal as in any of the possible designs of the first aspect.
In a third aspect, a computer readable storage medium is provided, in which instructions are stored which, when run on a computer, cause the computer to perform a method of conditioning an audio signal as in any of the possible designs of the first aspect.
In a fourth aspect, there is provided a computer program product comprising computer programs/instructions which when executed by a processor implement the method of any one of the possible designs of the first aspect.
The technical effects caused by any one of the design manners of the second aspect, the third aspect and the fourth aspect may be referred to the technical effects caused by the different design manners of the first aspect, which are not described herein.
Drawings
Fig. 1 shows a schematic structural view of a wristwatch;
FIG. 2 shows a schematic diagram of a burning system;
FIG. 3 is a schematic flow chart of a communication exception handling method;
FIG. 4 is a flow chart of the communication firmware of the communication device of the final user version generated by the smart watch 100 according to the information of the firmware configuration information;
FIG. 5 shows a schematic flow chart of an updated version of communication firmware;
fig. 6 shows a flow chart of a communication exception handling method.
Detailed Description
The following description of the technical solutions according to the embodiments of the present application will be given with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The following terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature.
In embodiments of the present application, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the embodiment of the present application, "and/or" is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In the description of the present application, it should be noted that, unless explicitly stated and limited otherwise, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; the specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
In order to better explain the technical scheme of the application, the following brief summary of terms related to the application is provided.
Rights to files, each file has an owner and an owner group, and rights of the owners, and others of the files to the text, such as readability (r), writeability (w), and executable (x), are specified. For general files, rights are easier to understand: "readable" means capable of reading the actual content of a file; "writable" means the actual content that can be edited, added, modified, deleted; "executable" means capable of running a script program. It is not easy for a directory file to understand its rights settings. For a file directory, "readable" means capable of reading into a list of files within the directory; "writable" means capable of adding, deleting, renaming files within a directory; "executable" means that the directory can be entered. The read, write and execute rights of the file can be abbreviated as r, w and x, and can be respectively indicated by numbers 4, 2 and 1, and the file owner has no association between the group and other user rights. The file in the embodiment of the present application may refer to firmware, etc.
In order to solve the technical problem in the background technology, an embodiment of the present application provides a method for processing communication exception, including: the read-only memory area of the electronic device stores communication firmware. The communication firmware in the read-only memory area can only be read and cannot be tampered with. In the process of operating the communication firmware of the readable and writable storage area, if the communication abnormality of the electronic equipment is detected, the communication firmware in the read-only storage area can be loaded into the readable and writable storage area, and the communication firmware loaded into the readable and writable storage area can be rerun.
It will be appreciated that the abnormal operation of the communication firmware in the readable and writable storage area may be caused by the communication firmware in the readable and writable storage area being falsified by an error, for example, by other software. Therefore, under the condition that the communication firmware in the readable and writable storage area runs abnormally, the communication firmware in the untampered read-only storage area can be reloaded and run, so that the condition that the communication firmware in the readable and writable storage area runs abnormally caused by the fact that the communication firmware in the readable and writable storage area is falsified by errors is eliminated, and the communication firmware runs normally. The communication firmware is used for supporting the communication function of the electronic equipment, and the embodiment of the application can further improve the communication (such as surfing the internet) of the electronic equipment and improve the user experience on the basis of enabling the communication firmware to normally operate.
The electronic device provided by the embodiment of the application can be a device with a wireless communication function. The electronic device may be a mobile phone (mobile), a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) electronic device, an augmented reality (augmented reality, AR) electronic device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remotemedical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on.
The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wearing and developing wearable devices by applying a wearable technology, such as glasses, gloves, watches, clothes, shoes and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
The technical scheme of the application is further described in detail below by taking electronic equipment as a watch.
Fig. 1 shows a schematic structural diagram of a wristwatch. As shown in fig. 1, the wristwatch, or smart wristwatch 100, includes a touch display 101, a processor 102, an Electrocardiogram (ECG) detection module 103, electrodes 104a, 104b, a capacitance sensor 105, an infrared spectrum detection unit (Infrared Spectroscopy, IR) 106, an inertial measurement unit (Inertial measurement unit, IMU) 107, a memory 108, a communication module 109, and the like.
The touch display 101 may be used as a touch panel to collect a touch operation of a user thereon and drive a responsive connection means according to a predetermined program. On the other hand, the touch display screen 101 may be used to display information input by the user or prompt information provided to the user and various menus on the smart watch 100 at the same time.
The processor 102 may include one or more processing units, such as: the processor 102 may include an application processor (application processor, AP), a baseband processor, a radio frequency processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), and/or a neural-network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The baseband processor is responsible for converting wireless signals into digital signals, managing the data transmission process, ensuring the stability of network connection, and the like.
The processor 102 may operate a communication exception handling method provided in an embodiment of the present application.
The wireless communication function of the wristwatch 100 can be realized by an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a Modem (Modem), a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the wristwatch 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to the wristwatch 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the electromagnetic waves to a modem for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 102. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 102.
Modem, abbreviated as Modulator (Modulator) and Demodulator (DeModulator), chinese, is called Modem. Modulation is the conversion of a digital signal into an analog signal for transmission over a telephone line; demodulation, i.e. converting an analog signal into a digital signal, is called a modulator-demodulator. It converts digital signals into analog signals by modulation and converts analog signals into digital signals at the receiving end by demodulation. When transmitting data, the smart watch 100 first converts the digital signal to a corresponding analog signal by the modem, a process known as "modulation". The modem of the receiving party is responsible for recovering the analog signal into a digital signal recognizable by the smart watch 100, referred to as "demodulation", before the modulated signal is transmitted to another electronic device via the carrier. It is through such a digital-to-analog conversion process of "modulation" and "demodulation" that the telecommunication between two electronic devices is achieved. Modems play an important role in networking and remote access.
In some embodiments, the modem and baseband processor may be separate devices. In this embodiment, the communication device in the embodiment of the present application may be a modem, a baseband processor or a mobile communication module 150. In other embodiments, the modem and baseband processor may be provided in the same device. In this embodiment, the modem and the baseband processor provided in the same device may also be called a baseband modem. In this embodiment, the communication device in the embodiment of the present application may be a baseband modem, or the mobile communication module 150. In still other embodiments, the modem may also be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 102.
The communication firmware is software which is arranged in the communication device and is used for driving the communication device to realize corresponding functions. For example, the communication device is taken as a modem, and the communication firmware or modem firmware is software arranged in the modem and used for driving the modem to realize the modulation and demodulation functions.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the wristwatch 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 of watch 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 such that watch 100 may communicate with a network and other devices via wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-divisioncode division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
And an ECG detection module 103 for processing the electrical signals of the human body detected by the electrodes 104a and 104b into ECG waveforms. For example, the ECG detection module 103 may include one or more filters inside, or the ECG detection module 103 may be coupled with one or more filters. The one or more filters may be configured to filter the electrical signals of the human body detected by the electrodes 104a and 104b, for example, the ECG detection module 103 may be configured with a frequency bandwidth of the one or more filters, and if the frequency bandwidth of the filter is 0.5-40Hz, the filter may filter the input signals (such as the electrical signals detected by the electrodes 104a and 104 b) to obtain electrical signals in the range of 0.5-40Hz, and the electrical signals of other frequencies are filtered. In some embodiments, the above function of processing the electrical signals detected by electrodes 104a and 104b into ECG waveforms may be performed by other components, assemblies, or circuits, which may be separate and distinct components from processor 102. Other components, assemblies, or circuits may be built from separate devices (e.g., semiconductor devices), such as integrated circuits (integrated circuit, ICs), microcircuits (chips), microchips, etc., that integrate ECG sensing functions, as the application is not limited in this regard.
The capacitance sensor 105 may be used to detect a capacitance between a human body and the smart watch 100, which may reflect whether the contact between the human body and the smart watch 100 is good. When the capacitance sensor 105 is disposed on the electrode 104a and/or the electrode 104b, the capacitance sensor 105 may detect a capacitance between a human body and the electrode 104a and/or the electrode 104 b. When the capacitance detected by the capacitance sensor 105 is too large or too small, it indicates that the human body is in poor contact with the electrode 104a and/or the electrode 104 b; when the capacitance detected by the capacitance sensor 105 is moderate, it is indicated that the human body is in good contact with the electrode 104a and/or the electrode 104 b.
The infrared spectrum detection unit 106 is used for detecting the wearing state according to the reflection values of different substances.
The inertial measurement unit 107 is used to measure the three-axis attitude angle (or angular rate) and acceleration of the object. In some embodiments, the inertial measurement unit 107 includes three single-axis accelerometers and three single-axis gyroscopes, where the accelerometers detect acceleration signals of the object on the carrier coordinate system on three independent axes, and the gyroscopes detect angular velocity signals of the carrier relative to the navigation coordinate system, measure angular velocity and acceleration of the object in three-dimensional space, and calculate the posture of the object according to the angular velocity and acceleration signals, and in some embodiments of the present application, may detect the information of the wearing position of the smart watch 100 on the wrist of the user.
The memory 108 is used to store software programs and data, and the processor 102 performs various functional applications and data processing of the smart watch 100 by running the software programs and data stored in the memory 108. For example, in some embodiments of the present application, the memory 108 is programmed with the communication firmware under a read-only directory. The communication firmware under the read-only directory can only be read, but cannot be tampered.
The communication module 109 may be used to enable the smart watch 100 to communicate with other electronic devices and connect to a network through the other electronic devices.
The embodiment of the application provides a communication exception handling method, which can be used for performing self-recovery when a communication firmware cannot be normally operated by an intelligent watch 100, so that normal communication of electronic equipment is ensured, and user experience is improved.
The following describes a communication exception handling method provided by the embodiment of the present application in three stages. The three stages comprise a communication firmware burning stage, a version updating stage after the communication firmware burning and a communication firmware using stage.
Communication firmware burning stage
The burning is also called burning, namely, burning the data into the medium such as the memory. In the address firmware burning stage, the method can be applied to an application environment as shown in fig. 2, and fig. 2 shows a schematic diagram of a burning system. The writing device notebook computer 200 is connected with the smart watch 100, and the writing device is used for writing the communication firmware corresponding to the device to be written into the device to be written. It will be appreciated that only a burning device such as a notebook computer 200 is shown in fig. 2, and the burning device may include, but is not limited to, various personal computers, notebook computers, tablet computers. Fig. 2 only shows a device to be burned, which is the smart watch 100, and the device to be burned may also be various electronic devices adapted to the communication exception handling method provided by the embodiment of the present application.
The following describes a procedure of a communication exception handling method in the burning stage of the communication firmware.
Fig. 3 shows a flow chart of a communication exception handling method. As shown in fig. 3, the process includes the steps of:
step 301: the notebook computer 200 transmits firmware configuration information to the smart watch 100 in response to a user operation.
The user operation is used to trigger the notebook computer 200 to configure the communication firmware into the smart watch 100.
In some embodiments, the firmware configuration information may include communication firmware of the communication device of the end-use version of the user. Thus, the smart watch 100 may obtain the communication firmware of the communication device of the final user version from the firmware configuration information, and store the communication firmware of the communication device in the first storage area.
In other embodiments, the firmware configuration information may include: factory version of communication main program and configuration parameter firmware, user version of communication main program and configuration parameter firmware, and communication parameter calibration values (e.g., radio frequency calibration values). Thus, the smart watch 100 may generate the communication firmware of the communication device of the final user version according to the information of the firmware configuration information, and store the communication firmware of the communication device in the first storage area.
It is understood that the communication firmware may include a communication main program, configuration parameter firmware, and configuration parameter firmware restoration firmware. The configuration parameter firmware restoration firmware is used for restoring the configuration parameter firmware after the configuration parameter firmware is damaged. For example, as shown in table 1, table 1 shows a composition table of communication firmware.
TABLE 1
As shown in table 1, the communication host may include modem.bin, e.g., modem.bin may be the baseband modem host. The configuration parameter firmware may include fixnv.bin, dltnv.bin. The configuration parameter firmware restoration firmware may include fixv_h.binfixnv2.binfixnv2_h.bin.
The directory corresponds to a storage area, and the smart watch 100 may find the storage area corresponding to the directory according to the directory. The first directory corresponds to the first storage area, and may include, but is not limited to, system/modem/fw/.
Step 302: the smart watch 100 receives the firmware configuration information, and obtains and stores the communication firmware of the communication device to the first storage area according to the firmware configuration information.
In some embodiments, the firmware configuration information includes a communication firmware of the communication device of the end-use version of the user. The smart watch 100 may obtain the communication firmware of the communication device of the end-use version of the user from the firmware configuration information, and store the communication firmware of the communication device in the first storage area.
In other embodiments, if the firmware configuration information includes: factory version of communication main program and configuration parameter firmware, user version of communication main program and configuration parameter firmware, and communication parameter calibration values (e.g., radio frequency calibration values). The smart watch 100 may generate a communication firmware of the communication device of the user end-use version according to the information of the firmware configuration information, and store the communication firmware of the communication device in the first storage area.
Specifically, the wristwatch 100 calibrates the factory version communication main program and the configuration parameter firmware according to the communication parameter calibration value to obtain the configuration parameter recovery firmware; and fusing the communication main program and the configuration parameter firmware of the factory version, the communication main program and the configuration parameter firmware of the user version and the configuration parameter restoration firmware to obtain and store the communication firmware of the communication device to the first storage area.
The following describes a scheme for generating communication firmware of a communication device of a user end-use version according to information of firmware configuration information.
Fig. 4 is a flowchart of a process for generating communication firmware of a communication device of a final user version of the smart watch 100 according to information of firmware configuration information. As shown in fig. 4, the flow includes the steps of:
Step 401: the smart watch 100 burns the factory version of the communication host program and the configuration parameter firmware to the second memory area.
The directory corresponds to a storage area, and the smart watch 100 may find the storage area corresponding to the directory according to the directory. The second directory corresponds to the second storage area, and the second directory may include, but is not limited to, a user/modem/.
The following describes a process of the smart watch 100 generating communication firmware of the communication device of the user end-use version according to the information of the firmware configuration information, taking the communication main program in table 1 as an example, which may include modem.
For example, the smart watch 100 burns a factory version of the communication main program (modem. Bin) and configuration parameter firmware (fixnv. Bin, dltnv. Bin) to the second storage area pointed to by the user/modem/directory.
Step 402: the smart watch 100 writes the communication parameter calibration value into the factory version of the configuration parameter firmware stored in the second storage area, and runs the factory version of the communication main program and the configuration parameter firmware to obtain the configuration parameter recovery firmware.
The smart watch 100 performs steps 401 and 402, and may calibrate the factory version of the communication main program and the configuration parameter firmware according to the communication parameter calibration value to obtain the configuration parameter recovery firmware.
The communication parameter calibration values may include, but are not limited to, radio frequency parameter calibration values.
For example, the smart watch 100 writes the communication parameter calibration value into the factory version configuration parameter firmware fixnv.bin stored in the second storage area to which the user/modem points, and runs the factory version communication main program and the configuration parameter firmware to obtain the configuration parameter restoration firmware fixnv_h.bin fixnv2.bin fixnv2_h.bin.
Step 403: the smart watch 100 burns the communication main program of the user version and the configuration parameter firmware to the third storage area; the third storage area is different from the second storage area, and the access authority of the third storage area is readable and writable.
The directory corresponds to a storage area, and the smart watch 100 may find the storage area corresponding to the directory according to the directory. The third directory corresponds to the third storage area, and the third directory may include update/, but is not limited thereto.
For example, the smart watch 100 burns the user version of the communication master modem. Bin and the configuration parameter firmware fixnv.bin, dltnv.bin to the third storage area pointed to by the update/directory.
Step 404: the smart watch 100 changes the access rights of the first storage area to writable.
Step 405: the smart watch 100 copies the factory version of the communication main program and the configuration parameter firmware, and the configuration parameter restoration firmware to the first storage area with read-only access rights.
Step 406: the smart watch 100 reads the user version communication main program and the configuration parameter firmware from the third storage area, and fuses the user version communication main program and the configuration parameter firmware, the factory version communication main program and the configuration parameter firmware, and the configuration parameter restoration firmware in the first storage area after the access authority is rewritten, so as to obtain the communication firmware of the communication device.
The smart watch 100 fuses the user version communication main program and the configuration parameter firmware, the factory version communication main program and the configuration parameter firmware, and the configuration parameter restoration firmware, and the communication firmware of the communication device is obtained as the prior art, which is not described herein.
Step 407: the smart watch 100 changes the access rights of the first storage area to read-only.
Step 408: the smart watch 100 configures a shared flag bit for the communication firmware stored in the first storage area, and sets the shared flag bit to a first value; the shared flag bit set to the first value is used to indicate reading of the communication firmware stored in the first storage area.
The smart watch 100 restores the access rights of the first storage area to read-only and writes the shared flag bit for the communication firmware. Thus, when the communication device of the smart watch 100 is loaded, in response to the shared flag bit being the first value, the smart watch 100 may copy the communication firmware from the first storage area to the second storage area, operate the communication firmware of the second storage area, and copy the communication firmware from the first storage area to the second storage area until the new version of the communication firmware is updated, or copy the communication firmware from the first storage area to the second storage area when the communication firmware is abnormally operated.
For example, the smart watch 100 copies 6 firmware modem_bin, fixnv_bin, dltnv_bin, fixv_h.bin fixnv2.bin fixv2_h.bin of the read-only memory area pointed to by the system/modem/fw/directory to the read-write memory area pointed to by the user/modem/directory, runs the aforementioned 6 firmware of the read-write memory area pointed to by the user/modem/directory, and does not copy the communication firmware from the first memory area to the second memory area until the new version of the communication firmware is updated, or copies the communication firmware from the first memory area to the second memory area until the communication firmware is abnormally operated.
Version updating stage after burning communication firmware
If the new version of the communication firmware occurs, the smart watch 100 detects the update of the version and updates the new version of the communication firmware.
Fig. 5 shows a schematic flow chart of a communication firmware update version, as shown in fig. 5, the flow includes the following steps:
step 501: in response to detecting the version update, the smart watch 100 obtains an upgraded firmware of the communication device.
Step 502: the smart watch 100 changes the access right of the first storage area into writable, and fuses the communication firmware stored in the first storage area with the updated firmware to obtain the communication firmware after the updated version.
It can be understood that the communication firmware and the updated firmware are fused, and the communication firmware after the updated version is obtained is the prior art and will not be described herein.
For example, the smart watch 100 copies fixv.bin in the upgraded communication firmware to the read-write memory area pointed to by the update/directory. The smart watch 100 performs a fusion operation on the fixv.bin stored in the readable and writable storage area pointed by the update/directory and the fixv.bin in the second storage area pointed by the system/mod m/fw/directory, and generates 3 firmware fixv_h.bin, fixv 2.bin and fixv2_h.bin in the readable and writable storage area pointed by the update/directory. The smart watch 100 copies the fixv.bin, fixv_h.bin fixv 2.bin and fixv 2_h.bin in the readable and writable storage area pointed by the updte/directory to the second storage area pointed by the system/mode/fw/directory to obtain updated version of the communication firmware.
Upgrade firmware 17.0.0.500 may mean that the version of the communication firmware is 17.0.0.500.
Step 503: the smart watch 100 changes the access rights of the first storage area to read-only.
The data in the read-only memory area cannot be tampered, and the communication firmware stored in the first memory area after the updated version is safer.
Step 504: the smart watch 100 sets the shared flag bit of the communication firmware stored in the first storage area to a first value.
It will be appreciated that the shared flag bit set to the first value is used to indicate that the communication firmware stored in the first memory area is read. In this way, when the smart watch 100 determines that the shared flag bit is the first value, the communication firmware stored in the first storage area may be copied to the second storage area.
Use stage of communication firmware
The following describes a procedure of a communication exception handling method in the use phase of the communication firmware.
It can be understood that the execution precondition of the communication exception handling method provided by the embodiment of the present application is that the communication firmware is stored in the first storage area of the smart watch 100, and the access right of the first storage area is read-only.
Fig. 6 shows a flow chart of a communication exception handling method. As shown in fig. 6, the flow includes the steps of:
step 601: the smart watch 100 operates communication firmware of the communication device stored in the second storage area of the smart watch 100 through the communication device in response to the communication device of the smart watch 100 being powered on; the access right of the second storage area is readable and writable.
In some embodiments, in the event that the communication device is powered up for the first time, the smart watch 100 may copy the communication firmware stored in the first memory area to the second memory area before running the communication firmware of the communication device stored in the second memory area of the smart watch 100 through the communication device. In this way, the smart watch 100 may then operate the communication firmware of the communication device stored in the second storage area of the smart watch 100 via the communication device in response to the communication device of the smart watch 100 being powered on.
It will be appreciated that the shared flag bit set to the first value is used to indicate that the communication firmware stored in the first memory area is allowed to be read. In some embodiments, the smart watch 100 may copy the communication firmware stored in the first storage area to the second storage area upon determining that the shared flag bit is the first value, so as to operate the communication firmware stored in the second storage area when the communication device is powered on.
The smart watch 100 may further set the shared flag bit to a second value after copying the communication firmware stored in the first storage area to the second storage area; the shared flag bit set to the second value is used to indicate that the communication firmware stored in the first storage area is not to be read, but the communication firmware can be copied from the first storage area to the second storage area when the communication firmware is abnormally operated.
Step 602: in the case of abnormal operation of the communication firmware, the smart watch 100 copies the communication firmware stored in the first storage area to the second storage area.
It is understood that the read authority of the communication firmware in the first storage area is read-only. In this way, in the case that the communication firmware of the readable and writable storage area is abnormally operated, the communication firmware that is not tampered with is provided to the smart watch 100. The abnormal operation of the communication firmware in the second storage area may be caused by the fact that the communication firmware in the readable and writable storage area is falsified by an error, for example, by other software.
It will be appreciated that the first storage area pointed to by the first directory differs from the second storage area pointed to by the second directory in that the read rights are different. For example, as shown in table 2, table 2 shows a composition table of communication firmware.
TABLE 2
As shown in Table 2, the first directory may be system/modem/fw/, and the second directory may be user/modem/. The read permission of the communication main program, the configuration parameter firmware and the configuration parameter firmware restoring firmware in the first storage area pointed by the first catalog is read-only. The read permission of the communication main program, the configuration parameter firmware and the configuration parameter firmware restoring firmware in the second storage area pointed by the second catalog is readable and writable.
Taking table 2 as an example, if an abnormal operation of the communication firmware under the user/modem/directory is detected, the smart watch 100 may copy 6 firmware of modem, bin, fixnv, dltnv, bin and fixnv_h.bin fixnv2.bin fixnv2_h.bin from the system/modem/fw/under to the user/modem/directory, and then re-operate the communication firmware loaded to the user/modem/directory.
It will be appreciated that the communications firmware stored in the first storage area may be updated as the communications firmware version is updated. The update process is described above and will not be described in detail here.
Step 603: the smart watch 100 runs communication firmware copied from the first storage area to the second storage area through the communication device to enable the watch 100 to access a network.
For example, taking table 2 as an example, if an abnormal operation of the communication firmware under the user/modem/directory is detected, the smart watch 100 may copy 6 firmware of modem, fixv, bin, dltnv_h.bin fixnv2.bin fixv2_h.bin from the first storage area pointed by the system/modem/fw/directory to the second storage area pointed by the user/modem/directory, so that the smart watch 100 may operate the communication firmware copied from the first storage area to the second storage area through the communication device to enable the watch 100 to access the network.
In the embodiment of the application, the abnormal operation of the communication firmware in the readable and writable storage area may be caused by the fact that the communication firmware in the readable and writable storage area is falsified by errors, for example, other software errors. Therefore, under the condition that the communication firmware in the readable and writable storage area runs abnormally, the communication firmware in the untampered read-only storage area can be reloaded and run, so that the condition that the communication firmware in the readable and writable storage area runs abnormally caused by the fact that the communication firmware in the readable and writable storage area is falsified by errors is eliminated, and the communication firmware runs normally. And the communication firmware is used for supporting the communication function of the intelligent watch 100, the embodiment of the application can enable the intelligent watch 100 to communicate (e.g. surfing the internet) normally on the basis of enabling the communication firmware to operate normally, and user experience is improved.
Embodiments of the present application also provide a computer-readable storage medium including computer instructions that, when executed on a mobile terminal as described above, cause the mobile terminal to perform the functions or steps performed by the watch 200 in the method embodiments described above.
Embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the functions or steps performed by the watch 100 in the method embodiments described above. The computer may be an electronic device as described above (e.g., wristwatch 100).
Embodiments of the disclosed mechanisms may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as a computer program or program code that is executed on a programmable system comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (Digital Signal Processor, DSP), microcontroller, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present application are not limited in scope by any particular programming language. In either case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer-readable storage media. Thus, a machine-readable storage medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, read-Only memories (CD-ROMs), magneto-optical disks, read-Only memories (ROMs), random access memories (Random Access Memory, RAMs), erasable programmable Read-Only memories (Erasable Programmable Read Only Memory, EPROMs), electrically erasable programmable Read-Only memories (Electrically Erasable Programmable Read-Only memories, EEPROMs), magnetic or optical cards, flash Memory, or tangible machine-readable Memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) in an electrical, optical, acoustical or other form of transmission signal based on the internet. Thus, a machine-readable storage medium includes any type of machine-readable storage medium suitable for storing or propagating electronic instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module mentioned in each device is a logic unit/module, and in physical terms, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is only a key for solving the technical problem posed by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems posed by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are 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. Moreover, 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" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.

Claims (14)

1. The communication exception handling method is characterized in that the method is applied to electronic equipment, communication firmware is stored in a first storage area of the electronic equipment, and access permission of the first storage area is read-only, and the method comprises the following steps:
responding to the power-on of a communication device of the electronic equipment, and operating the communication firmware of the communication device stored in a second storage area of the electronic equipment through the communication device; the access authority of the second storage area is readable and writable;
copying the communication firmware stored in the first storage area to the second storage area under the condition that the communication firmware operates abnormally;
and running the communication firmware copied from the first storage area to the second storage area through the communication device so as to enable the electronic equipment to access a network.
2. The method of claim 1, wherein in the event that the communication device is powered up for the first time, prior to running the communication firmware of the communication device stored in the second memory area of the electronic device through the communication device, the method further comprises:
copying the communication firmware stored in the first storage area to the second storage area.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring firmware configuration information of the communication device;
and acquiring and storing communication firmware of the communication device to the first storage area according to the firmware configuration information.
4. The method of claim 3, wherein the firmware configuration information comprises: the communication main program and the configuration parameter firmware of the first version, the communication main program and the configuration parameter firmware of the second version and the communication parameter calibration value;
the obtaining and storing the communication firmware of the communication device to the first storage area according to the firmware configuration information includes:
calibrating the communication main program of the first version and the configuration parameter firmware according to the communication parameter calibration value to obtain configuration parameter restoration firmware;
and fusing the communication main program and the configuration parameter firmware of the first version, the communication main program and the configuration parameter firmware of the second version and the configuration parameter restoration firmware to obtain and store the communication firmware of the communication device to the first storage area.
5. The method of claim 4, wherein calibrating the first version of the communication main program and the configuration parameter firmware according to the communication parameter calibration value to obtain the configuration parameter recovery firmware comprises:
Burning the communication main program and the configuration parameter firmware of the first version to the second storage area;
writing the communication parameter calibration value into the first version of configuration parameter firmware stored in the second storage area, and running the first version of communication main program and the configuration parameter firmware to obtain the configuration parameter restoration firmware.
6. The method of claim 5, wherein the method further comprises:
burning the communication main program and the configuration parameter firmware of the second version to a third storage area; the third storage area is different from the second storage area, and the access authority of the third storage area is readable and writable;
the fusing the communication main program and the configuration parameter firmware of the first version, the communication main program and the configuration parameter firmware of the second version, and the configuration parameter restoring firmware, to obtain and store the communication firmware of the communication device to the first storage area, includes:
changing the access right of the first storage area into writable;
copying the communication main program and the configuration parameter firmware of the first version and the configuration parameter restoring firmware into the first storage area with read-only access rights;
Reading the second version communication main program and the configuration parameter firmware from the third storage area, and fusing the second version communication main program and the configuration parameter firmware, the first version communication main program and the configuration parameter firmware and the configuration parameter restoration firmware in the first storage area after the access right is rewritten to obtain the communication firmware of the communication device;
and changing the access right of the first storage area into read-only.
7. The method according to any one of claims 3-6, wherein after said retrieving and storing the communication firmware of the communication device to the first storage area according to the firmware configuration information, the method further comprises:
configuring a sharing flag bit for the communication firmware stored in the first storage area, and setting the sharing flag bit as a first value; the shared flag bit set to the first value is used for indicating to read the communication firmware stored in the first storage area.
8. The method of claim 7, wherein prior to copying the communication firmware stored in the first storage area to the second storage area, the method further comprises:
And determining the sharing flag bit as the first value.
9. The method of claim 8, wherein after copying the communication firmware stored in the first storage area to the second storage area, the method further comprises:
setting the sharing flag bit to a second value; the shared flag bit set to the second value is used to indicate that the communication firmware stored in the first storage area is not to be read.
10. The method of any of claims 1-9, wherein the communication firmware stored in the first storage area is updated as the communication firmware version is updated.
11. The method according to claim 10, wherein the method further comprises:
in response to detecting the version update, acquiring an upgraded firmware of the communication device;
changing the access right of the first storage area into writable, and fusing the communication firmware stored in the first storage area with the updated firmware to obtain the communication firmware after updating the version;
and changing the access right of the first storage area into read-only.
12. The method of claim 11, wherein the method further comprises:
Setting a sharing flag bit of the communication firmware stored in the first storage area as a first value;
and when the communication device of the electronic equipment is loaded, the communication firmware stored in the first storage area is copied to the second storage area in response to the sharing flag bit being the first value.
13. An electronic device comprising a processor and a memory; the memory is used for storing code instructions; the processor is configured to execute the code instructions to cause the electronic device to perform the method of any of claims 1-12.
14. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-12.
CN202310864257.0A 2023-07-12 2023-07-12 Communication abnormality processing method, electronic device, and computer-readable storage medium Active CN116847019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310864257.0A CN116847019B (en) 2023-07-12 2023-07-12 Communication abnormality processing method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310864257.0A CN116847019B (en) 2023-07-12 2023-07-12 Communication abnormality processing method, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN116847019A true CN116847019A (en) 2023-10-03
CN116847019B CN116847019B (en) 2024-06-25

Family

ID=88163272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310864257.0A Active CN116847019B (en) 2023-07-12 2023-07-12 Communication abnormality processing method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116847019B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program
CN107634859A (en) * 2017-09-30 2018-01-26 飞天诚信科技股份有限公司 A kind of firmware upgrade method and device
CN109634631A (en) * 2018-11-01 2019-04-16 北京锦鸿希电信息技术股份有限公司 Firmware restoration method, apparatus, electronic equipment and firmware restoration system
CN111316235A (en) * 2019-03-29 2020-06-19 深圳市大疆创新科技有限公司 Method for starting system, electronic device and machine-readable storage medium
CN114035855A (en) * 2021-09-30 2022-02-11 鸣芯信息科技(上海)有限公司 Firmware debugging method, device, terminal and storage medium
CN115202686A (en) * 2022-06-06 2022-10-18 亿咖通(湖北)技术有限公司 Virtualization system upgrading method and device, electronic equipment and storage medium
CN115237647A (en) * 2022-07-12 2022-10-25 深圳市正浩创新科技股份有限公司 Firmware abnormity repairing method and device, electronic equipment and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program
CN107634859A (en) * 2017-09-30 2018-01-26 飞天诚信科技股份有限公司 A kind of firmware upgrade method and device
CN109634631A (en) * 2018-11-01 2019-04-16 北京锦鸿希电信息技术股份有限公司 Firmware restoration method, apparatus, electronic equipment and firmware restoration system
CN111316235A (en) * 2019-03-29 2020-06-19 深圳市大疆创新科技有限公司 Method for starting system, electronic device and machine-readable storage medium
CN114035855A (en) * 2021-09-30 2022-02-11 鸣芯信息科技(上海)有限公司 Firmware debugging method, device, terminal and storage medium
CN115202686A (en) * 2022-06-06 2022-10-18 亿咖通(湖北)技术有限公司 Virtualization system upgrading method and device, electronic equipment and storage medium
CN115237647A (en) * 2022-07-12 2022-10-25 深圳市正浩创新科技股份有限公司 Firmware abnormity repairing method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN116847019B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
EP3392888B1 (en) Electronic device including multiple coils
EP3345077B1 (en) Foldable electronic device including hidden display and information display method thereof
US10057470B2 (en) Electronic device and photographing method thereof
US10386943B2 (en) Electronic device comprising rotating body and control method therefor
CN106209964B (en) Electronic device and method for controlling execution of application in electronic device
US20170047636A1 (en) Antenna structure and electronic device including the same
EP3342161B1 (en) Image processing device and operational method thereof
US11012070B2 (en) Electronic device and method thereof for grip recognition
KR20170054955A (en) Antenna device and electronic device with the same
WO2018025843A1 (en) Information processing system, client terminal, and control method
KR20180096385A (en) Front end module supporting device to device communication using a plurality of frequency bands and electronic device comprising the front end module
CN115655310B (en) Data calibration method, electronic device and readable storage medium
US9930944B2 (en) Case, electronic device coupled to case, and method of controlling electronic device
US11436306B2 (en) Identification information management method and electronic device supporting same
US11210147B2 (en) Electronic device for performing application-related interoperation, and method therefor
US10621308B2 (en) Electronic device and method for linking exercise schedule thereof
US10552113B2 (en) Electronic device and method for controlling operation thereof
CN116847019B (en) Communication abnormality processing method, electronic device, and computer-readable storage medium
KR20170114800A (en) Method and apparatus for improving signal quality in electronic device
WO2021036869A1 (en) Location information obtaining method and electronic device
US10261744B2 (en) Method and device for providing application using external electronic device
US20180191816A1 (en) Electronic device and application sharing method thereof
KR20180130998A (en) Method for calibration and an electronic device thereof
US11017794B2 (en) Electronic device, and method for reducing noise of voice signal by utilizing same
KR20170004735A (en) Electronic apparatus and receiving 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