Method, device and storage medium for updating data based on MBIM interface

Receive and write non-volatile storage electromagnetic wave energy absorption ratio configuration files through the MBIM interface, and use multiple protocols to unpack and verify, solving the problem of incorrect writing during the update process and achieving a safe and efficient update experience.

CN113595771BActive Publication Date: 2024-09-27ANYSMART TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110783042.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-12
Publication Date
2024-09-27
Estimated Expiration
2041-07-12

AI Technical Summary

Technical Problem

The existing technology is prone to damage due to misoperation when updating Modem NV, and cannot meet the needs of batch and efficient updates on the production line.

Method used

Receive and write non-volatile storage electromagnetic wave energy absorption ratio configuration files through the MBIM interface, use multiple protocols for unpacking and transfer transmission, verify the writing results, generate processing strategies to prevent erroneous writing, and ensure the smoothness of the writing process Security.

Benefits of technology

It improves the customer's modem update experience, prevents erroneous writing, and ensures the security and user experience of the writing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113595771B
    Figure CN113595771B
Patent Text Reader

Abstract

The present invention discloses a method, device and storage medium for updating data based on an MBIM interface, including: receiving a non-volatile storage electromagnetic wave energy absorption ratio configuration file through an MBIM interface; writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of a terminal to obtain a writing result; and sending the writing result to a service end. The technical solution of the present invention, receiving a non-volatile storage electromagnetic wave energy absorption ratio configuration file through an MBIM interface; writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of a terminal, improves the customer's experience of updating the non-volatile storage electromagnetic wave energy absorption ratio configuration file by the modem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and in particular, relates to a method, device and storage medium for updating data based on an MBIM interface. Background Art

[0002] The existing non-volatile modem (Modem NV) configuration management includes: connecting a certified test tool to a DM interface to implement interactive configuration of the UI visualization of the Modem NV. However, the existing technical solution has the following problems: when the Modem NV is updated through the test tool, it is very easy to cause damage to the Modem NV due to misoperation and other reasons, and it cannot meet the needs of batch and efficient update on the production line. Summary of the invention

[0003] An objective of embodiments of the present invention is to provide a method, device, and storage medium for updating data based on an MBIM interface.

[0004] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0005] A method for updating data based on an MBIM interface, applied to a terminal, includes:

[0006] receiving a non-volatile storage electromagnetic wave energy absorption ratio configuration file through an MBIM interface;

[0007] Writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of a terminal to obtain a writing result;

[0008] The writing result is sent to the server.

[0009] Optionally, after receiving the non-volatile storage electromagnetic wave energy absorption ratio configuration file through the MBIM interface, the method further includes:

[0010] Unpacking the non-volatile storage electromagnetic wave energy absorption ratio configuration file through the MBIM protocol of the MBIM interface to obtain an MBIM unpacking result;

[0011] Sending the MBIM decapsulation result to the modem;

[0012] The modem decapsulates the MBIM decapsulation result through the Diag protocol to obtain the Diag decapsulation result.

[0013] Optionally, before writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into the modem of the terminal, the method includes:

[0014] Verifying the Diag unpacking result to obtain a first verification result;

[0015] According to the first verification result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is processed to obtain a processing result.

[0016] Optionally, writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of the terminal to obtain a writing result includes:

[0017] When an abnormal situation occurs during the process of writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into the modem, obtaining the working state of the modem;

[0018] A processing strategy is generated according to the working status.

[0019] An embodiment of the present invention further provides a method for updating data based on an MBIM interface, which is applied to a server, and includes:

[0020] Get a request to write a non-volatile storage electromagnetic wave energy absorption ratio configuration file;

[0021] Send the request to the terminal to obtain feedback results;

[0022] According to the feedback result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is compared to obtain a second verification result;

[0023] According to the second verification result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is sent to the terminal;

[0024] receiving a writing result sent by the terminal;

[0025] The non-volatile storage electromagnetic wave energy absorption ratio configuration file is processed according to the writing result.

[0026] Optionally, comparing the non-volatile storage electromagnetic wave energy absorption ratio configuration file according to the feedback result to obtain a second verification result includes:

[0027] Generating a verification code of the non-volatile storage electromagnetic wave energy absorption ratio configuration file;

[0028] The verification code of the non-volatile storage electromagnetic wave energy absorption ratio configuration file is compared with the verification code of the local non-volatile storage electromagnetic wave energy absorption ratio configuration file to be written to obtain a second verification result.

[0029] Optionally, sending the request to a terminal to obtain a feedback result includes:

[0030] The request is sent to the MBIM interface of the terminal through the first interface, and a feedback result sent by the MBIM interface is received.

[0031] Optionally, the sending, according to the second verification result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file to the terminal through an MBIM interface includes:

[0032] When the second verification result is inconsistent, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is encapsulated to obtain a packaged file; and the packaged file is sent to the MBIM interface through the first interface.

[0033] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0034] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method as described above is implemented.

[0035] The embodiments of the present invention have the following technical effects:

[0036] The above technical solution of the present invention, 1) receiving a non-volatile storage electromagnetic wave energy absorption ratio configuration file through an MBIM interface; writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of a terminal, improves the customer's experience of updating the non-volatile storage electromagnetic wave energy absorption ratio configuration file by the modem.

[0037] 2) The non-volatile storage electromagnetic wave energy absorption ratio configuration file sent by the server is received through the MBIM interface, unpacked through multiple protocols, and transferred to the modem.

[0038] 3) In response to situations where the writing process is interrupted under extreme conditions, a modem abnormal restart detection process is set to prevent erroneous writing of the non-volatile storage electromagnetic wave energy absorption ratio configuration file, ensure the security of the writing process, and improve the user's non-volatile storage electromagnetic wave energy absorption ratio configuration file update experience.

[0039] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A method for updating data based on an MBIM interface on a terminal side provided by an embodiment of the present invention;

[0041] Figure 2 A method for updating data based on an MBIM interface on a server side provided by an embodiment of the present invention;

[0042] Figure 3 2 is a schematic diagram of the overall framework of a method for updating data based on an MBIM interface provided by an embodiment of the present invention;

[0043] Figure 4 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0045] The non-volatile storage electromagnetic wave energy absorption ratio configuration file mentioned in the present invention can be expressed as SAR NV File, and the modem can be expressed as Modem; Modem SAR NV is an electromagnetic wave energy absorption ratio non-volatile modem; UI is a user interface; MBB is mobile broadband, USB and PCIE are serial buses, AT / NEMA / DM / interface is a virtual upper interface on the USB / PCIE bus of the mobile broadband device; DM interface is a virtual diagnostic debugging interface on the USB / PCIE bus of the mobile broadband device; CRC code is a cyclic redundancy check code; Client is a user machine; server is a server machine; Diag Over MBIM is a data protocol used to encapsulate data packets into MBIM format data according to the MBIM protocol; Cmd is an instruction; data represents data; pass represents pass; Qualcomm License certification is Qualcomm license certification; Qualcomm's QRCT tool is a radio frequency test tool; Pass-Though means that no modification is made to the transmitted data; the dump state of the modem can be understood as a dead state; the reset state of the modem can be understood as a restart state.

[0046] Combination Figure 1 An embodiment of the present invention provides a method for updating data based on an MBIM interface, which is applied to a terminal and includes:

[0047] Step S11: receiving the SAR NV File through the MBIM interface;

[0048] Step S12: writing the SAR NV File into the modem of the terminal and obtaining the writing result;

[0049] Step S13: Send the writing result to the server.

[0050] Specifically, the terminal may be an MBB device, an MBIM interface is provided on the MBB device, a modem is a sub-service system of the MBB device, and the MBB device implements information interaction with the server through the MBIM interface.

[0051] In this embodiment of the present invention, a SAR NV File is received through an MBIM interface; and the SAR NV File is written into a modem of a terminal, thereby improving a customer's experience of updating the modem SAR NV.

[0052] In an optional embodiment of the present invention, in step S11, the receiving the SAR NV File through the MBIM interface includes:

[0053] Step S111: unpacking the SAR NV File through the MBIM protocol of the MBIM interface, and obtaining an MBIM unpacking result;

[0054] Step S112: Sending the MBIM decapsulation result to the Modem;

[0055] Specifically, the MBB device maps Qualcomm's Diag service framework function to the MBIM interface and uses an independent DiagOver MBIM sub-service to complete the transfer, that is, adding a layer of MBIM protocol frame encapsulation transmission.

[0056] Diag Over MBIM is used to encapsulate a data packet into a data packet in MBIM format or decapsulate a data packet in MBIM format according to the MBIM protocol.

[0057] Step S113: the modem decapsulates the MBIM decapsulation result through the Diag protocol to obtain the Diag decapsulation result.

[0058] Specifically, the Diag protocol is used to encapsulate a data packet into a data packet in the Diag format or to split a data packet in the Diag format.

[0059] This embodiment of the present invention realizes receiving the SAR NV File sent by the server through the MBIM interface, unpacking it through multiple protocols, and transferring it to the Modem.

[0060] In an optional embodiment of the present invention, in step S11, before writing the SAR NV File into the modem of the terminal, the method includes:

[0061] Step S114: verifying the Diag unpacking result to obtain a first verification result;

[0062] Specifically, the SAR NV File enters the modem in the MBIM format through the MBIM protocol unpacking, and is unpacked again by the Diag protocol inside the modem to generate a corresponding CRC code, and the CRC code generated at the modem is compared with the CRC code carried by the SAR NV File in the MBIM format to obtain a first verification result.

[0063] Step S115: Process the SAR NV File according to the first verification result to obtain a processing result.

[0064] This embodiment of the present invention realizes the confirmation of the integrity and correctness of the SAR NV File entering the Modem.

[0065] In an optional embodiment of the present invention, in step S115, the SAR NVFile is processed according to the first verification result to obtain a processing result, including:

[0066] Step S1151: when the first verification result is that the Diag unpacking result is normal, the Diag unpacking result is written into a Modem to obtain a writing result;

[0067] Specifically, when the CRC code generated at the modem is consistent with the CRC code carried by the SAR NV File in the MBIM format, the Diag decapsulation result is normal.

[0068] Step S1152: When the first verification result is that the Diag unpacking result is abnormal, the writing process is terminated. Specifically, when the CRC code generated at the Modem is inconsistent with the CRC code carried by the SAR NV File in MBIM format, the Diag unpacking result is abnormal, there is an abnormal situation such as packet loss or error packet, and the writing process is terminated.

[0069] This embodiment of the present invention prevents the modem from writing erroneous data, ensures the correctness of the data, and improves the user experience of SAR NV File update.

[0070] In an optional embodiment of the present invention, in step S12, writing the SAR NV File into the modem of the terminal and obtaining the writing result includes:

[0071] Step S121: when an abnormal situation occurs during the process of writing the SAR NV File into the Modem, obtaining the working status of the Modem; wherein the abnormal situation includes abnormal power failure, dump or reset;

[0072] Specifically, when the modem is writing the SAR NV File, various abnormalities may occur, including abnormal power failure, dump or reset.

[0073] Step S122: Generate a processing strategy according to the working status.

[0074] This embodiment of the present invention ensures the security of the modem updating the SAR NV File under extreme conditions.

[0075] In an optional embodiment of the present invention, in step S122, generating a processing strategy according to the working state includes:

[0076] Step S1221: When the working status is that the Modem can be restarted normally, a re-writing processing strategy is generated;

[0077] Specifically, the modem can be restarted normally, indicating that the modem can work normally, but the SAR NV File currently being written is not completely written to the modem, so the modem generates a data packet that is not completely written or fails to be written;

[0078] The CRC code of the Diag format data packet of the restarted Modem is compared with the CRC code of the local corresponding SAR NV File. If the comparison result is consistent, the UI is responded to and the Diag format data packet is rewritten into the Modem.

[0079] Step S1222: When the working status is that the Modem cannot be restarted normally, the Modem is adjusted and then a re-writing processing strategy is generated.

[0080] Specifically, the modem cannot be restarted normally, that is, it is detected that the modem restarts multiple times, indicating that the modem is abnormal and cannot be started normally, the modem is restored to factory settings, the modem generates a data packet with a write result of failure, and encapsulates the data packet into a data packet in Diag format according to the Diag protocol, and sends it to the MBIM interface.

[0081] This embodiment of the present invention sets a Modem abnormal restart detection process to prevent SAR NV File from being written incorrectly, ensures the security of the writing process, and improves the user's SAR NV File update experience in response to the situation where the writing process is interrupted under extreme conditions.

[0082] Combination Figure 2 The embodiment of the present invention further provides a method for updating data based on an MBIM interface, which is applied to a server, and includes:

[0083] Step 21: Get a request to write to SAR NV File;

[0084] Step 22: Send the request to the terminal to obtain a feedback result;

[0085] Step 23: According to the feedback result, the SAR NV File is compared to obtain a second verification result;

[0086] Step 24: According to the second verification result, the SAR NV File is sent to the terminal;

[0087] Step 25: receiving the writing result sent by the terminal;

[0088] Step 26: Process the SAR NV File according to the writing result.

[0089] Specifically, the server may be a notebook computer or the like.

[0090] According to the writing result, the SAR NV File is processed to determine whether the SAR NV File has been completely written into the Modem.

[0091] In an optional embodiment of the present invention, in step 21, after obtaining a request to write to the SAR NV File, the following steps are included:

[0092] Step 211: Generate a verification code for the SAR NV File.

[0093] Specifically, the check code is a CRC code.

[0094] In an optional embodiment of the present invention, sending the request to the terminal to obtain a feedback result includes:

[0095] The request is sent to the MBIM interface of the terminal through the first interface, and a feedback result sent by the MBIM interface is received.

[0096] Specifically, the first interface may be a USB or PCIE interface. The embodiment of the present invention takes the USB interface as an example. The USB interface decapsulates the received SAR NV File according to the USB protocol or encapsulates the data packet into a USB format data packet.

[0097] The feedback result is that the MBIM interface feeds back to the USB interface that the SAR NV File file is received normally.

[0098] In an optional embodiment of the present invention, in step 23, comparing the SAR NV File according to the feedback result to obtain a second verification result includes:

[0099] Step 231: Compare the verification code of the SAR NV File with the verification code of the local SAR NV File to be written to obtain a second verification result.

[0100] Specifically, whenever the server receives a new SAR NV File, it generates a CRC code corresponding to the SAR NV File, and compares it with the CRC code carried by the SAR NV File stored locally on the server to obtain a second verification result.

[0101] In an optional embodiment of the present invention, in step 24, sending the SAR NVFile to the terminal through the MBIM interface according to the second verification result includes:

[0102] Step 241: When the second verification result is inconsistent, encapsulate the SAR NV File to obtain an encapsulated file; and send the encapsulated file to the MBIM interface through the first interface.

[0103] Specifically, when the second check result is inconsistent, it indicates that the server has not stored the received SAR NVFile locally, and the SAR NV File needs to be written to the Modem;

[0104] Through the above method, it is possible to prevent the same SAR NV File from being written repeatedly, improve the writing efficiency, and enhance the user experience of SAR NV File update.

[0105] The server performs three-layer encapsulation on the SAR NV File to be written into the modem, encapsulating it in Diag format, MBIM format, and USB format in turn, and obtains the encapsulated file;

[0106] The encapsulated file is sent to the USB interface, at which the USB format of the outermost layer of the encapsulated file is unpacked, and the SAR NV File in the MBIM format is sent to the MBIM interface.

[0107] The method also includes: when the second verification result is consistent, terminating the writing process.

[0108] Specifically, when the second verification result is consistent, it indicates that the server has stored the received SAR NVFile locally, and there is no need to write the SAR NV File into the Modem again, so the writing process is terminated.

[0109] This embodiment of the present invention specifically prevents repeated writing of the SAR NV File by performing CRC code verification and encapsulating or unpacking the SAR NV File according to the data protocol corresponding to each interface.

[0110] In an optional embodiment of the present invention, in step 25, the receiving the writing result sent by the terminal includes:

[0111] Step 251: receiving, through the first interface, an MBIM write result sent by the MBIM interface;

[0112] Step 252: The first protocol of the first interface encapsulates the MBIM write result to obtain the encapsulation result. Specifically, the USB interface encapsulates the MBIM write result through the USB protocol to obtain the write result in USB format. This embodiment of the present invention implements the transmission of the SAR NV File between the USB interface and the MBIM interface, thereby enabling the modem to update the SAR NV File according to customer needs.

[0113] like Figure 3 As shown, the above embodiments of the present invention can be implemented by the following implementation methods:

[0114] 1) The user operates the UI to send a request to write the SAR NV File to the server.

[0115] 2) After the server receives the signaling request sent by the UI and MBIM and receives the SAR NV File to be written, the server starts the SAR NV File CRC module; at the same time, the server sends a signaling requesting the module File to the USB interface. After receiving the signaling, the USB interface does not make any changes to the signaling and sends it to the MBIM interface (pass-through). The MBIM interface responds to the signaling of obtaining the module File data, and the USB interface pass-throughs the signaling to the server; the MBIM interface also passes the SAR NV FileDiag Cmd through to the Modem.

[0116] 3) The server compares the CRC code of the newly received SAR NV File with the CRC code of the local SAR NV File to be written. If they are consistent, the writing process of the newly received SAR NV File is terminated. If they are inconsistent, the server performs three-layer encapsulation on the newly received SAR NV File through three data protocols, and then the server sends the signaling request of UI and MBIM to write the module File to the USB interface, and the USB interface passes-through to the MBIM interface. The MBIM interface sends a response to write the module data Pass signaling to the USB interface.

[0117] 4) The Diag protocol inside the modem unpacks the received SAR NV File in Diag format and generates a CRC code corresponding to the SAR NV File. It then compares the CRC code with the CRC code carried by the SAR NV File in MBIM format. If they are consistent, writing starts; if they are inconsistent, the writing process is terminated.

[0118] 5) The SAR NV writing process is in the default state. After all SAR NV Files are written to the Modem, the Modem sends a Diag Cmd Response to the MBIM interface.

[0119] For example, when the SAR NV File is large, the server divides the SAR NV File into several data packets. Taking 10 data packets as an example, the server first sends the first data packet to the Modem. After the writing is completed, the server receives the writing result sent by the Modem through the MBIM interface, and then repeats the above steps to write the remaining 9 data packets to the Modem in sequence.

[0120] When writing under extreme conditions, such as abnormal power failure, dump, reset, etc. during module writing.

[0121] The server will restart the working status of the Modem. If the Modem can restart normally, the CRC code of the SAR NV File in Diag format on the Modem side will be compared with the CRC code of the corresponding SAR NV File on the server side. If they are consistent, the response UI will rewrite the SAR NV File in Diag format into the Modem.

[0122] 6) If the modem cannot restart normally, add a backup partition to the modem and trigger the platform group backup and restore mechanism for the modem, that is, restore the modem to factory settings, restart the modem, and repeat the above steps to re-restart the server.

[0123] 7) On the server side, if the response times out, the UI will automatically write the data to the SAR NV File Pass. If the response times out, the UI will automatically write the data to the SAR NV File Pass after waiting for the response.

[0124] like Figure 4 As shown, an embodiment of the present invention further provides a computer device 40, including a memory 42, a processor 41, and a computer program stored in the memory 42 and executable on the processor 41, wherein the processor 41 implements the method for updating data based on the MBIM interface as described above when executing the computer program.

[0125] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for updating data based on an MBIM interface as described above is implemented.

[0126] In addition, other structures and functions of the device in the embodiment of the present invention are known to those skilled in the art and will not be described herein in detail to reduce redundancy.

[0127] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0128] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0129] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0130] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0131] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0132] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0133] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0134] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for updating data based on an MBIM interface, It is characterized in that Applied to terminals, including: receiving a non-volatile storage electromagnetic wave energy absorption ratio configuration file through an MBIM interface; Writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of a terminal to obtain a writing result; Send the writing result to the server; After receiving the non-volatile storage electromagnetic wave energy absorption ratio configuration file through the MBIM interface, the method includes: Unpacking the non-volatile storage electromagnetic wave energy absorption ratio configuration file through the MBIM protocol of the MBIM interface to obtain an MBIM unpacking result; Sending the MBIM decapsulation result to the modem; The modem decapsulates the MBIM decapsulation result through the Diag protocol to obtain the Diag decapsulation result.

2. The method according to claim 1, It is characterized in that Before writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into the modem of the terminal, the method includes: Verifying the Diag unpacking result to obtain a first verification result; According to the first verification result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is processed to obtain a processing result.

3. The method according to claim 1, It is characterized in that Writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into a modem of a terminal and obtaining a writing result includes: When an abnormal situation occurs during the process of writing the non-volatile storage electromagnetic wave energy absorption ratio configuration file into the modem, obtaining the working state of the modem; A processing strategy is generated according to the working status.

4. A method for updating data based on an MBIM interface, It is characterized in that Applied to the server, including: Get a request to write a non-volatile storage electromagnetic wave energy absorption ratio configuration file; Send the request to the terminal to obtain feedback results; According to the feedback result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is compared to obtain a second verification result; According to the second verification result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is sent to the terminal; receiving a writing result sent by the terminal; Processing the non-volatile storage electromagnetic wave energy absorption ratio configuration file according to the writing result; The sending the request to the terminal and obtaining a feedback result includes: The request is sent to the MBIM interface of the terminal through the first interface, and a feedback result sent by the MBIM interface is received.

5. The method according to claim 4, It is characterized in that The step of comparing the non-volatile storage electromagnetic wave energy absorption ratio configuration file according to the feedback result to obtain a second verification result includes: Generating a verification code of the non-volatile storage electromagnetic wave energy absorption ratio configuration file; The verification code of the non-volatile storage electromagnetic wave energy absorption ratio configuration file is compared with the verification code of the local non-volatile storage electromagnetic wave energy absorption ratio configuration file to be written to obtain a second verification result.

6. The method according to claim 4, It is characterized in that The sending, according to the second verification result, the non-volatile storage electromagnetic wave energy absorption ratio configuration file to the terminal through the MBIM interface includes: When the second verification result is inconsistent, the non-volatile storage electromagnetic wave energy absorption ratio configuration file is encapsulated to obtain a packaged file; and the packaged file is sent to the MBIM interface through the first interface.

7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 3 or 4 to 6 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 3 or 4 to 6 is implemented.

Citation Information

Patent Citations

  • Data terminal upgrading device and method

    CN103220330A

  • Method and device for realizing communication based on MBIM interface

    CN104125204A

  • Method, USB device and system for supporting various network interfaces

    CN106301860A

  • Communication module configuration processing method and device, computer equipment and storage medium

    CN111510909A

  • Data terminal upgrade device and method

    EP2975824B1