Shutdown state detection device, disassembly-free shutdown state detection method and storage medium

By combining the power-off status detection device with the host computer, the problem of needing to open the color box to detect the power-off status of the terminal device inside the color box is solved, achieving low-cost and efficient detection and improving the user experience.

CN120768975BActive Publication Date: 2026-05-29HONOR DEVICE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-06-21
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

When detecting the power-off status of a terminal device inside the product packaging, existing technologies require disassembling the packaging, which increases manpower and material costs and results in a poor user experience.

Method used

A power-off state detection device is provided, including a color box fixing module, a distance adjustment module, an in-situ detection module, and a detection instrument. It works with a host computer through a second main control chip to detect the power-off state of the terminal device inside the color box, thus avoiding the need to open the color box.

Benefits of technology

It enables the detection of the terminal device's power-off status without opening the color box, reducing costs and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120768975B_ABST
    Figure CN120768975B_ABST
Patent Text Reader

Abstract

The application provides a shutdown state detection device, a disassembly-free shutdown state detection method and a storage medium. In the shutdown state detection device, a color box fixed module is used to fix a color box in which a terminal device is arranged; a distance adjusting module is used to adjust the distance between a detection instrument and the color box fixed by the color box fixed module; an in-position detection module is used to detect whether the color box and the detection instrument are in position; in the case that the color box and the detection instrument are in position, a second main control chip is used to control the distance adjusting module to adjust the distance between the detection instrument and the color box fixed by the color box fixed module, control the detection instrument to sample data, and send the collected detection data to an upper computer, so that the detection of the shutdown state of the terminal device in the color box can be realized without disassembling the color box.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a power-off state detection device, a power-off state detection method without disassembling the box, and a storage medium. Background Technology

[0002] After completing production testing at the factory, smart terminal products (such as mobile phones) are turned off, packaged in color boxes, and then shipped to various sales outlets via logistics.

[0003] To ensure that users can power on and use the product normally after receiving it, the product inside the box must be powered off to reduce power consumption.

[0004] Therefore, it is especially important to ensure that the product inside the box is turned off when the box is opened. Summary of the Invention

[0005] To address the aforementioned technical problems, this application provides a power-off state detection device, a power-off state detection method without disassembling the box, and a storage medium. The aim is to detect the state of the product inside the color box without damaging the product packaging, thereby identifying products that are not in a power-off state and ensuring that all shipped products are in a power-off state.

[0006] In a first aspect, embodiments of this application provide a power-off state detection device. The power-off status detection device includes: a second main control chip, a color box fixing module, a distance adjustment module, an on-site detection module, a control button, and a detection instrument. The color box fixing module is used to fix the color box, which contains the terminal device. The distance adjustment module is used to adjust the distance between the detection instrument and the color box fixed on the color box fixing module. The on-site detection module interacts with the color box fixing module and the distance adjustment module to generate color box on-site information and detection instrument on-site information. The color box on-site information indicates whether the color box fixing module has fixed the color box, and the detection instrument on-site information indicates whether a detection instrument has been placed on the distance adjustment module. The second main control chip interacts with the on-site detection module to acquire the color box on-site information and the detection instrument on-site information. When the color box on-site information indicates that the color box fixing module has fixed the color box, and the detection instrument on-site information indicates that a detection instrument has been placed on the distance adjustment module, the chip controls the distance adjustment module to adjust the distance between the detection instrument and the color box fixed on the color box fixing module, and controls the detection instrument to perform data sampling and send the collected detection data to the host computer. The detection data indicates the status of the terminal device.

[0007] Among them, the second main control chip, such as the main control chip 201 mentioned below.

[0008] Among them, the color box fixing module, such as the color box fixing module 202 mentioned below.

[0009] Among them, the distance adjustment module, such as the distance adjustment module 203 mentioned below.

[0010] Among them, the presence detection module, such as the presence detection module 207 mentioned below.

[0011] Among them, control buttons, such as control button 205 mentioned below.

[0012] Among them, the detection instrument, such as the electromagnetic and / or NFC detection instrument 204 described below.

[0013] The terminal device packaged inside the color box can also be referred to as a product. For example, product 300 mentioned below.

[0014] For specific details regarding the power-off status detection device, please refer to [link / reference]. Figures 6 to 10 The description of the illustrated embodiment will not be repeated here.

[0015] Therefore, by using the power-off state detection device with the above structure, in conjunction with the host computer, the power-off state of the terminal device inside the color box can be detected without opening the color box.

[0016] According to the first aspect, the power-off state detection device further includes: a base; the base includes a top plate, a bottom plate and a hollow frame; a second main control chip and an in-situ detection module are located inside the base; a color box fixing module is set on the top plate, and a distance adjustment module is set on the top plate in the area where the color box fixing module is located.

[0017] The base is, for example, base 209 as described below. Correspondingly, the top plate is top plate 209-1 as described below, the bottom plate is bottom plate 209-2 as described below, and the hollow frame is frame 209-3 as described below.

[0018] For specific details regarding the base, and the relationship between the second main control chip, the in-situ detection module, and the base, please refer to [link to relevant documentation]. Figure 7 The description of the illustrated embodiment will not be repeated here.

[0019] According to the first aspect, or any implementation of the first aspect above, the color box fixing module includes a third positioning block and a fourth positioning block; the third positioning block is used to adjust the position in the X-axis direction through a hole opened in the X-axis direction; the fourth positioning block is used to adjust the position in the Y-axis direction through a hole opened in the Y-axis direction; wherein, by adjusting the positions of the third positioning block and the fourth positioning block in the X-axis and Y-axis directions, color boxes of different sizes are fixed on the power-off state detection device.

[0020] The third positioning block is, for example, positioning block 202-1 as described below.

[0021] The fourth positioning block is, for example, positioning block 202-2 as described below.

[0022] Among them, holes opened in the X-axis direction, such as hole 202-3 mentioned below.

[0023] Among them, holes opened in the Y-axis direction, such as hole 202-4 mentioned below.

[0024] For specific details regarding the color box fixing module, please refer to Figure 8 The description of the illustrated embodiment will not be repeated here.

[0025] According to the first aspect, or any implementation of the first aspect above, the distance adjustment module includes a first support component, a second support component, a first sliding component, a second sliding component, a first telescopic component, a second telescopic component, a hollow instrument placement frame, and a cylinder; the first support component and the second support component are disposed opposite to each other on the upper and lower edges of the top plate where the color box fixing module is located; the first sliding component is fixed to the top plate through the first support component; the second sliding component is fixed to the top plate through the second support component; the upper edge of the instrument placement frame has a first hole corresponding to the first sliding component, and the lower edge of the instrument placement frame has a second hole corresponding to the second sliding component; the instrument placement frame is used to place the detection instrument and is fixed to the first sliding component and the second sliding component through the first hole and the second hole; the first telescopic component is disposed on the first sliding component, and the second telescopic component is disposed on the second sliding component; the cylinder is disposed inside the base and is used to control the state of the first telescopic component and the second telescopic component, driving the instrument placement frame to move up and down along the first sliding component and the second sliding component.

[0026] Among them, the first support component and the second support component, such as support component 203-1 as described below.

[0027] Among them, the first sliding component and the second sliding component, such as the sliding component 203-2 mentioned below.

[0028] The first telescopic component and the second telescopic component are, for example, telescopic component 203-4 as described below.

[0029] Among them, the hollow instrument placement frame, such as the instrument placement frame 203-3 mentioned below.

[0030] For specific details regarding the distance adjustment module, please refer to [link / reference]. Figure 9 The description of the illustrated embodiment will not be repeated here.

[0031] According to the first aspect, or any implementation of the first aspect above, the power-off state detection device further includes: a test indicator light, which is set on the frame; and a second main control chip, which is also used to receive the test results sent by the host computer and control the test indicator light to display the test results, wherein the test results are the state of the terminal device determined by the host computer based on the detection data.

[0032] Among them, test indicator lights, such as test indicator light 206 mentioned below.

[0033] According to the first aspect, or any implementation of the first aspect above, the test indicator includes a first test indicator and a second test indicator; wherein, when the second main control chip does not receive a test result, both the first test indicator and the second test indicator are in an off state; when the second main control chip receives a test result, and the test result indicates that the terminal device is in a powered-off state, the second main control chip controls the first test indicator to switch from an off state to an on state; when the second main control chip receives a test result, and the test result indicates that the terminal device is not in a powered-off state, the second main control chip controls the second test indicator to switch from an off state to an on state.

[0034] The first test indicator light, for example, test indicator light 206-1 as described below.

[0035] The second test indicator is, for example, test indicator 206-3 as described below.

[0036] The screen-off state refers to the off state, meaning that the test indicator light is not lit (does not emit light) in this state.

[0037] The "lit state" refers to the state where the light is emitted when the power is on.

[0038] For specific details regarding the first and second test indicator lights, please refer to [link / reference]. Figure 10 The description of the illustrated embodiment will not be repeated here.

[0039] According to the first aspect, or any implementation of the first aspect above, the test indicator also includes a third test indicator; wherein, when the second main control chip does not obtain the color box location information and the detection instrument location information, the third test indicator is in an off state; when the second main control chip obtains the color box location information and the detection instrument location information, and the color box location information indicates that the color box fixing module has fixed the color box, and the detection instrument location information indicates that the detection instrument has been placed on the distance adjustment module, the second main control chip controls the third test indicator to switch from an off state to an on state.

[0040] Among them, the third test indicator light, such as test indicator light 206-2 mentioned below.

[0041] For specific details regarding the third test indicator light, please refer to [link / reference]. Figure 10 The description of the illustrated embodiment will not be repeated here.

[0042] According to the first aspect, or any implementation of the first aspect above, the power-off state detection device further includes a control button, which is disposed on the frame; the control button is used to trigger the power-off state detection operation of the terminal device or pause the power-off state detection operation in response to the user's pressing when the third test indicator light is lit.

[0043] For specific details regarding the control buttons, please refer to [link / reference]. Figure 10 The description of the illustrated embodiment will not be repeated here.

[0044] According to the first aspect, or any implementation of the first aspect above, the power-off state detection device further includes a display module disposed on the frame; the display module is used to display the detection mode, which includes an automatic mode and a manual mode; wherein, when the user selects the automatic mode, the second main control chip actively sends an on-site detection command to the on-site detection module, so that the on-site detection module interacts with the color box fixing module and the distance adjustment module to generate color box on-site information and detection instrument on-site information; when the user selects the manual mode, after receiving the on-site detection command from the host computer, the second main control chip controls the on-site detection module to interact with the color box fixing module and the distance adjustment module to generate color box on-site information and detection instrument on-site information.

[0045] For specific details regarding the display module, please refer to [link / reference]. Figure 10 The description of the illustrated embodiment will not be repeated here.

[0046] Secondly, this application provides a method for detecting a power-off state without disassembling the box, applied to a host computer and a power-off state detection device. The host computer and the power-off state detection device are communicatively connected. The method for detecting a power-off state without disassembling the box includes: the power-off state detection device responds to an in-place detection command to determine whether the color box and the detection instrument are in place. The color box contains a terminal device, which is placed inside the color box with its back cover facing the box lid and its screen away from the box lid. When the color box and the detection instrument are determined to be in place, the power-off state detection device sends an in-place command to the host computer. After receiving the in-place command, the host computer sends a data acquisition command to the power-off state detection device. After receiving the data acquisition command, the power-off state detection device controls the detection instrument to perform data sampling and sends the acquired detection data to the host computer. The host computer determines the state of the terminal device based on the detection data and sends a test light illumination command to the power-off state detection device based on the determined state information. After receiving the test light illumination command, the power-off state detection device illuminates the corresponding test indicator light according to the test light illumination command.

[0047] Among them, when detecting the power-off status of the terminal device inside the color box, it can be done according to Figure 20 The method shown fixes the color box to the power-off state detection device, thereby enabling the detection of the power-off state of the terminal device inside the color box.

[0048] For details regarding the power-off status detection of terminal devices within the color box based on the power-off status monitoring device and host computer, please refer to [link to relevant documentation]. Figure 27 The description of the illustrated embodiment will not be repeated here.

[0049] Therefore, without opening the color box, the power-off state detection device provided by the first aspect or any implementation thereof, in conjunction with the host computer, can detect the power-off state according to... Figure 20 The method shown fixes the color box to the power-off state detection device, which realizes the detection of the power-off state of the terminal device inside the color box. This ensures that after the power-on power-on and / or upgrade device is used to upgrade the product inside the color box, the terminal device inside the color box can be in the power-off state.

[0050] According to the second aspect, after receiving the in-place instruction, the host computer sends a data acquisition instruction to the power-off state detection device, including: after receiving the in-place instruction, the host computer sends a data acquisition instruction to the power-off state detection device after a first time period.

[0051] For specific implementation details in this regard, please refer to Figure 27 The descriptions of steps S301 and S302 in the illustrated embodiment will not be repeated here.

[0052] According to the second aspect, or any implementation of the second aspect above, after receiving the presence instruction, the host computer sends a collection instruction to the power-off state detection device, including: after receiving the presence instruction, the host computer sends a first collection instruction and / or a second collection instruction to the power-off state detection device; wherein, the first collection instruction is used to instruct the power-off state detection device to control the electromagnetic detection instrument to collect magnetic induction intensity data, and the second collection instruction is used to instruct the power-off state detection device to control the NFC detection instrument to collect NFC data.

[0053] For specific implementation details in this regard, please refer to Figure 27 The description of step S302 in the illustrated embodiment will not be repeated here.

[0054] According to the second aspect, or any implementation of the second aspect above, after receiving the acquisition command, the power-off state detection device controls the detection instrument to sample data and sends the acquired detection data to the host computer, including: when the acquisition command includes a first acquisition command, the power-off state detection device controls the electromagnetic detection instrument to collect magnetic induction intensity data and sends the collected magnetic induction intensity data to the host computer; when the acquisition command includes a second acquisition command, the power-off state detection device controls the NFC detection instrument to collect NFC data and sends the collected NFC data to the host computer; when the acquisition command includes both the first and second acquisition commands, the power-off state detection device controls the electromagnetic detection instrument to collect magnetic induction intensity data, controls the NFC detection instrument to collect NFC data, and sends the collected magnetic induction intensity data and NFC data to the host computer.

[0055] For specific implementation details in this regard, please refer to Figure 27 The description of step S303 in the illustrated embodiment will not be repeated here.

[0056] According to the second aspect, or any implementation of the second aspect above, the host computer determines the state of the terminal device based on the detection data, including: if the detection data includes magnetic induction intensity data, the host computer determines whether the magnetic induction intensity data matches a magnetic induction intensity threshold, where the magnetic induction intensity threshold is the magnetic induction intensity corresponding to the terminal device in the off state; if the magnetic induction intensity data matches the magnetic induction intensity threshold, the host computer determines that the terminal device is in the off state; otherwise, the host computer determines that the terminal device is not in the off state.

[0057] For specific implementation details in this regard, please refer to Figure 27 The description of determining the product status based on the magnetic induction intensity data in step S304 of the illustrated embodiment will not be repeated here.

[0058] According to the second aspect, or any implementation of the second aspect above, the host computer determines the state of the terminal device based on the detection data, including: if the detection data includes NFC data, the host computer determines whether the number of times NFC data is received is equal to the preset number of NFC data, where the preset number of NFC data is the number of times the terminal device recognizes NFC from the time the factory reset operation is triggered to the last power-off period; if the number of times NFC data is received is equal to the preset number of NFC data, the host computer determines that the terminal device is in a power-off state; otherwise, the host computer determines that the terminal device is not in a power-off state.

[0059] For specific implementation details in this regard, please refer to Figure 25 and Figure 26 The illustrated embodiments, and Figure 27 The description of determining the product status based on NFC data in step S304 of the illustrated embodiment will not be repeated here.

[0060] According to the second aspect, or any implementation of the second aspect above, the host computer determines the state of the terminal device based on the detection data, including: when the detection data includes magnetic induction intensity data and NFC data, the host computer determines whether the magnetic induction intensity data matches the magnetic induction intensity threshold, and whether the number of times NFC data is received is equal to the preset NFC count. The magnetic induction intensity threshold is the magnetic induction intensity corresponding to the terminal device in the powered-off state, and the preset NFC count is the number of times the terminal device recognizes NFC from the time the factory reset operation is triggered to the last power-off period; if the magnetic induction intensity data matches the magnetic induction intensity threshold and the number of times NFC data is received is equal to the preset NFC count, the host computer determines that the terminal device is in the powered-off state; otherwise, the host computer determines that the terminal device is not in the powered-off state.

[0061] For specific implementation details in this regard, please refer to Figure 25 and Figure 26 The illustrated embodiments, and Figure 27 The description of determining the product status based on magnetic induction intensity data and NFC data in step S304 of the illustrated embodiment will not be repeated here.

[0062] According to the second aspect, or any implementation of the second aspect above, the preset NFC count is 3.

[0063] According to the second aspect, or any implementation of the second aspect above, the host computer sends a test light illumination command to the power-off state detection device based on the determined state information, including: when it is determined that the terminal device is in a power-off state, the host computer sends a first command to the power-off state detection device; when it is determined that the terminal device is not in a power-off state, the host computer sends a second command to the power-off state detection device.

[0064] For specific implementation details in this regard, please refer to Figure 27 The descriptions of steps S305 and S307 in the illustrated embodiment will not be repeated here.

[0065] According to the second aspect, or any implementation of the second aspect above, after receiving the test light illumination command, the power-off state detection device illuminates the corresponding test indicator light according to the test light illumination command, including: when the power-off state detection device receives the first command, it controls the first test indicator light to switch from the off state to the on state; when the power-off state detection device receives the second command, it controls the second test indicator light to switch from the off state to the on state.

[0066] For specific implementation details in this regard, please refer to Figure 27 The descriptions of steps S306 and S308 in the illustrated embodiment will not be repeated here.

[0067] According to the second aspect, or any implementation of the second aspect above, the on-premises detection instruction comes from the host computer, or is generated when the user selects the automatic mode.

[0068] In manual mode, the presence detection command comes from the host computer.

[0069] For an introduction to manual and automatic modes, please refer to [link / reference]. Figure 10 The description of the display module 208 in the illustrated embodiment will not be repeated here.

[0070] According to the second aspect, or any implementation of the second aspect above, the power-off state detection device responds to the presence detection command to determine whether the color box and the detection instrument are in place, including: the power-off state detection device responds to the presence detection command to acquire color box presence information and detection instrument presence information, wherein the color box presence information is used to indicate whether the color box fixing module has fixed the color box, and the detection instrument presence information is used to indicate whether the detection instrument has been placed on the distance adjustment module; if the color box presence information indicates that the color box fixing module has fixed the color box, and the detection instrument presence information indicates that the detection instrument has been placed on the distance adjustment module, the device determines that the color box and the detection instrument are in place.

[0071] For details regarding the inspection of the presence of color boxes and testing instruments, please refer to [link / reference needed]. Figures 6 to 10 The description of the in-situ detection module in the previous section will not be repeated here.

[0072] Thirdly, embodiments of this application provide a computer-readable medium for storing a computer program, the computer program including instructions for performing the methods in the second aspect or any possible implementation of the second aspect.

[0073] Fourthly, embodiments of this application provide a computer program including instructions for performing the method in the second aspect or any possible implementation thereof.

[0074] Fifthly, embodiments of this application provide a chip including a processing circuit and transceiver pins. The transceiver pins and the processing circuit communicate with each other via an internal connection path. The processing circuit executes the method in the second aspect or any possible implementation of the second aspect to control the receiving pin to receive signals and to control the transmitting pin to transmit signals. Attached Figure Description

[0075] Figure 1 This is a schematic diagram illustrating an example of a process for returning a device to the factory for a power upgrade.

[0076] Figure 2 This is a schematic diagram of a hardware module for an exemplary power replenishment and upgrade device;

[0077] Figure 3 This is a 3D structural schematic diagram of an exemplary power replenishment and upgrade device;

[0078] Figure 4 As shown in the example Figure 3 A partially enlarged schematic diagram of the positioning module in the power replenishment and upgrade device shown;

[0079] Figure 5 As shown in the example Figure 3 A partially enlarged schematic diagram of the NFC coil and wireless charging coil in the power-up upgrade setup shown;

[0080] Figure 6 This is a schematic diagram of a hardware module for an exemplary power-off state detection device;

[0081] Figure 7 This is a three-dimensional structural schematic diagram of a power-off state detection device as an example.

[0082] Figure 8 As shown in the example Figure 7 Top view of the power-off state detection device shown;

[0083] Figure 9 As shown in the example Figure 7 Side view of the power-off state detection device shown;

[0084] Figure 10 As shown in the example Figure 7 The front view of the shutdown status detection device shown;

[0085] Figure 11This is a schematic diagram of a hardware module of a product located inside a color box, as an example.

[0086] Figure 12 This is an example of a hardware module schematic diagram of another product located inside a color box;

[0087] Figure 13 This is a schematic diagram of the software structure of a product located inside a color box, which serves as an example.

[0088] Figure 14 This is an illustrative diagram of the shape of a product that needs to be placed inside a color box;

[0089] Figure 15 This is a schematic diagram illustrating an exemplary method of packaging a product in a color box.

[0090] Figure 16 This is an illustrative diagram illustrating yet another method of packaging a product in a color box.

[0091] Figure 17 This is a schematic diagram illustrating a system architecture for replenishing and / or upgrading products inside a color box, as an example.

[0092] Figure 18 An example is shown in Figure 3 The power upgrade device shown is fixed on Figure 16 A schematic diagram of the color box shown;

[0093] Figure 19 As shown in the example Figure 17 The diagram shows the internal structure of each object in the system architecture and the connections between them.

[0094] Figure 20 This is a schematic diagram illustrating a system architecture for detecting the power-off status of products inside a color box;

[0095] Figure 21 To illustrate, an example is shown based on Figure 17 and Figure 20 The system architecture shown illustrates the interaction between various objects during the process of replenishing power and / or upgrading products inside the color box, as well as detecting the power-off status.

[0096] Figure 22 This is an example illustration of the interaction between the power-up device and the functional modules of the product inside the color box during the process of triggering the power-on of the product inside the color box and connecting to the wireless access point.

[0097] Figure 23 This is an illustrative diagram showing the charging mode and temperature control during the process of using a power replenishment device to replenish power to products inside a color box;

[0098] Figure 24 This is a schematic diagram illustrating an example of a power upgrade cabinet for housing a power upgrade device;

[0099] Figure 25 This is an illustrative diagram showing the restoration of factory settings after a product upgrade is completed inside a color box;

[0100] Figure 26 This is an example illustration of the timing changes that can be identified by NFC during a factory reset process;

[0101] Figure 27 An example of a method based on Figure 20 The system architecture shown is a timing diagram for detecting the power-off status of the products inside the color box.

[0102] Figure 28 and Figure 29 This is an illustrative diagram illustrating yet another method of upgrading the product inside a color box;

[0103] Figure 30 For example, the target Figure 29 The diagram shown illustrates the temperature control of the products during the upgrade process inside the color box. Detailed Implementation

[0104] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0105] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0106] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.

[0107] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0108] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.

[0109] After completing production testing in the factory, smart terminal products (such as mobile phones, tablets, and smartwatches) are powered off, packaged in color boxes, and then shipped to various sales outlets via logistics. However, due to differences in marketing personnel's estimates and local market inventory levels, products may become unsellable due to exceeding their shelf life. Furthermore, the battery life of these products gradually decreases over time; therefore, prolonged stagnation can lead to insufficient battery power.

[0110] Furthermore, with technological advancements and evolving user needs, the product's operating system and installed applications (hereinafter referred to collectively as "software") undergo continuous updates and iterations to improve product performance and better meet user requirements. Therefore, prolonged periods of sluggish sales can result in products being sold with outdated software versions.

[0111] Currently, when encountering such issues, sales personnel can only arrange for inventory products to be returned to the factory for charging and / or upgrades to ensure that users receive products with sufficient battery power and the latest software version. However, because the products are packaged in color boxes sealed with plastic wrap, production line personnel need to remove the plastic wrap from the returned product's color box and open the box (the process of removing the plastic wrap and opening the color box will be referred to as "opening the color box") before the product can be retrieved for charging and / or upgrades. In other words, this return-to-factory charging and upgrade solution can include the following steps in its implementation process: Figure 1 The process involves several steps, including "returning inventory products to the factory," "unpacking the color box," "removing the product," "recharging and / or upgrading the product," "shutting down and repackaging the color box," and "shipping." Since each step requires manpower and resources, this return-to-factory charging and upgrading solution not only increases material and labor costs but is also time-consuming and labor-intensive.

[0112] To address the aforementioned issues, some implementations avoid returning inventory products to the factory for charging and / or upgrades. Instead, customers are required to unpack and activate the product on-site upon sale. Sales staff can then charge the product and perform software upgrades while connected to the internet within the store. This method eliminates the need for returning products for charging and / or upgrades, saving on shipping costs and reducing labor and waste material costs. However, it requires customers to wait in the store, and the charging and / or upgrade process typically takes a considerable amount of time, such as 30 minutes, resulting in a poor customer experience.

[0113] In view of this, embodiments of this application provide a no-disassembly power-up and upgrade solution, which aims to achieve power-up and / or upgrades to the product without damaging the product packaging. That is, it supports power-up and / or upgrades to the product while it is still in its original packaging, thereby reducing implementation costs.

[0114] Furthermore, the no-disassembly power-up and upgrade solution provided in this application embodiment can also monitor the power-up and upgrade process to ensure that the product successfully completes the power-up and / or upgrade process, and clear the relevant records after the process to ensure the user's new device experience.

[0115] To achieve the above effects, in some implementation methods, the no-disassembly power-up upgrade solution provided in this application involves the interaction of several objects, including control equipment, server, network equipment, power-up upgrade device, power-off status detection device, and product located inside the color box.

[0116] The control device is, for example, an industrial control computer (hereinafter referred to as PC), which is used to run the no-disassembly power-up upgrade logic control software (or program) provided in the embodiments of this application.

[0117] The server can be a cloud server or a physical server. In some implementations, the server may include an authentication server and an upgrade server. The authentication server is used to authenticate the PC and the product located inside the packaging. The upgrade server is used to search for and download upgrade packages.

[0118] It should be noted that in some implementations, the authentication server and the upgrade server can be a single server, i.e., a server that performs both functions, or they can be two separate servers. This application does not impose any restrictions on this.

[0119] In this embodiment of the application, the network device can be understood as a wireless access point (AP), which is used to connect the PC, the product located in the color box, the power-up device, the power-off status detection device, etc. to the wireless local area network.

[0120] For example, in some implementations, the network device is, for instance, a router (wired or wireless).

[0121] The power replenishment and upgrade device is used to interact with the PC for data, commands, etc., and to replenish and / or upgrade the products in the color box placed on it.

[0122] The power-off status detection device is used to interact with the PC for data and commands, and to detect the status of the product inside the color box after power replenishment and / or upgrade, so as to determine whether the product inside the color box is in a power-off state.

[0123] To better understand the non-disassembly power-up upgrade solution provided in the embodiments of this application, the power-up upgrade device and the power-off state detection device will be described first with reference to the accompanying drawings.

[0124] See Figure 2 The diagram illustrates a functional module schematic of a power replenishment and upgrade device 100.

[0125] like Figure 2 As shown, in some implementations, the power replenishment and upgrade device 100 may include a main control chip 101, an NFC (near field communication) chip 102, an NFC coil 103, a wireless charging management chip 104, a wireless charging coil 105, a display module 106, etc.

[0126] The main control chip 101 is, for example, a microcontroller unit (MCU). In the technical solutions provided in the embodiments of this application, the main control chip 101 can be understood as a controller that communicates with a host computer, i.e., a PC as a control device, and controls peripheral circuits. For example, in some implementations, the main control chip 101 can be a Raspberry Pi, a microcontroller, a microprocessor, etc., and this application does not limit it.

[0127] In addition, it should be noted that in some implementations, in order to better ensure that the main control chip 101 communicates with the PC and controls the peripheral circuits, the power-up device 100 may also include a minimum system set by the main control chip 101.

[0128] The NFC chip 102 is used to enable contactless information transfer between the power upgrade device and the product located inside the color box. For example, in some implementations, the NFC chip 102 can be a low-power NFC chip that supports point-to-point, card emulation, and read / write communication modes.

[0129] The NFC coil 103 is used to communicate with the NFC coil of the product located inside the color box to achieve data interaction.

[0130] Specifically, the wireless charging management chip 104 is a transmitter (TX), which works in conjunction with the boost circuit, negative feedback circuit, foreign object detection circuit, full-bridge inverter circuit, power adapter, etc., to transmit data to the product located in the color box via the wireless charging coil 105 through the IIC protocol (a serial communication bus protocol used for communication between different devices).

[0131] In addition, it should be noted that in some implementations, in order to better operate the wireless charging management chip 104, the power replenishment and upgrade device 100 may also include a minimum system set up for the wireless charging management chip 104.

[0132] Furthermore, it should be noted that in some implementations, in order to monitor the progress, temperature, etc., of the power replenishment and / or upgrade of the products inside the box during the use of the power replenishment and / or upgrade device 100, the power replenishment and / or upgrade device 100 may also include a display module 106. The display module 106 displays relevant information to facilitate monitoring of the power replenishment and / or upgrade progress.

[0133] In addition, it should be noted that since the no-disassembly power-up upgrade solution provided in this application embodiment is to power up and / or upgrade the product inside the color box without disassembling the color box, in order to prevent the product inside the color box and the wireless charging coil 105 in the power-up upgrade device 100 from overheating and affecting the color box and the product inside the color box, the power-up upgrade device 100 may also include a temperature acquisition module 107 (such as a temperature sensor).

[0134] In addition, products located inside the color box also need to have a temperature acquisition module (such as a temperature sensor).

[0135] That is, in the no-disassembly power-up upgrade solution provided in this application embodiment, dual temperature control is adopted (both the power-up upgrade device 100 and the product are equipped with temperature acquisition modules). In this way, when the temperature collected by the temperature acquisition module in the power-up upgrade device 100 and / or the product exceeds the set threshold, the power-up can be reduced or stopped, or the upgrade can be stopped, thereby preventing the product and the color box from overheating and achieving safety protection for the product and its outer packaging.

[0136] In addition, the power-up device 100 may also include a heat dissipation module 108 (such as a fan) to prevent the color box and the products inside the color box from overheating and to reduce the temperature of the color box as quickly as possible.

[0137] For example, in some implementations, a three-dimensional structural diagram of the power replenishment and upgrade device 100 including the above-mentioned functional modules can be shown as follows: Figure 3 As shown. Figure 3The display module 106 and temperature acquisition module 107 are not shown in the diagram; the labels of other functional modules are the same as those in the diagram. Figure 2 correspond.

[0138] See Figure 3 For example, in some implementations, the NFC coil 103 and the NFC chip 102 (also referred to as the NFC control board) can be designed independently and connected using a dedicated radio frequency SMA interface, thereby effectively preventing signal attenuation.

[0139] Understandably, SMA stands for Sub-Miniature Version A. It has two forms: a standard SMA interface with an external thread and a hole on one end and an internal thread and a pin on the other; and a reverse polarity RP-SMA interface with an external thread and a pin on one end and an internal thread and a hole on the other. In the technical solutions provided in the embodiments of this application, both forms of SMA interfaces are acceptable, and this application does not impose any limitation on them.

[0140] See also Figure 3 For example, the heat dissipation module 108 near the NFC coil 103 is mainly used to dissipate heat for the color box, and the heat dissipation module 108 near the wireless charging coil 105 is mainly used to dissipate heat for the wireless charging coil 105.

[0141] See also Figure 3 For example, the power replenishment and upgrade device 100 may also include a positioning module 109. Combined with Figure 3 and Figure 4 As can be seen, the positioning module 109 includes a positioning block 109-1 that allows adjustment in the Y-axis direction via a hole 110 in the Y-axis direction, and a positioning block 109-2 that allows adjustment in the X-axis direction via a hole 111 in the X-axis direction. Thus, by using positioning blocks 109-1 and 109-2, free adjustment in both the X and Y axes can be achieved, thereby better adapting to color boxes of products of different sizes.

[0142] In addition, it should be noted that, Figure 3 The three-dimensional power replenishment and upgrade device 100 shown can replenish and / or upgrade products in two color boxes. In practical applications, the power replenishment and upgrade device 100 can also replenish and / or upgrade products in more color boxes (by adding multiple sets of NFC coils, wireless charging coils, positioning modules, heat dissipation modules, etc.), or it can replenish and / or upgrade products in only one color box (by setting only one set of NFC coils, wireless charging coils, positioning modules, heat dissipation modules, etc.), and this application does not impose any limitations on this.

[0143] Furthermore, it should be noted that in some implementations, the NFC coil 103 and the wireless charging coil 105 can be arranged in opposite planes, such as... Figure 5As shown in Figures (1) and (2) of 5, the wireless charging coil 105 is located in the groove of the retaining strip 112 and can slide within the groove of the retaining strip 112. The NFC coil 103 can be fixed to the rear side of the retaining strip 112 by screws. Figure 5 The positions of the different holes in (2) are shown. In this way, by sliding the wireless charging coil 105 in the groove of the retainer 112 and fixing the NFC coil 103 in the holes at different positions on the back of the retainer 112 with screws, the positions of the wireless charging coil 105 and the NFC coil 103 can be adjusted, so as to better adapt to products of different sizes.

[0144] Therefore, by using the above-described power replenishment and upgrade device, in conjunction with control equipment (PC), server, and network equipment, it is possible to replenish power and / or upgrade the products inside the color box without opening the color box.

[0145] See Figure 6 The diagram illustrates a functional module schematic of a power-off state detection device 200.

[0146] like Figure 6 As shown, in some implementations, the power-off state detection device 200 may include a main control chip 201, a color box fixing module 202, a distance adjustment module 203, an electromagnetic and / or NFC detection instrument 204, a control button 205, a test indicator light 206, an in-situ detection module 207, and a display module 208.

[0147] The main control chip 201, such as an MCU, is used in the technical solutions provided in this application embodiment. In this application embodiment, the main control chip 201 can be understood as a controller that communicates with the host computer, i.e., the PC as the control device, and controls the peripheral circuits.

[0148] Furthermore, it should be noted that in some implementations, the PC communicating with the main control chip 201 in the power-off state detection device 200 and the PC communicating with the main control chip 101 in the power-up upgrade device 100 can be the same or different. This embodiment of the application takes the example where the PC communicating with the main control chip 201 and the main control chip 101 is the same PC.

[0149] Among them, the color box fixing module 202 is used to fix the color box containing the product.

[0150] The distance adjustment module 203 is used to adjust the distance between the electrical testing and / or NFC testing instrument 204 and the color box placed on the color box fixing module 202, so as to better detect the magnetic induction intensity of the product inside the color box and identify NFC.

[0151] The control button 205 is used by the user to trigger the shutdown status detection or pause the shutdown status detection.

[0152] The test indicator light 206 is used to display the test results.

[0153] The in-situ detection module 207 is used to detect whether there is a color box on the color box fixing module 202, and to detect whether an electromagnetic and / or NFC detection instrument is placed on the distance adjustment module.

[0154] The display module 208 is used to display the detection mode.

[0155] For example, in some implementations, the display module 208 can be understood as a touch screen capable of human-computer interaction. The detection mode displayed on the touch screen may include, for example, an automatic mode and a manual mode.

[0156] When the user selects the automatic mode, the main control chip 201 of the power-off state detection device 200 automatically sends a command to the presence detection module 207 to detect whether the color box and the electromagnetic and / or NFC detection instrument are present. Correspondingly, after receiving the presence information from the presence detection module 207 that the color box and the electromagnetic and / or NFC detection instrument are present, the main control chip 201 controls the distance adjustment module 203 to adjust the electromagnetic and / or NFC detection instrument to a position set at a distance from the color box, thereby detecting the magnetic induction intensity of the product inside the color box and identifying NFC, ultimately determining whether the product inside the color box is in a power-off state based on the identification results.

[0157] In the case of manual mode selected by the user, the main control chip 201 of the power-off state detection device 200 can control the presence detection module 207 to detect whether the color box and electromagnetic and / or NFC detection instruments are in place after receiving the presence detection command from the PC, and feed back the presence detection results from the presence detection module 207 to the PC. Accordingly, when the color box and electromagnetic and / or NFC detection instruments are in place, and the user presses the control button 205, the main control chip 201 can control the distance adjustment module 203 to adjust the electromagnetic and / or NFC detection instruments to a position set at the distance from the color box, thereby realizing the magnetic induction intensity of the product inside the color box and NFC recognition, and finally determining whether the product inside the color box is in a power-off state based on the recognition results.

[0158] For example, in some implementations, a three-dimensional structural diagram of the power-off state detection device 200 including the above-mentioned functional modules can be shown as follows: Figures 7 to 9 As shown.

[0159] See Figure 7 The diagram illustrates an overall three-dimensional structure of a power-off state detection device 200. Figure 7As shown, the power-off state detection device 200 also includes a base 209. The base 209 includes a top plate 209-1, a bottom plate 209-2, and a hollow frame 209-3. In some implementations, the main control chip 201 and the presence detection module 207 are placed inside the base.

[0160] See also Figure 7 For example, in some implementations, the color box fixing module 202 is disposed in the top plate 209-1.

[0161] It should be noted that the number of color box fixing modules 202 can be set according to business requirements. For example, in some implementations, in order to reduce the size of the power-off state detection device 200, one color box fixing module 202 can be set on the top plate 209-1. In other implementations, in order to achieve batch detection, multiple color box fixing modules 202 can be set on the top plate 209-1.

[0162] For ease of explanation, this embodiment uses an example where two color box fixing modules 202 are provided on the top plate 209-1. See also... Figure 8 The exemplary top view of the power-off state detection device 200 shows that each color box fixing module 202 may include a positioning block 202-1 that moves along the X-axis, a positioning block 202-2 that moves along the Y-axis, and holes 202-3 in the X-axis direction corresponding to the positioning block 202-1 and holes 202-4 in the Y-axis direction corresponding to the positioning block 202-2. By fixing the positioning block 202-1 in holes 202-3 at different positions in the X-axis direction with screws, and fixing the positioning block 202-2 in holes 202-4 at different positions in the Y-axis direction with screws, color boxes of products of different sizes can be fixed, thus better adapting to products of different sizes.

[0163] Taking the example of two color box fixing modules 202 set on the top plate 209-1, in order to detect the off-state status of the products inside the color boxes fixed in these two color box fixing modules 202, two distance adjustment modules 203 also need to be set on the top plate 209-1. Figure 7 As shown, each distance adjustment module 203 corresponds to a color box fixing module.

[0164] To better illustrate the distance adjustment module 203, the following will be combined with... Figure 9 The side view of the power-off state detection device 200, which is shown as an example, is used to explain the distance adjustment module 203.

[0165] See Figure 9For example, each distance adjustment module 203 may include a set of support components 203-1. Each support component in this set of support components 203-1 is located at the upper and lower edges of the top plate 209-1, respectively.

[0166] See also Figure 9 For example, each distance adjustment module 203 may also include a set of sliding components 203-2. Each sliding component in this set of sliding components 203-2 is fixed by a support component.

[0167] See also Figure 9 For example, each distance adjustment module 203 may also include a hollow instrument placement frame 203-3 and a set of telescopic components 203-4. Each telescopic component 203-4 (e.g., a spring) in this set of telescopic components 203-4 passes through a sliding component 203-2, and each sliding component 203-2 passes through holes opened on the upper and lower edges of the instrument placement frame 203-3, and supports the instrument placement frame 203-3 through the telescopic components.

[0168] For example, in some implementations, to adjust the distance between the instrument placement frame 203-3 (where the electromagnetic and / or NFC testing instrument is placed) and the color box fixed in the color box fixing module 202, a cylinder can be provided inside the base 209 to control the up-and-down movement of the instrument placement frame 203-3 along the sliding component 203-2. Thus, by controlling the movement of the cylinder, the instrument placement frame 203-3 can be moved up and down along the sliding component 203-2, and by compressing and releasing the telescopic component 203-4, the distance between the instrument placement frame 203-3 and the color box fixed in the color box fixing module 202 can be adjusted.

[0169] Taking the example of two color box fixing modules 202 set on the top plate 209-1, and two distance adjustment modules 203 set on the top plate 209-1, in order to achieve simultaneous control of the two instrument placement frames 203-3, the control buttons 205 set on the frame 209-3 need to include control buttons 205-1 corresponding to each instrument placement frame 203-3, such as... Figure 7 ,or Figure 8 ,or Figure 10 As shown.

[0170] For example, in some other implementations, to prevent the instrument placement frame 203-3 in the distance adjustment module 203 from moving up and down and injuring the user's fingers, the user can be configured to simultaneously press the two control buttons 205-1 on the frame 209-3 to control the cylinder to move the instrument placement frame 203-3 up and down. This avoids the user operating with one hand, keeping the instrument placement frame on the top plate 209-1, and being injured by the moving instrument placement frame 203-3.

[0171] For example, in some other implementations, the control button 205 may also include, as shown below: Figures 8 to 10 The control button 205-2 is shown in the figure. When pressed by the user, the control button 205-2 sends an emergency stop command to the main control chip 201, which enables the main control chip 201 to control the cylinder to stop moving, thereby controlling the instrument placement frame 203-3 to stop moving.

[0172] See Figure 7 and Figure 10 For example, test indicator 206 may include test indicator 206-1, test indicator 206-2 and test indicator 206-3.

[0173] In addition, in order to provide different results based on different test indicator lights, in some implementations, test indicator light 206-1 is, for example, green, test indicator light 206-2 is, for example, yellow, and test indicator light 206-3 is, for example, red.

[0174] For example, in some implementations, when the presence detection module 207 detects that a color box is fixed in the color box fixing module and an electromagnetic and / or NFC detection instrument is placed on the instrument placement frame 203-3 of the distance adjustment module, the main control chip 201 can, based on the presence detection information fed back by the presence detection module 207, control the cylinder to move the instrument placement frame 203-3 of the distance adjustment module 203 up and down along the sliding component 203-2, and move the electromagnetic and / or NFC detection instrument placed on the instrument placement frame 203-3 to a test position, such as 5 mm away from the cover of the color box, by compressing or releasing the telescopic component 203-4. After the instrument placement frame 203-3 moves to the test position, the main control chip 201 can illuminate the test indicator light 206-2. When the yellow test indicator light is on, it indicates that the electromagnetic and / or NFC detection instrument has moved to the test position, and the next operation can begin, such as detecting whether the mobile phone inside the color box is in a powered-off state.

[0175] For example, after the yellow test indicator light illuminates, when the user presses... Figure 10When the two control buttons 205-1 are activated, the power-off status detection process for the product inside the color box begins. If the test is successful, and the detection result indicates that the product is in a powered-off state, the main control chip 201 can illuminate the test indicator light 206-1. That is, when the green test indicator light is on, it indicates that the product inside the color box is in a powered-off state. Conversely, if the test fails, and the detection result indicates that the product is not in a powered-off state, the main control chip 201 can illuminate the red test indicator light 206-3. That is, when the red test indicator light is on, it indicates that the product inside the color box is not in a powered-off state.

[0176] Therefore, by using the power-off state detection device with the above structure, in conjunction with the control equipment (PC), it is possible to detect the power-off state of the product inside the color box without opening the color box.

[0177] Furthermore, it should be noted that in order to recharge and / or upgrade the products inside the color box without opening the box, in some implementations, the products inside the color box need to include, for example... Figure 11 The functional modules / devices shown.

[0178] See Figure 11 The diagram illustrates, for example, the hardware structure of a product. Figure 11 As shown, product 300 may include a main control chip 301, a wireless charging management chip 302, a wireless charging coil 303, an NFC chip 304, an NFC coil 305, a charging management system 306, a battery 307, a temperature acquisition module 308, a complete charging circuit 309, a step-down circuit 310, etc.

[0179] The main control chip 301 can integrate the entire information processing system of the product. In some implementations, the main control chip 301 is, for example, a system-on-a-chip (SoC). The main control chip 301 can control other functional modules and devices in the product, as well as process program instructions.

[0180] Specifically, the wireless charging management chip 302 is a receiver (RX), which works in conjunction with the charging circuit 309 and the step-down circuit 310 to input the charging input received by the wireless charging coil 303 into the battery 307 via the charging management system 306.

[0181] The NFC chip 304 is used to enable contactless information transfer with the NFC chip 102 in the power replenishment and upgrade device 100.

[0182] The NFC coil 305 is used to communicate with the NFC coil 103 in the power replenishment and upgrade device 100 in the near field to realize data interaction.

[0183] Among them, the temperature acquisition module 308, for example, is a temperature sensor, used to acquire the temperature information of the product.

[0184] For example, in some other implementations, product 300 may also include other functional modules / devices. For instance... Figure 12 As shown, an exemplary schematic diagram of the hardware structure of another product (such as a mobile phone) 300 is illustrated.

[0185] See Figure 12 The mobile phone 300 may include: a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, antenna 1, antenna 2, a mobile communication module, a wireless communication module, an audio module, a sensor module, buttons, a motor, an indicator, a camera, a display screen, and a subscriber identification module (SIM) card interface, etc.

[0186] The processor may include one or more processing units, such as an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc., which will not be listed here and this application does not limit them.

[0187] It should be noted that in some implementation methods Figure 11 The main control chip 301 shown in the figure and Figure 12 The processor shown can be a single chip or different chips, and this application does not limit this.

[0188] In addition, the processor may include one or more interfaces. These interfaces may include inter-integrated circuit (I2C) interfaces, inter-integrated circuit sound (I2S) interfaces, pulse code modulation (PCM) interfaces, universal asynchronous receiver / transmitter (UART) interfaces, mobile industry processor interfaces (MIPI), general-purpose input / output (GPIO) interfaces, subscriber identity module (SIM) interfaces, and / or universal serial bus (USB) interfaces, etc., and are not listed here; this application does not impose any limitations on these.

[0189] In addition, the processor can also include memory for storing instructions and data. In some implementations, the processor's memory is a cache memory. This memory can store instructions or data that the processor has just used or that are used repeatedly. If the processor needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces processor waiting time, and thus improves system efficiency.

[0190] The external storage interface can be used to connect external memory cards, such as Micro SD cards, to expand the storage capacity of the phone 300. The external memory card communicates with the processor through the external storage interface to perform data storage functions, such as saving music, videos, and other files on the external memory card.

[0191] The internal memory can be used to store computer executable program code, which includes instructions. The processor executes various functional applications and data processing of the mobile phone 300 by running the instructions stored in the internal memory. The internal memory can include a program storage area and a data storage area. The program storage area can store the operating system, at least one application required for a function, etc. The data storage area can store data created during the use of the mobile phone 300 (such as upgrade packages obtained when upgrading the product using the power upgrade device 100), etc. In addition, the internal memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0192] It should be noted that, in order to ensure the user's new phone experience, after upgrading the phone 300 in the box using the power-upgrade device, it is necessary to perform operations such as restoring the phone 300 to factory settings to clear the upgrade package stored in the internal memory and clear the related data generated during the upgrade process.

[0193] Among them, the charging management module can be equivalent to Figure 11 The charging management system described herein is used to receive charging input from the wireless charging coil of the charger, such as the power upgrade device 100, via the wireless charging coil 303.

[0194] The power management module connects the battery, charging management module, and processor. It receives input from the battery and / or charging management module to power the processor, internal memory, external memory, display screen, camera, and wireless communication module.

[0195] The wireless communication function of the mobile phone 300 can be implemented through antenna 1, antenna 2, mobile communication module, wireless communication module, modem processor and baseband processor.

[0196] It should be noted that antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 300 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other implementations, the antennas can be used in conjunction with a tuning switch.

[0197] Among them, the mobile communication module can provide wireless communication solutions for mobile phones 300, including second-generation wireless telephone technology (2G), third-generation mobile communication technology (3G), fourth-generation mobile communication technology (4G), and fifth-generation mobile communication technology (5G).

[0198] The wireless communication module can provide solutions for wireless communication applications on the mobile phone 300, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. In the technical solutions provided in the embodiments of this application, Figure 11 The NFC chip 304, NFC coil 305, wireless charging management chip 302, and wireless charging coil 303 can be integrated into the... Figure 12 In the wireless communication module.

[0199] See also Figure 12 The audio module may include speakers, receivers, microphones, headphone jacks, etc.

[0200] The sensor module may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, touch sensors, ambient light sensors, bone conduction sensors, and more. Figure 11 The temperature acquisition module 308 (such as a temperature sensor) mentioned in the document will not be listed here, and this application does not impose any restrictions on it.

[0201] This concludes the introduction to the hardware structure of Product 300. It should be understood that... Figure 11 and Figure 12 The product 300 shown is merely an example. In a concrete implementation, product 300 can have more than... Figure 11 and Figure 12 The more or fewer components shown can be combined into two or more components, or they can have different component configurations. Figure 11 and Figure 12 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0202] See Figure 13 The diagram illustrates a software structure of product 300. To better understand the software structure of product 300, the architecture that the software system of product 300 can adopt will be explained first before describing the software structure of product 300.

[0203] Specifically, in practical applications, the software system of Product 300 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.

[0204] Furthermore, it is understood that the software systems used by mainstream terminal devices currently include, but are not limited to, Windows, Android, and iOS systems. For ease of explanation, this application embodiment uses the layered architecture of the Android system as an example to illustrate the software structure of product 300.

[0205] Furthermore, the non-disassembly power-up upgrade solution provided in the embodiments of this application is also applicable to other systems in specific implementations.

[0206] like Figure 13 As shown, the layered architecture of Product 300 divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some implementations, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0207] The application layer can include a series of application packages.

[0208] like Figure 13 As shown, the application package may include Android application packages (APKs) such as application settings, OUC APK, and upgrade APK. These will not be listed here, and this application does not impose any restrictions on them.

[0209] Here, OUC refers to the OTA Update Client. OTA stands for Over-the-Air Technology, which is a technology that uses the air interface of mobile communication to remotely manage mobile terminals, such as the Product 300 and SIM card data. In some implementations, the upgrade package required for product upgrades within the color box can be obtained from the aforementioned upgrade server via OTA technology.

[0210] Specifically, in the technical solution provided in this application embodiment, OUC APK refers to the APK in product 300 that is responsible for searching and downloading upgrade packages and triggering product 300 to upgrade.

[0211] The upgrade APK is used to communicate with the OUC APK and the PC mentioned in the above embodiments.

[0212] It should be noted that in some implementations, Product 300 may include an OUC APK but not an upgrade APK. In this implementation, the operations for interacting with the PC, handled by the upgrade APK, need to be performed by the OUC APK, meaning that the existing OUC APK in Product 300 needs to be modified.

[0213] In some implementations, Product 300 may include both the OUC APK and the upgrade APK. For this implementation, there is no need to modify the existing OUC APK in Product 300.

[0214] For specific implementation details of these two methods, please refer to the following section. Figure 21 The description of the upgrade content in the illustrated embodiment, and Figure 28 and Figure 29 The description of the illustrated embodiment will not be repeated here.

[0215] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. In some implementations, these APIs and frameworks can be described as functions.

[0216] like Figure 13 As shown, the application framework layer may include functions such as window manager, content provider, view system, charging system service, and resource manager, which will not be listed here, and this application does not impose any restrictions on them.

[0217] The charging system service is used to receive user space event (uevent) broadcasts, and then activate the NFC chip 304 and NFC applications that support access to the NFC chip 304 based on the uevent broadcasts, thereby enabling the NFC function of the product 300, such as the card reading function.

[0218] The Android Runtime consists of core libraries and a virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.

[0219] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0220] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0221] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0222] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0223] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0224] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0225] Understandably, the 2D graphics engine mentioned above is a 2D drawing engine.

[0226] Furthermore, understandably, the kernel layer in the Android system is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, power management drivers, and sensor drivers. For example, a sensor driver can be used to transmit temperature information collected by a sensor (e.g., a temperature sensor) to the main control chip 301 (or processor), so that the main control chip 301 (or processor) can transmit this information to the main control chip 101 of the charging upgrade device 100 via NFC chip 304, NFC coil 305, NFC coil 103, and NFC chip 102, or to a PC via a local area network, to determine whether the current temperature of the product exceeds a set temperature threshold, and thus determine whether to stop charging the product or change the charging mode from fast to slow, etc. For details on this implementation logic, please refer to [link to relevant documentation]. Figure 23 and Figure 30 The description of the illustrated embodiment will not be repeated here.

[0227] That concludes the introduction to the software architecture of Product 300. It is understandable that... Figure 13 The layers in the illustrated software structure and the components contained in each layer do not constitute a specific limitation on product 300. In other embodiments of this application, product 300 may include more or fewer layers than illustrated, and each layer may include more or fewer components; this application does not impose any limitations.

[0228] Based on the power-up upgrade device 100, power-off state detection device 200, and product 300 described in the above embodiments, the following provides a detailed explanation of the power-up upgrade solution without disassembling the box provided in this application embodiment.

[0229] Before describing the no-disassembly power-up upgrade solution provided in the embodiments of this application, we will first describe the current color box packaging method of the product.

[0230] Understandably, a color box refers to a folding cardboard box or micro-corrugated cardboard box made of two materials: cardboard and micro-corrugated cardboard. Sometimes, materials such as plastic are also used. It can be understood as the outer packaging used to package products, which is the final appearance of the product sold to the user.

[0231] Taking mobile phones as an example, see Figure 14 The illustration shows a mobile phone 300. The mobile phone 300 may include a screen (display) 301 and a back cover 312. Currently, when packaging the mobile phone 300 in a color box, the mobile phone 300 is placed in... Figure 15 Inside the box 401 of the color box 400 shown in Figure (1). Furthermore, when placing the mobile phone 300 into the box 401, the back cover 312 of the mobile phone 300 will face the bottom of the box, and the screen 311 will face the box cover 402 (the screen 311 faces the Z direction, and the back cover 312 faces the -Z direction). When placing the mobile phone 300 according to... Figure 15As shown in (1), after the box body 401 is placed inside, the box lid 402 will be placed on the box body 401, and then the color box 400 will be sealed with plastic, such as by sealing a layer of plastic film on the outside of the color box 400. Figure 15 The gray (which can actually be transparent) plastic film 500 shown in (2) completes the color box packaging for the mobile phone 300.

[0232] In the no-disassembly power-up and upgrade solution provided in this application embodiment, in order to achieve power replenishment and / or upgrade of the product without damaging the product packaging, when placing the mobile phone 300 into the box 401, specifically, the screen 311 of the mobile phone 300 faces the bottom of the box, and the back cover 312 faces the box cover 402 (the back cover 312 faces the Z direction, and the screen 311 faces the -Z direction), as follows. Figure 16 As shown. When placing the phone 300 according to... Figure 16 As shown, after the box 401 is placed inside, the lid 402 will be placed on top of the box 401, and then the color box 400 will be sealed with plastic, such as by applying a plastic film to the outside of the color box 400. Figure 15 (2) shows the plastic sealing film 500. Thus, the color box packaging of mobile phone 300 is completed.

[0233] Furthermore, it should be noted that the no-disassembly power-up upgrade solution provided in this application embodiment is specifically for smart terminal products with wireless charging functionality. That is, smart terminal products that integrate the wireless charging coil 303, wireless charging management chip 302, NFC chip 304, and NFC coil 305 mentioned in the above embodiments, such as mobile phones, tablets, and smartwatches.

[0234] Furthermore, it should be noted that components such as the wireless charging coil 303, wireless charging management chip 302, NFC chip 304, and NFC coil 305 are typically integrated onto the motherboard. The motherboard is usually located relatively far from the product screen 311 and relatively close to the product back cover 312. Therefore, in the no-disassembly charging upgrade solution provided in this application embodiment, by adjusting the product according to… Figure 16 The phone is placed inside the box as shown. Specifically, the screen 311 of the phone 300 faces the bottom of the box, and the back cover 312 faces the box lid 402 (back cover 312 faces the Z direction, screen 311 faces the -Z direction). This shortens the distance between the wireless charging coil 105, NFC coil 103, and NFC chip 102 of the power-upgrading device 100 and the wireless charging coil 303 and NFC chip 304 of the phone 300. For example, the distance between the back of the product and the wireless charging coil and NFC coil on the power-upgrading device 100 can be reduced to less than 10 millimeters (mm), thereby enabling wireless charging and NFC functions. This allows for power replenishment and / or upgrades of the product inside the box without opening the box.

[0235] For example, in some implementations, control devices (such as PCs), servers, network devices (such as APs), and the power-up upgrade device 100 and power-off state detection device 200 mentioned in the above embodiments are included. Figure 16 The product 300, packaged in a color box as shown, can be divided into two main stages when implementing the no-disassembly power-up upgrade solution provided in the application embodiment: a power-up upgrade stage and a power-off status detection stage. The power-up upgrade stage involves control equipment, a server, network equipment, a power-up upgrade device 100, and the color box containing the product 300. The power-off status detection stage involves control equipment, a power-off status detection device 200, and the color box containing the product 300.

[0236] See Figure 17 This example illustrates a schematic diagram of the overall architecture of objects involved in a power replenishment upgrade process.

[0237] like Figure 17 As shown, for example, in some implementations, the PC establishes a network connection with the AP, for instance, via a network cable. In this way, the PC can obtain AP information from the AP for transmission to the power upgrade device.

[0238] See also Figure 17 For example, in some implementations, the power upgrade device can connect to a PC via WiFi for data exchange. For this implementation, an access point (AP) hotspot needs to be deployed on the PC to establish a communication connection with the power upgrade device.

[0239] See also Figure 17 For example, in some other implementations, the power-up device can also connect to a PC via USB, Bluetooth (BT), or cellular networks for data exchange. For this implementation, both the power-up device and the PC need to integrate USB, BT, or cellular network connectivity.

[0240] See also Figure 17 For example, the server can be deployed in the cloud and connect to the PC, power-up device, and products in the box via WiFi.

[0241] See also Figure 17 For example, when using the power replenishment and upgrade device to replenish and / or upgrade the product inside the color box, the color box containing the product 300 needs to be fixed to the power replenishment and upgrade device first, such as by adjusting the fixing block 109-1 and fixing block 109-2 to fix the color box.

[0242] See also Figure 17For example, a color box fixed to the power upgrade device, specifically with the lid facing down and in contact with the power upgrade device, such as... Figure 18 As shown. This ensures that the inner back cover of the color box faces the box lid (the screen of product 300 inside the color box is away from the box lid, such as...). Figure 18 The back of the product (as shown) should be in close contact with the wireless charging coil, NFC coil, etc. on the power-up device. If the distance is controlled within 10mm, it can ensure that the power-up device and the product in the color box can communicate successfully.

[0243] Therefore, during the power replenishment and upgrade process, when the color box containing product 300 is installed according to... Figure 17 After being fixed on the power-up and upgrade device as shown, the wireless charging management chip 104 in the power-up and upgrade device will, based on the wireless charging protocol (Qi protocol), complete the wireless charging handshake protocol with the wireless charging management chip 302 of the product 300 through the wireless charging coil 105, which is in close contact with the wireless charging coil 303 of the product 300, thereby triggering the product 300, which is in a powered-off state, to power on. After the product 300 in the color box is powered on, the NFC chip 102 in the power-up and upgrade device can transmit the AP information (such as WiFi account, password, and other connection information) obtained from the PC to the NFC chip 304 through the NFC communication link between the NFC coil 103 and the NFC coil 305, and then the NFC chip 304 will feed back to the main control chip 301. In this way, the power-up and upgrade device and the product in the color box can establish a wireless connection with the PC and the server based on the AP information, which will facilitate subsequent information exchange and the transmission of upgrade packages.

[0244] It should be noted that in some implementations, the functions of the power-up device and the product in the color box that are implemented through NFC, such as transmitting AP information, can also be replaced by other wireless communication methods, such as WiFi, BT, cellular networks, etc. This application does not impose any restrictions on this.

[0245] Furthermore, it should be noted that since it is impossible to know whether the product inside the box needs recharging and / or upgrading before it is powered on, after placing the box containing the product in the recharging and upgrading device and triggering the product inside the box to power on, the PC and / or server can obtain the product's current battery level and software version information through the wireless connection established with the product inside the box, and thus determine whether the product needs recharging and / or upgrading.

[0246] Taking the power upgrade device and PC establishing a connection via USB as an example, the power upgrade device includes, in addition to Figure 2 The functional modules shown also need to include, for example: Figure 19 The USB to TTL module shown in the overall architecture diagram.

[0247] TTL (Transistor-Transistor Logic) is a common and widely used type of logic gate digital integrated circuit, which consists of resistors and transistors.

[0248] Among them, a USB-to-TTL module is a common electronic component that can convert a USB interface into a TTL serial port interface, facilitating serial port debugging and communication in various application scenarios. For example, it can receive control commands from a host computer, such as a PC, to enable the PC to control the power upgrade device.

[0249] Furthermore, temperature acquisition modules, such as temperature acquisition module 107 in the power-up upgrade device 100 and temperature acquisition module 308 in the product 300, typically acquire analog signals. However, main control chips, such as main control chip 101 in the power-up upgrade device 100 and main control chip 301 in the product 300, process digital signals. Therefore, the power-up upgrade device 100 and the product 300 also include an analog-to-digital converter (ADC) module for converting the analog signals acquired by the temperature acquisition modules into digital signals, such as… Figure 19 As shown.

[0250] Furthermore, it should be noted that, in order for the product to distinguish whether it is currently using the power-upgrade device 100 for power-up and / or upgrade, or using a wireless charging device that the customer can use for charging, the power-upgrade device 100 employs a high-power wireless charging management chip 104 and a wireless charging coil 105. This allows the power-upgrade device 100 to support high-power charging of the product inside the box, and, when the main control chip 101 and the wireless charging management chip 104 communicate via the IIC protocol, the wireless charging management chip 104 transmits wireless charging-related commands and current signals through a boost circuit, a full-bridge inverter circuit, and the wireless charging coil 105 to the wireless charging coil 303 of the product 300. The product 300, through the charging circuit 309 and / or the buck circuit 310, transmits the current or information to the wireless charging management chip 302 for scene recognition, such as identifying whether it is a power-upgrade scenario or a normal charging scenario.

[0251] For example, when it is identified that the current scenario is a power replenishment upgrade, the received charging input on the product 300 side will be transmitted to the battery 307 through the charging circuit 309, the step-down circuit 310, and the charging management system 306, thereby realizing the power replenishment of the product 300 in the color box.

[0252] Therefore, based on Figure 17 and Figure 19 The architecture shown enables power replenishment and / or upgrades of the products inside the color box.

[0253] See Figure 20 This example illustrates the overall architecture of the objects involved in the shutdown state detection process.

[0254] like Figure 20 As shown, for example, in the power-off state detection phase, the color box containing product 300 (according to...) Figure 16 The box (packaged in the manner shown) needs to be placed on the base 209 of the power-off state detection device and fixed by the color box fixing module 202, with the box cover facing the electromagnetic and / or NFC detection instrument 204 placed on the instrument placement frame 203-3.

[0255] Because the product 300 inside the color box generates an electromagnetic field when it is working, and the electromagnetic field changes when it is turned off. Therefore, when the color box containing product 300 is... Figure 20 As shown, the device is fixed on the base 209 of the power-off state detection device. The cylinder inside the base drives the sliding component to move up and down along the support component, controlling the electromagnetic and / or NFC detection instrument 204 placed on the instrument placement frame 203-3 to approach the lid of the color box, that is, to approach the product 300 inside the color box. Then, the electromagnetic and / or NFC detection instrument 204 can detect the magnetic field strength data of the product 300 inside the color box and / or identify the NFC of the product.

[0256] See also Figure 20 For example, in some implementations, the PC can establish a communication connection with the electromagnetic and / or NFC detection instrument via a serial port, USB, WiFi, NFC, or BT. In this way, the PC can obtain the magnetic field strength data detected by the electromagnetic and / or NFC detection instrument 204 and / or the number of times the product's NFC has been detected, and then determine whether the product 300 inside the color box is in a powered-off state based on the magnetic field strength data and / or the number of times the product's NFC has been detected.

[0257] To better understand the specific implementation details of the power-up and power-off status detection stages in the no-disassembly power-up and power-off upgrade scheme provided in this application embodiment, the following, in conjunction with the accompanying drawings, will specifically explain the power-up and power-off stage from the three stages of authentication power-on, network connection, power-up and / or upgrade, and specifically explain the power-off status detection stage from the sub-stage of clearing and power-off.

[0258] See Figure 21 The illustration shows a timing diagram of a no-disassembly power-up upgrade solution provided in an embodiment of this application. In this embodiment, the no-disassembly power-up upgrade method specifically includes:

[0259] S101, Legality Authentication.

[0260] Specifically, in this step, the PC needs to establish network connections with both the authentication server and the upgrade server.

[0261] For example, if the authentication server and upgrade server are local servers, the PC can establish a network connection with the authentication server and upgrade server via a wired connection.

[0262] For example, if the authentication server and upgrade server are cloud servers, the PC can establish a network connection with the authentication server and upgrade server via wireless connection.

[0263] In addition, to ensure security, the private and public keys used in the authentication process can be stored in the authentication server beforehand. Once the PC establishes a network connection with the authentication server, the authentication server first sends the public key to the PC.

[0264] Accordingly, after receiving the public key from the authentication server, the PC uses the public key to encrypt the authentication information and sends the encrypted authentication information to the upgrade server.

[0265] For example, in some implementations, the upgrade server does not have authentication capabilities. Therefore, the upgrade server forwards the encrypted authentication information sent by the PC to the authentication server and requests the authentication server to perform authentication.

[0266] Specifically, after receiving the encrypted authentication information forwarded by the upgrade server, the authentication server decrypts it using its stored private key to obtain the authentication information required for legitimacy verification. This authentication information may include, for example, a token that uniquely identifies the PC, an ID, or a domain name; this application does not impose any restrictions on this.

[0267] S102, after successful authentication, an online certificate will be issued.

[0268] For example, in one implementation, the authentication server may pre-store authentication information of legitimate PCs. Thus, by comparing the decrypted authentication information with the pre-stored authentication information, the authentication server can determine whether the PC is legitimate, thereby allowing the following steps to proceed.

[0269] For example, after determining that the PC is legitimate, i.e., after the PC is authenticated, the authentication server can issue a network certificate to the PC through the upgrade server. That is, the network certificate is sent back to the upgrade server, which then issues the network certificate to the PC. In this way, the PC can control the AP to establish a dedicated access connection with the upgrade server based on the network certificate, i.e., perform the operation in step 103.

[0270] For example, in some implementations, to provide security, the authentication server can encrypt the network certificate using a locally stored private key, and then distribute the encrypted network certificate to the PC via an upgrade server. That is, the encrypted network certificate is sent back to the upgrade server, which then distributes the encrypted network certificate to the PC.

[0271] Since the PC has already received the public key provided by the authentication server in step S101, the PC can use the public key to decrypt the encrypted network certificate issued by the authentication server through the upgrade server after receiving the certificate.

[0272] S103, PC controls the AP to establish a dedicated access connection with the upgrade server.

[0273] Once the PC is authenticated and receives the network certificate issued by the authentication server through the upgrade server, it can control the AP to establish a dedicated access connection (or dedicated link) between itself and the upgrade server. This allows subsequent products within the color box to connect to the AP and access the upgrade server through this dedicated access connection.

[0274] Furthermore, it should be noted that because the AP only establishes a dedicated access connection with the upgrade server and does not link to other external servers, any device connected to the AP, such as the products within each color box, can only access the upgrade server. This prevents products from accessing unauthorized servers and ensures security.

[0275] S104, PC controls the power upgrade device to enable wireless charging function.

[0276] For example, in some implementations, such as a scenario where a PC establishes a connection with the power-upgrade device 100 via USB, after the PC successfully authenticates and obtains the network certificate issued by the authentication server through the upgrade server (hereinafter referred to as the network certificate issued by the authentication server for ease of description), the PC sends a command to the power-upgrade device to enable the wireless charging function. For example, it can first use... Figure 19 The USB to TTL module shown transmits data to the main control chip 101 of the power upgrade device 100. Then, the main control chip 101 controls the wireless charging management chip 104 to operate (start), enabling the wireless charging function.

[0277] For example, in other implementations, such as when a PC establishes a connection with the power-upgrade device 100 via WiFi or BT, after the PC is authenticated and obtains a network certificate issued by the authentication server, the command to enable wireless charging sent by the PC to the power-upgrade device can be directly transmitted to the main control chip 101 of the power-upgrade device 100 via the established WiFi or BT connection. Then, the main control chip 101 controls the wireless charging management chip 104 to enable (start), thus activating the wireless charging function.

[0278] S105, the wireless charging management chip 104, based on the proprietary Qi protocol, hands with the wireless charging management chip 302 to trigger the power-on of the product inside the box.

[0279] It should be understood that the Qi protocol specifically refers to the internationally used wireless charging protocol, a handshake protocol between master and slave devices during wireless charging. That is, the protocol used when a user uses a wireless charging device, such as a wireless charger, to wirelessly charge a product (hereinafter referred to as the "normal wireless charging scenario") is the Qi protocol. In this embodiment, to enable the product to distinguish between a normal wireless charging scenario and a power-up upgrade scenario within the charging station, the interaction part of the Qi protocol has been modified. This allows the product's wireless charging management chip 302 to recognize that the power-on is triggered by the power-up upgrade device when it handshakes with the wireless charging management chip 104 of the power-up upgrade device 100. For ease of distinction, this embodiment refers to the modified Qi protocol as the proprietary Qi protocol.

[0280] The specific implementation process of step S105 can be described as follows: Figure 22 As shown. See also Figure 22 For example, in some implementations, the main control chip 101 in the power upgrade device 100 controls the wireless charging management chip 104 to enable in response to a command sent by the PC to enable the wireless charging function.

[0281] See also Figure 22 For example, once the wireless charging management chip is enabled, it will transmit the proprietary Qi protocol through the wireless charging coil 105.

[0282] See also Figure 22 For example, after the wireless charging coil 303 of the product 300 inside the color box receives the private Qi protocol transmitted by the wireless charging coil 105, it transmits the private Qi protocol to the wireless charging management chip 302. In this way, the wireless charging management chip 302 can determine that the current scenario is a power replenishment upgrade scenario by identifying the content of the modified fields in the private Qi protocol.

[0283] For example, in some implementations, it can be agreed that the modified fields in the private Qi protocol carry preset content, such as 1 or other information, to indicate that the current scenario is a power-up upgrade scenario. Otherwise, it indicates that the current scenario is a normal wireless charging scenario.

[0284] This completes the authentication and power-on process, ensuring that the product inside the box can enter the power-up and upgrade scenario after power-on, and guaranteeing the security of the power-up and / or upgrade process.

[0285] S106, the PC controls the NFC chip 102 to simulate NFC card data using the network certificate and AP information obtained from the AP.

[0286] After the PC passes authentication and obtains the network certificate issued by the authentication server, the PC will send the network certificate and the AP information obtained from the AP to the NFC chip 102 of the power upgrade device 100.

[0287] As described above regarding the NFC chip 102 in the power upgrade device 100, the NFC chip supports communication modes such as peer-to-peer, card emulation, and card reading / writing. Therefore, the NFC chip 102 will emulate the network certificate and AP information sent by the PC into NFC card data so that the NFC chip 304 in the product 300 inside the color box can recognize it.

[0288] For example, in some implementations, AP information may include information such as the wireless access point's account and password.

[0289] The specific implementation process of step S106 can be described as follows: Figure 22 As shown. See also Figure 22 For example, in some implementations, before the PC controls the NFC chip 102 to simulate NFC card data using the network certificate and AP information obtained from the AP, it can first send a simulated NFC card data command, as well as the network certificate and AP information, to the power-up device 100. Upon receiving the simulated NFC card data command and the network certificate and AP information, the main control chip 101 in the power-up device 100, in response to the simulated NFC card data command, controls the NFC chip 102 to activate the card emulation function. In this way, the NFC chip 102 can simulate NFC card data using the network certificate and AP information.

[0290] It should be noted that the above steps S105 and S106 can be executed in any order. That is, the network frame count and AP information can be completed before the color box containing the product 300 is placed on the base of the power-up device 100, or they can be executed after the color box containing the product 300 is placed and the product 300 in the color box is triggered to power on through step S105.

[0291] S107, enable NFC function.

[0292] Specifically, after the product 300 inside the color box is triggered to power on, the charging system service located in the application framework layer of the product 300 will automatically start, and after starting, the reading function of the NFC chip 304 in the product 300 will be enabled. In this way, the NFC chip 304 in the product 300 can read the NFC card data simulated by the NFC chip 102 in the power upgrade device 100.

[0293] It should be noted that the order in which steps S106 and S107 are executed is not important.

[0294] The specific implementation process of step S107 can be described as follows: Figure 22 As shown. See also Figure 22 For example, in some implementations, after the wireless charging management chip 302 determines that the current scenario is a power replenishment upgrade based on the received private Qi protocol, it can send a uevent message to the charging system service in the application framework layer of the product 300. Upon receiving the uevent message, the charging system service will send a broadcast to activate the product's NFC function. This broadcast will be received by the charging server system, which starts automatically upon power-on.

[0295] See also Figure 22 For example, after receiving the broadcast, the charging system service will control the NFC chip 304 to start and enable the reading function.

[0296] S108, NFC card data.

[0297] The specific implementation process of step S108 can be described as follows: Figure 22 As shown. See also Figure 22 For example, in some implementations, after simulating NFC card data using the network certificate and AP information, NFC chip 102 transmits the simulated NFC card data outward through NFC coil 103. NFC chip 304 then receives this NFC card data through NFC coil 305.

[0298] S109: The product connects to the AP based on the NFC card data it reads, and accesses the upgrade server through the AP.

[0299] After product 300 reads the NFC card data simulated by NFC chip 102 of power-up device 100 through NFC chip 304, it uses the AP information and network certificate in the card data to communicate via product 300's wireless communication module, such as... Figure 22 The WiFi component shown is connected to the access point (AP). This allows access to the upgrade server via a dedicated access connection between the AP and the upgrade server.

[0300] Thus, without opening the color box, the product 300 inside the color box is connected to the network, enabling the product 300 inside the color box to access the upgrade server through the AP to search for and download upgrade packages during the upgrade phase.

[0301] S110, the OUC APK installed in the product interacts with the upgrade server for authentication.

[0302] Specifically, after the NFC chip 304 of product 300 reads the NFC card data simulated by the NFC chip 102 in the power-upgrade device 100, it launches the OUC APK installed in product 300. Thus, after product 300 connects to the AP based on the network certificate and AP information in the NFC card data, the OUC APK can interact with the upgrade server through a dedicated access connection between the AP and the upgrade server, thereby completing the authentication between product 300 and the upgrade server.

[0303] It should be noted that after Product 300 is sold to users, users can also upgrade the software of Product 300 by obtaining upgrade packages from the upgrade server through OUC APK during use. Therefore, Product 300 will have pre-installed authentication information required for authentication with the upgrade server, such as information that uniquely identifies Product 300, such as Mobile Equipment Identifier (MEID), International Mobile Equipment Identifier (IMEI), and network access license, etc.

[0304] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0305] Furthermore, it should be understood that after the upgrade server completes the authentication of Product 300, it will send the authentication result back to Product 300. For example, if the authentication is successful, an authentication certificate will be issued.

[0306] S111, the OUC APK installed in the product searches for and downloads the upgrade package from the upgrade server.

[0307] Specifically, once authentication is successful, the OUC APK can initiate a packet search request to the upgrade server through a dedicated access connection between the AP and the upgrade server.

[0308] For example, in one implementation, the packet search request may include the version number of the operating system currently running on product 300, the version number of installed applications, etc. In this implementation scenario, after receiving the packet search request, the upgrade server determines whether the version number carried in the packet search request is the same as the version number of the upgrade package stored on the upgrade server.

[0309] For example, if the version number carried in the packet search request is the same as the version number of the upgrade package stored on the upgrade server, the upgrade server sends an instruction message to product 300 indicating that an upgrade is not required. In this way, product 300 can exit the upgrade operation.

[0310] For example, if the version number carried in the packet search request is different from the version number of the upgrade package stored on the upgrade server (typically, the version number stored on the upgrade server is higher than the version number carried in the packet search request—for instance, the version number carried in the packet search request is version 1.1, while the version number stored on the upgrade server is version 1.2), the upgrade server will send a download address for the version 1.2 upgrade package to product 300. Upon receiving this download address, product 300's OUC APK will then retrieve the version 1.2 upgrade package from that download address.

[0311] For example, in some implementations, the packet search request may not carry information such as the version number of the operating system currently running on product 300 or the version number of the installed applications. In this scenario, the upgrade server will send the download address of the latest version of the upgrade package, along with a list of files describing the upgrade package, to product 300.

[0312] The file list information can include the version number of the upgrade package. This allows Product 300's OUC APK to determine whether to obtain the upgrade package from the download address provided by the upgrade server, based on the product's current version number and the version number of the latest upgrade package returned by the upgrade server, thus initiating the upgrade process.

[0313] S112, the OUC APK installed in the product sends the download progress of the upgrade package to the PC via AP.

[0314] To better monitor the progress of power replenishment and / or upgrades for the products within the color box, the OUC APK can also provide feedback on the current operation status to the PC via the AP during the process of triggering a 300 power-on for power replenishment and / or upgrades. For example, during the download of an upgrade package, the download progress of the upgrade package can be reported to the PC.

[0315] Correspondingly, during the charging process of product 300, the current power information can also be fed back to the PC through the AP, that is, step S116 is executed.

[0316] S113, after the upgrade package is downloaded, the product will be upgraded according to the upgrade package.

[0317] Understandably, the software in product 300, such as the system and applications, is typically installed on internal storage. Through the above... Figure 12 As described in the description of the internal memory of product 300, the internal memory may include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc. The data storage area (also referred to as the user data partition) may store data created or acquired during the use of product 300. Therefore, when the OUC APK of product 300 downloads an upgrade package from the download address, it specifically downloads the upgrade package to the user data partition.

[0318] For example, after the upgrade package is successfully downloaded, the OUC APK notifies the product 300's upgrade engine to install the upgrade package.

[0319] Furthermore, it should be noted that the internal memory of Product 300 includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM's program storage area includes a basic partition (Common partition), a static partition (Slot partition), and a dynamic partition (Super partition), while the data storage area includes a user data area (Userdata partition).

[0320] Furthermore, it should be noted that the partitioning structure of internal memory can include non-AB systems, AB systems, and virtual AB systems. In practical applications, the partitioning structure varies between different systems.

[0321] Specifically, for the four types of partitions mentioned above (Common partition, Slot partition, Super partition, and Userdata partition), the basic partition and user data partition usually do not need to be upgraded. Therefore, regardless of whether it is a non-AB system, an AB system, or a virtual AB system, a single partition is used. However, the partitions that need to be upgraded, such as the Slot partition and the Super partition, will be different.

[0322] In non-AB systems, other product functions are unavailable during the upgrade process; the product remains stuck on the non-AB system upgrade interface until the upgrade is complete and the product is restarted, at which point it can access the user interface for normal use. Therefore, in non-AB systems, both static and dynamic partitions use a single partition, reducing storage space usage and reserving more space for user data partitions.

[0323] The A / B system is designed to allow users (after purchase) to freely return to the product's main interface during system upgrades without affecting usability. Therefore, the A / B system uses dual partitioning for both static and dynamic partitions. For example, static partitions can be divided into a first static partition (Slot A) and a second static partition (Slot B), while dynamic partitions can be divided into a first dynamic partition (Super A) and a second dynamic partition (Super B). While this partitioning method allows users to freely return to the main interface during upgrades, it consumes a significant amount of storage space, greatly reducing the available space for user data partitions.

[0324] The virtual AB system combines the advantages of both non-AB and AB systems. It divides the static partitions (which store smaller files and occupy less storage space) into a first static partition (SlotA) and a second static partition (SlotB), while the dynamic partitions (which store larger files and occupy more storage space) are single partitions.

[0325] For product 300 with different internal storage partition structures, after downloading the upgrade package to the user data partition, follow the upgrade method corresponding to the partition structure and use the upgrade package to upgrade product 300. Specific upgrade details will not be elaborated here.

[0326] S114, During the upgrade process, the OUC APK installed on the product sends upgrade progress feedback to the PC via AP.

[0327] Taking a virtual AB system with a partitioned structure as an example, the software upgrade process for product 300 with this partitioned structure may include stages such as verifying the upgrade package (integrity, legality, etc.), installation, and restart. Therefore, during the upgrade process, the OUC APK can use the AP to feed back information about the current stage to the PC, so that staff can monitor the current upgrade progress of product 300 in the color box.

[0328] Therefore, by modifying the OUC APK of product 300, while retaining the existing functions of searching for packages, downloading upgrade packages, and triggering upgrade operations, the function of interacting with a PC is added. This allows product 300 in the box to provide feedback to the PC via the OUC APK on upgrade package download progress, upgrade progress, battery information, and product 300 temperature information during power replenishment and upgrade scenarios. This enables staff to determine whether the current power replenishment and / or upgrade is normal and whether it is necessary to open the box and remove the product based on the information presented by the PC.

[0329] S115, charging.

[0330] Specifically, during the charging process, the wireless charging management chip 104 of the power replenishment and upgrade device 100 processes the power input obtained through the power adapter, such as through a boost circuit or a full-bridge inverter circuit, and then transmits it outward through the wireless charging coil 105.

[0331] Because the distance between the wireless charging coil 303 and the wireless charging coil 105 in the product 300 inside the color box is small, such as within 10mm, the wireless charging coil 303 will receive the power input emitted by the wireless charging coil 105. This received power input (such as current) is then transmitted to the wireless charging management chip 302 of the product 300. After processing by the overall charging circuit, step-down circuit, and charging management system, the power is input to the battery, thus charging it. For specific details regarding charging, please refer to [link to relevant documentation]. Figure 19 The details of the illustrated embodiment will not be repeated here.

[0332] S116: During the charging process, the product sends power information back to the PC via the AP.

[0333] For example, in some implementations, the OUC APK can be equipped with the function of obtaining product battery power information. In this implementation, during the charging process, the OUC APK in the product specifically feeds back the current battery power information of the product to the PC via the AP, i.e., the WiFi connection.

[0334] For example, in some other implementations, the battery power information can also be obtained by the charging management system or charging system service and fed back to the main control chip 301, which then feeds it back to the PC via WiFi, USB, NFC, or BT.

[0335] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0336] During the download, upgrade, and charging processes of the S117, the product feeds back temperature information to the PC via the AP.

[0337] Understandably, downloading upgrade packages, performing upgrades, and charging all affect the product's temperature. Therefore, to prevent the product inside the box from overheating and to ensure product safety, the product can transmit temperature information to the PC via the AP during the download, upgrade, and charging processes.

[0338] For example, in some implementations, temperature information can be fed back to the PC via the AP from the OUC APK.

[0339] For example, in some other implementations, temperature information can also be transmitted from a temperature acquisition module, such as a temperature sensor, to the main control chip 301 via an ADC module, and then fed back to the PC by the main control chip 301 via WiFi, USB, NFC, or BT.

[0340] S118, if the PC detects that the product's battery level has reached the battery threshold and / or the product's temperature has exceeded the temperature threshold, it controls the power replenishment and upgrade device to stop charging and / or controls the product to stop downloading the upgrade package and / or upgrade.

[0341] For details regarding the specific implementation of the PC controlling the charging upgrade device to stop charging based on the power and temperature information fed back by the product, please refer to [link to relevant documentation]. Figure 23 .

[0342] See Figure 23 For example, in some implementations, the process by which the PC controls the charging upgrade device to stop charging based on the power and temperature information fed back by the product includes:

[0343] S201: After the product is triggered to power on, determine whether the battery level is less than the first power threshold.

[0344] For example, in some implementations, the product can report the current battery level to the PC via an access point (AP). In other implementations, the product can also report the current battery level to the PC via Bluetooth, USB, or other methods.

[0345] After receiving the battery level feedback from the product, the PC can determine whether the battery level is less than a preset first power threshold. Specifically, if the determination shows that the current battery level is less than the first power threshold, step S202 is executed. Otherwise, step S213 is executed to end the charging process.

[0346] It should be noted that, in order to ensure the safety of the product during transportation and to avoid problems such as battery explosion or leakage due to product impact caused by excessive battery charge, the battery charge of the products leaving the factory must be greater than 45% and less than 60%.

[0347] Based on the above requirements, for example, in some implementations, such as scenarios where products inside the color box are returned to the production line for a color box-free power-up upgrade, the first power threshold can be 60%. The second power threshold mentioned in the following embodiments can be 45%.

[0348] For example, in some other implementations, the power upgrade device 100 is placed in, for example, Figure 24In the scenario depicted with the power upgrade cabinet 600, which is movable and can be placed in a store, the store's inventory products do not need to be returned to the factory for power upgrades. They can be directly placed in the power upgrade cabinet 600. The cabinet 600 can hold multiple layers of power upgrade devices 100. Each layer of power upgrade device 100 can be connected to a power adapter via the power strip of the power upgrade cabinet 600 to receive power. Each layer of power upgrade device 100 can also be connected to a PC via the USB hub (USB expander) of the power upgrade cabinet 600 for data exchange.

[0349] See also Figure 24 For example, in order to avoid interference, the cabinet door of the power upgrade cabinet 600 can be a shielded door, thereby shielding external interference factors and ensuring the smooth implementation of the power upgrade solution.

[0350] See also Figure 24 For example, various cables coming out of the power upgrade cabinet 600, such as power adapter cables and USB HUB cables, can be stored using a tank chain.

[0351] In this way, by using the power upgrade cabinet 600 and a PC installed in the store, the inventory products in the store can be upgraded without the need for packaging, eliminating the need to transport the inventory products back to the production line. Since returning the products to the factory is avoided, the first power threshold set on the PC can be higher than 60% when performing a packaging-free power upgrade in this scenario. The specific setting is based on the needs, and this application does not impose any restrictions on this.

[0352] In addition, since the cabinet of the power replenishment and upgrade cabinet 600 can hold multiple power replenishment and upgrade devices 100, batch power replenishment and upgrade can be achieved, improving the efficiency of power replenishment and / or upgrade of inventory products.

[0353] For ease of explanation, Figure 23 Taking a first battery threshold of 60% and a second battery threshold of 45% as an example.

[0354] The S202 uses a normal charging mode for wireless charging.

[0355] Understandably, when the wireless charging management chip 104 of the power-up device 100 and the wireless charging management chip 302 of the product 300 in the color box successfully handshake for the first time based on the proprietary Qi protocol, triggering the power-on of the product 300, the normal charging mode is activated. Therefore, when it is determined that the current battery level is less than the first battery level threshold, the normal charging mode is used to wirelessly charge the product's battery.

[0356] It should be noted that the difference between the normal charging mode described in this application embodiment and the fast charging mode described below lies in the charging rate and charging time. The normal charging mode typically uses DC or AC charging. This charging method is relatively slow and requires a long time to complete. The fast charging mode, on the other hand, is a charging mode that can fully charge the battery in a short time. Its implementation principle mainly involves increasing the charging current and power supply, as well as using high-efficiency charging chips and protocols. Compared with the normal charging mode, the fast charging mode can significantly shorten the charging time and improve charging efficiency.

[0357] Specifically, in the technical solution provided in this application embodiment, in order to control the power-upgrading device 100 to freely switch between normal charging mode and fast charging mode according to the actual situation, so as to better wirelessly charge the product 300 in the color box, the wireless charging management chip and 104 of the power-upgrading device 100 can be wireless charging management chips that support high power, that is, support fast charging mode.

[0358] S203, determine whether the product temperature is lower than the first temperature threshold.

[0359] The first temperature threshold is a temperature threshold used to determine whether to enable fast charging mode for wireless charging of the battery.

[0360] Specifically, during the wireless charging process using the normal charging mode, the product can provide real-time or periodic feedback to the PC of the temperature information collected by the temperature acquisition module within the product.

[0361] Accordingly, after receiving the temperature information from the product, the PC can determine whether the current temperature of the product is lower than a preset first temperature threshold. Specifically, if the determination shows that the current temperature is lower than the first temperature threshold, step S203 is executed. Otherwise, the normal charging mode is used to wirelessly charge the product.

[0362] For example, in some implementations, the first temperature threshold is, for instance, 42°C. That is, after the power-up device 100 triggers the product inside the box to power on via the wireless charging management chip 104, if the product inside the box needs power-up and the current temperature is less than 42°C, the fast charging mode can be enabled to charge the product's battery.

[0363] S204 initiates a fast charging handshake.

[0364] The S205 uses a fast charging mode for wireless charging.

[0365] Specifically, after completing the fast charging handshake, the wireless charging management chip 104 of the power upgrade device 100 can transmit an electrical signal with greater charging power, greater voltage input, and greater current input through the wireless charging coil 105, thereby enabling wireless charging of the battery of the product 300 using the fast charging mode.

[0366] S206, determine whether the product temperature is lower than the second temperature threshold.

[0367] The second temperature threshold is a temperature threshold used to determine whether to stop using the fast charging mode to wirelessly charge the battery.

[0368] Understandably, because fast charging mode uses a higher charging power, the product's temperature rises more rapidly during wireless charging. Therefore, during wireless charging in fast charging mode, the product can transmit temperature information collected by its internal temperature acquisition module to the PC in real time or periodically.

[0369] Accordingly, after receiving the temperature information from the product, the PC can determine whether the current temperature of the product is lower than a preset second temperature threshold. Specifically, if the determination shows that the current temperature is lower than the second temperature threshold, the product's battery will continue to be wirelessly charged using the fast charging mode, i.e., step S205 will continue. Otherwise, step S206 will be executed.

[0370] For example, in some implementations, the second temperature threshold is, for instance, 45°C. That is, during the charging process using fast charging mode, if the temperature of the product inside the box is between the first and second temperature thresholds (such as 42°C and 45°C), the fast charging mode can continue to be used for wireless charging. If the product temperature exceeds the second temperature threshold, such as 45°C, the fast charging mode must be stopped for wireless charging, and the battery must be charged using the normal charging mode instead.

[0371] S207: Stop using fast charging mode for wireless charging and use normal charging mode for wireless charging.

[0372] S208, determine whether the product temperature is lower than the third temperature threshold.

[0373] The third temperature threshold is used to determine whether to continue using the normal charging mode for wireless charging or switch back to the fast charging mode for wireless charging.

[0374] Understandably, after switching from fast charging to regular wireless charging, the product's temperature will gradually decrease due to the reduced charging power. Therefore, when using regular wireless charging, the product can transmit temperature information collected by its internal temperature acquisition module to the PC in real time or periodically during the charging process.

[0375] Accordingly, after receiving the temperature information from the product, the PC can determine whether the current temperature of the product is lower than a preset third temperature threshold. Specifically, if the determination shows that the current temperature is lower than the third temperature threshold, step S205 is executed. Otherwise, step S209 is executed.

[0376] For example, in some implementations, the third temperature threshold is, for instance, 47°C. That is, after stopping the use of fast charging mode for wireless charging of the battery and switching to normal charging mode, if the temperature of the product inside the box drops below 47°C, fast charging mode can be restarted for wireless charging of the battery to improve charging efficiency. Conversely, if the temperature of the product inside the box is not lower than 47°C, it can be further determined whether the product temperature is too high, and charging needs to be stopped, i.e., step S209 is executed.

[0377] S209, determine whether the product temperature is greater than the fourth temperature threshold.

[0378] The fourth temperature threshold is a temperature threshold used to determine whether to stop wirelessly charging the battery of the product inside the color box.

[0379] Specifically, when the fast charging mode is stopped and the normal charging mode is used for wireless charging of the battery, if the product temperature does not drop below 47°C, the product can continue to provide real-time or periodic feedback to the PC on the temperature information collected by the temperature acquisition module inside the product.

[0380] Accordingly, after receiving the temperature information from the product, the PC can determine whether the current temperature of the product is greater than the preset fourth temperature threshold. Specifically, if the determination shows that the current temperature is greater than the fourth temperature threshold, step S210 is executed. Otherwise, step S202 is executed.

[0381] For example, in some implementations, the fourth temperature threshold is, for instance, 50°C. That is, when switching from fast charging mode to normal charging mode for wireless charging, if the product temperature exceeds 50°C, charging must be stopped to prevent damage from excessive heat, i.e., step S210 is executed. Conversely, if the product temperature is between the third and fourth temperature thresholds (e.g., 47°C and 50°C), wireless charging can continue using normal charging mode, i.e., step S202 is executed.

[0382] S210, charging stopped.

[0383] That is, the battery is wirelessly charged without using the normal charging mode or the fast mode.

[0384] S211, determine whether the battery level is less than the second power threshold.

[0385] Specifically, after wireless charging stops, it can be determined whether the battery level of the product inside the box meets the factory requirements, i.e., whether it is between 45% and 60%. Therefore, after charging stops, the product inside the box can report its current battery level to the PC.

[0386] Accordingly, after receiving the battery power information from the product, the PC can determine whether the battery power of the product in the box meets the factory requirements.

[0387] For example, if it is determined that the battery level is less than 45%, the product inside the box needs to be recharged. In this case, to avoid overheating and damaging the product, the current temperature of the product can be obtained before restarting the recharging process to determine if the product is currently suitable for recharging.

[0388] For example, in some implementations, step S206 can be performed when it is determined that the battery charge is less than a second charge threshold, such as 45%.

[0389] For example, in some other implementations, step S203 may also be performed when it is determined that the battery charge is less than a second charge threshold, such as 45%.

[0390] For ease of explanation, this application embodiment takes the execution of step S206 as an example when it is determined that the battery power is less than the second power threshold.

[0391] For example, if it is determined that the battery charge is not less than the second charge threshold, such as greater than or equal to 45%, in some implementations, it can be further determined whether the battery charge is less than the first charge threshold, that is, step S212 is executed to determine whether the battery charge meets the factory requirements, such as being between the first charge threshold and the second charge threshold.

[0392] For example, if it is determined that the battery charge is not less than the second charge threshold, such as greater than or equal to 45%, in some other implementations, the charging process can be terminated directly, i.e., proceed to step S213.

[0393] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0394] S212, determine whether the battery level is less than the first power threshold.

[0395] Specifically, if the battery level is less than the first power threshold, i.e., between the first and second power thresholds, the charging process can be terminated, i.e., proceed to step S213. Conversely, if the battery level is greater than the first power threshold, the charging process will also be terminated. However, after the charging process is terminated, the product in the color box cannot be transported directly. It needs to be placed for a period of time until the battery level is consumed to between 45% and 60% before it can be transported.

[0396] S213, End of power replenishment process.

[0397] Thus, without opening the color box, the product 300 inside the color box can be recharged and / or upgraded.

[0398] In addition, it should be noted that in some implementations, after the product in the color box is placed in the power-up device and the device is triggered to turn on, if the battery level is within the set power threshold range and the current version is the same as the latest version, no power-up or upgrade operation will be performed, and the process will directly enter the clearing and shutdown sub-stage.

[0399] For example, if the battery level is outside the set power threshold range, specifically below the minimum power threshold, and the current version is the same as the latest version, the product in the color box will only perform the above-mentioned charging process. Once the battery level reaches the set requirement, such as reaching the set power threshold range, the shutdown sub-step will be executed.

[0400] For example, if the battery level is outside the set power threshold range, specifically below the minimum power threshold, and the current version is not the latest version, the product in the box will execute the above-mentioned power replenishment and upgrade processes. Once the battery level reaches the set requirement and the upgrade is complete, the shutdown sub-step will be executed.

[0401] For example, if the battery level is within a set threshold range, but the current version is not the latest version, the product in the box will perform the upgrade process described above. After the upgrade is complete, the clearing and power-off sub-step will be performed.

[0402] In other words, whether product 300 inside the box needs a power-on reset or an upgrade after being triggered depends on the current battery level and version of product 300. Not every product will undergo a power-on reset or upgrade.

[0403] Furthermore, it should be noted that the determination of product temperature and battery level during the charging process can be performed simultaneously. That is, the product inside the box can feed back its current temperature and battery level information to the PC in real time or periodically. In this way, the PC can determine which charging mode to use and whether to stop charging based on the received temperature and battery level information (either when the temperature reaches the stop temperature threshold, such as the fourth temperature threshold, or when the battery level reaches the factory requirements).

[0404] In addition, it should be noted that temperature detection is performed not only during the power-up process but also during the upgrade process. If the temperature of the product inside the color box exceeds any of the preset temperature thresholds, such as the first, second, third, and fourth temperature thresholds mentioned above, or if it exceeds other temperature thresholds, the upgrade process will be terminated.

[0405] For example, in some implementations, different temperature thresholds can be set for different stages of the upgrade process, such as downloading the upgrade package, verifying the upgrade package, and installing the upgrade package. This allows for the use of different temperature thresholds at different stages to determine whether to pause the current stage's operation or exit the upgrade process directly, thus better meeting actual usage needs.

[0406] S119, reconnect to AP after product upgrade.

[0407] Taking the upgrade of the operating system with a virtual AB partition structure as an example, it can be understood that after writing the data of the corresponding partition in the upgrade package to the corresponding partition in the internal memory, such as writing the data of the static partition in the upgrade package to the static partition, and writing the data of the dynamic partition in the upgrade package to the temporarily created COW file in the user data partition in the copy-on-write (COW) method, the product will automatically shut down and restart. When the partition is loaded during the restart, the temporarily created COW file in the user data partition will be written to the dynamic partition, thereby completing the upgrade of the operating system.

[0408] Therefore, after the upgrade and restart of the product in the color box is completed, the product will reconnect to the AP.

[0409] S120, PC controls the product to perform factory reset operation via AP.

[0410] For example, in some implementations, after the PC receives the restart information from the product inside the color box, it can send a factory reset command to the product through the AP.

[0411] Accordingly, upon receiving the factory reset command, the product will perform a factory reset operation, restoring all settings and installed applications within the product box to their initial state, while simultaneously deleting all user data and settings. This process will erase all personal data on the product, including contacts, SMS messages, photos, videos, installed application packages, and system settings. After the factory reset, the device will be restored to its initial state upon first power-on, similar to a new device.

[0412] It should be noted that in this embodiment of the application, if the product inside the color box has been upgraded, the product version will be the upgraded version after restoring factory settings.

[0413] S121, after completing the factory reset, automatically shuts down on the navigation screen.

[0414] Understandably, the product will enter a navigation screen after completing a factory reset. For example, in some implementations, the product will automatically shut down if it remains in the navigation screen for a set period of time and receives no instructions within that period.

[0415] S122, after powering off, performs electromagnetic and / or NFC detection to determine the product's power-off status.

[0416] It should be noted that in practical applications, after the product inside the box has been powered on and recharged and / or upgraded, it may fail to shut down due to operational errors. If the product is not powered off, it consumes power quickly. Therefore, there may be instances where products sold to users cannot be powered on due to depleted battery, leading to customer complaints such as returns.

[0417] In view of this, the technical solution provided in this application, after power replenishment and / or upgrades trigger product shutdown, is based on... Figures 6 to 10 The power-off state detection device 200 shown detects the power-off state of the product inside the color box, thereby ensuring that the product inside the color box that has been recharged and / or upgraded using the power-upgrade device 100 is in a power-off state.

[0418] For example, the implementation of detecting the power-off state of a product inside a color box will be specifically explained using electromagnetic detection and / or NFC detection.

[0419] See Figure 25This example illustrates a schematic diagram of triggering a product to perform a factory reset. Figure 25 As shown, after product 300 in the color box completes the upgrade and restarts, it will reconnect to the AP, i.e., access the WLAN. In this way, the PC can interact with product 300 in the color box through the AP. For example, after reconnecting to the AP, product 300 can first send a power-on and / or upgrade completion command to the PC through the AP.

[0420] For ease of explanation, this example uses a restart triggered after an upgrade as an example. See also... Figure 25 For example, after the product 300 in the color box is reconnected to the AP, it can first send an upgrade completion instruction to the PC through the AP.

[0421] Accordingly, after the PC receives the information sent by the product 300 inside the color box, it can send a restore trigger setting command to the product inside the color box through the AP.

[0422] Accordingly, after receiving the factory reset command from the PC, the product 300 inside the color box will perform the factory reset operation in response to the command.

[0423] See also Figure 25 For example, in response to the factory reset command, the product 300 inside the box will first perform a first restart during the factory reset process (for ease of distinction, the shutdown performed during the first restart is called the first shutdown, and the power-on performed during the first restart is called the first power-on). After the first restart is successful, i.e. after the first shutdown and the first power-on is successful, the product 300 inside the box will be formatted, restoring all settings and installed applications of the product 300 inside the box to their initial state, while deleting all user data and settings.

[0424] See also Figure 25 For example, after formatting is completed, the product in the color box will undergo a second restart (for easy distinction, the shutdown performed in the second restart is called the second shutdown, and the power-on performed in the second restart is called the second power-on). After the second restart is successful, that is, after the second shutdown and the second power-on is successful, the product 300 in the color box will complete the formatting and enter the boot navigation interface.

[0425] For example, after a set time, such as 1 minute, is spent on the power-on navigation screen, no other operations will be performed on the screen since product 300 is inside the box. Therefore, after 1 minute, product 300 inside the box will automatically power off.

[0426] pass Figure 25It can be seen that the product 300 inside the box will undergo three shutdowns from the time of the upgrade and restart until it automatically shuts down after completing the factory reset. Each time the product 300 is powered on, it initializes the NFC chip 304, i.e., it activates the NFC chip 304. Therefore, the box containing the product 300, according to... Figure 20 As shown, the NFC detection instrument 204 is fixed on the color box fixing module 202 of the power-off state detection device 200 and placed on the instrument placement frame 203-3. When the product 300 is powered off, the NFC detection instrument 204 can recognize the electronic tag information of the NFC chip 304. That is to say, during the process from the product 300 in the color box from the time of upgrade and restart to the time of automatic power-off triggered after restoring factory settings, the NFC detection instrument 204 will recognize the electronic tag information of the NFC chip 304 three times (hereinafter referred to as: NFC recognition three times), as shown in Table 1.

[0427] Table 1 NFC Recognition Table During Power-Off State Detection

[0428]

[0429] It should be noted that the time spent on the first restart, the time spent formatting, the time spent on the second restart, the time spent on the boot navigation screen, and the duration of the shutdown state after automatic shutdown all differ. Therefore, the duration for which NFC is detected also varies.

[0430] like Figure 26 As shown, after triggering the factory reset operation and performing the first power-off, before the first power-on, the NFC detection instrument will identify the NFC of the product in the color box within a certain time, such as t1.

[0431] See also Figure 26 For example, during the initial power-on and formatting process, the NFC detection instrument may not recognize NFC within t2.

[0432] See also Figure 26 For example, after formatting, after the second shutdown, and before the second power-on, the NFC detection instrument will identify the NFC of the product inside the box within that time, such as t3.

[0433] See also Figure 26 For example, on the second power-on, after entering the power-on navigation interface, if the set time is reached, such as 1 minute before the NFC detection instrument is activated, the NFC will not be recognized.

[0434] See also Figure 26For example, after the set time, such as 1 minute, is reached and the automatic shutdown is triggered, the NFC detection instrument will continue to recognize NFC within the color box for the time that the product 300 is in the shutdown state, such as t5.

[0435] For example, in some implementations, t1 is, for instance, 3-5 seconds (s). t2 is, for instance, 60 seconds. t3 can be the same as t1, such as 3-5 seconds, or it can be different. t4 is, for instance, 60 seconds (1 minute), or it can be longer, depending on the time it takes to trigger automatic shutdown on the power-on navigation screen. t5 can be the time between automatic shutdown and the next time the product is powered on using the power-up upgrade device, or it can be the time between automatic shutdown and the time the user powers on the product after purchasing it.

[0436] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0437] Therefore, in some implementations, the number of NFC detections by the NFC detector 204 after the PC issues a factory reset command can be used to determine whether the product inside the color box is in a powered-off state. Specifically, if the NFC detector 204 detects 3 NFCs, the product 300 inside the color box is considered to be in a powered-off state. Conversely, if it detects only 3 NFCs, the product 300 inside the color box is considered not to be in a powered-off state. In scenarios where the product 300 inside the color box is considered not to be in a powered-off state, staff can open the color box to check.

[0438] Furthermore, it should be noted that the magnetic induction intensity of product 300 inside the color box differs between its powered-on and powered-off states. As shown in Table 2, the magnetic induction intensity varies depending on whether the product is packaged according to the specified parameters. Figure 16 Place it in the color box as shown, and follow the instructions. Figure 20The device is fixed to the color box fixing module 202 of the power-off state detection device 200 as shown. An electromagnetic detection instrument 204 is placed on the instrument placement frame 203-3, close to the color box. For example, if the distance between the electromagnetic detection instrument 204 and the color box lid is within 10mm (e.g., 4mm), when the product with model number M1 (hereinafter referred to as product M1) inside the color box is in the power-off state, the magnetic induction intensity detected by the electromagnetic detection instrument 204 is, for example, μ1. When product M1 inside the color box is in the power-on state, such as the power-on screen-on state, the magnetic induction intensity detected by the electromagnetic detection instrument 204 is, for example, μ2~μ3. When product M1 inside the color box is in the power-on state, such as the power-on screen-off state, the magnetic induction intensity detected by the electromagnetic detection instrument 204 is, for example, μ4~μ5. When product M2 inside the color box is in the power-off state, the magnetic induction intensity detected by the electromagnetic detection instrument 204 is, for example, μ1'. When product M2 inside the color box is powered on, such as in the power-on screen-on state, the magnetic induction intensity detected by electromagnetic detection instrument 204 is, for example, μ2'~μ3'. When product M2 inside the color box is powered on, such as in the power-on screen-off state, the magnetic induction intensity detected by electromagnetic detection instrument 204 is, for example, μ4'~μ5'.

[0439] Table 2. Differences in Electromagnetic Detection Between Power-On and Power-Off States

[0440]

[0441] M1 and M2 are different product models. μ1 is less than μ2, less than μ3, less than μ4, and less than μ5. μ2 can be the same as or greater than μ4. μ3 can be the same as or greater than μ5.

[0442] Among them, μ1' can be the same as or different from μ1 (it can be greater than or less than μ1). μ2' can be the same as or different from μ2 (it can be greater than or less than μ2). μ3' can be the same as or different from μ3 (it can be greater than or less than μ3). μ4' can be the same as or different from μ4 (it can be greater than or less than μ4). μ5' can be the same as or different from μ5 (it can be greater than or less than μ5).

[0443] The relationships between μ1', μ2', μ3', μ4', and μ5' are similar to those between μ1, μ2, μ3, μ4, and μ5.

[0444] Taking product M1 as an example, in some implementations, μ1 is, for example, 0.34. μ2 is, for example, the same as μ4, both being 0.4. μ3 is, for example, the same as μ5, both being 0.43.

[0445] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0446] Therefore, by collecting the magnetic induction intensity of the product inside the color box through an electromagnetic detector and feeding it back to the PC, the PC can determine whether the magnetic induction intensity currently collected by the electromagnetic detector meets the magnetic induction intensity under the power-off state, and thus determine whether the product inside the color box is in the power-off state.

[0447] For example, in some other implementations, the determination of whether the product inside the box is in a powered-off state can be made by simultaneously using the number of NFC detections by the NFC detector and the magnetic induction intensity collected by the electromagnetic detector. For instance, if the number of NFC detections is 3 and the magnetic induction intensity matches that of this type of product in a powered-off state, such as 0.34, then the product inside the box is determined to be in a powered-off state. Otherwise, the product inside the box is considered not to be in a powered-off state.

[0448] Based on the detection principles of the NFC and electromagnetic detection methods described above, the specific implementation process for determining the product's power-off state by performing electromagnetic and / or NFC detection after power-off can be as follows: Figure 27 .

[0449] See Figure 27 This example illustrates the interaction timing diagram between a power-off state detection device 200 and a PC during the detection of the power-off state of a product inside a color box. When the power-off state detection device 200, in conjunction with the PC, performs state detection on the product 300 inside the color box, it specifically includes:

[0450] S301, the presence detection module 207 detects that the color box containing the product 300 is fixed on the base 209 and the position of the color box fixing module 202 is detected, and the distance adjustment module 203 is adjusted to the position set by the distance to the color box, and sends a presence command to the PC.

[0451] For example, in some implementations, when a user presses the control button 205-1 on the power-off state detection device 200, the main control chip 201 of the power-off state detection device 200 responds to the user's operation by detecting whether a color box is fixed in the position of the color box fixing module 202 on the base 209 through the position detection module 207.

[0452] For example, in some implementations, when the position detection module 207 detects that the color box is fixed in position by the color box fixing module 202 on the base 209, the main control chip 201 can control the test indicator light 206-2 to be lit, and control the cylinder to drive the instrument placement frame 203-3 in the distance adjustment module 203 to move up and down along the sliding component 203-2. By compressing and releasing the telescopic component 203-4, the distance between the instrument placement frame 203-3 and the color box fixed in the color box fixing module 202 can be adjusted.

[0453] For example, in some implementations, the presence detection module 207 detects that the instrument placement frame 203-3 for placing the electromagnetic and / or NFC detection instrument 204 has moved to a designated position, such as within a set distance of the color box fixed at the position of the color box fixing module 202 on the base 209, such as within 10mm. Then, the main control chip 201 can send a presence command to the host computer PC indicating that the color box and the distance adjustment module 203 (specifically the instrument placement frame 203-3) are in place.

[0454] Understandably, the aforementioned color box refers to the color box containing product 300.

[0455] For example, in some implementations, the main control chip 201 can interact with the PC via a serial port, a USB interface, or WiFi, such as sending in-situ commands, receiving acquisition commands, sending acquired data, receiving first commands or second commands, etc.

[0456] For example, in some implementations, during the interaction between the main control chip 201 and the PC via the USB interface, the main control chip 201 can interact with the PC via a USB to RS232 module.

[0457] RS232 is a commonly used serial communication interface standard that allows data to be transmitted sequentially from one device to another. During transmission, data is packaged into a series of signals, each containing a specific data value and a signal level. When the signals arrive at the receiving end, the receiver compares the signal levels to determine the data content. For detailed usage instructions on RS232, please refer to the RS232 standard documentation; further details will not be provided here.

[0458] Furthermore, it should be noted that, to ensure the accuracy of the test results, an initialization operation is required before executing step S301. This includes connecting the distance adjustment module's port to the PC and testing the cylinder, control buttons (such as control buttons 205-1 and 205-2), test indicator lights (such as test indicator lights 206-1, 206-2, and 206-3), as well as the electromagnetic and NFC testing instruments to ensure they are functioning correctly.

[0459] S302 sends a data acquisition command to the power-off status detection device after receiving the on-premises command for the first duration.

[0460] Specifically, in order to ensure the validity of the collected data, after receiving the presence command sent by the power-off state detection device 200, the PC can delay for a first duration before responding to the presence command.

[0461] For example, in some implementations, the first duration is, for instance, 10 seconds. That is, after receiving the presence command sent by the power-off state detection device 200, the PC can start a 10-second timer. After the timer expires (the first duration), such as 10 seconds, it sends a data acquisition command to the power-off state detection device 200 in response to the presence command. Alternatively, after receiving the presence command sent by the power-off state detection device 200, the PC can start a timer. After the timer expires (the first duration), such as 10 seconds, it sends a data acquisition command to the power-off state detection device 200 in response to the presence command.

[0462] Regarding the acquisition command sent by the PC to the power-off state detection device 200, in some implementations, it is, for example, an acquisition command instructing the power-off state detection device 200 to acquire magnetic induction intensity data (hereinafter referred to as: the first acquisition command). In other implementations, it is, for example, an acquisition command instructing the power-off state detection device 200 to acquire NFC data (hereinafter referred to as: the second acquisition command). In still other implementations, the acquisition command includes, for example, the first acquisition command and the second acquisition command.

[0463] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0464] Upon receiving a data acquisition command, S303 controls the electromagnetic and / or NFC detection instruments to sample data and sends the acquired data to the PC.

[0465] For example, in some implementations, after the main control chip 201 of the power-off state detection device 200 receives the acquisition command sent by the PC, if the acquisition command is identified as the first acquisition command, it controls the electromagnetic detection instrument placed on the instrument placement frame 203-3 to acquire magnetic induction intensity data and sends the acquired magnetic induction intensity data to the PC.

[0466] For example, in some other implementations, after the main control chip 201 of the power-off state detection device 200 receives the acquisition command sent by the PC, if it recognizes the acquisition command as the second acquisition command, it controls the NFC detection instrument placed on the instrument placement frame 203-3 to acquire NFC data and send the acquired NFC data to the PC.

[0467] For example, in some other implementations, after the main control chip 201 of the power-off state detection device 200 receives the acquisition command sent by the PC, if it recognizes that the acquisition command includes a first acquisition command and a second acquisition command, it controls the electromagnetic detection instrument placed on the instrument placement frame 203-3 to acquire magnetic induction intensity data and controls the NFC detection instrument placed on the instrument placement frame 203-3 to acquire NFC data, and sends the acquired magnetic induction intensity data and NFC data to the PC.

[0468] It should be noted that in practical applications, the testing instruments placed on the instrument placement frame 203-3, such as electromagnetic testing instruments and NFC testing instruments, can be individual testing instruments or testing instruments that integrate the two testing functions together.

[0469] For example, when the electromagnetic detection instrument and the NFC detection instrument are separate instruments, in some implementations, the dimensions of these two instruments can be set so that they can be placed together in an instrument placement frame. This allows for the simultaneous acquisition of both magnetic induction data and NFC data.

[0470] For example, in cases where the electromagnetic detection instrument and the NFC detection instrument are separate detection instruments, in other implementations, these two detection instruments can be placed separately on the instrument placement frame according to the detection method, thereby better meeting the actual use needs.

[0471] Regarding the aforementioned NFC testing instrument, in some implementations, the NFC chip 102 in the power replenishment and upgrade device 100 can be used as a substitute. That is, after the power replenishment and / or upgrade device 100 is used to replenish and / or upgrade the product in the color box, the NFC chip 102 can be removed from the power replenishment and upgrade device 100 and placed on the instrument placement frame 203-3 for use.

[0472] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0473] Furthermore, it should be noted that, in order to identify whether the currently received acquisition command is the first acquisition command, the second acquisition command, or both, the main control chip 201 of the power-off state detection device 200 can call the pre-encapsulated first acquisition command detection method (hereinafter referred to as IsMagneticFieIdCheck) and the second acquisition command detection method (hereinafter referred to as IsNFCCheck) after receiving the acquisition command sent by the PC to determine whether the currently received acquisition command is the first acquisition command, the second acquisition command, or both.

[0474] For example, in some implementations, after the main control chip 201 of the power-off state detection device 200 receives the acquisition command sent by the PC, it can call IsMagneticFieIdCheck or IsNFCCheck to detect the acquisition command.

[0475] Taking IsNFCCheck as an example, if the detection result output by IsNFCCheck is "false", or if other indicators that the current detection acquisition command is not the content of the second acquisition command, then the NFC detection logic is skipped, that is, the process of obtaining NFC data is skipped, and the operation of determining the power-off status of the product in the color box is determined based on the number of NFC recognitions.

[0476] For example, after skipping the NFC detection logic, the main control chip 201 can call IsMagneticFieIdCheck to detect the received acquisition command. For example, if the detection result output by IsMagneticFieIdCheck is "false", or if other indications suggest that the currently detected acquisition command is not the content of the first acquisition command, then the electromagnetic detection logic is skipped, that is, the operation process of acquiring magnetic induction intensity data and determining the power-off state of the product inside the color box based on the magnetic induction intensity data is skipped.

[0477] For example, if both IsMagneticFieIdCheck and IsNFCCheck output "false", the main control chip 201 can control the test indicator light that indicates test failure, such as test indicator light 206-3, to be lit so that the operator can re-control the PC to issue the correct acquisition command.

[0478] For example, if the output of IsMagneticFieIdCheck is "true" and / or the output of IsNFCCheck is "true", then the corresponding detection instrument is controlled to perform data acquisition operation according to the determined acquisition command.

[0479] Furthermore, it should be noted that in some implementations, the electromagnetic and / or NFC detection instruments placed on the instrument placement frame can collect data in real time and then feed it back to the PC. In other implementations, the electromagnetic and / or NFC detection instruments placed on the instrument placement frame can also sample at set time intervals, such as 500 milliseconds (ms), and specify that the collected data will be sent to the PC in batches after a set number of samples is reached, such as 10 times.

[0480] In addition, it should be noted that for sampling at set time intervals, when the number of samplings reaches the set number, such as 10, the maximum and minimum values ​​of these 10 sampling data can be removed, and the remaining 8 sampling data can be sent to the PC for subsequent processing, thereby ensuring the accuracy and reasonableness of the test results.

[0481] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0482] S304, Based on the collected data, determine the status of product 300 inside the color box.

[0483] For example, when the received data is magnetic field strength data, the PC can determine whether the currently received magnetic field strength data is within a preset magnetic field strength threshold (the magnetic field strength of the same type of product in the off state). For instance, for product M1, it can determine whether the currently received magnetic field strength data is less than or equal to μ1 in Table 2. For example, if the currently received magnetic field strength data is less than or equal to μ1 in Table 2, it is determined that product 300 in the color box is in the off state. Otherwise, it is not in the off state.

[0484] For example, when the received data is NFC data, the PC can determine the status of product 300 inside the box by checking if the number of NFC data received equals a preset number of NFC calls, such as 3. For instance, if the number of NFC calls determined based on the received NFC data is 3, the product 300 inside the box is determined to be in a powered-off state. Conversely, if the number of NFC calls is less than 3, it is not in a powered-off state.

[0485] For example, when the received data includes both magnetic field strength data and NFC data, the PC can determine the state of the product 300 inside the box by judging whether the currently received magnetic field strength data is within a preset magnetic field strength threshold and whether the number of received NFC data is equal to a preset number of NFC calls. For instance, if the received magnetic field strength data is less than or equal to the preset magnetic field strength threshold and the number of NFC calls is 3, the product 300 inside the box is determined to be in a powered-off state. Otherwise, it is not in a powered-off state.

[0486] S305, when the product 300 in the color is in the off state, sends a first instruction to the off state detection device to light up the first test indicator light.

[0487] The first instruction indicates that the power-off status detection was successful, that is, it confirms that the product 300 inside the color box is in the power-off state.

[0488] The second instruction is used to indicate that the power-off state detection failed, that is, it cannot be determined whether the product 300 in the color box is in a power-off state or whether the product 300 in the color box is in a power-on state.

[0489] Among them, the first test indicator light, for example, test indicator light 206-1.

[0490] Among them, the second test indicator light, for example, test indicator light 206-3.

[0491] S306, according to the first instruction, illuminate the first test indicator light (the green test indicator light indicating a successful test).

[0492] S307, when the product 300 in the color is not in the power-off state, sends a second instruction to the power-off state detection device to light up the second test indicator light.

[0493] S308, according to the second instruction, illuminates the second test indicator light (the red test indicator light that indicates test failure).

[0494] Understandably, steps 305 and 307 are mutually exclusive; that is, if the PC executes step S305 during a detection process, step S307 will not be executed, and vice versa. Similarly, steps S306 and S308 are also mutually exclusive.

[0495] Therefore, without opening the color box, through Figures 6 to 10 The power-off status detection device 200 shown, in conjunction with the host computer PC, according to... Figure 20The color box is fixed on the power-off state detection device 200 in the manner shown, which realizes the detection of the power-off state of the product 300 inside the color box. This ensures that after the power-on power-on and / or upgrade device 100 is used to power on and / or upgrade the product inside the color box, the product 300 inside the color box can be in the power-off state.

[0496] In addition, it should be noted that Figure 21 In the illustrated embodiment, the upgrade method, which obtains the upgrade package from the upgrade server via OUC APK, requires the product to be connected to WiFi and access the upgrade server. The upgrade server is typically an external network server; meaning that even after the product is sold, users will still obtain the upgrade package from the upgrade server via OUC APK during product use. Therefore, in other implementations, for security reasons, the production line implements network control over the products leaving the factory, preventing access to the upgrade server before the user opens the packaging and activates the product.

[0497] In view of this, in some implementation methods, it is possible to pre-configure within product 300. Figure 13 The upgrade APK shown is automatically launched when product 300 inside the box is powered on and the current scenario of charging and upgrading is detected. It then interacts with the OUC APK and the PC to upgrade product 300. In other words, the upgrade APK only launches during charging and upgrading scenarios and will not launch during normal wireless charging scenarios.

[0498] Furthermore, this upgrade APK is a background APK with no user interface. This way, users will not be aware of the APK after product 300 is sold.

[0499] For ease of explanation, this application embodiment refers to the method of the OUC APK directly accessing the upgrade server to obtain the upgrade package as the first upgrade method, and the method of obtaining the upgrade package without relying on an external server (upgrade server), i.e., the method of introducing the upgrade APK, as the second upgrade method. To better understand the second upgrade method, the following description is provided in conjunction with the accompanying drawings.

[0500] See Figure 28 The diagram illustrates the interaction between the server and the PC involved in a second upgrade method.

[0501] like Figure 28 As shown, for security reasons, a File Transfer Protocol (FTP) server and a Manufacturing Execution System (MES) server can be deployed on the production line.

[0502] The FTP server can access both the external network and the internal network. Specifically, the FTP server can obtain upgrade packages from the OTA server (the server that stores upgrade packages), i.e., execute step S401.

[0503] It should be noted that in some implementations, the OTA server can proactively send upgrade packages to the FTP server. In other implementations, the FTP server can periodically send packet search commands to the OTA server to retrieve upgrade packages stored on the OTA server.

[0504] See also Figure 28 For example, after the FTP server obtains the upgrade package provided by the OTA server and the corresponding verification file, it can send the storage path of the upgrade package on the FTP server (hereinafter referred to as: FTP path) and the upgrade package information (such as version number) describing the upgrade package to the MES server through the intranet.

[0505] For example, in some implementations, the verification file is, for instance, a cyclic redundancy check (CRC) code.

[0506] The MES server supports intranet access and is used to store the FTP path and upgrade package information provided by the FTP server. This information is used as component information of the task order and associated with the task order, i.e., to execute step S403.

[0507] It should be noted that the task order mentioned in this embodiment refers to a special string used on the production line. The PC can access the MES server by configuring the task order through parameter configuration. In other words, the task order is a string used to access the MES server.

[0508] See also Figure 28 For example, before upgrading the product 300 in the color box using the second upgrade method, the PC can configure a task command to access the MES server through parameter configuration, and then access the MES server according to the task command, i.e., execute step S404.

[0509] Since the MES server associates the task order with component information such as the FTP path and upgrade package information of the upgrade package, after the PC accesses the MES server according to the task order, the MES server can send the component information associated with the task order (FTP path and upgrade package information of the upgrade package) to the PC, that is, execute step S405.

[0510] Since the FTP server supports intranet access, the PC can access the FTP server based on the FTP path obtained from the MES server, and then obtain the upgrade package stored under that FTP path. That is, after the PC receives the FTP path and upgrade package information sent by the MES server, it executes step S406.

[0511] See also Figure 28 For example, in response to a PC's request to obtain an upgrade package, the FTP server executes step S407. That is, it sends the upgrade package stored in the FTP path, along with the corresponding verification file, such as a CRC code, to the PC.

[0512] See also Figure 28 For example, after the PC obtains the upgrade package stored in the FTP path and the corresponding verification file, it can first verify the integrity of the upgrade package according to the verification file, such as the CRC code, and store the upgrade package after successful verification, that is, execute step S408.

[0513] In this way, when upgrading product 300 inside the color box in the future, the upgrade can be completed directly through the interaction between the PC and product 300 inside the color box.

[0514] In addition, since the product 300 inside the color box in the second upgrade method does not interact with the OTA server, that is, it does not access the external network, the security of the production line products is guaranteed.

[0515] Furthermore, since the product 300 inside the color box does not directly interact with the FTP server in the second upgrade method, it not only reduces the pressure on the FTP server, but also allows the PC to send the upgrade package to the product 300 inside the color box via the local area network, resulting in higher bandwidth and lower latency, thus enabling faster upgrades to the product 300 inside the color box.

[0516] See Figure 29 This example illustrates a PC that has been adapted to... Figure 28 The diagram illustrates the process of obtaining the upgrade package from the FTP server and upgrading product 300 within the color box using the second upgrade method. This upgrade scheme specifically includes:

[0517] S501, the power-up device 100 responds to the wireless charging command issued by the PC, activates the wireless charging management chip 104, and triggers the product 300 in the color box to power on based on the proprietary Qi protocol.

[0518] For the specific implementation logic of the power-up upgrade device 100 triggering the product 300 in the color box to start, please refer to [link / reference needed]. Figure 21 , Figure 22 The description of step S105 in the implementation will not be repeated here.

[0519] S502, the product 300 inside the color box (fixed on the power-up device 100) responds to the proprietary Qi protocol, triggers the power-on operation, and after powering on, starts the NFC chip 304 and upgrades the APK.

[0520] It should be noted that after responding to the proprietary Qi protocol, the product 300 inside the color box will send status information describing the current status of the product 300 back to the power replenishment and upgrade device 100.

[0521] For example, in some implementations, it can be agreed that after product 300 is powered on, the feedback it sends to the power-up device indicates that product 300 is in a powered-on state, i.e., the status information is powered on. Conversely, if product 300 is not triggered to power on, product 300 cannot send feedback to the power-up device 100 within the specified time. In this case, the power-up device 100 can determine that the status information of product 300 is powered off.

[0522] S503, the PC checks whether the product 300 is powered on within the first timeout period based on the status information fed back by the power upgrade device 100.

[0523] For example, in some implementations, after the PC sends a wireless charging command to the power upgrade device 100, it can start a timer with a duration of a first timeout period, or start a timer (which stops timing after the first timeout period).

[0524] Specifically, after starting the timer or calculator, the PC can determine whether the product 300 in the color box has been successfully powered on, based on the status information of the product 300 fed back by the power-up device 100, before the timer reaches the first timeout period or before the timer's accumulated duration reaches the first timeout period.

[0525] For example, if the PC receives a status message indicating that product 300 is powered on within the first timeout period, it determines that product 300 in the color box has successfully powered on within the first timeout period. In this case, the PC can send AP information to the power-up device 100.

[0526] For example, if the PC does not receive status information indicating that product 300 is powered on within the first timeout period, it is determined that product 300 is not powered on within the first timeout period. In some implementations, this can be handled as follows: Figure 29 As shown, the PC notifies the power-up upgrade device 100 to re-power on the product 300 inside the color box based on the proprietary Qi protocol. In some other implementations, the upgrade process can be terminated directly.

[0527] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0528] S504, the power-up upgrade device 100 activates the NFC chip 102 and sends the AP information sent by the PC to the product 300 in the color box through the NFC coil 103.

[0529] For specific implementation details regarding the power upgrade device 100 sending AP information to the product 300 inside the color box, please refer to [link / reference needed]. Figure 21 The descriptions of steps S106 to S108 in the illustrated embodiment will not be repeated here.

[0530] S505, the product 300 inside the color box establishes a WiFi connection based on the received AP information.

[0531] For details regarding the specific implementation of Product 300 establishing a WiFi connection based on the received AP information, please refer to [link / reference needed]. Figure 21 The description of step S109 in the illustrated embodiment will not be repeated here.

[0532] It should be noted that after the product 300 inside the color box performs the operation of establishing a WiFi connection based on the received AP information, it will send the WiFi connection establishment result back to the power upgrade device 100.

[0533] For example, in some implementations, it can be agreed that after product 300 successfully establishes a WiFi connection based on the AP information, it will send a message indicating successful WiFi connection establishment to power-up device 100, such as "true", "1", or "YES". Conversely, if product 300 fails to establish a WiFi connection based on the AP information, product 300 can send a message indicating WiFi connection failure to power-up device 100, such as "false", "0", or "NO".

[0534] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended to be the sole limitation of this embodiment. In practical applications, the WiFi connection information fed back to the power-up device 100 by the product inside the color box can also be other agreed-upon information.

[0535] S506, the PC checks whether the WiFi connection has been successfully established within the second timeout period based on the WiFi connection information fed back by the power upgrade device 100.

[0536] For example, in some implementations, after the PC sends AP information to the power upgrade device 100, it can start a timer with a duration of a second timeout period, or start a timer (which stops counting after the second timeout period is reached).

[0537] Specifically, after starting the timer or calculator, the PC can determine whether the product 300 in the color box has established a WiFi connection based on the AP information, i.e., accessed WLAN through the AP, before the timer reaches the second timeout period or before the timer's accumulated duration reaches the second timeout period, based on the WiFi connection information fed back by the power upgrade device 100.

[0538] For example, if the PC receives WiFi connection information indicating successful WiFi connection establishment within the second timeout period, it determines that the WiFi connection has been successfully established. In this case, the PC can proceed to step S508.

[0539] For example, if the PC receives WiFi connection information indicating WiFi connection failure within the second timeout period, or receives no WiFi connection information, then the WiFi connection is determined to have failed. In some implementations, this can be handled as follows: Figure 29 As shown, the PC notifies the power-up upgrade device 100 to resend the AP information to the product 300 inside the color box. In some implementations, the upgrade process can be terminated directly.

[0540] After the WiFi connection is successfully established (S507), the upgrade APK in product 300 sends a readiness message to the PC via WiFi.

[0541] After confirming that the product 300 has successfully established a WiFi connection within the second timeout period, the S508 PC checks whether the upgrade APK in the product 300 is ready within the third timeout period.

[0542] For example, in some implementations, the PC may start a timer with a duration of a third timeout after determining that the product 300 has successfully established a WiFi connection within the second timeout period, or start a timer (which stops counting after the third timeout period).

[0543] Specifically, after starting the timer or calculator, if the PC receives a ready message (indicating that the APK has started and can operate) from the upgrade APK of product 300 before the timer reaches the third timeout period, or before the timer's accumulated duration reaches the third timeout period, then the upgrade APK is determined to be ready within the third timeout period. Otherwise, the upgrade APK is determined not to be ready.

[0544] If the APK upgrade is ready within the third timeout period, the PC can send a version retrieval command to the product 300 in the color box to obtain the current version information of the product 300, that is, execute step S509.

[0545] If the APK is not ready for upgrade within the third timeout period, some implementations can directly terminate the upgrade process.

[0546] S509, the PC connects via WiFi and sends a version retrieval command to product 300 inside the color box to retrieve the current version information of product 300.

[0547] S510, in response to the version retrieval command sent by the PC, obtains the current version information of product 300 and sends the obtained version information to the PC via WiFi connection.

[0548] S511: The PC determines whether product 300 needs to be upgraded based on the received version information and the locally stored upgrade package information.

[0549] Understandably, the upgrade package information stored locally on the PC is based on... Figure 28 The interaction method shown retrieves upgrade package information describing the latest version from the MES server.

[0550] Specifically, if the current version information of product 300 matches the version information of the upgrade package described in the upgrade package information stored locally on the PC, then product 300 does not need to be upgraded. Otherwise, product 300 needs to be upgraded.

[0551] For example, in some implementations, if product 300 needs to be upgraded, the PC can send an upgrade package and a corresponding verification file to product 300, i.e., execute step S512. If product 300 does not need to be upgraded, the upgrade process can be terminated directly.

[0552] S512, PC can send upgrade packages and corresponding verification files to product 300.

[0553] For example, in some implementations, the PC can send the locally stored upgrade package and the corresponding verification file to the product 300 via Socket communication.

[0554] S513, the upgrade APK receives the upgrade package and verification file sent by the PC, and stores the received upgrade package in the access path corresponding to OUCAPK.

[0555] Understandably, this access path is a specified path under the user data partition of the internal memory of product 300.

[0556] Furthermore, it should be understood that the OUC APK primarily handles upgrade and installation processes in Product 300, such as reading the contents of the upgrade package and performing system upgrades or application installations based on those contents. Therefore, in some implementations, this access path is the installation path of the OUC APK in the user data partition, allowing direct access to the upgrade package when using the OUC APK for subsequent upgrade and installation processes.

[0557] S514: After the upgrade package is downloaded, the upgrade APK performs an integrity check on the upgrade package based on the verification file and sends the verification result back to the PC.

[0558] S515, PC determines whether the upgrade package received by the upgrade APK is complete based on the upgrade package verification result fed back by the upgrade APK of product 300.

[0559] For example, if the verification result indicates successful verification, meaning the upgrade package is complete, the PC can instruct OUCAPK to perform the upgrade installation process, for example... Figure 29 The command to launch the OUC APK is sent to product 300.

[0560] For example, in cases where the verification result indicates verification failure, i.e., the upgrade package is incomplete, some implementations may use the following approach: Figure 29 As shown, the PC resends the upgrade package and verification file to the product, i.e., re-executes step S512. In some implementations, the number of times the PC resends the upgrade package and verification file to the product can be set. If the verification result received by the PC within the set number of times still indicates verification identification, the upgrade process ends. In other implementations, the upgrade process can be terminated directly.

[0561] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0562] S516, upgrade APK launches OUC APK, after OUC APK launches, it retrieves the upgrade package content from the access path and performs the upgrade installation.

[0563] It should be noted that the upgrade installation process based on the upgrade package includes upgrade installation in recovery mode and upgrade installation in AB mode. In recovery mode, the user data partition is not mounted; however, as described in step S513, the upgrade package downloaded by the upgrade APK is stored in the user data partition of the product 300's internal storage. Therefore, installation cannot be performed using recovery mode. Thus, in the technical solution provided in this embodiment, the upgrade installation process based on the upgrade package is specifically performed in AB mode, and its specific process is as follows:

[0564] After downloading and verifying the upgrade package, the upgrade APK is broadcast to wake up the OUC APK. The OUC APK reads the file from the corresponding access path. If the upgrade package is detected, the installation is triggered directly. After installation, the product is restarted (300 error) to enter AB mode for upgrade, i.e., step S517 is executed.

[0565] After S517 and OUC APK complete the upgrade and installation process, restart product 300.

[0566] After the S518 product 300 starts up, it re-establishes the WiFi connection based on the AP information and starts the upgrade APK, sending ready information to the PC through the upgrade APK.

[0567] S519: After the PC sends the command to launch the OUC APK to the product 300, it checks whether the upgrade APK in the product 300 is ready within the fourth timeout period.

[0568] For example, in some implementations, after the PC issues the command to launch the OUC APK to the product 300, it can start a timer with a duration of a fourth timeout period, or start a timer (which stops counting after the fourth timeout period).

[0569] Specifically, after starting the timer or calculator, if the PC receives a ready message (indicating that the APK has started and can operate) from the upgrade APK of product 300 before the timer reaches its fourth timeout period, or before the timer's accumulated duration reaches the fourth timeout period, then the upgrade APK is determined to be ready within the fourth timeout period. Otherwise, the upgrade APK is determined not to be ready.

[0570] If the upgrade APK is ready within the fourth timeout period, the PC can confirm that product 300 has completed the upgrade. In this case, the upgrade process can be terminated, and the PC can issue a factory reset command to product 300 inside the box.

[0571] In cases where the APK upgrade is not ready within the fourth timeout period, some implementations can address this by, for example... Figure 29 As shown, the PC resends the OUC APK launch command to the product, which means it performs another upgrade installation based on the upgrade package stored in the user data partition. In some implementations, the number of times the PC resends the OUC APK launch command to the product can be set. If the PC still does not receive the upgrade APK ready information within the set number of times, the upgrade process ends. In other implementations, the upgrade process can be terminated directly.

[0572] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0573] S520, Product 300 responds to the factory reset command issued by the PC and performs a factory reset operation.

[0574] For detailed instructions on how to perform a factory reset, please refer to [link / reference]. Figure 25 The description of the illustrated embodiment will not be repeated here.

[0575] After upgrading product 300 inside the color box using the second upgrade method, it can then be done according to... Figure 27 The embodiment shown illustrates a method for detecting the power-off status of products inside a color box. For detailed implementation information on detecting the power-off status of products inside a color box, please refer to [link to relevant documentation]. Figure 27 The description of the illustrated embodiment will not be repeated here.

[0576] Therefore, by deploying FTP and MES servers on the production line, and configuring PCs to interact with these servers via the intranet to obtain the latest version of the upgrade package and store it locally on the PC, the products inside the color box can obtain the upgrade package from the PC after being powered on by the power-on upgrade device and connected to the AP. This eliminates the need to interact with the OTA server via the external network, ensuring the security of the products inside the color box.

[0577] Furthermore, by embedding an invisible upgrade APK within product 300, this upgrade APK automatically launches when product 300 is powered on within the box and the current scenario of charging and upgrading is detected. It then interacts with the OUC APK and the PC to upgrade product 300 within the box. In other words, the upgrade APK only launches during charging and upgrading scenarios and will not launch during normal wireless charging scenarios.

[0578] Furthermore, it should be noted that the first timeout, second timeout, third timeout, and fourth timeout mentioned in this embodiment may be the same or different. The specific time values ​​can be set according to the model, performance, and current stage of the product in the color box.

[0579] In addition, it should be noted that for Figure 29 In the event that the upgrade process is terminated for any reason, the PC can issue a factory reset command to the product 300 inside the color box to restore all settings and installed applications of the product inside the color box to their initial state, while deleting all user data and settings.

[0580] Furthermore, it should be noted that to prevent overheating of the product 300 inside the box during charging and / or upgrading processes, which could damage the product 300 and the box, the following measures are taken: While the charging and upgrading device 100 is charging the product 300 inside the box, and the PC is interacting with the upgrade APK of the product 300, the upgrade APK of the product 300 can launch a separate thread dedicated to collecting information such as the current battery level, temperature, and upgrade package download progress of the product 300 (hereinafter referred to as the "monitoring thread" for ease of explanation). In this way, during the charging and / or upgrading process, the upgrade APK of the product 300 can send the monitored battery level, temperature, and upgrade package download progress to the PC in real time or periodically.

[0581] For example, in some implementations, in order to facilitate staff to know the charging and / or upgrade status of the product 300 in the color box, as well as the temperature status, the PC can display the above information fed back by the upgrade APK in a visual form, such as in the form of pictures, charts, etc., on the PC's display interface.

[0582] Furthermore, data analysis shows that the power consumption required to download the upgrade package is far greater than that required to install it, and charging also causes the phone to heat up. Therefore, some implementation methods can monitor the temperature of the product inside the box during the 300-second charging process and the temperature during the upgrade package download process, and implement corresponding control measures.

[0583] It should be noted that in the scenario where Product 300 interacts with the PC via an upgraded APK, the temperature and power management during charging are similar in logic to those in the scenario where Product 300 interacts with the PC via an OUC APK. The difference lies in the object interacting with the PC in Product 300. For specific implementation details regarding the temperature and power management during charging in the scenario where Product 300 interacts with the PC via an upgraded APK, please refer to [link to relevant documentation]. Figure 23 The description of the illustrated embodiment will not be repeated here.

[0584] The following combination Figure 30 Taking the second upgrade method as an example, this paper explains the monitoring and control methods for the product temperature inside the color box during the download upgrade package process.

[0585] S601, the upgrade APK of product 300 inside the color box receives the upgrade package and verification file sent by the PC. During the process of receiving the upgrade package and verification file, it obtains the current temperature information and download progress information of product 300 and feeds the temperature information and download progress information back to the PC.

[0586] For specific implementation details regarding the APK receiving the upgrade package and verification file from the PC, please refer to [link / reference]. Figure 29 The descriptions of steps S513 and S514 in the illustrated embodiment will not be repeated here.

[0587] In the process of receiving the upgrade package and verification file, the upgrade APK obtains the current temperature information and download progress information of product 300 through a monitoring thread, such as from the temperature acquisition module, such as the temperature sensor, and the dedicated thread for downloading the upgrade package started by the upgrade APK.

[0588] For example, in one implementation, the operations of acquiring temperature information and download progress information can be performed in real time. Correspondingly, the operations of feeding back temperature information and download progress information can also be performed in real time.

[0589] For example, in another implementation, the operations of obtaining temperature information and download progress information can be performed according to a set period. Correspondingly, the operations of feeding back temperature information and download progress information can also be performed according to a set period.

[0590] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0591] S602, the PC determines whether the upgrade package and verification file have been downloaded completely based on the download progress information.

[0592] For example, in one implementation, temperature control logic and download progress monitoring logic can be deployed on the PC side. Therefore, after receiving the temperature information and download progress information fed back by the product 300 in the color box, the PC can determine the download progress of the upgrade package and the current temperature of the product 300 based on the temperature information and download progress information.

[0593] Because the power consumption required for the upgrade package installation process is less than that required for the upgrade package download process, the temperature of product 300 changes little during the upgrade package installation process. Therefore, in some implementations, after receiving the temperature and download progress information from product 300 inside the box, the PC can first determine whether the upgrade package and verification file have been downloaded completely based on the download progress information. If the upgrade APK of product 300 inside the box has completed the download of the upgrade package and verification file, the temperature of product 300 usually will not continue to rise and may even drop, since the power consumption required for the subsequent upgrade package installation is small. Therefore, even if the current temperature of product 300 exceeds the temperature threshold, product 300 can be left uncontrolled, and the system can wait for the upgrade APK of product 300 inside the box to provide the upgrade package verification result, and then decide whether to issue the OUC APK command based on the verification result. Regarding the completeness of the upgrade package, the operations within product 300 after the PC issues the OUC APK command can be found in [link to relevant documentation]. Figure 29 The descriptions of steps S516 to S520 in the illustrated embodiment will not be repeated here. Regarding the case where the upgrade package is incomplete and requires re-deploying the upgrade package and verification file, it is necessary to determine whether the current temperature of product 300 exceeds the temperature threshold, i.e., execute... Figure 30 The processing logic in the illustrated embodiment.

[0594] See also Figure 30 For example, if the PC determines that the upgrade package and verification file have not been downloaded completely based on the download progress information, it can determine whether the current temperature of product 300 exceeds the temperature threshold based on the temperature information, that is, execute step S603.

[0595] S603, PC determines whether the current temperature of product 300 exceeds the temperature threshold based on the temperature information.

[0596] For example, in some implementations, the temperature threshold is, for instance, 55°C.

[0597] For example, in some other implementations, the temperature threshold is, for example, the fourth temperature threshold mentioned in the above embodiments, such as 50°C.

[0598] For example, in some other implementations, the temperature threshold is any one of the first temperature threshold, second temperature threshold, third temperature threshold and fourth temperature threshold mentioned in the above embodiments.

[0599] For example, in some other implementations, the temperature threshold can also be set according to factors such as the model of the product inside the box and the heat dissipation of the box.

[0600] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended as the only limitation on this embodiment.

[0601] See also Figure 30 For example, in some implementations, if the current temperature of product 300 does not exceed the temperature threshold, the PC may not need to control product 300. That is, it will not provide feedback on the temperature and download progress information received from the upgrade APK. In this way, the upgrade APK can continue its current business, such as continuing to download the upgrade package and verification file, and during the download process, it will re-acquire the current temperature and download progress information of product 300 and send this re-acquired information back to the PC.

[0602] See also Figure 30 If the problem fails, in some implementations, such as when the current temperature of product 300 exceeds the temperature threshold, the PC can send a control command to the upgrade APK, such as a command to pause the download, and information such as the pause duration, i.e., execute step S604.

[0603] S604, if the current temperature of product 300 exceeds the temperature threshold, the PC sends a pause download command to the upgrade APK of product 300 in the color box and sets the pause duration.

[0604] For example, in some implementations, the pause duration can be set according to the model of the product 300 inside the color box and the heat dissipation of the color box.

[0605] S605, the APK of product 300 in the color box responds to the pause download command, suspending the operation of receiving upgrade packages and verification files from the PC.

[0606] S606, after the pause time is reached, the upgrade APK of product 300 in the color box obtains the current temperature information of product 300 and feeds the temperature information back to the PC.

[0607] For example, in some implementations, when the upgrade APK pauses receiving upgrade packages and verification files from the PC, a timer with a duration equal to the pause duration can be started, or a timer (which stops counting after the pause duration is reached). In this way, after the pause duration is reached, the upgrade APK can re-obtain the current temperature information of product 300 from the temperature acquisition module through the monitoring thread.

[0608] S607, PC determines whether the current temperature of product 300 has dropped to within the temperature threshold based on the temperature information.

[0609] Specifically, if the temperature information returned after the APK upgrade pause determines that the current temperature of product 300 has dropped to the temperature threshold, the PC can resend the download instruction for the upgrade package to the APK, i.e., execute step S608, so that the APK can restart downloading the upgrade package and verification file. Conversely, if the temperature information returned after the APK upgrade pause determines that the current temperature of product 300 has not dropped to the temperature threshold, then product 300 is considered to have an abnormal temperature. In this case, the PC can send a factory reset instruction to product 300 inside the box, so that product 300 can perform a factory reset operation, i.e., step S609.

[0610] For example, in some implementations, if it is determined that the temperature of product 300 is abnormal, staff can also open the color box to check the condition of product 300.

[0611] S608: The upgrade APK of product 300 in the color box resumes downloading the upgrade package and verification file sent by the PC from the point of interruption. During the process of receiving the upgrade package and verification file, the current temperature information and download progress information of product 300 are obtained and fed back to the PC.

[0612] For example, in some implementations, when the upgrade APK responds to a pause command and suspends the download of the upgrade package and verification file from the PC, breakpoint information can be recorded in the breakpoint log file. Thus, upon receiving the download command for the upgrade package again from the PC, the upgrade APK can resume downloading the upgrade package and verification file from the point of interruption (the point where download was paused) based on the breakpoint information recorded in the breakpoint log file.

[0613] Understandably, the breakpoint information is the position where the download continues after receiving the download upgrade package instruction from the PC again.

[0614] See also Figure 30 For example, during the continuous download of the upgrade package and verification file, the monitoring thread started by the upgrade APK will continue to obtain the current temperature information and download progress information of the product 300, and feed back the obtained temperature information and download progress information to the PC.

[0615] Accordingly, after receiving the temperature and download progress information from the upgrade APK, the PC can further determine the upgrade package download progress based on the current product temperature. Specific implementation details can be found in steps S602 and S603, and will not be elaborated upon here.

[0616] S609, perform a factory reset operation on product 300 inside the color box.

[0617] For detailed instructions on how to perform a factory reset, please refer to [link / reference]. Figure 25 The description of the illustrated embodiment will not be repeated here.

[0618] Furthermore, understandably, the monitoring and control methods for the product temperature inside the color box during the download of the upgrade package, using the first upgrade method, are consistent with... Figure 30 The second upgrade method used in the illustrated embodiment is similar, except that in the first upgrade method, the OUC APK interacts with the PC to achieve temperature monitoring and control. For details regarding the first upgrade method, including the monitoring and control of the product temperature inside the color box during the upgrade package download process, please refer to [link to relevant documentation]. Figure 30 The description of the illustrated embodiment will not be repeated here.

[0619] Therefore, by understanding the temperature changes of the product 300 inside the color box during the power replenishment and / or upgrade process, and controlling the power replenishment and / or upgrade operation according to the temperature changes, the damage to the product 300 and the color box caused by excessively high temperature inside the color box can be effectively avoided.

[0620] Furthermore, it is understood that the PC, or the power-up device, or the product within the packaging, or the power-off state detection device, in order to achieve the above functions, includes hardware and / or software modules corresponding to the execution of each function. Based on the algorithmic steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or software-driven manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0621] In addition, this application embodiment also provides a computer-readable storage medium storing computer instructions. When the computer instructions are run on a PC, a power-up device, a product inside a color box, or a power-off state detection device, these devices execute the above-mentioned related method steps to implement the box-free power-up method in the above embodiment.

[0622] In addition, this application also provides a computer program product that, when running on a PC, a power-up device, a product inside a color box, or a power-off state detection device, causes these devices to perform the above-mentioned related steps to realize the power-up method without disassembling the box in the above embodiments.

[0623] In addition, embodiments of this application also provide a chip (which may also be a component or module), which may include one or more processing circuits and one or more transceiver pins; wherein the transceiver pins and the processing circuits communicate with each other through internal connection paths, and the processing circuits execute the above-mentioned related method steps to implement the non-disassembly power-up upgrade method in the above embodiments, so as to control the receiving pin to receive signals and control the transmitting pin to transmit signals.

[0624] Understandably, the aforementioned chip may be, for example, the main control chip in a PC, and / or the main control chip in a power-up device, and / or the main control chip in a power-off detection device, and / or the main control chip in a product inside a color box.

[0625] Furthermore, as can be seen from the above description, the PC, or power-up device, or product in the color box, or power-off state detection device, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0626] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A power-off state detection device, characterized in that, include: Second main control chip, color box fixing module, distance adjustment module, in-situ detection module, detection instrument; The color box fixing module is used to fix the color box, and the color box contains a terminal device; The distance adjustment module is used to adjust the distance between the detection instrument and the color box fixed on the color box fixing module; The in-situ detection module is used to interact with the color box fixing module and the distance adjustment module to generate color box in-situ information and detection instrument in-situ information. The color box in-situ information is used to indicate whether the color box fixing module has fixed the color box, and the detection instrument in-situ information is used to indicate whether the detection instrument has been placed on the distance adjustment module. The second main control chip is used to interact with the in-situ detection module to obtain the in-situ information of the color box and the in-situ information of the detection instrument. When the in-situ information of the color box indicates that the color box fixing module has fixed the color box, and the in-situ information of the detection instrument indicates that the detection instrument has been placed on the distance adjustment module, the chip controls the distance adjustment module to adjust the distance between the detection instrument and the color box fixed on the color box fixing module. The chip also controls the detection instrument to perform data sampling and sends the collected detection data to the host computer. The detection data includes magnetic induction intensity data and / or NFC data. The number of times the magnetic induction intensity data and / or the NFC data are received is used to indicate the status of the terminal device.

2. The apparatus according to claim 1, characterized in that, The power-off state detection device further includes: a base; The base includes a top plate, a bottom plate, and a hollow frame; The second main control chip and the in-situ detection module are located inside the base; The color box fixing module is disposed on the top plate, and the distance adjustment module is disposed on the top plate in the area where the color box fixing module is located.

3. The apparatus according to claim 2, characterized in that, The color box fixing module includes a third positioning block and a fourth positioning block; The third positioning block is used to adjust its position in the X-axis direction through a hole opened in the X-axis direction; The fourth positioning block is used to adjust its position in the Y-axis direction through the hole opened in the Y-axis direction; Specifically, by adjusting the position of the third positioning block on the X-axis and the position of the fourth positioning block on the Y-axis, color boxes of different sizes are fixed on the power-off state detection device.

4. The apparatus according to claim 2, characterized in that, The distance adjustment module includes a first support component, a second support component, a first sliding component, a second sliding component, a first telescopic component, a second telescopic component, a hollow instrument placement frame, and a cylinder; The first support component and the second support component are disposed opposite to each other on the upper and lower edges of the position where the color box fixing module is located on the top plate; The first sliding component is fixed to the top plate via the first supporting component; The second sliding component is fixed to the top plate via the second support component; The upper edge of the instrument placement frame has a first hole corresponding to the first sliding component, and the lower edge of the instrument placement frame has a second hole corresponding to the second sliding component. The instrument placement frame is used to place the detection instrument and is fixed to the first sliding component and the second sliding component through the first hole and the second hole; The first telescopic component is disposed on the first sliding component, and the second telescopic component is disposed on the second sliding component; The cylinder is located inside the base and is used to control the state of the first telescopic component and the second telescopic component, thereby driving the instrument placement frame to move up and down along the first sliding component and the second sliding component.

5. The apparatus according to claim 2, characterized in that, The power-off state detection device further includes: a test indicator light, which is disposed on the frame; The second main control chip is also used to receive the test results sent by the host computer and control the test indicator to display the test results, wherein the test results are the status of the terminal device determined by the host computer based on the detection data.

6. The apparatus according to claim 5, characterized in that, The test indicator light includes a first test indicator light and a second test indicator light; In the event that the second main control chip does not receive the detection result, both the first test indicator and the second test indicator are turned off. When the second main control chip receives the detection result and the test result indicates that the terminal device is in a powered-off state, the second main control chip controls the first test indicator light to switch from the off state to the on state; When the second main control chip receives the detection result and the test result indicates that the terminal device is not in the power-off state, the second main control chip controls the second test indicator light to switch from the off state to the on state.

7. The apparatus according to claim 6, characterized in that, The test indicator light also includes a third test indicator light; Wherein, if the second main control chip does not obtain the color box presence information and the detection instrument presence information, the third test indication is in the off state; When the second main control chip obtains the information on the location of the color box and the information on the location of the detection instrument, and the information on the location of the color box indicates that the color box fixing module has fixed the color box, and the information on the location of the detection instrument indicates that the detection instrument has been placed on the distance adjustment module, the second main control chip controls the third test indicator to switch from the off state to the on state.

8. The apparatus according to claim 7, characterized in that, The power-off state detection device also includes a control button, which is disposed on the frame. The control button is used to trigger a power-off status detection operation on the terminal device or pause the power-off status detection operation in response to a user's press when the third test indicator light is in the lit state.

9. The apparatus according to claim 2, characterized in that, The power-off state detection device further includes a display module, which is disposed on the frame; The display module is used to display the detection mode, which includes an automatic mode and a manual mode; When the user selects the automatic mode, the second main control chip actively sends an on-site detection command to the on-site detection module, so that the on-site detection module interacts with the color box fixing module and the distance adjustment module to generate the color box on-site information and the detection instrument on-site information; When the user selects the manual mode, after receiving the presence detection command issued by the host computer, the second main control chip controls the presence detection module to interact with the color box fixing module and the distance adjustment module to generate the color box presence information and the detection instrument presence information.

10. A method for detecting the power-off state without disassembling the box, characterized in that, Applied to a host computer and the power-off state detection device as described in claims 1 to 9, wherein the host computer and the power-off state detection device are communicatively connected, the power-off state detection method without disassembling the box includes: The power-off state detection device responds to the presence detection command to determine whether the color box and the detection instrument are in place. The color box contains a terminal device, which is placed inside the color box with its back cover facing the box cover and its screen away from the box cover. If the color box and the detection instrument are confirmed to be in place, the power-off state detection device sends an on-state command to the host computer. After receiving the in-situ instruction, the host computer sends a data acquisition instruction to the power-off state detection device. After receiving the acquisition command, the power-off state detection device controls the detection instrument to sample data and sends the collected detection data to the host computer. The detection data includes magnetic induction intensity data and / or NFC data. The number of times the magnetic induction intensity data and / or the NFC data are received is used to indicate the status of the terminal device. The host computer determines the status of the terminal device based on the detection data, and sends a test light illumination command to the power-off status detection device based on the determined status information. After receiving the test light illumination command, the power-off state detection device illuminates the corresponding test indicator light according to the test light illumination command.

11. The method according to claim 10, characterized in that, After receiving the in-situ instruction, the host computer sends a data acquisition instruction to the power-off state detection device, including: After receiving the in-situ instruction, the host computer sends the acquisition instruction to the power-off state detection device after a first time interval.

12. The method according to claim 11, characterized in that, After receiving the in-situ instruction, the host computer sends a data acquisition instruction to the power-off state detection device, including: After receiving the in-place instruction, the host computer sends a first acquisition instruction and / or a second acquisition instruction to the power-off state detection device. Wherein, the first acquisition command is used to instruct the power-off state detection device to control the electromagnetic detection instrument to acquire magnetic induction intensity data, and the second acquisition command is used to instruct the power-off state detection device to control the NFC detection instrument to acquire NFC data.

13. The method according to claim 12, characterized in that, After receiving the acquisition command, the power-off state detection device controls the detection instrument to sample data and sends the collected detection data to the host computer, including: When the acquisition instruction includes the first acquisition instruction, the power-off state detection device controls the electromagnetic detection instrument to acquire the magnetic induction intensity data and sends the acquired magnetic induction intensity data to the host computer; When the acquisition instruction includes the second acquisition instruction, the power-off state detection device controls the NFC detection instrument to acquire NFC data and sends the acquired NFC data to the host computer; When the acquisition command includes the first acquisition command and the second acquisition command, the power-off state detection device controls the electromagnetic detection instrument to acquire the magnetic induction intensity data, controls the NFC detection instrument to acquire NFC data, and sends the acquired magnetic induction intensity data and the NFC data to the host computer.

14. The method according to claim 13, characterized in that, The host computer determines the status of the terminal device based on the detection data, including: When the detection data includes the magnetic induction intensity data, the host computer determines whether the magnetic induction intensity data matches the magnetic induction intensity threshold, which is the magnetic induction intensity corresponding to the terminal device in the power-off state. If the magnetic induction intensity data matches the magnetic induction intensity threshold, the host computer determines that the terminal device is in a powered-off state. Otherwise, the host computer determines that the terminal device is not in the power-off state.

15. The method according to claim 13, characterized in that, The host computer determines the status of the terminal device based on the detection data, including: When the detection data includes the NFC data, the host computer determines whether the number of times the NFC data is received is equal to a preset number of NFC counts, where the preset number of NFC counts is the number of times the terminal device recognizes NFC from the time the factory reset operation is triggered to the last power-off. If the number of times the NFC data is received is equal to the preset number of NFC data receptions, the host computer determines that the terminal device is in a powered-off state. Otherwise, the host computer determines that the terminal device is not in the power-off state.

16. The method according to claim 13, characterized in that, The host computer determines the status of the terminal device based on the detection data, including: When the detection data includes the magnetic induction intensity data and the NFC data, the host computer determines whether the magnetic induction intensity data matches the magnetic induction intensity threshold and whether the number of times the NFC data is received is equal to the preset number of NFCs. The magnetic induction intensity threshold is the magnetic induction intensity corresponding to the terminal device in the power-off state, and the preset number of NFCs is the number of times the terminal device recognizes NFC from the time the factory reset operation is triggered to the last power-off. If the magnetic induction intensity data matches the magnetic induction intensity threshold, and the number of times the NFC data is received is equal to the preset number of NFC calls, the host computer determines that the terminal device is in a powered-off state. Otherwise, the host computer determines that the terminal device is not in the power-off state.

17. The method according to claim 15 or 16, characterized in that, The preset NFC count is 3.

18. The method according to any one of claims 14 to 16, characterized in that, The host computer, based on the determined status information, sends a test light illumination command to the power-off status detection device, including: When it is determined that the terminal device is in the power-off state, the host computer sends a first instruction to the power-off state detection device; If the host computer determines that the terminal device is not in the power-off state, the host computer sends a second instruction to the power-off state detection device.

19. The method according to claim 18, characterized in that, After receiving the test light illumination command, the power-off state detection device illuminates the corresponding test indicator light according to the test light illumination command, including: Upon receiving the first instruction, the power-off state detection device controls the first test indicator light to switch from an off state to an on state. Upon receiving the second instruction, the power-off state detection device controls the second test indicator light to switch from the off state to the on state.

20. The method according to claim 10, characterized in that, The in-situ detection command comes from the host computer, or is generated when the user selects the automatic mode.

21. The method according to claim 10, characterized in that, The power-off state detection device responds to the presence detection command to determine whether the color box and the detection instrument are in place, including: The power-off state detection device responds to the in-situ detection command and acquires the color box in-situ information and the detection instrument in-situ information. The color box in-situ information is used to indicate whether the color box fixing module has fixed the color box, and the detection instrument in-situ information is used to indicate whether the detection instrument has been placed on the distance adjustment module. If the color box presence information indicates that the color box fixing module has fixed the color box, and the detection instrument presence information indicates that the detection instrument has been placed on the distance adjustment module, then the color box and the detection instrument are determined to be in place.

22. A computer-readable storage medium, characterized in that, The device includes a computer program that, when run on the power-off state detection device as described in any one of claims 1 to 9, causes the power-off state detection device to perform the power-off state detection method without disassembling the box as described in any one of claims 10 to 21.