Parameter update method, electronic device, and related apparatus

By using cloud storage and signature verification, secure and efficient parameter updates are achieved when replacing the motherboard or sub-board in electronic devices, solving the problem of users having difficulty updating themselves and improving the user experience.

WO2026056613A1PCT designated stage Publication Date: 2026-03-19HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-08-13
Publication Date
2026-03-19

AI Technical Summary

Technical Problem

When replacing the motherboard or sub-board after an electronic device is sold, current technology requires writing the parameters of the components in the sub-board into the motherboard's memory. However, users cannot do this themselves and must mail the device back to the manufacturer for processing, resulting in a poor user experience.

Method used

By using cloud storage and signature verification, the parameter update device can write the parameters to a temporary storage location without direct access to the motherboard memory. After the electronic device verifies the signature, it writes the parameters to the official storage location, thus achieving secure and efficient parameter updates.

Benefits of technology

There's no need to mail electronic devices back to the manufacturer for processing, which improves the efficiency of parameter updates and user experience, ensures parameter security, and prevents malicious tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025114477_19032026_PF_FP_ABST
    Figure CN2025114477_19032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a parameter update method, an electronic device, and a related apparatus. In the method, a cloud can correspondingly store a first parameter of a first component and an identifier of the first component, and the cloud can compile and sign the first parameter, thereby improving the security of the first parameter, and preventing the first parameter from being tampered with and attacked. When a main board and / or a sub-board are replaced for the electronic device, a parameter update device can request the first parameter from the cloud; the parameter update device receives a data packet from the cloud, and can verify signature information; and if the verification of the signature information is successful, the parameter update device can write the first parameter into a first storage location by means of the electronic device, so as to implement parameter updating. In the present application, by means of a method for verifying the security of a first parameter, a parameter update device can quickly update the first parameter of a main board in an electronic device, and there is no need to mail the electronic device back to a manufacturer for processing, thereby improving the parameter update efficiency and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Parameter updating method, electronic device, and related apparatus

[0001] This application claims priority to the Chinese patent application No. 202411284857.0, filed on September 12, 2024, and entitled “Parameter updating method, electronic device, and related apparatus”, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the technical field of terminal, and in particular, to a parameter updating method, an electronic device, and related apparatus. BACKGROUND

[0003] With the increasing richness of functions of electronic devices, in addition to the mainboard, a subboard can also be deployed in the electronic device to reduce the components carried on the mainboard. For example, a system on chip (SoC) and a memory can be deployed on the mainboard, and a radio frequency front end, a camera, audio, or a motor can be deployed on the subboard.

[0004] In the production stage of the electronic device, a factory version of an operating system is loaded in the electronic device, and the factory version of the operating system allows a device with access permission to access a first storage location of a memory in the mainboard, and the first storage location is used to store parameters of components in the subboard. The production device has the access permission, and the production device can write the parameters of the components in the subboard into the first storage location of the memory.

[0005] After the electronic device is sold, if the mainboard and / or the subboard of the electronic device is replaced, the parameters of the components in the subboard need to be written into the memory of the mainboard again to ensure the normal operation of the electronic device. However, after the electronic device is sold, the version of the operating system loaded in the electronic device does not open an interface to enable access to the first storage location of the mainboard, and currently, the user needs to mail the electronic device back to the manufacturer for processing, which is poor in user experience. SUMMARY

[0006] Embodiments of the present application provide a parameter updating method, an electronic device, and related apparatus, which can improve the updating efficiency of parameters and improve user experience in the scenario of replacing the mainboard and / or the subboard of the electronic device.

[0007] In a first aspect, embodiments of the present application provide a parameter updating method, which is applied to a parameter updating device. The execution subject of the parameter updating method can be the parameter updating device or a chip in the parameter updating device, and the following takes the parameter updating device as an example. In the method, the parameter updating device is used to update parameters of an electronic device, wherein the electronic device includes a mainboard and a subboard, and the subboard includes a first component. In a possible implementation manner, no memory is deployed on the subboard, and a memory is deployed on the mainboard.

[0008] In the method, in a case where the first storage position of the main board does not store the parameter, the parameter updating device can send a first request to the cloud, and the first request is used to request the first parameter of the first component. In the present application, in a production stage of the electronic device, the main board and the auxiliary board of the electronic device are produced separately, and after the production of the auxiliary board is completed, because no memory is deployed in the auxiliary board, the production device of the auxiliary board can upload the parameter of the first component on the auxiliary board to the cloud, and the cloud can store the identifier of the first component and the parameter of the first component correspondingly. In response to the first request, the cloud can feed back the parameter of the first component, i.e., the first parameter, to the parameter updating device.

[0009] In the present application, the cloud can compile the first parameter to obtain an initial data packet. The compiled data is not easy to be reverse-engineered, so on one hand, compiling the first parameter can improve the security of the first parameter, and on the other hand, the compiled first parameter can also be verified through digital signature and the like, so as to ensure that the first parameter is not tampered with and malicious attacks are avoided, and thus the security of the first parameter can be further improved. In addition, the cloud can sign the initial data packet to obtain a data packet, and the signature is also used to improve the security of the data packet. In a possible implementation manner, in response to the first request, the cloud can feed back the data packet to the parameter updating device, and the data packet includes the first parameter and signature information. The parameter updating device can verify the signature information, and in a case where the signature information is verified successfully, the parameter updating device can write the first parameter into the first storage position.

[0010] In the example, because the first storage position of the main board does not store the parameter, it can be understood as a scenario of replacing the main board of the electronic device, and after the main board of the electronic device is replaced, the parameter of the first component has not been written into the main board. Exemplarily, the main board is a first main board after replacement.

[0011] In the present application, the cloud can store the first parameter of the first component and the identifier of the first component correspondingly, and the cloud can compile and sign the first parameter to improve the security of the first parameter and avoid tampering and attacks on the first parameter. When the parameter updating device requests the first parameter, the parameter updating device can receive the data packet from the cloud, and after the parameter updating device receives the data packet from the cloud, the parameter updating device can also verify the signature information, and in a case where the signature information is verified successfully, the parameter updating device can write the first parameter into the first storage position through the electronic device, so as to realize the updating of the parameter. Through the method of verifying the security of the first parameter, in use of the electronic device, the parameter updating device can quickly update the first parameter of the main board of the electronic device, without the need for the user to mail the electronic device back to the factory for processing, so that the parameter updating efficiency is improved and the user experience is improved.

[0012] In a possible implementation, in the scenario of replacing the secondary board of the electronic device, the parameter of the first component in the secondary board before replacement is stored in the main board, which does not match the parameter of the first component in the new secondary board, and thus affects the normal operation of the electronic device. Therefore, the parameter of the first component in the new secondary board also needs to be written into the storage of the main board. For example, the secondary board in the electronic device is the first secondary board after replacement, and the secondary board before replacement is the second secondary board.

[0013] In this implementation, when the parameter is stored in the first storage location, the parameter updating device can obtain a first identifier corresponding to the parameter, the first identifier being an identifier of the component corresponding to the parameter. The parameter and the first identifier stored in the first storage location both correspond to the first component on the second secondary board, that is, the parameter stored in the first storage location is the parameter of the first component on the second secondary board, and the first identifier is the identifier of the first component on the second secondary board. In this implementation, when the first identifier is different from a second identifier of the first component, the parameter updating device sends a first request to the cloud, where the second identifier of the first component is the identifier of the first component on the first secondary board. When the first identifier is different from the second identifier of the first component, the parameter updating device can determine that the parameter stored in the first storage location of the main board is not the parameter of the first component on the first secondary board, and thus the parameter updating device can request the identifier of the first component on the first secondary board from the cloud.

[0014] Correspondingly, the cloud can feed back a data packet to the parameter updating device, and the parameter updating device can verify the signature information. When the signature information is verified, the parameter updating device can replace the parameter in the first storage location with the first parameter, that is, the parameter updating device updates the parameter in the first storage location.

[0015] In this implementation, in the scenario of replacing the secondary board of the electronic device, the parameter updating device can also efficiently and safely update the parameter in the first storage location, and the beneficial effects can be referred to the related description above.

[0016] In a possible implementation, after the electronic device is sold, the version of the operating system loaded in the electronic device does not open the related interface to enable access to the first storage location of the storage, and the parameter updating device does not have the permission to access the first storage location. Therefore, the parameter updating device cannot directly write the parameter of the first component into the first storage location. However, the parameter updating device has a normal access permission, and the parameter updating device can access the temporary storage location of the storage. In some embodiments, the access permission configured for the temporary storage location in the storage is lower than the access permission configured for the first storage location.

[0017] In the implementation, the signature information includes the ciphertext corresponding to the key and the first parameter. After receiving the data packet, the parameter updating device can first write the first parameter into the temporary storage location of the mainboard, and send the key and the ciphertext to the electronic device, where the key and the ciphertext are used by the electronic device to verify the signature information. In this example, the electronic device can verify the signature information according to the key and the ciphertext, and in the case where the signature information is verified, the parameter updating device can write the first parameter in the temporary storage location into the first storage location through the electronic device. In other words, in the case where the electronic device verifies the signature information, the electronic device can write the first parameter in the temporary storage location into the first storage location.

[0018] In the implementation, in the case where the parameter updating device does not have the access right to the first storage location, the parameter updating device can first write the first parameter into the temporary storage location of the mainboard, and the electronic device verifies the signature information, and in the case where the signature information is verified, the electronic device can write the first parameter in the temporary storage location into the first storage location. In the implementation, in the case where the parameter updating device does not have the access right to the first storage location, the parameter updating device can also update the parameter.

[0019] In a possible implementation, the first request includes the second identifier of the first component. The method further includes: in the case where the parameter updating device has the access right, the parameter updating device can obtain the second identifier of the first component from the electronic device.

[0020] In the implementation, in order to ensure the security of the parameter updating device and avoid the problem that a malicious device interacts with the electronic device to write malicious parameters in the electronic device, the electronic device can verify the parameter updating device, and in the case where the parameter updating device is verified, the parameter updating device and the electronic device perform subsequent interaction, which can ensure the security of the parameter updating device and the security of the subsequent first parameter.

[0021] In a possible implementation, the first parameter is obtained by calibrating the first component in the production stage of the electronic device and uploaded to the cloud.

[0022] In a possible implementation, the first component is a radio frequency front end, and the first parameter is a radio frequency calibration parameter.

[0023] In a possible implementation, the first component is a radio frequency front end, and the first parameter is a radio frequency calibration parameter.

[0024] In a possible implementation, the method further includes: receiving, by the cloud, the first parameter and a second identifier from the sub-board production device, the second identifier being an identifier of the first component. The cloud can compile the first parameter to obtain an initial data packet, and sign the initial data packet to obtain a data packet. The cloud can store the second identifier and the data packet correspondingly.

[0025] In a possible implementation, the first request includes the second identifier, and before sending the data packet to the parameter updating device, the cloud further includes: determining, by the cloud, the data packet corresponding to the second identifier.

[0026] In a possible implementation, the first component is a radio frequency front end, and the first parameter is a radio frequency calibration parameter.

[0027] In a third aspect, an embodiment of the present application provides an electronic device, which can be the parameter updating device of the first aspect or the cloud of the second aspect. The electronic device can include a processor and a memory. The memory is configured to store code instructions, and the processor is configured to execute the code instructions to perform the method described in the first aspect or any possible implementation of the first aspect, and the second aspect or any possible implementation of the second aspect.

[0028] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program or instructions. When the computer program or instructions are executed on a computer, the computer is caused to perform the method described in the first aspect or any possible implementation of the first aspect, and the second aspect or any possible implementation of the second aspect.

[0029] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program is executed on a computer, the computer is caused to perform the method described in the first aspect or any possible implementation of the first aspect, and the second aspect or any possible implementation of the second aspect.

[0030] In a sixth aspect, the present application provides a chip or a chip system, which includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected through a line. The at least one processor is configured to execute a computer program or instructions to perform the method described in the first aspect or any possible implementation of the first aspect, and the second aspect or any possible implementation of the second aspect. The communication interface in the chip can be an input / output interface, a pin or a circuit, etc.

[0031] In a possible implementation, the chip or the chip system described above in the present application further includes at least one memory in which instructions are stored. The memory can be a storage unit inside the chip, for example, a register, a cache, etc., or a storage unit of the chip (for example, a read-only memory, a random access memory, etc.).

[0032] It should be understood that the second aspect to the sixth aspect of the present application correspond to the technical solution of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation manner are similar, which will not be repeated. BRIEF DESCRIPTION OF DRAWINGS

[0033] FIG. 1 is a structural schematic diagram of an electronic device;

[0034] FIG. 2 is another structural schematic diagram of an electronic device to which embodiments of the present application are applicable;

[0035] FIG. 3 is a structural schematic diagram of an electronic device to which embodiments of the present application are applicable;

[0036] FIG. 4 is a flow schematic diagram of a production stage of an electronic device;

[0037] FIG. 5 is a schematic diagram of writing parameters in a memory at a production stage of an electronic device;

[0038] FIG. 6 is a flow schematic diagram of an embodiment of a parameter updating method provided by embodiments of the present application;

[0039] FIG. 7 is a schematic diagram of replacing a mainboard and / or a subboard of an electronic device provided by embodiments of the present application;

[0040] FIG. 8 is a schematic diagram of writing parameters in a memory provided by embodiments of the present application;

[0041] FIG. 9 is another schematic diagram of writing parameters in a memory provided by embodiments of the present application;

[0042] FIG. 10 is a flow schematic diagram of processing a first parameter in a cloud provided by embodiments of the present application;

[0043] FIG. 11 is another schematic diagram of writing parameters in a memory provided by embodiments of the present application. DETAILED DESCRIPTION

[0044] For the convenience of understanding, the related terms and concepts involved in the embodiments of the present application will be introduced first as follows:

[0045] 1、Main board: The main board in the embodiments of the present application can be used to deploy the core components of the electronic device. For example, the system on chip (SoC) and the memory of the electronic device can be deployed on the main board. The SoC can include a processor, which can include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), an image signal processor (ISP), a video codec, a digital signal processor (DSP), a baseband processor, a display processing unit (DPU), and / or a neural-network processing unit (NPU), etc. The memory can include a non-volatile memory such as a Flash, etc.

[0046] In some embodiments, the main board is also used to provide interfaces and slots to enable other components to interact with the components on the main board to realize the functions of the electronic device.

[0047] 2、Sub-board: The sub-board in the embodiments of the present application can be used to deploy components for enhanced or extended functions of the electronic device. In some embodiments, at least one of the following components can be deployed on the sub-board: a radio frequency front end, a camera, audio, a motor, etc.

[0048] In some embodiments, the main board and the sub-board can both be printed circuit boards (PCBs).

[0049] 3、Electronic device

[0050] The electronic device in the embodiments of the present application is an electronic device in which a main board and a sub-board are deployed, wherein the main board is deployed with a memory, and the sub-board is not deployed with a memory. The electronic device can be referred to as a user equipment (UE), a terminal, etc. For example, the electronic device can be a mobile phone, a tablet, a personal digital assistant (PDA), a handheld device with a wireless communication function, a computing device, a vehicle-mounted device, or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in a smart home, etc. The form of the electronic device is not limited in the embodiments of the present application.

[0051] Taking the electronic device as a folding screen device as an example, the folding screen device includes at least one folding shaft, and the folding screen device can be folded and unfolded based on the at least one folding shaft. Wherein, the folding manner of the folding screen device can include at least one of the following: up-down folding, left-right folding, and folding in any direction. Taking the folding screen device including one folding shaft and the folding manner of the folding screen device being left-right folding as an example, referring to FIG. 1, the folding screen device 10 includes two foldable parts, which are foldable part 11 and foldable part 12, respectively. The foldable part 11 and the foldable part 12 can be folded and unfolded based on the folding shaft 13.

[0052] In some embodiments, the main board 14 can be arranged in the foldable part 11, and the sub-board 15 can be arranged in the foldable part 12. Wherein, the SoC, the radio frequency front end, the memory, and the antenna, etc. can be deployed on the main board 14. With the increase of communication frequency bands, in order to reduce the bearing pressure of the main board 14, the antennas of part of the frequency bands can be deployed on the sub-board 15. However, with the increase of subsequent communication frequency bands, the space for bearing the antennas on the main board 14 is less and less. In order to improve the performance of the electronic device, more and more antennas of the frequency bands can be deployed on the sub-board 15. In this scenario, the radio frequency front end is deployed on the main board 14, and the antennas deployed on the sub-board 15 can be connected with the radio frequency front end through the flexible printed circuit (FPC). In this scenario, the antennas of part of the frequency bands are deployed on the sub-board 15, and most of the components in the electronic device are stacked and deployed on the main board 14, which can cause the thickness of the foldable part 12 to be large, and the heat dissipation to be poor, etc.

[0053] To reduce the thickness of the foldable portion 12 and solve the heat dissipation problem of the components in the foldable portion 12, some of the components disposed on the main board 14 can be disposed on the secondary board 15. In some embodiments, the radio frequency front end can be disposed on the secondary board 15, and the components disposed on the main board 14 can be reduced, so that the thickness of the foldable portion 12 can be reduced, and the heat dissipation of the components in the foldable portion 12 can be accelerated. In this example, referring to FIG. 2, the SoC and the memory are disposed on the main board 14, and the radio frequency front end and the antenna are disposed on the secondary board 15. The SoC on the main board 14 can be connected to the radio frequency front end on the secondary board 15 through the FPC.

[0054] In the production process of the electronic device, the production equipment can calibrate the radio frequency front end to obtain the calibration parameters of the radio frequency front end. When the radio frequency front end is disposed on the main board 14, after the production equipment obtains the calibration parameters of the radio frequency front end, the calibration parameters of the radio frequency front end can be written into the memory of the main board 14.

[0055] When the radio frequency front end is disposed on the secondary board 15, because the main board 14 and the secondary board 15 are produced separately, when the secondary board 15 is produced, the production equipment can calibrate the radio frequency front end on the secondary board 15 to obtain the calibration parameters of the radio frequency front end. However, because the main board 14 and the secondary board 15 are produced separately, and the secondary board 15 does not dispose a memory, the secondary board 15 cannot store the calibration parameters of the radio frequency front end. In some embodiments, after the production equipment obtains the calibration parameters of the radio frequency front end on the secondary board 15, the calibration parameters of the radio frequency front end can be uploaded to the cloud to store the calibration parameters of the radio frequency front end. When the main board 14 is produced, and after the main board 14 is assembled with the secondary board 15, the production equipment can obtain the calibration parameters of the radio frequency front end on the secondary board 15 from the cloud, and write the calibration parameters of the radio frequency front end into the memory of the main board 14.

[0056] In some embodiments, the calibration parameters of the radio frequency front end can include the calibration parameters of each component in the radio frequency front end. For example, the calibration parameters of the radio frequency front end can include the calibration parameters of the frequency synthesizer, the calibration parameters of the receiver, the calibration parameters of the transmitter, and the calibration parameters of the analog to digital converter (ADC). The calibration parameters of these components in the radio frequency front end collectively ensure that the radio frequency performance of the electronic device meets the standard requirements. In some embodiments, the calibration parameters of the radio frequency front end can be referred to as radio frequency calibration parameters.

[0057] FIG. 3 is a structural schematic diagram of an electronic device to which embodiments of the present application are applicable. Referring to FIG. 3, the electronic device 30 includes a main board 31 and a sub-board 32. In some embodiments, the electronic device 30 can be a foldable-screen device, and the main board 31 and the sub-board 32 can be disposed in different foldable parts of the foldable-screen device. In some embodiments, the electronic device 30 can be a non-foldable-screen device, and the main board 31 and the sub-board 32 can be disposed in different positions of the electronic device. The non-foldable-screen device can also be understood as a non-foldable device.

[0058] Referring to FIG. 3, the main board 31 can include a SoC and a memory. The sub-board 32 can include a first component. The first component can include at least one of a radio frequency front end, a camera, audio, a motor, and the like.

[0059] It can be understood that when the first component is a radio frequency front end, the sub-board 32 can further include an antenna, as shown in FIG. 2. It can be understood that other components can also be disposed on the main board 31 and the sub-board 32, and the present application does not limit this. The structure of the electronic device shown in FIG. 3 is the component involved in the parameter updating method provided by the embodiments of the present application, and the structure of the electronic device shown in FIG. 3 does not limit the structure of the electronic device.

[0060] In some embodiments, a larger number of sub-boards can also be disposed in the electronic device, and each sub-board can carry at least one component. The updating of the parameters of the components in each sub-board in this example can also be applicable to the parameter updating method in the present application, and can refer to the description in the following embodiments. For example, the electronic device can include a main board, a sub-board 1, and a sub-board 2. The main board can be disposed with a SoC and a memory, the sub-board 1 can be disposed with a radio frequency front end and an antenna, and the sub-board 2 can be disposed with a camera. The updating of the parameters of the radio frequency front end on the sub-board 1 and the updating of the parameters of the camera can be applicable to the parameter updating method in the present application.

[0061] The parameter updating method provided by the embodiments of the present application will be introduced below in combination with the structure of the electronic device shown in FIG. 3:

[0062] 1. Production stage of the electronic device

[0063] In the embodiments of the present application, the main board and the sub-board of the electronic device are produced separately. Referring to FIG. 4, after the sub-board is produced, the sub-board production device can obtain the parameters of the first component on the sub-board.

[0064] In some embodiments, the sub-board production device can calibrate the first component to obtain the calibration parameters of the first component. The parameters of the first component include the calibration parameters of the first component.

[0065] Exemplarily, when the first component comprises a radio frequency front end, the calibration parameters of the radio frequency front end can comprise, but are not limited to, calibration parameters of a frequency synthesizer, calibration parameters of a receiver, calibration parameters of a transmitter, and calibration parameters of an ADC. Exemplarily, when the first component comprises a camera, the calibration parameters of the camera can comprise, but are not limited to, white balance, gain control, distortion correction, exposure parameters, focal length and focus, and the like. Exemplarily, when the first component comprises audio, the calibration parameters of the audio can comprise, but are not limited to, calibration parameters of a microphone, calibration parameters of an audio processing module, and the like. Exemplarily, when the first component comprises a motor, the calibration parameters of the motor can comprise, but are not limited to, rotation speed, torque, current, voltage, and the like.

[0066] In some embodiments, the parameters of the first component can further comprise a model of the first component, performance parameters, and working modes supported by the first component, and the like.

[0067] In some embodiments, the subboard production device can further obtain the identification of the first component. Exemplarily, the identification of the first component can comprise, but is not limited to, an identification number (ID) of the first component, a serial number, an identifier, and the like. Exemplarily, the identification of the first component can be stored in the first component, and the subboard production device can read the identification of the first component from the first component. The embodiments of the present application do not limit the way in which the subboard production device obtains the identification of the first component.

[0068] Because there is no memory deployed in the subboard, and the mainboard and the subboard are produced separately, after the subboard production device obtains the parameters of the first component and the identification of the first parameter, the subboard production device can send the parameters of the first component and the identification of the first parameter to the cloud. In response to the parameters of the first component and the identification of the first parameter from the subboard production device, the cloud can correspondingly store the parameters of the first component and the identification of the first parameter.

[0069] It can be understood that at least one subboard can be produced in the production process, and accordingly, the cloud is used to correspondingly store the parameters of the first component on at least one subboard, and the identification of the first component. Exemplarily, subboard 1, subboard 2, and subboard 3 are produced in the production process, and taking the first component as a radio frequency front end as an example, the cloud can correspondingly store the parameters of the radio frequency front end on the subboard 1 and the identification of the radio frequency front end, the parameters of the radio frequency front end on the subboard 2 and the identification of the radio frequency front end, and the parameters of the radio frequency front end on the subboard 3 and the identification of the radio frequency front end. For example, the parameters of the radio frequency front end on the subboard 1 are parameter 1, the identification of the radio frequency front end on the subboard 1 is identification 1, the parameters of the radio frequency front end on the subboard 2 are parameter 2, the identification of the radio frequency front end on the subboard 2 is identification 2, the parameters of the radio frequency front end on the subboard 3 are parameter 3, and the identification of the radio frequency front end on the subboard 3 is identification 3, and accordingly, the cloud can correspondingly store parameter 1 and identification 1, parameter 2 and identification 2, and parameter 3 and identification 3.

[0070] After the mainboard is produced, the whole machine production device can assemble the mainboard and the subboard together, and the mainboard and the subboard can be connected through the FPC. Because the operation of the electronic device needs to use the parameters of the first component on the subboard, the whole machine production device can obtain the identification of the first component on the subboard, and refer to FIG. 4, the whole machine production device can send a parameter request to the cloud. Among them, the parameter request includes the identification of the first component. Illustratively, the whole machine production device can read the identification of the first component in the first component.

[0071] Referring to FIG. 4, in response to the parameter request from the whole machine production device, the cloud can query the parameters of the first component corresponding to the identification of the first component according to the identification of the first component, and feed back the parameters of the first component to the whole machine production device. Illustratively, for example, the identification of the first component is identification 1, the cloud can query parameter 1 corresponding to identification 1, and can feed back the parameter 1 to the whole machine production device. In response to the parameters of the first component from the cloud, the whole machine production device can write the parameters of the first component to the first storage location of the memory on the mainboard. It should be understood that the first storage location is used to store the parameters of the first component.

[0072] In the production stage of the electronic device, the electronic device is loaded with a factory version of the operating system, and the factory version of the operating system allows devices with access permissions to access all locations of the memory (including the first storage location). In other words, referring to FIG. 5, the factory version of the operating system opens related interfaces to enable devices with access permissions to access the first storage location of the memory. The whole machine production device has access permissions, and illustratively, the whole machine production device is deployed with an access permission module, and the whole machine production device can write the parameters of the first component to the first storage location of the memory through the interface opened by the factory version of the operating system.

[0073] In some embodiments, the whole machine production device can also write the identification of the first component corresponding to the parameters of the first component to the first storage location of the memory. In other words, the first storage location is used to store the parameters of the first component and the identification of the first component corresponding to the parameters of the first component. Illustratively, the first storage location can correspond to the storage of parameter 1 and identification 1.

[0074] In some embodiments, after the whole machine production device writes the parameters of the first component to the first storage location of the memory on the mainboard, the whole machine production device can also use the parameters of the first component to test the electronic device.

[0075] It is conceivable that, because the factory version of the operating system opens the relevant interface, the whole production equipment can access the first storage location of the memory through the interface, that is, the channel between the whole production equipment and the memory is in an open state. In the scenario where the channel is in the open state, the whole production equipment can not only write the parameters of the first component in the first storage location, but also perform other operations that affect the normal function of the electronic device, such as writing malicious programs in the memory, artificially enabling some components of the electronic device to be in a high-load continuous operation state to cause the components to burn out, and the like, which is low in security.

[0076] 2. Use phase of the electronic device

[0077] After the production of the electronic device is completed, the electronic device can be sold to a user. In some embodiments, when the electronic device fails, the mainboard and / or the subboard of the electronic device need to be replaced. In the case of replacing the mainboard of the electronic device, because the parameters of the first component in the subboard are not written in the memory of the new mainboard, in order to ensure the normal operation of the electronic device, the parameters of the first component in the subboard need to be written in the memory of the new mainboard. In the case of replacing the subboard of the electronic device, the parameters of the first component in the mainboard are stored in the subboard before replacement, which do not match the first component in the new subboard and will affect the normal operation of the electronic device, and therefore the parameters of the first component in the new subboard also need to be written in the memory of the mainboard.

[0078] However, after the electronic device is sold, the version of the operating system loaded in the electronic device does not open the relevant interface to enable access to the first storage location of the memory, and therefore the parameters of the first component cannot be written in the first storage location of the mainboard. At present, in the scenario of replacing the mainboard and / or the subboard of the electronic device, the user needs to mail the electronic device back to the manufacturer for processing, which is poor in user experience, and therefore there is an urgent need for a method for efficiently updating the parameters of the first component.

[0079] Accordingly, an embodiment of the present application provides a parameter updating method applied to a parameter updating device. In the scenario of replacing the mainboard and / or the subboard of the electronic device, the parameter updating device can request the parameters of the first component in the subboard from the cloud. Because the cloud can store the parameters of the first component and the identifier of the first component, in order to ensure the security of the parameters of the first component, the cloud can sign the parameters of the first component. Correspondingly, the parameter updating device can first write the parameters of the first component in the temporary storage location of the memory, and the electronic device can verify the signature. In the case where the signature verification is passed, the electronic device can write the parameters of the first component in the first storage location. In this implementation manner, the parameters of the first component can be written in the first storage location, so that the electronic device does not need to be mailed back to the manufacturer for processing, and the parameter updating efficiency and user experience can be improved.

[0080] In the embodiments of the present application, the parameter updating device does not have the access right to the first storage location, and thus the parameter updating device cannot directly write the parameters of the first component into the first storage location. However, the parameter updating device has the general access right, and the parameter updating device can access the temporary storage location of the memory. In some embodiments, the access right of the temporary storage location of the memory is lower than the access right of the first storage location.

[0081] In some embodiments, the parameter updating device can be a device of a service store. For example, a user can carry an electronic device to a service store for repair, and the parameter updating device is used to update the parameters of the electronic device. In some embodiments, the parameter updating device can also be the electronic device of the user, which is used to update the parameters of the electronic device. For example, the electronic device of the user can include, but is not limited to, a tablet computer, a notebook computer, and the like. The embodiments of the present application do not limit the form of the parameter updating device.

[0082] The parameter updating method provided by the embodiments of the present application will be described below in combination with specific embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments.

[0083] FIG. 6 is a flowchart of an embodiment of the parameter updating method provided by the embodiments of the present application. It should be understood that the parameter updating method shown in FIG. 6 is the process of the parameter updating method when the electronic device is used. In the production stage of the electronic device, the related description of the above-mentioned embodiment “1, the production stage of the electronic device” can be referred to. It should be understood that the parameter updating method shown in FIG. 6 is the process after the mainboard and / or the subboard of the electronic device are replaced.

[0084] Referring to FIG. 6, the parameter updating method provided by the embodiments of the present application can include:

[0085] S601, the parameter updating device detects whether the first storage location of the mainboard stores parameters. If not, S602 is performed, and if yes, S605 is performed.

[0086] In some embodiments, the parameter updating device can establish a connection with the electronic device, and the connection mode can be wired connection or wireless connection. After the parameter updating device establishes a connection with the electronic device, the parameter updating device can send a detection request to the electronic device, and the detection request is used to request the electronic device to detect whether the first storage location of the mainboard stores parameters. The first storage location of the mainboard can be understood as the first storage location of the memory deployed on the mainboard. In response to the detection request, the electronic device can detect whether the first storage location of the mainboard stores parameters, and the electronic device can feed back the detection result to the parameter updating device. The detection result includes that the first storage location stores parameters, or the first storage location does not store parameters.

[0087] In some embodiments, in order to ensure the security of the parameter updating device, avoid the problem of writing malicious parameters in the electronic device by malicious devices interacting with the electronic device, the electronic device can verify the parameter updating device, and the parameter updating device and the electronic device perform subsequent interaction in the case that the parameter updating device passes the verification. In other words, the parameter updating device and the electronic device perform subsequent interaction in the case that the parameter updating device has access to the electronic device.

[0088] In some embodiments, because the parameter updating device is used to update the parameters of the electronic device, in order to enable the parameter updating device to have access to the electronic device, the first file can be pre-configured in the parameter updating device, and the first file is used to indicate that the parameter updating device is an authorized device that has access to the electronic device. In this example, the parameter updating device can encrypt the first file with a preset key to obtain the ciphertext of the first file. The parameter updating device can send the ciphertext of the first file to the electronic device, and the electronic device also has the preset key pre-installed. The electronic device can decrypt the ciphertext with the preset key to obtain the first file. Through the first file, the electronic device can determine that the parameter updating device has access, and then the electronic device and the parameter updating device can perform subsequent interaction.

[0089] Referring to the description of the production stage of the electronic device, after the electronic device is produced, the first storage location of the mainboard of the electronic device has already written the parameters of the first component. Wherein, when the first storage location of the mainboard does not store parameters, it can be determined that the mainboard of the electronic device is replaced, and at this time the parameters of the first component have not been written on the new mainboard.

[0090] For example, referring to a in FIG. 7, the scenario of replacing only the mainboard: the mainboard before replacement is the second mainboard, the mainboard after replacement is the first mainboard, the parameter updating device detects that the first storage location of the first mainboard (i.e. the mainboard in S601) does not store parameters, in this example, the parameters of the first component in the subboard need to be written to the first storage location of the first mainboard, and the parameter updating device can perform S602.

[0091] For example, referring to b in FIG. 7, the scenario of replacing the mainboard and the subboard: the mainboard before replacement is the second mainboard, the mainboard after replacement is the first mainboard, the subboard before replacement is the second subboard, the subboard after replacement is the first subboard, the parameter updating device detects that the first storage location of the first mainboard (i.e. the current mainboard of the electronic device) does not store parameters, in this example, the parameters of the first component in the first subboard (i.e. the current subboard of the electronic device) need to be written to the first storage location of the first mainboard, and the parameter updating device can perform S602.

[0092] When the first storage location of the mainboard stores the parameter, it indicates that the mainboard is not replaced, the subboard of the electronic device is possibly replaced, and the parameter written in the mainboard is the parameter of the first component in the subboard before replacement. For example, referring to c in FIG. 7, the scenario of replacing the subboard: the subboard before replacement is the second subboard, and the subboard after replacement is the first subboard. The parameter written in the mainboard is the parameter of the first component in the second subboard, and in this example, the parameter of the first component written in the mainboard does not match the first component in the first subboard, and the parameter of the first component in the first subboard needs to be written in the mainboard. The parameter updating device can perform S605.

[0093] In S602, the parameter updating device sends a first request to the cloud, and the first request is used to request the parameter of the first component on the subboard.

[0094] In some embodiments, the account and password can be input on the parameter updating device to enable the parameter updating device to log in the account. After the parameter updating device logs in the account, the parameter updating device can access the cloud. In response to the user inputting the account and password on the parameter updating device, the parameter updating device can transmit the credentials (such as the account and password) to the cloud. After the cloud receives the credentials, the cloud can verify the credentials. After the credentials are verified, the server generates a token, which can include the identity information and permission information of the user of the parameter updating device. In the subsequent interaction between the parameter updating device and the server, the parameter updating device can carry the token in the interaction, so that the server can determine the identity information and permission information of the user of the parameter updating device.

[0095] In the embodiments of the present application, when the first storage location of the mainboard does not store the parameter, the parameter updating device can read the identifier of the first component on the subboard and send a first request to the cloud to request the parameter of the first component on the subboard of the electronic device. The first request includes the identifier of the first component. For example, referring to a in FIG. 7, in the scenario of not replacing the subboard of the electronic device, the identifier of the first component is the identifier of the first component on the subboard (such as the second subboard). For example, referring to b in FIG. 7, in the scenario of replacing the subboard of the electronic device, the identifier of the first component is the identifier of the first component on the subboard after replacement (such as the first subboard).

[0096] In S603, in response to the first request, the cloud sends a data packet to the parameter updating device, and the data packet includes the first parameter and signature information.

[0097] In some embodiments, the cloud can correspondingly store the identifier of the first component and the parameter of the first component. In response to the first request, the cloud can query the parameter of the first component corresponding to the identifier of the first component according to the identifier of the first component. The parameter of the first component corresponding to the identifier of the first component can be taken as the first parameter. In the embodiments of the present application, the cloud can compile the first parameter to obtain the initial data packet. The compiled data is not easy to be reverse-engineered, so on the one hand, compiling the first parameter can improve the security of the first parameter, and on the other hand, the compiled first parameter can be verified through digital signature and the like, so as to ensure that the first parameter is not tampered with and malicious attacks are avoided, thereby further improving the security of the first parameter.

[0098] The specific process of signing is not described in the embodiments of the present application. The cloud signs the initial data packet to obtain a data packet. The data packet includes the first parameter and signature information. The signature information can include the public key of the cloud and the ciphertext obtained by encrypting the first parameter by using the private key of the cloud. In some embodiments, the public key of the cloud in the signature information can be referred to as the key of the cloud.

[0099] In some embodiments, in the production stage of the electronic device, after receiving the identifier of the first component and the parameter of the first component from the secondary board production device, the cloud can compile the first parameter of the first component corresponding to the identifier of the first component to obtain an initial data packet, and sign the initial data packet to obtain a data packet. The cloud can correspondingly store the identifier of the first component and the data packet.

[0100] In this example, in response to the first request, the cloud can find the data packet corresponding to the identifier of the first component, and send the data packet to the parameter updating device. In this example, the cloud can perform pre-compilation, signature and the like, so as to speed up the speed of the cloud feeding back the data packet to the parameter updating device.

[0101] S604, in the case where the signature information is verified, the parameter updating device writes the first parameter into the first storage position of the main board.

[0102] In some embodiments, in response to the data packet from the cloud, the parameter updating device can parse the data packet to obtain the first parameter and the signature information. The parameter updating device can decrypt the ciphertext by using the public key to obtain plaintext. The parameter updating device compares whether the plaintext and the first parameter are the same. In the case where the plaintext and the first parameter are the same, the parameter updating device can determine that the signature information is verified. In the case where the signature information is verified, the parameter updating device can write the first parameter into the first storage position of the main board.

[0103] In some embodiments, the parameter updating device does not have the permission to access the first storage location. With reference to FIG. 8, the parameter updating device can write the first parameter into a temporary storage location of the mainboard. In this example, the parameter updating device can also send the signature information to the electronic device. The temporary storage location of the mainboard can be a temporary storage location of a memory on the mainboard.

[0104] In this example, after the parameter updating device writes the first parameter into the temporary storage location of the mainboard, the electronic device can decrypt the ciphertext using the public key to obtain the plaintext. The electronic device compares the plaintext with the first parameter to determine whether they are the same. If the plaintext and the first parameter are the same, the electronic device can determine that the signature information is verified. If the signature information is verified, the electronic device can write the first parameter in the temporary storage location into the first storage location of the mainboard. The electronic device can copy the first parameter in the temporary storage location, write the first parameter into the first storage location of the mainboard, and delete the first parameter in the temporary storage location.

[0105] S605, the parameter updating device obtains a first identifier corresponding to the parameter stored in the first storage location.

[0106] With reference to the description in the above embodiments, the first storage location is used to store not only the parameter of the first component but also the identifier of the first component corresponding to the parameter. In the case where the parameter is stored in the first storage location, the parameter updating device obtains the first identifier corresponding to the parameter stored in the first storage location.

[0107] S606, in the case where the first identifier is different from a second identifier of the first component, a first request is sent to the cloud.

[0108] In the embodiments of the present application, the parameter updating device reads the second identifier of the first component on the secondary board, and the parameter updating device compares the first identifier with the second identifier. In the case where the first identifier and the second identifier are the same, the parameter updating device can determine that the parameter stored in the first storage location is the parameter of the first component on the secondary board, and the parameter updating device determines that it is not necessary to request the parameter of the first component from the cloud. In the case where the first identifier and the second identifier are different, the parameter updating device can determine that the parameter stored in the first storage location is not the parameter of the first component on the secondary board, and the secondary board has been replaced, so it is necessary to write the parameter of the first component on the new secondary board (e.g., the first secondary board) into the first storage location of the mainboard. It should be understood that the new secondary board is the current secondary board of the electronic device.

[0109] In the case where the first identifier is different from the second identifier of the first component, the parameter updating device can send a first request to the cloud. The first request is used to request the parameter of the first component on the secondary board. The first request can include the identifier of the first component on the secondary board. In an example, the identifier of the first component can be the second identifier.

[0110] The parameter updating device can send the first request to the cloud, which can refer to the description in S602.

[0111] S607, in response to the first request, the cloud sends a data packet to the parameter updating device.

[0112] S607 can refer to the description in S603.

[0113] S608, in the case of passing the signature information verification, the parameter updating device replaces the parameter in the first storage location with the first parameter.

[0114] In some embodiments, in response to the data packet from the cloud, the parameter updating device can parse the data packet to obtain the first parameter and the signature information. The parameter updating device can decrypt the ciphertext using the public key to obtain the plaintext. The parameter updating device compares whether the plaintext and the first parameter are the same. In the case that the plaintext and the first parameter are the same, the parameter updating device can determine that the signature information verification is passed. In the case of passing the signature information verification, the parameter updating device can delete the parameter originally stored in the first storage location, and write the first parameter into the first storage location, i.e., the parameter updating device replaces the parameter in the first storage location with the first parameter.

[0115] In some embodiments, the parameter updating device does not have the access right to the first storage location. The parameter updating device can write the first parameter into a temporary storage location of the mainboard, and send the signature information to the electronic device. In the case of passing the signature information verification by the electronic device, the electronic device can delete the parameter originally stored in the first storage location, and write the first parameter into the first storage location, i.e., the parameter updating device can replace the parameter in the first storage location with the first parameter through the electronic device. The process of the electronic device verifying the signature information can refer to the description in S606.

[0116] In the embodiments of the present application, the cloud can correspondingly store the first parameter of the first component and the identifier of the first component. When the parameter updating device requests the first parameter, the cloud can compile and sign the first parameter, thereby improving the security of the first parameter, avoiding tampering and attacks on the first parameter, or the cloud can pre-compile and sign the first parameter, and correspondingly store the data packet and the identifier of the first component. In this way, when the parameter updating device requests the first parameter, the cloud can feed back the data packet to the parameter updating device at a faster speed. In addition, after the parameter updating device receives the data packet from the cloud, the signature information can be verified. If the signature information is verified, the parameter updating device can write the first parameter into the first storage position through the electronic device, thereby updating the parameter. In the method for verifying the security of the first parameter, the parameter updating device can quickly update the first parameter of the mainboard in the electronic device during use of the electronic device, without the need for the user to mail the electronic device back to the manufacturer for processing, thereby improving the parameter updating efficiency and improving the user experience.

[0117] In summary, FIG. 9 shows the parameter updating process from the production stage of the electronic device to the use stage of the electronic device. It should be understood that the production stage of the electronic device in FIG. 9 can refer to the description in FIG. 4. In the case of replacing the mainboard and / or the subboard of the electronic device, the parameter updating device can read the identifier of the first component on the subboard, and send a first request to the cloud, the first request including the identifier of the first component on the subboard. In response to the first request, the cloud can feed back a data packet to the parameter updating device, which can refer to the description in the above embodiments. The parameter updating device can write the first parameter of the first component into the first storage position, and the specific writing method can refer to the description in the above embodiments.

[0118] In the production stage of the electronic device, after the cloud receives the parameter of the first component and the identifier of the first component from the subboard production device, the cloud can compile the parameter of the first component to obtain an initial data packet, and the cloud can sign the initial data packet to obtain a data packet. In this example, the cloud can correspondingly store the identifier of the first component and the data packet.

[0119] In some embodiments, referring to FIG. 11, the parameter updating device is deployed with a common permission module, through which the parameter updating device can access the temporary storage position of the memory on the mainboard. The electronic device can include a verification module and a writing module.

[0120] With reference to the description in the above embodiments, after the parameter updating device receives the data packet from the cloud, the parameter updating device can write the first parameter in the data packet to the temporary storage location through the module with normal authority, and send the signature information to the electronic device. The verification module in the electronic device can verify the signature information, and in the case that the signature information is verified, the writing module in the electronic device can write the first parameter in the temporary storage location to the first storage location. For example, the writing module can copy the first parameter in the temporary storage location, write the first parameter to the first storage location, and delete the first parameter in the temporary storage location.

[0121] It should be understood that the example has the same technical principles and technical effects as the embodiment shown in FIG. 6, and reference can be made to the description in FIG. 6.

[0122] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.

[0123] The electronic device provided by the embodiment of the present application includes: a processor and a memory; the memory stores computer execution instructions; and the processor executes the computer execution instructions stored in the memory, so that the electronic device executes the above method.

[0124] The embodiment of the present application provides a parameter updating system. In some embodiments, the parameter updating system can include the parameter updating device and the cloud in the above embodiments. In some embodiments, the parameter updating system can include: the parameter updating device, the cloud, and the electronic device. In some embodiments, the parameter updating system can include: the parameter updating device, the cloud, the electronic device, the secondary board production device, and the whole machine production device. The functions of the devices in the parameter updating system can be referred to the description in the above embodiments.

[0125] The parameter updating method of the embodiment of the present application has been described above, and the device for executing the above method provided by the embodiment of the present application is described below. Those skilled in the art can understand that the method and the device can be combined and referred to each other, and the related device provided by the embodiment of the present application can execute the steps in the above parameter updating method.

[0126] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solutions in the above embodiments. The implementation principles and technical effects are similar to those of the above related embodiments, which will not be described here again.

[0127] The embodiments of the present application further provide a computer readable storage medium. The computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the method described above. The method described in the above embodiments can be implemented by software, hardware, firmware or any combination thereof, in whole or in part. If implemented by software, the functions can be stored in or transmitted by a computer readable medium as one or more instructions or code. The computer readable medium can include a computer storage medium and a communication medium, and can further include any medium that can carry the computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

[0128] In a possible implementation, the computer readable medium can include a random access memory (RAM), a read only memory (ROM), a compact disc read only memory (CD-ROM) or other optical memory, a magnetic disk storage or other magnetic storage device, or any other medium that is targeted to carry the desired program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is properly referred to as a computer readable medium. For example, if software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave), the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology (such as infrared, radio and microwave) is included in the definition of medium. As used herein, a disk and a disc include a compact disc, a laser disc, an optical disc, a digital versatile disc (DVD), a floppy disk and a Blu-ray disc, wherein the disk usually magnetically reproduces data, and the disc optically reproduces data with a laser. The above combinations should also be included in the scope of computer readable medium.

[0129] The embodiments of the present application provide a computer program product, which includes a computer program. When the computer program is executed, the computer program causes the computer to execute the method described above.

[0130] It is noted that the modules or components described in the above embodiments can be one or more integrated circuits configured to implement the above methods, for example, one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), etc. For another example, when a certain module above is implemented in the form of a processing element scheduling code, the processing element can be a general purpose processor, for example, a central processing unit (CPU) or other processor such as a controller that can invoke program code. For another example, these modules can be integrated together to be implemented in the form of a system-on-a-chip (SOC).

[0131] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (for example, floppy disk, hard disk, magnetic tape), optical media (for example, DVD), or semiconductor media (for example, solid state disk (SSD)), etc.

[0132] The term "multiple" in the present document refers to two or more. The term "and / or" in the present document is only used to describe the relationship of associated objects, which means that there can be three relationships, for example, A and / or B can represent three cases: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in the present document generally represents an "or" relationship between the associated objects before and after it; in the formula, the character " / " represents a "division" relationship between the associated objects before and after it. In addition, it should be understood that in the description of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description and should not be understood as indicating or implying relative importance or indicating or implying sequence.

[0133] It can be understood that various numerical numbers involved in the embodiments of the present application are only used for the purpose of distinguishing and do not limit the scope of the embodiments of the present application.

[0134] It can be understood that the size of the serial number of each process in the embodiments of the present application does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Claims

1. A parameter updating method, characterized by, The method is applied to a parameter updating device for updating parameters of an electronic device, the electronic device comprising a mainboard and a subboard, the subboard comprising a first component, and the method comprising: in a case where a first storage location of the mainboard does not store a parameter, sending a first request to a cloud, the first request being used for requesting a first parameter of the first component; receiving a data packet from the cloud, the data packet comprising the first parameter and signature information; in a case where the signature information is verified, writing the first parameter into the first storage location.

2. The method of claim 1, wherein, The method further comprises: in a case where the first storage location stores a parameter, obtaining a first identifier corresponding to the parameter, the first identifier being an identifier of a component corresponding to the parameter; in a case where the first identifier is different from a second identifier of the first component, sending the first request to the cloud; receiving the data packet from the cloud; in a case where the signature information is verified, replacing the parameter of the first storage location with the first parameter.

3. The method of claim 1, wherein, The mainboard is a replaced first mainboard.

4. The method of claim 2, wherein, The subboard is a replaced first subboard, and a pre-replacement subboard is a second subboard, the parameter and the first identifier corresponding to a first component on the second subboard.

5. The method according to any one of claims 1-4, characterized in that, The signature information comprises a key and ciphertext corresponding to the first parameter; and before the first parameter is written into the first storage location in the case where the signature information is verified, the method further comprises: writing the first parameter into a temporary storage location of the mainboard; sending the key and the ciphertext to the electronic device, the key and the ciphertext being used for the electronic device to verify the signature information; writing the first parameter in the temporary storage location into the first storage location through the electronic device. The first request comprises a second identifier of the first component; and the method further comprises:

6. The method according to any one of claims 1-5, characterized in that, in a case where the parameter updating device has access authority, obtaining the second identifier of the first component from the electronic device. The first parameter is obtained by calibrating the first component in a production stage of the electronic device and uploaded to the cloud.

7. The method according to any one of claims 1 to 6, characterized in that, The first component is a radio frequency front end, and the first parameter is a radio frequency calibration parameter.

8. The method according to any one of claims 1-7, characterized in that, The method is applied to a cloud, and the method comprises:

9. A parameter updating method, characterized by, receiving a first request from a parameter updating device, the first request being used for requesting a first parameter of a first component, the first component being arranged on a subboard of an electronic device; sending a data packet to the parameter updating device, the data packet comprising the first parameter and signature information. The method further comprises:

10. The method of claim 9, wherein, receiving the first parameter and a second identifier from a subboard production device, the second identifier being an identifier of the first component; compiling the first parameter to obtain an initial data packet; signing the initial data packet to obtain the data packet; storing the second identifier and the data packet correspondingly. The first request comprises the second identifier, and before the data packet is sent to the parameter updating device, the method further comprises:

11. The method of claim 10, wherein, ​ Determine a data packet corresponding to the second identifier.

12. The method according to any one of claims 9-11, characterized in that, The first component is a radio frequency front end, and the first parameter is a radio frequency calibration parameter.

13. An electronic device, comprising: The electronic device includes one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is configured to store computer program codes including computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the method according to any one of claims 1-12.

14. A chip system, characterized by The chip system is applied to an electronic device, and the chip system includes one or more processors configured to invoke computer instructions to cause the electronic device to perform the method according to any one of claims 1-12.

15. A computer-readable storage medium, characterized in that, The computer readable storage medium includes computer instructions configured to cause an electronic device to perform the method according to any one of claims 1-12 when the computer instructions are run on the electronic device.

16. A computer program product, characterised in that, The computer program product includes computer program codes configured to cause an electronic device to perform the method according to any one of claims 1-12 when the computer program codes are run on the electronic device.

Citation Information

Patent Citations

  • Index safety test method and system based on radio frequency

    CN111225060A

  • Radio frequency calibration method and device, calibration equipment and storage medium

    CN113078962A

  • Visual updating method and device of industrial controller and storage medium

    CN113946129A

  • Electronic equipment, production line assembling method and system of electronic equipment and medium

    CN118075380A

  • Electronic signature token, and method and system for electronic signature token to respond to operation request

    WO2014161436A1