Information processing method, electronic device, server and storage medium
Automatically obtain and transmit the software upgrade package of electronic equipment through scanning equipment, which solves the problem of long time and high cost of electronic equipment upgrade in the existing technology, realizes automatic upgrade, and improves efficiency and intelligence.
Patent Information
- Application Number
- CN202110976942.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-08-24
AI Technical Summary
In the existing technology, upgrading application programs or operating system versions of electronic devices requires manual operations, which is time-consuming, costly and complex.
The scanning device scans the device identification information of the electronic device, receives and sends the download information of the software upgrade package, and realizes that the electronic device automatically obtains and upgrades the software when it is turned off.
It improves the efficiency of upgrading electronic equipment, reduces manual operation costs, improves intelligence, avoids the necessity of disassembling outer packaging, and ensures production continuity.
Smart Images

Figure CN113760331B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the field of computer technology, and in particular to an information processing method, electronic device, server, and storage medium. Background Art
[0002] When upgrading the version of an application (APP) or operating system in an electronic device that has already left the factory, the related art involves removing the outer packaging of the electronic device and manually upgrading the application or operating system. This method has at least the problems of being time-consuming, costly, and complicated to operate. Summary of the invention
[0003] Embodiments of the present application are intended to provide an information processing method, an electronic device, a server, and a storage medium.
[0004] The technical solution of this application is implemented as follows:
[0005] In a first aspect, an information processing method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
[0006] If the scanning device scans the device identification information of the electronic device, receiving the download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software;
[0007] A boot operation is performed, and after booting, the software is upgraded based on the downloaded information.
[0008] In a second aspect, an information processing method provided by an embodiment of the present application is applied to a server, and the method includes:
[0009] If the scanning device scans the device identification information of the electronic device, receiving the device identification information sent by the scanning device that is in communication connection with the server;
[0010] Obtain download information of an upgrade package corresponding to the software associated with the device identification information, and send the download information to the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0012] A first receiving module, configured to receive download information of an upgrade package corresponding to the software of the electronic device sent by the scanning device if the scanning device scans the device identification information of the electronic device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software;
[0013] The processing module is used to execute a startup operation and upgrade the software based on the download information after startup.
[0014] In a fourth aspect, an embodiment of the present application provides a server, the server comprising:
[0015] A second receiving module, configured to receive the device identification information of the electronic device sent by the scanning device having a communication connection with the server if the scanning device scans the device identification information of the electronic device;
[0016] An acquisition module, used to acquire download information of an upgrade package corresponding to the software associated with the device identification information;
[0017] A sending module is used to send the download information to the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0018] In a fifth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned information processing method.
[0019] The embodiments of the present application provide an information processing method, an electronic device, a server and a storage medium. When a scanning device scans the device identification information of the electronic device, the scanning device receives the download information of the upgrade package corresponding to the software of the electronic device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software; a power-on operation is performed, and the software is upgraded based on the download information after the power-on. In this way, the problem of manually upgrading the application program or operating system by manual operation in the related art is solved, and the electronic device, in the off state, receives the download information for indicating the upgrade package corresponding to the software of the electronic device based on the device identification of the electronic device scanned by the scanning device, and performs the power-on operation so as to automatically upgrade the software according to the download information. This realizes the automatic acquisition of the upgrade package corresponding to the software in the electronic device without the need for manual operation, thereby improving the upgrade efficiency of the electronic device and the intelligence level of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of a network architecture for implementing the information processing method provided in this application;
[0021] Figure 2 An optional flowchart of an information processing method provided in an embodiment of the present application;
[0022] Figure 3 An optional flowchart of an information processing method provided in an embodiment of the present application;
[0023] Figure 4 An optional flowchart of an information processing method provided in an embodiment of the present application;
[0024] Figure 5 An optional flowchart of an information processing method provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0030] See also Figure 1 , Figure 1A schematic diagram of a network architecture for implementing an information processing method provided in the present application, the network architecture at least includes a scanning device 100, an electronic device 200 and a server 300; wherein a communication connection is established between the scanning device 100 and the electronic device 200, and the scanning device 100 and the electronic device 200 respectively establish communication connections with the server 300. Here, the scanning device 100 includes but is not limited to a laser light scanning device, a label scanning device, a QR code scanning device, a short-range communication device, etc. The electronic device 200 may be a device that has a communication connection with the scanning device 100, and the electronic device 200 includes but is not limited to mobile terminal devices such as smart phones, tablet computers, laptops, smart TVs, personal digital assistants (PDAs), cameras, wearable devices, and fixed terminal devices such as desktop computers. The server 300 may be a single server, or it may be a server cluster composed of multiple servers, a cloud computing center, etc.
[0031] See also Figure 2 , Figure 2 This is a schematic diagram of an implementation flow of the information processing method provided in the embodiment of the present application. The information processing method can be applied to Figure 1 The electronic device 200 in the network architecture shown; the information processing method comprises the following steps:
[0032] S201: If the scanning device scans the device identification information of the electronic device, receive the download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device.
[0033] The download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0034] In the embodiment of the present application, the device identification information may be the identification information corresponding to each system software in the electronic device; the device identification information may also be the identification information corresponding to each application software in the electronic device; the device identification information may also be the device serial number information on the packaging box of the electronic device that corresponds one-to-one with the electronic device. Exemplarily, the device identification information is the global serial number (GSN) set on the packaging box of the electronic device, and the GSN is unique and corresponds one-to-one with the electronic device.
[0035] In the embodiments of the present application, the software of the electronic device includes system software, application software and middleware between the two. System software is responsible for managing various independent hardware in the computer system so that they can work in coordination. System software allows users of electronic devices and other software to treat the computer as a whole without having to consider how each underlying hardware works; here, system software provides the most basic functions for the use of electronic devices and can be divided into operating systems and supporting software. Application software is used for application software (Application, App) developed for specific purposes. Application software can be a specific program such as an image browser; application software can also be a collection of programs with closely related functions and mutual cooperation, such as Microsoft's Office software; application software can also be a huge software system composed of many independent programs, such as a database management system. This application does not make specific restrictions on this.
[0036] In the embodiment of the present application, the scanning device is a device with scanning capability, and the scanning device includes but is not limited to a laser light scanning device, a label scanning device, a QR code scanning device, a short-range communication device, etc. Here, the short-range communication device includes but is not limited to a Near Field Communication (NFC) scanning device, a Wireless Fidelity (WiFi) communication device, a Zigbee communication device, and a Bluetooth communication device.
[0037] In the embodiment of the present application, the electronic device may be installed with system software, application software and middleware between the two. In practical applications, the electronic device includes but is not limited to mobile terminal devices such as smart phones, tablet computers, laptop computers, smart TVs, drawing boards, personal digital assistants (PDAs), cameras, wearable devices, and fixed terminal devices such as desktop computers.
[0038] In the embodiment of the present application, the electronic device may include an NFC communication module, a WiFi communication module, a Zigbee communication module, and a Bluetooth communication module, so that the electronic device can achieve communication connection with other devices through the above modules. Here, the scanning device and the electronic device can be communicated and connected through a short-range communication mode or a limited mode. Exemplarily, the scanning device and the electronic device can establish a communication connection through WiFi, Bluetooth, Zigbee, wired connection, etc.
[0039] In an achievable application scenario, first, after the scanning device establishes a communication connection with an electronic device that is in a powered-off state, the scanning device scans the device identification information of the electronic device, and the scanning device supplies power to the electronic device; secondly, based on the device identification information, the scanning device sends download information of an Over-the-Air Technology (OTA) upgrade package corresponding to the software to the electronic device; finally, the electronic device receives download information for instructing the electronic device to obtain the OTA upgrade package corresponding to the software.
[0040] In other embodiments of the present application, the scanning device is a short-range communication device, and the download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device in S101 can be implemented in the following manner:
[0041] The download information and network connection information sent by the short-distance communication device are received through the short-distance communication module of the electronic device, wherein the network connection information is used to establish a communication connection between the electronic device and the server.
[0042] S202, executing a startup operation, and upgrading the software based on the downloaded information after startup.
[0043] In the embodiment of the present application, when the electronic device receives download information of an upgrade package corresponding to the software of the electronic device sent by a scanning device, it performs a power-on operation and upgrades the software of the electronic device based on the download information after powering on.
[0044] In a feasible application scenario, first, after the short-range communication device establishes a communication connection with an electronic device in a turned-off state, the short-range communication device scans the device identification information of the electronic device; secondly, the short-range communication device uses the principle of magnetic induction of a coil to power the short-range communication module of the electronic device, such as an NFC communication chip, and starts the short-range communication chip; thirdly, after the NFC communication chip in the electronic device is started, it interacts with the short-range communication device through the NFC protocol. After the interaction is completed, the short-range communication module of the electronic device, namely the NFC communication chip, receives the download information sent by the short-range communication device and the network connection information for establishing a communication connection between the electronic device and the server; finally, the NFC communication chip generates a trigger event, the electronic device performs a power-on operation based on the trigger event, and upgrades the software based on the download information after powering on.
[0045] The embodiment of the present application provides an information processing method, by which a scanning device scans the device identification information of the electronic device, receives the download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software; performs a power-on operation, and upgrades the software based on the download information after the power-on; thus, the manual upgrade of the application program or operating system by manual operation in the related art is solved, and the electronic device is enabled to receive the download information for indicating the upgrade package corresponding to the software of the electronic device based on the device identification of the electronic device scanned by the scanning device in the off state, and performs a power-on operation so as to automatically upgrade the software according to the download information, thereby realizing the automatic acquisition of the upgrade package corresponding to the software in the electronic device without the need for manual operation, thereby improving the upgrade efficiency of the electronic device and the intelligence level of the electronic device.
[0046] See also Figure 3 , Figure 3 This is a schematic diagram of an implementation flow of the information processing method provided in the embodiment of the present application. The information processing method can be applied to Figure 1 The server 300 in the network architecture shown; the information processing method comprises the following steps:
[0047] S301: If the scanning device scans the device identification information of the electronic device, the device identification information sent by the scanning device that has a communication connection with the server is received.
[0048] S302: Obtain download information of an upgrade package corresponding to the software associated with the device identification information, and send the download information to a scanning device.
[0049] The download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0050] In the embodiment of the present application, first, the scanning device scans the device identification information of the electronic device, and the scanning device sends the device identification information to the server with a communication connection; secondly, the server receives the device identification information and obtains the software information of the software associated with the device identification information, and the server determines whether the current version number of the received software is consistent with the latest version number of the corresponding software stored in the server, and the software information includes the version number of the software. If the current version number of the software is inconsistent with the latest version number or the specified version number of the corresponding software stored in the server, the server determines that the software in the electronic device is not the latest version number or the specified version number, obtains the download information of the OTA upgrade package corresponding to the latest version number or the specified version number of the software, and sends the download information to the scanning device, so that the electronic device upgrades the software according to the download information.
[0051] See also Figure 4 , Figure 4This is a schematic diagram of an implementation flow of the information processing method provided in the embodiment of the present application. The information processing method can be applied to Figure 1 Here, the information processing method is applied to a network architecture including at least a scanning device 100, an electronic device 200 and a server 300 as an example for explanation, and the method includes the following steps:
[0052] S401: A scanning device scans device identification information of an electronic device and establishes a communication connection with the electronic device.
[0053] S402: The scanning device sends device identification information to a server that has a communication connection with the scanning device.
[0054] S403: The server receives device identification information sent by a scanning device that has a communication connection with the server.
[0055] S404: If the upgrade identification information corresponding to the device identification information does not exist in the server, the server determines that the software installed in the electronic device meets the upgrade condition.
[0056] In an embodiment of the present application, after receiving the device identification information, the server determines whether there is upgrade identification information corresponding to the device identification information in the server. If it is determined that there is no upgrade identification information corresponding to the device identification information in the server, it is determined that the software installed on the electronic device meets the upgrade conditions.
[0057] S405: The server obtains download information of an upgrade package corresponding to the software associated with the device identification information.
[0058] The download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0059] S406: The server sends download information to the scanning device.
[0060] S407: If the scanning device is a short-range communication device and the short-range communication device supplies power to the electronic device, the electronic device receives the download information and network connection information sent by the short-range communication device through the short-range communication module of the electronic device.
[0061] The network connection information is used to establish a communication connection between the electronic device and the server.
[0062] S408: The electronic device performs a power-on operation and generates a download request carrying download information after powering on.
[0063] S409: The electronic device establishes a communication connection with the server based on the network connection information.
[0064] S410: The electronic device sends a download request to the server.
[0065] S411. The server obtains a download request carrying download information sent by the electronic device, and responds to the download request.
[0066] In an embodiment of the present application, the server obtains a download request carrying download information sent by an electronic device, responds to the download request for an upgrade package corresponding to the software contained in the download information, and obtains the upgrade package corresponding to the software.
[0067] S412: The server sends an upgrade package to the electronic device.
[0068] S413: The electronic device receives the upgrade package sent by the server, and upgrades the software based on the upgrade package.
[0069] S414: If the electronic device completes software upgrade, the electronic device performs a self-test on the hardware module of the electronic device, and generates upgrade identification information if the self-test result meets the self-test condition.
[0070] In the embodiment of the present application, the hardware modules of the electronic device include but are not limited to an input module, a display module and a communication module, wherein the input module includes but is not limited to a touch panel (TP), and the display module includes but is not limited to a liquid crystal display (LCD).
[0071] In the embodiment of the present application, the self-test condition includes a condition that the hardware module of the electronic device is tested to be functioning normally.
[0072] In the embodiment of the present application, the self-check of the hardware module of the electronic device can be performed through an automated testing program in the electronic device.
[0073] In the embodiment of the present application, the upgrade identification information is used to mark that the software in the electronic device has been upgraded and the upgrade has been successful.
[0074] In a feasible application scenario, if the electronic device completes the software upgrade, the electronic device performs a self-test on the hardware module of the electronic device. If the electronic device can perform shutdown and startup operations normally, and the software and hardware modules in the electronic device can operate normally, it is determined that the self-test result meets the self-test conditions and generates upgrade identification information.
[0075] In other embodiments of the present application, in order to reduce the storage space occupied by the upgrade package in the electronic device, after the electronic device completes the software upgrade according to the upgrade package, the electronic device automatically deletes the upgrade package.
[0076] S415: The electronic device sends upgrade identification information to the server to notify the server that the software upgrade of the electronic device is complete.
[0077] In other embodiments of the present application, after the electronic device sends the upgrade identification information to the server, the electronic device automatically shuts down, thereby reducing the power consumption of the electronic device.
[0078] S416: The server receives the upgrade identification information sent by the electronic device. If the server obtains a download request carrying download information sent by the electronic device, it is prohibited to respond to the download request.
[0079] From the above, it can be seen that in the embodiment of the present application, the upgrade package corresponding to the software in the electronic device is automatically obtained without the need for manual operation, thereby improving the upgrade efficiency of the electronic device and improving the intelligence level of the electronic device; at the same time, consumables and labor costs are saved, the production line will not stop and production will continue, which greatly improves production efficiency.
[0080] In an embodiment of the present application, after the server receives the upgrade identification information sent by the electronic device, if the server receives a download request carrying download information sent by the electronic device again within a preset time period, the server is prohibited from responding to the download request.
[0081] In one possible application scenario, for an electronic device with a packaging box, the electronic device automatically upgrades the software in the electronic device from the current version to the specified version without unpacking the packaging box, see Figure 5 , Figure 5 This is a schematic diagram of an implementation flow of the information processing method provided in an embodiment of the present application. Here, taking the operating system in the system software included in the software as an example, and taking the scanning device as an NFC scanning device as an example for explanation, the information processing method includes the following steps:
[0082] S501. An NFC scanning device scans a device serial number GSN on the outside of a packaging box of an electronic device, and uploads the device serial number GSN to a server.
[0083] In the embodiment of the present application, the device identification information is the device serial number information on the packaging box of the electronic device that corresponds one-to-one with the electronic device, and the device serial number is associated with the operating system of the electronic device.
[0084] S502: The server receives the device serial number GSN uploaded by the NFC scanning device, and determines that the upgrade identification information corresponding to the device identification information does not exist in the server. The server determines that the operating system installed in the electronic device meets the upgrade conditions.
[0085] S503. The server obtains the current version number of the operating system and determines that the current version number of the operating system is inconsistent with the latest version number of the corresponding operating system stored in the server. The server determines that the operating system in the electronic device is not the latest version number, and configures the OTA path of the OTA upgrade package corresponding to the latest version number of the operating system.
[0086] The download information includes an OTA path, and the download information is used to instruct the electronic device to obtain an OTA upgrade package corresponding to the operating system.
[0087] S504: The server sends the OTA path to the NFC scanning device.
[0088] S505: The NFC scanning device establishes a communication connection with the electronic device and obtains network connection information.
[0089] In the embodiment of the present application, the execution order between S505 and S502 can be random, S505 can be executed before S502, S505 can be executed after S502, and S505 can be executed simultaneously with S502. The present application does not impose any specific restrictions on this.
[0090] S506: The NFC scanning device sends the OTA path and network connection information to the electronic device.
[0091] S507: When the NFC scanning device supplies power to the electronic device, the electronic device receives the OTA path and the network connection information, performs a power-on operation, and generates a download request carrying the OTA path after powering on.
[0092] S508: The electronic device establishes a communication connection with the server based on the network connection information.
[0093] S509: The electronic device sends a download request to the server.
[0094] S510: The server obtains a download request carrying an OTA path sent by the electronic device, and responds to the download request.
[0095] S511. The server sends the latest version of the OTA upgrade package corresponding to the operating system to the electronic device.
[0096] S512: The electronic device receives the OTA upgrade package sent by the server, and based on the OTA upgrade package, calls the OTA upgrade tool to upgrade the operating system.
[0097] S513: If the electronic device completes the operating system upgrade, the electronic device performs a self-check on the hardware module of the electronic device, and generates upgrade identification information if the self-check result meets the self-check condition.
[0098] S514: The electronic device sends upgrade identification information to the server to notify the server that the electronic device has completed the operating system upgrade.
[0099] In other embodiments of the present application, after the electronic device sends the upgrade identification information to the server, the electronic device automatically shuts down, thereby reducing the power consumption of the electronic device.
[0100] S515: The server receives the upgrade identification information sent by the electronic device. If the server obtains a download request carrying an OTA path sent by the electronic device, it is prohibited to respond to the download request.
[0101] From the above, it can be seen that in the embodiment of the present application, for an electronic device with a packaging box, the electronic device automatically upgrades the operating system in the electronic device from the current version to the specified version without unpacking the packaging box, thereby saving consumables and labor costs. The production line will not stop for this problem and will continue production, greatly improving efficiency.
[0102] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0103] The embodiment of the present application provides an electronic device, which can be used to implement Figure 2 and Figure 4 A corresponding embodiment provides an information processing method, see Figure 6 As shown, the electronic device 200 includes:
[0104] The first receiving module 61 is used to receive download information of an upgrade package corresponding to the software of the electronic device sent by the scanning device if the scanning device scans the device identification information of the electronic device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software;
[0105] The processing module 62 is used to execute the boot operation and upgrade the software based on the download information after booting.
[0106] In other embodiments of the present application, the first receiving module 61 is further used to receive download information and network connection information sent by the short-range communication device through the short-range communication module of the electronic device, wherein the network connection information is used to establish a communication connection between the electronic device and the server.
[0107] In other embodiments of the present application, the processing module 62 is further used to generate upgrade identification information if the electronic device completes the software upgrade; and send the upgrade identification information to the server to notify the server that the electronic device completes the software upgrade.
[0108] In other embodiments of the present application, the processing module 62 is further used to perform a self-test on the hardware module of the electronic device if the electronic device completes the software upgrade; if the self-test result meets the self-test condition, generate upgrade identification information.
[0109] The embodiment of the present application provides a server, which can be used to implement Figure 3 and Figure 4 A corresponding embodiment provides an information processing method, see Figure 7As shown, the server 300 includes:
[0110] The second receiving module 71 is used for receiving the device identification information sent by the scanning device that has a communication connection with the server if the scanning device scans the device identification information of the electronic device;
[0111] An acquisition module 72, used to acquire download information of an upgrade package corresponding to the software associated with the device identification information;
[0112] The sending module 73 is used to send download information to the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0113] In other embodiments of the present application, the processing module is used to determine that the software installed in the electronic device meets the upgrade conditions if the upgrade identification information corresponding to the device identification information does not exist in the server.
[0114] In other embodiments of the present application, the second receiving module 71 is also used to receive upgrade identification information sent by the electronic device if the electronic device completes the software upgrade; the processing module is also used to prohibit responding to the download request if a download request carrying download information sent by the electronic device is obtained.
[0115] The present application provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the following steps:
[0116] If the scanning device scans the device identification information of the electronic device, receiving the download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software;
[0117] Perform the power-on operation and upgrade the software based on the downloaded information after power-on.
[0118] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:
[0119] The download information and network connection information sent by the short-distance communication device are received through the short-distance communication module of the electronic device, wherein the network connection information is used to establish a communication connection between the electronic device and the server.
[0120] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:
[0121] If the electronic device completes the software upgrade, it generates upgrade identification information; and sends the upgrade identification information to the server to notify the server that the electronic device completes the software upgrade.
[0122] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:
[0123] If the electronic device completes the software upgrade, a self-check is performed on the hardware module of the electronic device; if the self-check result meets the self-check condition, upgrade identification information is generated.
[0124] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:
[0125] If the scanning device scans the device identification information of the electronic device, the device identification information sent by the scanning device that has a communication connection with the server is received; the download information of the upgrade package corresponding to the software associated with the device identification information is obtained, and the download information is sent to the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software.
[0126] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:
[0127] If the upgrade identification information corresponding to the device identification information does not exist in the server, it is determined that the software installed in the electronic device meets the upgrade condition.
[0128] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:
[0129] If the electronic device completes software upgrade, the upgrade identification information sent by the electronic device is received; if a download request carrying download information sent by the electronic device is obtained, responding to the download request is prohibited.
[0130] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0131] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0132] It should be understood that the "one embodiment" or "an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some embodiments" or "some implementation methods" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some embodiments" or "some implementation methods" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0133] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0134] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0135] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0136] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0137] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0138] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0139] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0140] It is worth noting that the drawings in the embodiments of the present application are only for illustrating the schematic positions of various components on the terminal device and do not represent the actual positions in the terminal device. The actual positions of various components or areas may be changed or offset accordingly according to actual conditions (for example, the structure of the terminal device), and the proportions of different parts of the terminal device in the drawings do not represent the actual proportions.
[0141] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An information processing method, applied to an electronic device, comprising: If the scanning device scans the device identification information of the electronic device, the communication module of the electronic device in the shutdown state is powered by the scanning device, and the communication module is ready to receive the download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software; The electronic device automatically performs a power-on operation and upgrades the software based on the download information after powering on.
2. The method according to claim 1, wherein the scanning device is a short-range communication device, and the receiving download information of the upgrade package corresponding to the software of the electronic device sent by the scanning device comprises: The download information and network connection information sent by the short-distance communication device are received through the short-distance communication module of the electronic device, wherein the network connection information is used to establish a communication connection between the electronic device and a server.
3. The method according to claim 1 or 2, after the software is upgraded based on the download information, the method comprises: If the electronic device completes the software upgrade, generating upgrade identification information; The upgrade identification information is sent to a server to notify the server that the software upgrade of the electronic device is completed.
4. The method according to claim 3, wherein if the electronic device completes the software upgrade, generating upgrade identification information comprises: If the electronic device completes the software upgrade, performing a self-check on the hardware module of the electronic device; If the self-check result meets the self-check condition, the upgrade identification information is generated.
5. An information processing method, applied to a server, comprising: If the scanning device scans the device identification information of the electronic device, receiving the device identification information sent by the scanning device that is in communication connection with the server; wherein the scanning device supplies power to the communication module of the electronic device; Obtain download information of an upgrade package corresponding to the software associated with the device identification information, and send the download information to the scanning device, wherein the download information is sent by the scanning device to the electronic device in a shutdown state to instruct the electronic device to obtain the upgrade package corresponding to the software after automatically performing a power-on operation.
6. The method according to claim 5, after receiving the device identification information sent by the scanning device that has a communication connection with the server, the method comprises: If the server does not contain the upgrade identification information corresponding to the device identification information, it is determined that the software installed in the electronic device meets the upgrade condition.
7. The method according to claim 5 or 6, after sending the download information to the scanning device, the method comprises: If the electronic device completes the software upgrade, receiving the upgrade identification information sent by the electronic device; If a download request carrying the download information sent by the electronic device is obtained, it is prohibited to respond to the download request.
8. An electronic device, comprising: A first receiving module, configured to receive download information of an upgrade package corresponding to the software of the electronic device sent by the scanning device if the scanning device scans the device identification information of the electronic device and the communication module of the electronic device in a shutdown state is powered by the scanning device, wherein the download information is used to instruct the electronic device to obtain the upgrade package corresponding to the software; The processing module is used for the electronic device to automatically perform a power-on operation and upgrade the software based on the download information after powering on.
9. A server, comprising: A second receiving module is used for receiving the device identification information of the electronic device sent by the scanning device which is in communication connection with the server if the scanning device scans the device identification information of the electronic device; wherein the scanning device supplies power to the communication module of the electronic device; An acquisition module, used to acquire download information of an upgrade package corresponding to the software associated with the device identification information; A sending module is used to send the download information to the scanning device, wherein the download information is sent by the scanning device to the electronic device in a shutdown state to instruct the electronic device to obtain the upgrade package corresponding to the software after automatically performing a power-on operation.
10. A storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the information processing method according to any one of claims 1 to 4 or any one of claims 5 to 7.
Citation Information
Patent Citations
A software upgrade processing method and an apparatus
CN103607447A
Refrigerator production line, method for upgrading refrigerator software on production line and medium
CN109582333A
Household appliance upgrading method, client and server
CN109600401A
Software upgrading method and device
WO2017076109A1
