CN111475189A - Upgrading method, head-mounted equipment, storage medium and electronic device - Google Patents

Upgrading method, head-mounted equipment, storage medium and electronic device Download PDF

Info

Publication number
CN111475189A
CN111475189A CN202010232335.1A CN202010232335A CN111475189A CN 111475189 A CN111475189 A CN 111475189A CN 202010232335 A CN202010232335 A CN 202010232335A CN 111475189 A CN111475189 A CN 111475189A
Authority
CN
China
Prior art keywords
fragment
upgrade file
file
server
upgrade
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
CN202010232335.1A
Other languages
Chinese (zh)
Inventor
刘若鹏
栾琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kuang Chi Space Technology Co Ltd
Original Assignee
Shenzhen Kuang Chi Super Material Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kuang Chi Super Material Technology Co ltd filed Critical Shenzhen Kuang Chi Super Material Technology Co ltd
Priority to CN202010232335.1A priority Critical patent/CN111475189A/en
Priority to PCT/CN2020/093847 priority patent/WO2021189656A1/en
Publication of CN111475189A publication Critical patent/CN111475189A/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1748De-duplication implemented within the file system, e.g. based on file segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an upgrading method, a head-mounted device, a storage medium and an electronic device, wherein the method comprises the steps of receiving an upgrading file sent by a server through intelligent equipment; and upgrading according to the upgrading file, so that the problem that the intelligent equipment cannot be upgraded in the related technology can be solved, and the technical effect of timely upgrading is achieved.

Description

Upgrading method, head-mounted equipment, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to an upgrade method, a head-mounted device, a storage medium, and an electronic apparatus.
Background
Some intelligent devices, such as intelligent home terminals, intelligent security devices, etc., can be put into use after leaving the factory. With the updating of the technology, the intelligent devices still maintain the original functions and systems, and cannot synchronize the new technology, so that the intelligent devices are limited in operation.
Aiming at the problem that the intelligent equipment cannot be upgraded in the related technology, a better solution does not exist.
Disclosure of Invention
The embodiment of the invention provides an upgrading method, a head-mounted device, a storage medium and an electronic device, and at least solves the problem that the intelligent head-mounted device cannot be upgraded in the related art.
According to an embodiment of the present invention, there is provided an upgrade method including:
receiving an upgrade file sent by a server through intelligent equipment;
and upgrading according to the upgrading file.
Optionally, the receiving, by the smart device, the upgrade file sent by the server includes:
the upgrading file sent by the server side is directly received through the intelligent equipment; alternatively, the first and second electrodes may be,
and receiving the upgrade file sent by the intelligent terminal through the intelligent equipment, wherein the upgrade file sent by the server side is directly received through the intelligent terminal, and the upgrade file is sent to the intelligent equipment through the intelligent terminal.
Optionally, the receiving the upgrade file sent by the server includes: and receiving the upgrade file sent by the server side by the fragments, wherein the upgrade file comprises one or more fragment files.
Optionally, the receiving the upgrade file sent by the server further includes: after the fragment receives the upgrade file sent by the server, combining the fragment files to obtain the complete upgrade file.
Optionally, the merging the fragment files to obtain the complete upgrade file includes: and merging the fragment files according to the fragment identifications of the fragment files to obtain the complete upgrade file, wherein the fragment identifications are used for uniquely identifying the fragment files in the upgrade file.
Optionally, before the merging the fragment files to obtain the complete upgrade file, the method further includes: and deleting the repeatedly received fragment files according to the fragment identifications of the fragment files.
Optionally, the receiving, by the smart device, the upgrade file sent by the smart terminal includes: receiving the complete upgrade file sent by the intelligent terminal through the intelligent equipment; or, the upgrade file sent by the intelligent terminal is received through the intelligent device fragment.
Optionally, the receiving, by the fragment, the upgrade file sent by the server further includes: and receiving the upgrade file according to the fragment identifier of the fragment file, wherein the fragment identifier is used for uniquely identifying the fragment file in the upgrade file, and refusing to receive the first fragment file again under the condition of determining that the first fragment file is received.
Optionally, before receiving the upgrade file sent by the server, the method further includes: receiving a notification message sent by the server, wherein the notification message is used for indicating that the upgrade is to be performed; and sending a response message to the server, wherein the response message is used for indicating that the upgrade is determined so that the server starts to send the upgrade file.
Optionally, the upgrade file includes at least one of: an environment parameter file, a mode parameter file and a calibration parameter file.
According to another embodiment of the present invention, there is provided a head-mounted device including:
the first receiving module is used for receiving the upgrade file sent by the server;
and the processing module is used for upgrading according to the upgrading file.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the embodiment of the invention, the upgrade file sent by the server is received through the intelligent equipment; and upgrading according to the upgrading file, so that the problem that the intelligent equipment cannot be upgraded in the related technology can be solved, and the technical effect of timely upgrading is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of an intelligent device of an upgrading method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of an upgrade method according to an embodiment of the present invention;
fig. 3 is a block diagram of a head-mounted device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a network architecture according to an alternative embodiment of the present invention;
fig. 5 is a schematic diagram of another network architecture according to an alternative embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, an intelligent device, a computer terminal, or a similar computing device. Taking the operation on the intelligent device as an example, fig. 1 is a hardware structure block diagram of the intelligent device of an upgrading method according to an embodiment of the present invention. As shown in fig. 1, the smart device 10 may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is merely illustrative and is not intended to limit the structure of the smart device. For example, smart device 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the upgrading method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to smart device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the smart device 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It should be noted that the smart device in this embodiment may be a smart wearable device (e.g., a head-mounted device), a smart home device, or the like.
In this embodiment, an upgrade method operating on the above intelligent device or network architecture is provided, and fig. 2 is a flowchart of the upgrade method according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving an upgrade file sent by a server through intelligent equipment;
and step S204, upgrading according to the upgrading file.
Through the steps, the upgrade file sent by the server side is received through the intelligent equipment; the upgrading is carried out according to the upgrading file, so that the problem that the intelligent equipment cannot be upgraded in the related technology can be solved, and the technical effect of timely upgrading is achieved.
Optionally, the executing subject of the above steps may be a smart device or the like, but is not limited thereto.
It should be noted that the intelligent device may be upgraded according to an upgrade file, where the upgrade file may be an upgrade file for upgrading contents of a system, software, and the like of the intelligent device, and the type may be one or more of an environment parameter file, a mode parameter file, and a calibration parameter file. The server may be a cloud service platform.
In some cases, a smart device may need to be used under different environmental or scene conditions, so the upgrade file may be, for example, an environmental parameter file, a mode parameter file, or a calibration parameter file, so as to adjust and calibrate the usage mode of the smart device in time through the upgrade file to adapt to different usage scenes.
For example, the upgrade file may be an environmental parameter file. The environment parameter file may include one or more environment parameters, such as environment illumination intensity, environment temperature, environment humidity, environment noise, and the like, for example, so that the smart device can adapt to different environment illumination intensities, environment temperatures, environment humidities, environment noises, and the like.
For another example, the intelligent device may have multiple working modes, and different working modes may need to be updated, or a new working mode is added, and then the mode parameter that is added or needs to be updated may be used as the upgrade file.
For example, since the epidemic prevention helmet needs recalibration work under different use environments, the calibration parameters can be used as an upgrade file.
It should be noted that the smart device in this embodiment may be a smart headset for epidemic prevention, such as a smart helmet.
Optionally, the receiving, by the smart device, the upgrade file sent by the server includes:
the upgrade file sent by the server is directly received through the intelligent equipment; alternatively, the first and second electrodes may be,
the upgrade file sent by the intelligent terminal is received through the intelligent device, wherein the upgrade file sent by the server side is directly received through the intelligent terminal, and the upgrade file is sent to the intelligent device through the intelligent terminal.
It should be noted that when the upgrade is needed, the intelligent device may directly receive the upgrade file sent by the server, or the intelligent device may indirectly receive the upgrade file sent by the server, for example, the upgrade file transferred through another intelligent terminal. The latter method can adapt to some special scenes, for example, when the intelligent device needs to be used for a long time and cannot reserve more idle time for upgrading, the third-party main body, for example, other intelligent terminals and the server side interact to obtain the upgrade file, and then the upgrade file is sent to the intelligent device through the intelligent terminal, so that the situation that the intelligent device repeatedly tries to upgrade can be reduced, the upgrade time is saved, and the upgrade efficiency is improved. Even if the process of obtaining the upgrade file is not smooth, the intelligent device can be ensured to continuously operate due to the fact that the third-party intelligent terminal interacts with the server side, and the upgrade file is sent to the intelligent device after the intelligent terminal obtains the upgrade file, so that the intelligent device can be prevented from delaying much time due to faults in the process of obtaining the upgrade file.
It should be further noted that the smart terminal may be a mobile terminal, a smart wearable device (e.g., a smart watch, a smart bracelet, and smart glasses), and the like.
Optionally, the receiving the upgrade file sent by the server includes: and receiving an upgrade file sent by the server through the intelligent device fragment, wherein the upgrade file comprises one or more fragment files.
It should be noted that, in some cases, the size of the upgrade file may be relatively large, and considering the influence of network connection quality, the upgrade file may be transmitted in a form of fragments, so as to reduce the size of the unit file transmitted each time, so as to adapt to different network qualities. For example, in the case that the smart device is a smart headset for epidemic prevention, the scene in which the smart headset is used is often an environment with dense people flow or an environment such as an indoor environment, and the network connection in such an environment is unstable or the network transmission rate is limited, so that the method using the fragmented transmission is beneficial to better adapting to such a special environment. It should be further noted that, whether the intelligent device directly receives the upgrade file sent by the server or the intelligent terminal directly receives the upgrade file sent by the server, the upgrade file may be received in a fragmented manner.
Optionally, receiving the upgrade file sent by the server, further includes: after the fragment receives the upgrade file sent by the server, the fragment files are combined to obtain the complete upgrade file.
Optionally, merging the fragment file to obtain a complete upgrade file, including: and merging the fragment files according to the fragment identifications of the fragment files, wherein the fragment identifications are used for uniquely identifying the fragment files in the upgrade files.
It should be noted that different fragment files of the same upgrade file need to use different fragment identifiers to distinguish the different fragment files. For example, the same identifier may be used to distinguish different fragment files between different upgrade files, for example, a first upgrade file may use 1, 2, 3, and 4 as the fragment identifier of its own fragment file, and a second upgrade file may also use 1, 2, 3, and 4 as the fragment identifier of its own fragment file. The fragment identifier may be carried in a fragment file, so that the intelligent device can identify the fragment file. When the fragment files are merged, the fragment files need to be merged into a complete upgrade file according to the fragment rule indicated by the fragment identifier. For example, the fragment files need to be combined into a complete upgrade file according to the sequence of the fragment identifiers.
Optionally, before the merging the fragment file to obtain the complete upgrade file, the method further includes: and deleting the repeatedly received fragment files according to the fragment identification of the fragment file.
It should be noted that, for example, the process of receiving the fragmented file may receive the fragmented file arbitrarily without limitation, as long as the fragmented file sent by the server is received. However, in some cases, some fragmented files may be repeatedly transmitted and then repeatedly received, possibly due to network reasons or service-side reasons. Then, in order to avoid that such repeatedly received fragment files adversely affect the process of merging to obtain the upgrade file, before merging is started, whether there is a repeated fragment file in each fragment file of the same received upgrade file may be determined according to the fragment identifier, and if there is a repeated fragment file, the repeated fragment file is deleted.
Optionally, the receiving, by the smart device, the upgrade file sent by the smart terminal includes: receiving the complete upgrade file sent by the intelligent terminal through the intelligent equipment; or, the upgrade file sent by the intelligent terminal is received through the intelligent device fragment.
It should be noted that, in a case that the upgrade file sent by the intelligent terminal is received by the intelligent device, sending the upgrade file to the intelligent device by the intelligent terminal includes: directly sending the complete upgrade file to the intelligent equipment through the intelligent terminal; or, the complete upgrade file fragment is sent to the intelligent device through the intelligent terminal.
It should be noted that after the intelligent terminal receives the upgrade file, the upgrade file may be sent to the intelligent device, and the sending mode may be sending the complete upgrade file at one time, or sending the upgrade file in a fragmented manner, and correspondingly, the intelligent device may also receive the complete upgrade file at one time, or receive the upgrade file in a fragmented manner. The mode of fragment transmission and the mode of fragment reception may also be selected from each of the modes of fragment transmission and fragment reception described in this embodiment, and details are not repeated here.
It should be further noted that the capacity of the server-side fragment file may be the same as or different from the capacity of the intelligent terminal fragment file, for example, in the case that the network condition is not good, the capacity of the server-side unit fragment file may be smaller, and when the intelligent terminal receives the upgrade file and needs to send the upgrade file to the intelligent device, if the network connection quality is good, the capacity of the unit fragment file may be increased to accelerate the transmission speed.
Optionally, the receiving, by the fragment, the upgrade file sent by the server includes: and receiving the upgrade file according to the fragment identifier of the fragment file, wherein the fragment identifier is used for uniquely identifying the fragment file in the upgrade file, and refusing to receive the first fragment file again under the condition of determining that the first fragment file is received.
It should be noted that different fragment files of the same upgrade file need to use different fragment identifiers to distinguish the different fragment files. For example, the same identifier may be used to distinguish different fragment files between different upgrade files, for example, a first upgrade file may use 1, 2, 3, and 4 as the fragment identifier of its own fragment file, and a second upgrade file may also use 1, 2, 3, and 4 as the fragment identifier of its own fragment file. The fragment identifier may be carried in a fragment file, so that the intelligent device can identify the fragment file. For example, the fragment identifier may be set at the head of the fragment file, that is, at a position that is first parsed by the receiver, so that the receiver knows the fragment identifier of the fragment file as early as possible to determine whether to continue receiving the fragment file.
It should be further noted that, if an interruption occurs in the network during transmission of an upgrade file, after the network is recovered, the server may continue to transmit the remaining upgrade files that are not completely transmitted, in this case, the intelligent device may determine whether the identifier of the currently received fragment file is the same as the identifier of the already received fragment file according to the fragment identifier in the currently received fragment file, and if the identifier of the currently received fragment file is the same as the identifier of the already received fragment file, it may refuse to receive the fragment file again. In this case, a reject message may be sent to the server through the intelligent device, where the reject message may carry a fragment identifier of the rejected fragment file, so that the server determines which fragment file is rejected. Then, the server may continue to transmit other fragmented files. It should be noted that, in some cases, it may be that the network is interrupted during the transmission of a certain fragmented file by the server, and after the network is recovered, the server may retransmit the fragmented file to ensure the integrity of the upgrade file.
Optionally, before receiving the upgrade file sent by the server, the method further includes: receiving a notification message sent by the server, wherein the notification message is used for indicating that the upgrade is to be performed; and sending a response message to the server, wherein the response message is used for indicating that the upgrade is determined so that the server starts to send the upgrade file.
It should be noted that the intelligent device may directly receive the notification message sent by the server, or the intelligent terminal may directly receive the notification message sent by the server. Accordingly, the intelligent device or the intelligent terminal can send the response message to the server.
It should be noted that, when a task is to be upgraded, the server may send a notification message to the intelligent device or the intelligent terminal to inquire whether the intelligent device needs to be upgraded; if the user selects to be upgraded, the intelligent device or the intelligent terminal sends a response message for determining the upgrade to the server side so as to enable the server side to send the upgrade file.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a head-mounted device is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a head-mounted device according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
the first receiving module 31 is configured to receive an upgrade file sent by a server;
and the processing module 33 is configured to perform upgrading according to the upgrade file.
Receiving an upgrade file sent by a server through the intelligent equipment through the module; the upgrading is carried out according to the upgrading file, so that the problem that the intelligent equipment cannot be upgraded in the related technology can be solved, and the technical effect of timely upgrading is achieved.
It should be noted that the first receiving module may be a communication module that may have a wireless transceiving function. The processing module can be a processing module with the functions of reading the upgrade file, analyzing the upgrade file and operating the upgrade file.
Optionally, the first receiving module 31 is further configured to directly receive the upgrade file sent by the server; alternatively, the first and second electrodes may be,
the first receiving module 31 is further configured to receive the upgrade file sent by the intelligent terminal, where the upgrade file is sent to the intelligent terminal by the server, and the intelligent terminal receives the upgrade file and sends the upgrade file to the intelligent device.
Optionally, the first receiving module 31 is further configured to receive, in a fragmented manner, the upgrade file sent by the server, where the upgrade file includes one or more fragmented files.
Optionally, the first receiving module 31 is further configured to, after the fragment receives the upgrade file sent by the server, combine the fragment file to obtain a complete upgrade file.
Optionally, the first receiving module 31 is further configured to merge the fragment files according to fragment identifiers of the fragment files to obtain the complete upgrade file, where the fragment identifiers are used to uniquely identify the fragment files in the upgrade file.
Optionally, the first receiving module 31 is further configured to delete the repeatedly received fragmented files according to the fragmented identifiers of the fragmented files before the fragmented files are merged to obtain the complete upgrade file.
Optionally, the first receiving module 31 is further configured to receive, by the intelligent device, the complete upgrade file sent by the intelligent terminal; or, the upgrade file sent by the intelligent terminal is received through the intelligent device fragment.
Optionally, the first receiving module 31 is further configured to receive the upgrade file according to a fragment identifier of the fragment file, where the fragment identifier is used to uniquely identify the fragment file in the upgrade file, and in a case that it is determined that the first fragment file is received, refuse to receive the first fragment file again.
Optionally, the head-mounted device further comprises:
the second receiving module is used for receiving a notification message sent by the server before the upgrade file sent by the server is received, wherein the notification message is used for indicating that the upgrade is to be performed;
and the sending module is used for sending a response message to the server, wherein the response message is used for indicating that the upgrade is determined so that the server starts to send the upgrade file.
It should be noted that the second receiving module may be a communication module that may have a wireless transceiving function. The notification message may be displayed on a display module of the head-mounted device, and the user may operate according to the content displayed on the display module to determine whether the upgrade is required, for example, touching the display screen to determine that the upgrade is required.
Optionally, the upgrade file includes at least one of: the environmental parameter file, the mode parameter file, and the calibration parameter file are not described herein again.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
It should be noted that the head-mounted device in this embodiment may be an intelligent head-mounted device integrating multiple functions, such as a temperature measurement function, an identification function, a communication function, a display function, and the like.
Illustratively, the method in the embodiment of the present invention may operate in the network architecture shown in fig. 4, fig. 4 is a schematic diagram of a network architecture according to an alternative embodiment of the present invention, and the embodiment of the present invention may operate in the network architecture as illustrated in fig. 4, where the network architecture includes: the server 104 and the intelligent device 102 may perform information interaction through a network (or a network connection device) for connecting the server 104 and the intelligent device 102, and the network (or the network connection device) may be used for performing wireless network connection, wired network connection, or conversion between the wireless network connection and the wired network connection.
Illustratively, the method in the embodiment of the present invention may operate in the network architecture shown in fig. 5, fig. 5 is a schematic diagram of another network architecture according to an alternative embodiment of the present invention, and the embodiment of the present invention may operate in the network architecture as illustrated in fig. 5, where the network architecture includes: the server 104 and the intelligent terminal 106 may perform information interaction via a network (or a network connection device) for connecting the server 104 and the intelligent terminal 106, and the network (or the network connection device) may be used for performing wireless network connection, wired network connection, or conversion between the wireless network connection and the wired network connection. The intelligent terminal 106 and the intelligent device 102 may perform information interaction, and the connection mode used in the information interaction may be a device-to-device connection mode, such as bluetooth.
The intelligent device in this embodiment may be an intelligent head-mounted device for epidemic prevention (also referred to as an intelligent helmet), and the intelligent helmet may include an information acquisition area for installing a camera and other devices that can realize information acquisition, optionally, the area for information acquisition may be disposed on the front or side or the rear of the outside of the helmet, and the acquired information may be content such as video, image, audio, and the like, determined according to the acquired information. The smart helmet may also include an energy supply area, which may optionally be configured at the rear of the helmet. Optionally, the intelligent helmet may further include a main board and a heat dissipation area, which may be disposed on top of the exterior of the helmet. Optionally, the intelligent helmet may further include an information display area, which may be used to configure some display components for information display, and the area may be disposed at an information receiving area corresponding to the head of the person, for example, components for playing voice information may be disposed on the helmet near the ears of the person, and components for displaying images may be disposed on the helmet near the eyes of the person. Optionally, the intelligent helmet may further comprise an information receiving area, which may be disposed at an information output area near the head of a person, for example, a microphone may be disposed on the intelligent helmet to facilitate receiving voice information. Optionally, the intelligent helmet may also include some necessary head-lock components.
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving the upgrade file sent by the server through the intelligent equipment;
and S2, upgrading according to the upgrading file.
Through the steps, the upgrade file sent by the server side is received through the intelligent equipment; the upgrading is carried out according to the upgrading file, so that the problem that the intelligent equipment cannot be upgraded in the related technology can be solved, and the technical effect of timely upgrading is achieved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving the upgrade file sent by the server through the intelligent equipment;
and S2, upgrading according to the upgrading file.
Through the steps, the upgrade file sent by the server side is received through the intelligent equipment; the upgrading is carried out according to the upgrading file, so that the problem that the intelligent equipment cannot be upgraded in the related technology can be solved, and the technical effect of timely upgrading is achieved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. An upgrade method, comprising:
receiving an upgrade file sent by a server through intelligent equipment;
and upgrading according to the upgrading file.
2. The method of claim 1, wherein the receiving, by the smart device, the upgrade file sent by the server includes:
the upgrading file sent by the server side is directly received through the intelligent equipment; alternatively, the first and second electrodes may be,
and receiving the upgrade file sent by the intelligent terminal through the intelligent equipment, wherein the upgrade file sent by the server side is directly received through the intelligent terminal, and the upgrade file is sent to the intelligent equipment through the intelligent terminal.
3. The method according to claim 1 or 2, wherein the receiving the upgrade file sent by the server side comprises:
and receiving the upgrade file sent by the server side by the fragments, wherein the upgrade file comprises one or more fragment files.
4. The method of claim 3, wherein the receiving the upgrade file sent by the server further comprises:
after the fragment receives the upgrade file sent by the server, combining the fragment files to obtain the complete upgrade file.
5. The method according to claim 4, wherein the merging the sliced files to obtain the complete upgrade file comprises:
and merging the fragment files according to the fragment identifications of the fragment files to obtain the complete upgrade file, wherein the fragment identifications are used for uniquely identifying the fragment files in the upgrade file.
6. The method according to claim 5, further comprising, before said merging the sliced files to obtain the complete upgrade file:
and deleting the repeatedly received fragment files according to the fragment identifications of the fragment files.
7. The method according to claim 2, wherein the receiving, by the smart device, the upgrade file sent by the smart terminal comprises:
receiving the complete upgrade file sent by the intelligent terminal through the intelligent equipment; alternatively, the first and second electrodes may be,
and receiving the upgrade file sent by the intelligent terminal through the intelligent device fragment.
8. The method according to claim 3, wherein the fragment receives the upgrade file sent by the server, further comprising:
and receiving the upgrade file according to the fragment identifier of the fragment file, wherein the fragment identifier is used for uniquely identifying the fragment file in the upgrade file, and refusing to receive the first fragment file again under the condition of determining that the first fragment file is received.
9. The method according to claim 1 or 2, wherein before receiving the upgrade file sent by the server, the method further comprises:
receiving a notification message sent by the server, wherein the notification message is used for indicating that the upgrade is to be performed;
and sending a response message to the server, wherein the response message is used for indicating that the upgrade is determined so that the server starts to send the upgrade file.
10. The method of claim 1 or 2, wherein the upgrade file comprises at least one of:
an environment parameter file, a mode parameter file and a calibration parameter file.
11. A head-mounted device, comprising:
the first receiving module is used for receiving the upgrade file sent by the server;
and the processing module is used for upgrading according to the upgrading file.
12. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 10 when executed.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 10.
CN202010232335.1A 2020-03-27 2020-03-27 Upgrading method, head-mounted equipment, storage medium and electronic device Pending CN111475189A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010232335.1A CN111475189A (en) 2020-03-27 2020-03-27 Upgrading method, head-mounted equipment, storage medium and electronic device
PCT/CN2020/093847 WO2021189656A1 (en) 2020-03-27 2020-06-02 Upgrading method, head-mounted device, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010232335.1A CN111475189A (en) 2020-03-27 2020-03-27 Upgrading method, head-mounted equipment, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN111475189A true CN111475189A (en) 2020-07-31

Family

ID=71749275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010232335.1A Pending CN111475189A (en) 2020-03-27 2020-03-27 Upgrading method, head-mounted equipment, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN111475189A (en)
WO (1) WO2021189656A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783530A (en) * 2021-01-26 2021-05-11 广东盈科电子有限公司 Software upgrading method and control device for intelligent shoe cabinet control device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478446A (en) * 2008-12-30 2009-07-08 华为技术有限公司 Network appliance version loading method, apparatus and system
CN101710934A (en) * 2009-11-25 2010-05-19 中兴通讯股份有限公司 Set-top box edition upgrading method and system
CN102118640A (en) * 2009-12-31 2011-07-06 乐金电子(中国)研究开发中心有限公司 Digital television as well as software upgrading method and system thereof
US20140323122A1 (en) * 2009-11-25 2014-10-30 At&T Mobility Ii Llc Method and apparatus for maintaining user settings for over-the-air upgrades
CN107025121A (en) * 2017-03-31 2017-08-08 广东欧珀移动通信有限公司 Method for upgrading software, device and electronic installation
CN108011935A (en) * 2017-11-27 2018-05-08 海信集团有限公司 A kind of programme upgrade method of NB-IOT equipment, server and NB-IOT equipment
CN109491691A (en) * 2018-11-30 2019-03-19 歌尔科技有限公司 A kind of TWS earphone and its upgrade method, device, medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149923A1 (en) * 2002-05-28 2005-07-07 Sheng Lee System update protocol

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478446A (en) * 2008-12-30 2009-07-08 华为技术有限公司 Network appliance version loading method, apparatus and system
CN101710934A (en) * 2009-11-25 2010-05-19 中兴通讯股份有限公司 Set-top box edition upgrading method and system
US20140323122A1 (en) * 2009-11-25 2014-10-30 At&T Mobility Ii Llc Method and apparatus for maintaining user settings for over-the-air upgrades
CN102118640A (en) * 2009-12-31 2011-07-06 乐金电子(中国)研究开发中心有限公司 Digital television as well as software upgrading method and system thereof
CN107025121A (en) * 2017-03-31 2017-08-08 广东欧珀移动通信有限公司 Method for upgrading software, device and electronic installation
CN108011935A (en) * 2017-11-27 2018-05-08 海信集团有限公司 A kind of programme upgrade method of NB-IOT equipment, server and NB-IOT equipment
CN109491691A (en) * 2018-11-30 2019-03-19 歌尔科技有限公司 A kind of TWS earphone and its upgrade method, device, medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783530A (en) * 2021-01-26 2021-05-11 广东盈科电子有限公司 Software upgrading method and control device for intelligent shoe cabinet control device

Also Published As

Publication number Publication date
WO2021189656A1 (en) 2021-09-30

Similar Documents

Publication Publication Date Title
CN110032512B (en) Debugging method of small program, related equipment and terminal
KR102274950B1 (en) Apparatus and method for multi-network access in wireless communication system
CN111327758B (en) Camera sharing method and device
WO2021000923A1 (en) Router configuration method, terminal, and router
CN104820665A (en) Method, terminal and server for exhibiting recommendation information
CN113498594B (en) Control method and device of smart home system, electronic equipment and storage medium
WO2021017894A1 (en) Method for using remote sim module, and electronic apparatus
US11903062B2 (en) Method for operating application requiring communication with external device, and electronic device therefor
US20230209438A1 (en) Data Transmission Method and Electronic Device
CN109699019B (en) Broadcast scanning method, device, electronic equipment and storage medium
CN114629932B (en) Cooperative method between electronic devices, electronic device and storage medium
JP2022518000A (en) Measurement reporting method and equipment, terminal equipment information acquisition method and equipment
CN112235856A (en) Method and device for adjusting transmission power of Bluetooth signal, storage medium and mobile terminal
WO2022247446A1 (en) Performance optimization method and related device
CN113285810B (en) Target equipment login method and device, storage medium and electronic device
CN111475189A (en) Upgrading method, head-mounted equipment, storage medium and electronic device
CN112532712B (en) Protocol transmission method and device, storage medium, and electronic device
CN113467832A (en) Equipment control processing method, device, storage medium and electronic device
CN114390574B (en) Wireless network throughput test method, device and computer readable storage medium
CN115134404B (en) Method for managing push connection and electronic equipment
CN112698948A (en) Method and device for acquiring product resources, storage medium and electronic device
CN114501449B (en) Information query method, device, electronic equipment and storage medium
CN114173317B (en) Method for transmitting data and electronic equipment
WO2022094852A1 (en) Device connection method and apparatus, and hardware device and computer-readable storage medium
CN117440434B (en) Data transmission method and system based on wide-narrow band communication fusion

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
TA01 Transfer of patent application right

Effective date of registration: 20200930

Address after: 518057 2 / F, software building, No.9, Gaoxin Middle Road, Nanshan District, Shenzhen, Guangdong Province

Applicant after: SHENZHEN KUANG-CHI SPACE TECH. Co.,Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets in a high road No. 9 building two layer software

Applicant before: SHENZHEN KUANG-CHI SUPER MATERIAL TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200731

RJ01 Rejection of invention patent application after publication