CN111399874A - System upgrading method and device, storage medium and intelligent wearable device - Google Patents

System upgrading method and device, storage medium and intelligent wearable device Download PDF

Info

Publication number
CN111399874A
CN111399874A CN202010147637.9A CN202010147637A CN111399874A CN 111399874 A CN111399874 A CN 111399874A CN 202010147637 A CN202010147637 A CN 202010147637A CN 111399874 A CN111399874 A CN 111399874A
Authority
CN
China
Prior art keywords
upgrading
upgrade
data
instruction
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010147637.9A
Other languages
Chinese (zh)
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN202010147637.9A priority Critical patent/CN111399874A/en
Publication of CN111399874A publication Critical patent/CN111399874A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/128Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine for dedicated transfers to a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The embodiment of the application discloses a system upgrading method and device, a storage medium and intelligent wearable equipment. The system upgrading method comprises the following steps: in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction; receiving an upgrade data packet based on the wireless virtual interface; storing the upgrading data packet in a designated storage area; and finishing system upgrading according to the upgrading data packet in the appointed storage area. According to the embodiment of the application, the two wireless virtual interfaces are arranged on the intelligent wearable device, so that when the intelligent wearable device is in wireless connection operation with a terminal, system upgrading and wireless connection can be synchronously maintained, operation of a user is facilitated, and the system upgrading rate of the intelligent wearable device can be effectively improved.

Description

System upgrading method and device, storage medium and intelligent wearable device
Technical Field
The application relates to the field of intelligent wearable equipment application, in particular to a system upgrading method and device, a storage medium and intelligent wearable equipment.
Background
With the development of mobile terminal technology, especially wearable equipment, mobile terminals tend to be more miniaturized and are used more and more in specific fields, such as watches and the like; in order to save energy, the watch is limited by conditions such as a display screen and touch precision of the watch, the watch generally needs to be matched with other terminals for use, and the watch is usually connected with the other terminals in a matching mode through wireless, so that the watch cannot be simultaneously connected with the other terminals when the watch is required to be upgraded in the using process.
Disclosure of Invention
The embodiment of the application provides a system upgrading method and device, a storage medium and intelligent wearable equipment, and the system upgrading speed of the intelligent wearable equipment can be effectively improved.
The embodiment of the application provides a system upgrading method, which comprises the following steps:
in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction;
receiving an upgrade data packet based on the wireless virtual interface;
storing the upgrading data packet in a designated storage area;
and finishing system upgrading according to the upgrading data packet in the appointed storage area.
Correspondingly, the embodiment of the present application further provides a system upgrading apparatus, including:
the first receiving unit is used for starting a wireless virtual interface according to a system upgrading instruction when the system upgrading instruction is received in the process of data transmission with a terminal;
a second receiving unit, configured to receive an upgrade data packet based on the wireless virtual interface;
the storage unit is used for storing the upgrading data packet in a specified storage area;
and the operation unit is used for finishing system upgrading according to the upgrading data packet in the specified storage area.
Correspondingly, the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in the system upgrade method as described above.
Correspondingly, the embodiment of the application also provides an intelligent wearable device, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps in the system upgrading method.
According to the embodiment of the application, the two wireless virtual interfaces are arranged on the intelligent wearable device, so that when the intelligent wearable device is in wireless connection operation with a terminal, system upgrading and wireless connection can be synchronously maintained, operation of a user is facilitated, and the system upgrading rate of the intelligent wearable device can be effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first system upgrade method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a second system upgrade method according to an embodiment of the present application.
Fig. 3 is a block diagram of a first system upgrade apparatus according to an embodiment of the present disclosure.
Fig. 4 is a block diagram of a second system upgrade apparatus according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an intelligent wearable device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Based on the above problems, embodiments of the present application provide a method and an apparatus for upgrading a system, a storage medium, and an intelligent wearable device, which can effectively improve the system upgrading rate of the intelligent wearable device. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a system upgrade method according to an embodiment of the present disclosure. The system upgrading method can be applied to intelligent wearable equipment such as intelligent watches, intelligent bracelets and the like. The specific process of the system upgrading method can be as follows:
101. and in the process of data transmission with the terminal, when a system upgrading instruction is received, the wireless virtual interface is opened according to the system upgrading instruction.
Specifically, data transmission with the terminal may indicate that the intelligent wearable device is in a connection state with the terminal, and data transmission is performed, for example, data transmission may be performed for sharing files.
In some embodiments, before the step "data transmission with the terminal", the following steps may be included:
receiving a connection request of the terminal, and starting another wireless virtual interface according to the connection request;
and carrying out data transmission with the terminal based on the other wireless virtual interface.
Specifically, a connection request of the terminal is received, and the intelligent wearable device can be connected with the terminal in various ways, for example, wired connection can be performed, which is similar to a data transmission line; or may be connected via a wireless connection, like via a network; or may be connected via bluetooth or other connection means.
For example, the connection request sent by the receiving terminal may be a wireless network connection request, and after receiving the wireless network connection request, another wireless virtual interface may be opened, where the another wireless virtual interface is virtualized on an actual physical interface, and may be defined by a setting interface, and the another wireless virtual interface is used for performing functions such as transmission and transmission with the terminal.
Specifically, after the connection with the terminal is performed and the other wireless virtual interface is opened, data transmission can be performed with the terminal based on the other wireless virtual interface, so that the intelligent device and the terminal can keep a data transmission state from being interrupted.
Specifically, the system upgrading instruction is received, whether the current using system is the latest system or not can be detected when the intelligent wearable device is connected with the network, and the system upgrading instruction can be triggered if the current using system is detected not to be the latest system.
The intelligent wearable device can perform system upgrade in multiple ways, for example, update files can be acquired in a wireless way and then updated, or files can be acquired and updated in a wired way by connecting a Universal Serial Bus (USB), and the like.
Specifically, the wireless virtual interface is started according to the system upgrading instruction, the wireless virtual interface and the other wireless virtual interface are both virtualized on an actual physical interface, and the wireless virtual interface can be used for receiving the update file by setting the interface definition.
The wireless virtual interface refers to an interface which can realize a data exchange function but does not exist physically and needs to be established through configuration, and includes a Dialer (dial-up) interface, a sub-interface, an L oopBack (local loopback interface, or address) interface, a NU LL interface, a backup center logical channel, a virtual template interface and the like.
The wireless virtual interface is relative to the physical interface, which is the hardware interface that is seen, such as MP3(Moving Picture Experts Group Audio L player-3, player capable of playing music files) and computer connection.
102. An upgrade data packet is received based on the wireless virtual interface.
Specifically, after the wireless virtual interface is turned on, the upgrade data packet may be received according to the wireless virtual interface. The upgrade data package may be obtained in various manners, for example, the upgrade data package may be obtained in a wireless manner, or obtained by connecting to a USB in a wired manner, and the like. The upgrade data package may include system configuration information for a new version of the system that is different from the current system, and may include data information for a plurality of update files.
For example, the intelligent wearable device can acquire the upgrade data package in a wireless manner, connect to a network, acquire the upgrade data package from the server side, and receive the acquired upgrade data package through the wireless virtual interface.
103. And storing the upgrading data packet in a designated storage area.
The specific storage area can be a temporary storage area divided from a system Memory, and the temporary storage area can be optimally divided from a power-down nonvolatile Memory, so that system pointing during subsequent starting-up of the mobile terminal after shutdown is facilitated, and the power-down nonvolatile Memory generally comprises an EMMC (Embedded MultiMedia Card, Embedded Memory standard specification), an EEPROM (Electrically Erasable programmable read-Only Memory), an F L ASH (Flash Memory, a nonvolatile Memory), and a UFS (UNIX file system for short), etc.
For example, after receiving the upgrade data packet, the physical addresses corresponding to the storage areas where no data is stored may be obtained from the EEPROM memory, and these storage areas are set as temporary storage areas, which may be used to store the upgrade data packet.
104. And finishing system upgrading according to the upgrading data packet in the appointed storage area.
Specifically, after the upgrade data package is completely stored in the designated storage area, the system upgrade may be completed according to the upgrade data package in the designated storage area.
In some embodiments, the step "completing system upgrade according to the upgrade data packet in the designated storage area" may include the following procedures:
after all data in the upgrading data packet are stored in the designated storage area, an upgrading identifier is determined;
when a starting-up instruction is received, executing starting-up operation according to the starting-up instruction, and detecting whether the upgrading identification exists or not;
and if so, completing system upgrade according to the upgrade identification.
Specifically, after all the data in the upgrade data packet is stored in the designated storage area, the upgrade flag may be determined. Wherein the upgrade identifier may be a character string, such as "FINISH! ", and the like. By setting the upgrading identification, the intelligent wearable equipment starting system can be directly started by detecting the identification to point to the address of the appointed storage area when the intelligent wearable equipment is started next time, a new updating system is directly used for starting the intelligent wearable equipment, complex steps can be omitted, and upgrading efficiency is improved.
Specifically, after the upgrade identifier is set, when a boot instruction is received, a boot operation can be executed according to the boot instruction, the intelligent wearable device can perform boot detection during the boot operation, when the upgrade identifier is detected, it can be determined that an updated system exists, and then the system can be directly booted based on the updated system, so that the system upgrade is completed.
In some embodiments, the step "completing system upgrade according to the upgrade identifier" may include the following steps:
acquiring all data of the upgrading data packet;
updating a system configuration file based on all data of the data package;
and executing the starting operation according to the updated system configuration file.
Specifically, all data of the upgrade data package are acquired, and all the data include new version configuration data of a plurality of system applications. The current system configuration file may then be updated based on all the data in the upgrade data package.
The current system configuration file is updated, the updated system configuration file can be obtained by obtaining current configuration data corresponding to the system application in the upgrade data packet in the current system configuration file and replacing the new version configuration data of the system application in the upgrade data packet with the current configuration data in the current system configuration file, so that a new version system is obtained, and then the starting system can be directly pointed to the new version system to start up and complete system upgrade.
In some embodiments, before the step "receiving a boot instruction", the following steps may be further included:
detecting whether data is transmitted with the terminal;
if so, triggering a restart instruction after completing data transmission with the terminal;
and carrying out restarting operation according to the restarting instruction, and executing the step to detect whether the upgrading identifier exists.
Specifically, before receiving an upgrade instruction, the intelligent wearable device is in a state of being connected with the terminal, and performs data transmission.
If the current intelligent wearing and the terminal are in data transmission, a restart instruction can be triggered after the terminal finishes data transmission, the terminal is closed according to the restart instruction, then a starting task is executed, the restart operation is finished, and when the terminal is started, the continuous execution step can be executed to detect whether the upgrade identification exists to finish the follow-up system upgrade operation
In some embodiments, after the step of "completing system upgrade according to the upgrade data package in the designated storage area", the following steps may be further included:
clearing all data stored in the designated storage area.
Specifically, when the intelligent wearable device detects that the upgrading is needed, the designated storage area acquires the upgrading data, and is divided into the designated storage area for storing the upgrading data, so that after the upgrading data are transmitted to the intelligent wearable device, the data of the designated storage area can be cleared, the memory is released, other data contents are stored, and the memory space can be saved.
The embodiment of the application discloses a system upgrading method, which comprises the following steps: in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction; receiving an upgrade data packet based on the wireless virtual interface; storing the upgrading data packet in a designated storage area; and finishing system upgrading according to the upgrading data packet in the appointed storage area. According to the embodiment of the application, the two wireless virtual interfaces are arranged on the intelligent wearable device, so that when the intelligent wearable device is in wireless connection operation with a terminal, system upgrading and wireless connection can be synchronously maintained, operation of a user is facilitated, and the system upgrading rate of the intelligent wearable device can be effectively improved. .
Referring to fig. 2, fig. 2 is a schematic flowchart of a second system upgrade method according to an embodiment of the present application. The system upgrading method can be applied to the smart watch, and the specific scene application can be as follows:
201. the intelligent watch receives a connection request of the terminal, and starts a first wireless virtual interface to be connected with the other terminal according to the connection request.
Specifically, the current smart watch needs to perform data transmission with the terminal, and after receiving a connection request sent by the terminal, the first wireless virtual interface may be started. The connection request can carry a terminal device identifier, and the intelligent wearable device can be connected with the other terminal through the first wireless virtual interface according to the device identifier. For the specific definition of the first wireless virtual interface, refer to the above embodiments.
For example, the intelligent wearable device opens a network connection, can receive a connection request sent by the terminal, opens the first wireless virtual interface, and completes the connection with the terminal in a wireless manner.
202. And when the smart watch detects a new version system, the second wireless virtual interface is started.
Specifically, when the smart watch is connected with the terminal, and a new version system is detected, the system needs to be updated, at the moment, the second wireless virtual interface can be started, and the second wireless virtual interface can be used for receiving data for system upgrading.
The second wireless virtual interface can be used for receiving data of system upgrading, so that when the intelligent watch is in wireless connection with the terminal, the intelligent watch system upgrading and the wireless connection can be synchronously executed, the operation of a user is facilitated, and the user can use the intelligent watch all the time.
203. The smart watch obtains an update file based on the second wireless virtual interface.
Specifically, after the smart watch starts the second wireless virtual interface, the update file may be acquired through the second wireless virtual interface. The smart watch may acquire the update file in a plurality of ways, for example, acquire the update file in a wireless way and then update the update file, or acquire the update file in a wired way and connect to the USB.
For example, the smart watch may acquire the update file in a wireless manner, be in a network connection state, acquire the update file from the server, and receive the update file through the second wireless virtual interface.
204. The smart watch divides the temporary storage partition from the memory and stores the update file in the temporary storage partition.
Specifically, when the smart watch receives the update file through the second wireless virtual interface, the update file may be stored in the temporary storage partition, and the temporary storage partition may be a temporary storage partition obtained by dividing a storage area corresponding to the size of the storage space from the system memory when receiving the update file is detected, and after the system upgrade is completed, the data content in the temporary storage partition may be emptied, the temporary partition is cancelled, and the memory space is released.
The temporary storage partition can be a power-down memory which is not easy to lose, data content of the temporary storage partition is not cleared after the smart watch is closed conveniently, and when starting up operation is executed, system upgrading can be completed directly based on the update files in the temporary storage partition.
205. And when the smart watch detects that the starting operation is executed, updating the system according to the update file in the temporary storage partition.
Specifically, after the smart watch acquires all the update files from the server, all the update files are stored in the temporary storage partition. After the storage of the update file is completed, an upgrade flag may be set, which may indicate that the update file is stored in the memory.
After the steps are completed, the power supply of the intelligent watch can be turned off, then the starting operation is carried out, when a starting instruction is received and the starting detection is carried out, if the upgrading identification is detected, the intelligent watch starting system can be directly pointed to the address of the temporary storage partition, the updating file is directly used for carrying out system updating, and the starting operation is completed.
The embodiment of the application discloses a system upgrading method, which comprises the following steps: in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction; receiving an upgrade data packet based on the wireless virtual interface; storing the upgrading data packet in a designated storage area; and finishing system upgrading according to the upgrading data packet in the appointed storage area. According to the embodiment of the application, the two wireless virtual interfaces are arranged on the intelligent wearable device, so that when the intelligent wearable device is in wireless connection operation with a terminal, system upgrading and wireless connection can be synchronously maintained, operation of a user is facilitated, and the system upgrading rate of the intelligent wearable device can be effectively improved.
In order to better implement the system upgrading method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the system upgrading method. The terms are the same as those in the system upgrading method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 3, fig. 3 is a block diagram of a first system upgrading apparatus according to an embodiment of the present disclosure, where the system upgrading method may be applied to smart wearable devices such as a smart watch and a smart bracelet. The apparatus may include:
the first receiving unit 301 is configured to, in a data transmission process with a terminal, start a wireless virtual interface according to a system upgrade instruction when the system upgrade instruction is received;
a second receiving unit 302, configured to receive an upgrade data packet based on the wireless virtual interface;
a storage unit 303, configured to store the upgrade data package in a specified storage area;
an operation unit 304, configured to complete system upgrade according to the upgrade data packet in the specified storage area.
In some embodiments, referring to fig. 4, fig. 4 is a block diagram of a second system upgrade apparatus according to an embodiment of the present application, where the operation unit 304 may include:
a determining subunit 3041, configured to determine an upgrade identifier after all data in the upgrade data packet is stored in the specified storage area;
a first detecting subunit 3042, configured to, when a power-on instruction is received, execute a power-on operation according to the power-on instruction, and detect whether the upgrade identifier exists;
the operation subunit 3043 is configured to, if yes, complete system upgrade according to the upgrade identifier.
In some embodiments, the operation subunit 3043 may be specifically configured to obtain all data of the upgrade data package; updating a system configuration file based on all data of the data package; and executing the starting operation according to the updated system configuration file.
In some embodiments, the operation unit 304 may further include:
a second detecting subunit, configured to detect whether data transmission is in progress with the terminal;
the triggering subunit is used for triggering a restarting instruction after finishing data transmission with the terminal if the terminal is in the idle state;
and the execution subunit is used for carrying out restarting operation according to the restarting instruction and executing the step to detect whether the upgrading identifier exists.
In some embodiments, the system upgrade apparatus may further include:
a third receiving unit, configured to receive a connection request of the terminal, and open another wireless virtual interface according to the connection request;
and the transmission unit is used for carrying out data transmission with the terminal based on the other wireless virtual interface.
In some embodiments, the system upgrade transfer may further include:
and the clearing unit is used for clearing all the data stored in the specified storage area.
The embodiment of the application discloses a system upgrading device, and the system upgrading device comprises: in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction; receiving an upgrade data packet based on the wireless virtual interface; storing the upgrading data packet in a designated storage area; and finishing system upgrading according to the upgrading data packet in the appointed storage area. According to the embodiment of the application, the two wireless virtual interfaces are arranged on the intelligent wearable device, so that when the intelligent wearable device is in wireless connection operation with a terminal, system upgrading and wireless connection can be synchronously maintained, operation of a user is facilitated, and the system upgrading rate of the intelligent wearable device can be effectively improved.
The embodiment of the application further provides an intelligent wearable device. As shown in fig. 5, the smart wearable device may include Radio Frequency (RF) circuit 601, a memory 602 including one or more storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the smart wearable device structure shown in fig. 5 does not constitute a limitation of the terminal, and may include more or less components than those shown, or combine some components, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during transceiving information, and in particular, for receiving and transmitting downlink information of a base station to be processed by one or more processors 608 and, in addition, for transmitting data related to an uplink to the base station, in general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a low noise Amplifier (L NA, &ttttranslation = L "&tttl &/t &gtttownnoiseamplifier), a duplexer, and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to a user and various graphical user interfaces of the server, which may be formed of graphics, text, icons, video, and any combination thereof, the display unit 604 may include a display panel, which may optionally be configured in the form of a liquid crystal display (L CD, &lTtTtranslation = L "&tttL &/T &gTt required crystalline display), an Organic light Emitting Diode (O L ED, Organic L ight-emissive Diode), or the like.
The smart-wearable device may also include at least one sensor 605, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and the backlight when the server moves to the ear.
Audio circuitry 606, speakers, and microphones may provide an audio interface between the user and the server. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then passed through the RF circuit 601 to be sent to, for example, a terminal, or the audio data is output to the memory 602 for further processing. The audio circuitry 606 may also include an ear-bud jack to provide communication of peripheral headphones with the server.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is a control center of the smart wearable device, connects various parts of the entire watch using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and modules stored in the memory 602 and calling data stored in the memory 602, thereby integrally monitoring the watch. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The smart wearable device further includes a power source 609 (e.g., a battery) for supplying power to the components, and preferably, the power source may be logically connected to the processor 608 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction;
receiving an upgrade data packet based on the wireless virtual interface;
storing the upgrading data packet in a designated storage area;
and finishing system upgrading according to the upgrading data packet in the appointed storage area.
The embodiment of the application discloses a system upgrading method and device, a storage medium and intelligent wearable equipment. The system upgrading method comprises the following steps: in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction; receiving an upgrade data packet based on the wireless virtual interface; storing the upgrading data packet in a designated storage area; and finishing system upgrading according to the upgrading data packet in the appointed storage area. According to the embodiment of the application, the two wireless virtual interfaces are arranged on the intelligent wearable device, so that when the intelligent wearable device is in wireless connection operation with a terminal, system upgrading and wireless connection can be synchronously maintained, operation of a user is facilitated, and the system upgrading rate of the intelligent wearable device can be effectively improved.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, which may be stored in a storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the system upgrading methods provided by the present application. For example, the instructions may perform the steps of:
in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction; receiving an upgrade data packet based on the wireless virtual interface; storing the upgrading data packet in a designated storage area; and finishing system upgrading according to the upgrading data packet in the appointed storage area.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any system upgrading method provided in the embodiments of the present application, beneficial effects that can be achieved by any system upgrading method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The system upgrading method, the device, the storage medium and the intelligent wearable device provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The system upgrading method is applied to intelligent wearable equipment and is characterized by comprising the following steps:
in the process of data transmission with a terminal, when a system upgrading instruction is received, a wireless virtual interface is started according to the system upgrading instruction;
receiving an upgrade data packet based on the wireless virtual interface;
storing the upgrading data packet in a designated storage area;
and finishing system upgrading according to the upgrading data packet in the appointed storage area.
2. The method of claim 1, wherein said performing a system upgrade based on said upgrade data package in said designated storage area comprises:
after all data in the upgrading data packet are stored in the designated storage area, an upgrading identifier is determined;
when a starting-up instruction is received, executing starting-up operation according to the starting-up instruction, and detecting whether the upgrading identification exists or not;
and if so, completing system upgrade according to the upgrade identification.
3. The method of claim 2, wherein said completing a system upgrade according to said upgrade identification comprises:
acquiring all data of the upgrading data packet;
updating a system configuration file based on all data of the data package;
and executing the starting operation according to the updated system configuration file.
4. The method of claim 2, further comprising, prior to receiving the boot instruction:
detecting whether data is transmitted with the terminal;
if so, triggering a restart instruction after completing data transmission with the terminal;
and carrying out restarting operation according to the restarting instruction, and executing the step to detect whether the upgrading identifier exists.
5. The method according to claim 1, wherein before the data transmission with the terminal, the method comprises:
receiving a connection request of the terminal, and starting another wireless virtual interface according to the connection request;
and carrying out data transmission with the terminal based on the other wireless virtual interface.
6. The method of claim 1, further comprising, after completing a system upgrade according to the upgrade data package in the designated storage area:
clearing all data stored in the designated storage area.
7. A system upgrade apparatus, comprising:
the first receiving unit is used for starting a wireless virtual interface according to a system upgrading instruction when the system upgrading instruction is received in the process of data transmission with a terminal;
a second receiving unit, configured to receive an upgrade data packet based on the wireless virtual interface;
the storage unit is used for storing the upgrading data packet in a specified storage area;
and the operation unit is used for finishing system upgrading according to the upgrading data packet in the specified storage area.
8. The apparatus according to claim 7, wherein the operation unit comprises:
the determining subunit is used for determining an upgrade identifier after all the data in the upgrade data packet is stored in the specified storage area;
the first detection subunit is used for executing a boot operation according to the boot instruction when the boot instruction is received, and detecting whether the upgrade identifier exists;
and the operation subunit is used for finishing system upgrading according to the upgrading identification if the system is upgraded.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the system upgrade method according to any one of claims 1 to 6.
10. An intelligent wearable device, comprising a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps in the system upgrade method according to any one of claims 1 to 6.
CN202010147637.9A 2020-03-05 2020-03-05 System upgrading method and device, storage medium and intelligent wearable device Pending CN111399874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010147637.9A CN111399874A (en) 2020-03-05 2020-03-05 System upgrading method and device, storage medium and intelligent wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010147637.9A CN111399874A (en) 2020-03-05 2020-03-05 System upgrading method and device, storage medium and intelligent wearable device

Publications (1)

Publication Number Publication Date
CN111399874A true CN111399874A (en) 2020-07-10

Family

ID=71435972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010147637.9A Pending CN111399874A (en) 2020-03-05 2020-03-05 System upgrading method and device, storage medium and intelligent wearable device

Country Status (1)

Country Link
CN (1) CN111399874A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094140A (en) * 2021-04-22 2021-07-09 青岛海信传媒网络技术有限公司 System update display method and display equipment
CN113423109A (en) * 2021-08-24 2021-09-21 深圳兆瑞优品科技有限公司 Designated data sharing method facing personal computer user
CN113868156A (en) * 2021-12-01 2021-12-31 荣耀终端有限公司 System upgrade power-down protection method, electronic device and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383847A (en) * 2008-08-25 2009-03-11 中兴通讯股份有限公司 Firmware upgrading method and device for wireless data terminal
CN102176704A (en) * 2011-02-18 2011-09-07 中兴通讯股份有限公司 Method, system and device for accessing wireless network through universal serial bus (USB) virtual network card
CN103533431A (en) * 2012-08-15 2014-01-22 Tcl集团股份有限公司 Method and system for realizing system upgrade based on intelligent television, and intelligent television
CN104219268A (en) * 2013-06-04 2014-12-17 中兴通讯股份有限公司 Wireless control method and device and terminal
CN104572217A (en) * 2015-01-27 2015-04-29 广东欧珀移动通信有限公司 Updating method and system of wearable intelligent device
CN104615464A (en) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 Updating method, device and system for wearable equipment
CN104918114A (en) * 2015-06-05 2015-09-16 青岛海信电器股份有限公司 Method and device for upgrading operation system
CN106406940A (en) * 2016-09-05 2017-02-15 广东欧珀移动通信有限公司 System upgrading method, system upgrading apparatus, and terminal
CN106648669A (en) * 2016-12-26 2017-05-10 广东芬尼克兹节能设备有限公司 Remote firmware upgrading method and system for product equipment
CN106681766A (en) * 2016-12-26 2017-05-17 广东芬尼克兹节能设备有限公司 Remote firmware upgrading controlling method and system
CN107085525A (en) * 2017-03-17 2017-08-22 深圳市战音科技有限公司 Method for upgrading software and device based on Bluetooth electronic devices
CN107809324A (en) * 2016-09-07 2018-03-16 中兴通讯股份有限公司 A kind of OBD equipment and its upgrade method
CN108874434A (en) * 2018-05-02 2018-11-23 四川斐讯信息技术有限公司 A kind of system software upgrading method and wearable device of wearable device
CN109117168A (en) * 2018-08-29 2019-01-01 拓攻(南京)机器人有限公司 Unmanned plane firmware update, device, unmanned plane and storage medium
CN109218412A (en) * 2018-08-27 2019-01-15 河南辉煌科技股份有限公司 Remote upgrade method and system for STP system
CN109491691A (en) * 2018-11-30 2019-03-19 歌尔科技有限公司 A kind of TWS earphone and its upgrade method, device, medium
CN109639827A (en) * 2019-01-07 2019-04-16 新华三云计算技术有限公司 Client side upgrading method and device
CN110493761A (en) * 2019-07-30 2019-11-22 惠州Tcl移动通信有限公司 A kind of Bluetooth communication method, mobile terminal and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383847A (en) * 2008-08-25 2009-03-11 中兴通讯股份有限公司 Firmware upgrading method and device for wireless data terminal
CN102176704A (en) * 2011-02-18 2011-09-07 中兴通讯股份有限公司 Method, system and device for accessing wireless network through universal serial bus (USB) virtual network card
CN103533431A (en) * 2012-08-15 2014-01-22 Tcl集团股份有限公司 Method and system for realizing system upgrade based on intelligent television, and intelligent television
CN104219268A (en) * 2013-06-04 2014-12-17 中兴通讯股份有限公司 Wireless control method and device and terminal
CN104572217A (en) * 2015-01-27 2015-04-29 广东欧珀移动通信有限公司 Updating method and system of wearable intelligent device
CN104615464A (en) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 Updating method, device and system for wearable equipment
CN104918114A (en) * 2015-06-05 2015-09-16 青岛海信电器股份有限公司 Method and device for upgrading operation system
CN106406940A (en) * 2016-09-05 2017-02-15 广东欧珀移动通信有限公司 System upgrading method, system upgrading apparatus, and terminal
CN107809324A (en) * 2016-09-07 2018-03-16 中兴通讯股份有限公司 A kind of OBD equipment and its upgrade method
CN106648669A (en) * 2016-12-26 2017-05-10 广东芬尼克兹节能设备有限公司 Remote firmware upgrading method and system for product equipment
CN106681766A (en) * 2016-12-26 2017-05-17 广东芬尼克兹节能设备有限公司 Remote firmware upgrading controlling method and system
CN107085525A (en) * 2017-03-17 2017-08-22 深圳市战音科技有限公司 Method for upgrading software and device based on Bluetooth electronic devices
CN108874434A (en) * 2018-05-02 2018-11-23 四川斐讯信息技术有限公司 A kind of system software upgrading method and wearable device of wearable device
CN109218412A (en) * 2018-08-27 2019-01-15 河南辉煌科技股份有限公司 Remote upgrade method and system for STP system
CN109117168A (en) * 2018-08-29 2019-01-01 拓攻(南京)机器人有限公司 Unmanned plane firmware update, device, unmanned plane and storage medium
CN109491691A (en) * 2018-11-30 2019-03-19 歌尔科技有限公司 A kind of TWS earphone and its upgrade method, device, medium
CN109639827A (en) * 2019-01-07 2019-04-16 新华三云计算技术有限公司 Client side upgrading method and device
CN110493761A (en) * 2019-07-30 2019-11-22 惠州Tcl移动通信有限公司 A kind of Bluetooth communication method, mobile terminal and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LUETZEL: "bluez源码", 《HTTPS://GITHUB.COM/LUETZEL/BLUEZ/BLOB/MASTER/DOC/GATT-API.TXT》 *
书中倦客: "从ESP32 BLE应用理解GATT", 《HTTPS://BLOG.CSDN.NET/ZHEJFL/ARTICLE/DETAILS/85136102》 *
北落不吉: "Bluetooth RFCOMM介绍", 《HTTPS://WWW.CNBLOGS.COM/HZL6255/P/3811013.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094140A (en) * 2021-04-22 2021-07-09 青岛海信传媒网络技术有限公司 System update display method and display equipment
CN113423109A (en) * 2021-08-24 2021-09-21 深圳兆瑞优品科技有限公司 Designated data sharing method facing personal computer user
CN113423109B (en) * 2021-08-24 2021-10-29 深圳兆瑞优品科技有限公司 Designated data sharing method facing personal computer user
CN113868156A (en) * 2021-12-01 2021-12-31 荣耀终端有限公司 System upgrade power-down protection method, electronic device and storage medium
CN113868156B (en) * 2021-12-01 2022-04-12 荣耀终端有限公司 System upgrade power-down protection method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
KR102148948B1 (en) Multi tasking method of electronic apparatus and electronic apparatus thereof
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
CN107273160A (en) A kind of method and device of edition upgrading
CN106775833B (en) Device driver loading method, terminal and system
CN111399874A (en) System upgrading method and device, storage medium and intelligent wearable device
US11381100B2 (en) Method for controlling multi-mode charging, mobile terminal, and storage medium
CN106713608B (en) Application function state modification method and device and terminal
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN105185401A (en) Method and device for synchronizing multi-media file list
CN108958807B (en) Terminal system starting method and terminal
CN108874554B (en) Information communication method and device
CN106095423B (en) Method, terminal and server for providing browsing service
US20200004578A1 (en) Method for fingerprint recognition and related products
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN107341032B (en) Data loading method, mobile terminal and computer readable storage medium
CN105278942B (en) Component management method and device
CN113672297A (en) Restarting method and terminal in recovery mode upgrading process
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN106919458B (en) Method and device for Hook target kernel function
CN114253558A (en) Method and device for installing patch package
CN110312995A (en) Application program accelerates starting method, apparatus and terminal
CN112463199A (en) System upgrading method and terminal
CN107122204B (en) Application unloading state detection method and device
CN113039517A (en) Audio resource calling method and device and electronic equipment
CN114594965A (en) Application software installation method and device, terminal equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710

RJ01 Rejection of invention patent application after publication