CN112540777A - Method and terminal for supporting dynamic read-write of NV (network video) parameters - Google Patents

Method and terminal for supporting dynamic read-write of NV (network video) parameters Download PDF

Info

Publication number
CN112540777A
CN112540777A CN202011178345.8A CN202011178345A CN112540777A CN 112540777 A CN112540777 A CN 112540777A CN 202011178345 A CN202011178345 A CN 202011178345A CN 112540777 A CN112540777 A CN 112540777A
Authority
CN
China
Prior art keywords
interface
write
read
parameter
diag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011178345.8A
Other languages
Chinese (zh)
Inventor
柯建东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Liandi Commercial Technology Co ltd
Original Assignee
Fujian Landi Commercial Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN202011178345.8A priority Critical patent/CN112540777A/en
Publication of CN112540777A publication Critical patent/CN112540777A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a method and a terminal for supporting dynamic read-write of NV parameters; the invention updates and installs the preset APK application; receiving NV parameter read-write requests of preset APK applications, and calling corresponding first read-write NV parameter interfaces in a pre-packaged parameter interface library through a java local interface, wherein the first read-write NV parameter interfaces comprise a read NV universal interface, a write NV universal interface, a read EFS file universal interface and a write EFS file universal interface; calling a diag service through the first read-write NV parameter interface, issuing a command sequence to the modem side, and reading, writing and updating NV parameters in an EFS file of the modem side; restarting the equipment; when the NV parameters need to be updated, the apk can be dynamically updated, other files including libraries and the like do not need to be updated and expanded, the time for updating the whole package by a client and the resource consumption of data flow are greatly reduced, the updating efficiency is improved, the universal read-write interface of the EFS file is provided, and the EFS file can be updated.

Description

Method and terminal for supporting dynamic read-write of NV (network video) parameters
Technical Field
The invention relates to the technical field of network communication, in particular to a method and a terminal for supporting dynamic read-write of NV parameters.
Background
The existing high-pass platform method for modifying NV parameters (Non-volatile parameters) includes:
(1) reading and writing modification is carried out through a QXDM (The QUALCOMM Extensible Diagnostic Monitor which needs a high-pass debugging tool authorized by a high-pass account number) tool;
(2) reading and writing to modify NV parameters through the existing interface of the high-pass platform;
the specific process is as follows:
1. updating the apk;
2. jar updating qcnvitem;
3. updating QcRilHook.jar;
4. so, updating libqcril _ qmi;
5. so, update libqmi;
6. update NON-hlos.bin;
7. updating the NV parameters is completed;
8. the machine is restarted.
The method specifically comprises the following steps:
(1) the upper layer application apk can call a donvred/doNvWrite private interface in the middle layer qcnvitems.
(2) Donnvread/donnvwrite in turn calls the sendQcRilHookMsg interface in qcrilhook.
(3) Sending a request ID by a sendQcRilRequestRaw interface in the qcrilmsgunnel called by sendQcRilHookMsg, and then calling back through IOemHookCallback;
wherein, qcrilhook
Java provides only QCRILHOOK ID but does not provide an interface to the outside and does not provide a corresponding read-write efs file interface.
Figure BDA0002749378230000021
(4) So, calling downwards at the upper layer, calling qcril-qmi.so, and then walking a qcril _ main function;
(5) calling a qcril _ init function in qcril _ main;
(6) and the qcril _ init calls a qcril _ init _ hash _ table interface, and a qcril _ event _ table is arranged in a qcril _ init _ hash _ table interface function.
Figure BDA0002749378230000022
Java provides the read-write NV corresponding to QCRIL _ EVT _ HOOK _ NV ID, as follows:
Figure BDA0002749378230000031
corresponding to the ID in QcRilHook, above, one to one.
(7) The qcril library calls to the bottom layer and is transferred to qmi on the modem side through an qmi message mechanism;
qcril_other_request_oem_hook_nv_read()
qcril_other_request_oem_hook_nv_write();
(8) the modem side qmi will call the corresponding read-write NV interface (nvio _ read _ item/nvio _ write _ item);
(9) the reading and writing interface of nvio _ read _ item/nvio _ write _ item calls efs _ get/efs _ put function;
(10) the EFS _ get/EFS _ put function calls the EFS _ read/EFS _ write function to read and write the NV item, and finally writes the NV item into the EFS to realize the reading and writing of the NV parameter by the apk;
(11) restarting the equipment;
it has the following disadvantages:
1. when updating NV parameters, the whole modem image file, other intermediate jar packages and the so library need to be upgraded, and the updating efficiency is low;
2. jar only provides QCRILHOOK ID, but does not provide an interface to the outside and does not provide a corresponding read-write efs file interface; only the NV parameters can be updated, and other information of the EFS file cannot be updated.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the terminal for supporting dynamic read-write of the NV parameters are provided, the EFS file can be updated, and the updating efficiency is improved.
In order to solve the technical problems, the invention adopts the technical scheme that:
a method for supporting dynamic read-write of NV parameters comprises the following steps:
s1, updating and installing the preset APK application;
s2, receiving NV parameter read-write requests of preset APK applications, and calling corresponding first read-write NV parameter interfaces in a pre-packaged parameter interface library through a java local interface, wherein the first read-write NV parameter interfaces comprise a read NV universal interface, a write NV universal interface, a read EFS file universal interface and a write EFS file universal interface;
s3, calling a diag service through the first read-write NV parameter interface, issuing a command sequence to the modem side, and reading, writing and updating NV parameters in an EFS file of the modem side;
and S4, if the NV parameter is changed, restarting the equipment.
The invention has the beneficial effects that: when the NV parameters need to be updated, the invention can dynamically update the apk, the apk is directly pushed to a client by a background server for remote updating or manually installed apk or OTA (over the air technology) upgrading, the whole modem image file, other intermediate jar packages and so libraries do not need to be upgraded, the QMI interface does not need to be expanded on the modem side, and the NON-HLOS (management of network virtualization operating system) bin does not need to be updated. By updating the NV parameters, the problems of customized updating of some communication functions of a client and network difficult and complicated diseases can be solved.
Drawings
FIG. 1 is a flowchart of a method for supporting dynamic read-write of NV parameters according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of a method for supporting dynamic read-write of NV parameters according to an embodiment of the present invention;
fig. 3 is a structural diagram of a terminal supporting dynamic reading and writing of NV parameters according to an embodiment of the present invention.
Description of reference numerals:
1. a terminal supporting dynamic read-write of NV parameters; 2. a processor; 3. a memory.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, a method for supporting dynamic reading and writing of NV parameters includes:
s1, updating and installing the preset APK application;
s2, receiving NV parameter read-write requests of preset APK applications, and calling corresponding first read-write NV parameter interfaces in a pre-packaged parameter interface library through a java local interface, wherein the first read-write NV parameter interfaces comprise a read NV universal interface, a write NV universal interface, a read EFS file universal interface and a write EFS file universal interface;
s3, calling a diag service through the first read-write NV parameter interface, issuing a command sequence to the modem side, and reading, writing and updating NV parameters in an EFS file of the modem side;
and S4, if the NV parameter is changed, restarting the equipment.
From the above description, the beneficial effects of the present invention are: when the NV parameters need to be updated, the invention can dynamically update the apk, the apk is directly pushed to a client by a background server for remote updating or manually installed apk or OTA (over the air technology) upgrading, the whole modem image file, other intermediate jar packages and so libraries do not need to be upgraded, the QMI interface does not need to be expanded on the modem side, and the NON-HLOS (management of network virtualization operating system) bin does not need to be updated. By updating the NV parameters, the problems of customized updating of some communication functions of a client and network difficult and complicated diseases can be solved.
Further, step S1 is specifically:
if the preset APK application is installed for the first time on the equipment, integrating an intermediate library libnvrw _ ext and a high-pass UI control library libmmi, wherein the parameter interface library is located in the intermediate library libnvrw _ ext;
otherwise, directly updating the APK application.
It can be known from the above description that the middle library libnvrw _ ext and the high-pass UI control library libmmi need to be integrated when the preset application is installed for the first time, so as to ensure the normal call of the subsequent functional interface, and the high-pass UI control library includes control interfaces of buttons, windows and texts, and also includes some NV read-write interfaces.
Further, the step of calling the diag service through the read-write NV parameter interface in step S3, and issuing a command sequence to the modem side specifically includes:
the first read-write NV parameter interface sends a calling request to a second read-write NV parameter interface in a high-pass UI control library libmmi;
the second read-write NV parameter interface receives a call request of the first read-write NV parameter interface, encapsulates a command sequence header according to the call request of the first read-write NV parameter interface, and sends the call request containing the command sequence header to the send _ command interface;
the send _ command interface receives a call request of a second read-write NV parameter interface, acquires a command sequence header, generates a complete command sequence according to the call request of the second read-write NV parameter interface, and then sends the call request containing the command sequence to a diag _ callback _ send _ data interface in a libdiag of a high-pass UI control library by using a diag service;
the diag _ callback _ send _ data interface receives a calling request of a send _ command interface, assembles a character array data _ buf value according to the calling request of the send _ command interface, acquires the command sequence, and then sends the calling request containing the command sequence to the diag _ send _ data interface;
and the diag _ send _ data interface receives a request of the diag _ callback _ send _ data interface, acquires the command sequence and writes the command sequence into a file descriptor FD.
As can be seen from the above description, the first read-write NV parameter interface calls the second read-write NV parameter interface, encapsulates the command sequence header, calls the send _ command interface to issue the command sequence, and finally writes the command sequence into the file descriptor FD, thereby implementing the issue of the command sequence to the modem side.
Further, the reading and writing and updating the NV parameter in the EFS file of the modem side in step S3 specifically include:
the modem side detects the writing of a command sequence, and sends a calling request to a third read-write NV parameter interface for reading and writing NV parameters of the modem side through a diag service;
the third read-write NV parameter interface receives a calling request of the modem side and sends the calling request to the NV _ cmd _ diag interface;
and calling a corresponding function EFS _ read or EFS _ write by the NV _ cmd _ diag interface according to the request of the third read-write NV parameter interface, and reading and writing the EFS file.
As can be seen from the above description, the modem side finally performs read-write update on the EFS file through the call of the request, thereby implementing dynamic read-write of the NV parameters.
Further, the pre-packaged parameter interface library is specifically an nv _ rw _ ext library pre-packaged in an intermediate library libnvrw _ ext.
As can be seen from the above description, the nv _ rw _ ext library is packaged in the libnvrw _ ext, and the nv _ rw _ ext includes interfaces such as Diag _ LSM _ Init, register _ callback, Diag _ nv _ read, Diag _ nv _ write, and Diag _ LSM _ DeInit, and no expansion is required subsequently.
As shown in fig. 3, the present invention further provides a terminal supporting dynamic reading and writing of NV parameters, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the following steps:
s1, updating and installing the preset APK application;
s2, receiving NV parameter read-write requests of preset APK applications, and calling corresponding first read-write NV parameter interfaces in a pre-packaged parameter interface library through a java local interface, wherein the first read-write NV parameter interfaces comprise a read NV universal interface, a write NV universal interface, a read EFS file universal interface and a write EFS file universal interface;
s3, calling a diag service through the first read-write NV parameter interface, issuing a command sequence to the modem side, and reading, writing and updating NV parameters in an EFS file of the modem side;
and S4, if the NV parameter is changed, restarting the equipment.
From the above description, the beneficial effects of the present invention are: when the NV parameters need to be updated, the invention can dynamically update the apk, the apk is directly pushed to a client by a background server for remote updating or manually installed apk or OTA (over the air technology) upgrading, the whole modem image file, other intermediate jar packages and so libraries do not need to be upgraded, the QMI interface does not need to be expanded on the modem side, and the NON-HLOS (management of network virtualization operating system) bin does not need to be updated. By updating the NV parameters, the problems of customized updating of some communication functions of a client and network difficult and complicated diseases can be solved.
Further, step S1 is specifically:
if the preset APK application is installed for the first time on the equipment, integrating an intermediate library libnvrw _ ext and a high-pass UI control library libmmi, wherein the parameter interface library is located in the intermediate library libnvrw _ ext;
otherwise, directly updating the APK application.
It can be known from the above description that the middle library libnvrw _ ext and the high-pass UI control library libmmi need to be integrated when the preset application is installed for the first time, so as to ensure the normal call of the subsequent functional interface, and the high-pass UI control library includes buttons, windows, text control interfaces, and some NV read-write interfaces.
Further, the step of calling the diag service through the read-write NV parameter interface in step S3, and issuing a command sequence to the modem side specifically includes:
the first read-write NV parameter interface sends a calling request to a second read-write NV parameter interface in a high-pass UI control library libmmi;
the second read-write NV parameter interface receives a call request of the first read-write NV parameter interface, encapsulates a command sequence header according to the call request of the first read-write NV parameter interface, and sends the call request containing the command sequence header to the send _ command interface;
the send _ command interface receives a call request of a second read-write NV parameter interface, acquires a command sequence header, generates a complete command sequence according to the call request of the second read-write NV parameter interface, and then sends the call request containing the command sequence to a diag _ callback _ send _ data interface in a libdiag of a high-pass UI control library by using a diag service;
the diag _ callback _ send _ data interface receives a calling request of a send _ command interface, assembles a character array data _ buf value according to the calling request of the send _ command interface, acquires the command sequence, and then sends the calling request containing the command sequence to the diag _ send _ data interface;
and the diag _ send _ data interface receives a request of the diag _ callback _ send _ data interface, acquires the command sequence and writes the command sequence into a file descriptor FD.
As can be seen from the above description, the first read-write NV parameter interface calls the second read-write NV parameter interface, encapsulates the command sequence header, calls the send _ command interface to issue the command sequence, and finally writes the command sequence into the file descriptor FD, thereby implementing the issue of the command sequence to the modem side.
Further, the reading and writing and updating the NV parameter in the EFS file of the modem side in step S3 specifically include:
the modem side detects the writing of a command sequence, and sends a calling request to a third read-write NV parameter interface for reading and writing NV parameters of the modem side through a diag service;
the third read-write NV parameter interface receives a calling request of the modem side and sends the calling request to the NV _ cmd _ diag interface;
and calling a corresponding function EFS _ read or EFS _ write by the NV _ cmd _ diag interface according to the request of the third read-write NV parameter interface, and reading and writing the EFS file.
As can be seen from the above description, the modem side finally performs read-write update on the EFS file through the call of the request, thereby implementing dynamic read-write of the NV parameters.
Further, the pre-packaged parameter interface library is specifically an nv _ rw _ ext library pre-packaged in an intermediate library libnvrw _ ext.
As can be seen from the above description, the nv _ rw _ ext library is packaged in the libnvrw _ ext, and the nv _ rw _ ext library can call interfaces including flag _ LSM _ Init, register _ callback, Diag _ nv _ read, Diag _ nv _ write, and Diag _ LSM _ DeInit, and no expansion is required subsequently.
Referring to fig. 1 and fig. 2, a first embodiment of the present invention is:
a method for supporting dynamic read-write of NV parameters comprises the following steps:
s1, updating and installing the preset APK application;
s2, receiving a request for reading NV parameters by a preset APK application, calling a first read-write NV parameter interface nvrw _ ext _ read _ general through a java local interface, wherein the nvrw _ ext _ read _ general interface is a read NV general interface, and the same level interface further comprises a write NV general interface nvrw _ ext _ write _ general interface, a read EFS file general interface nvrw _ ext _ EFS _ read and a write EFS file general interface nvrw _ ext _ EFS _ write;
s3, sending a call request to a second read-write NV parameter interface diag _ NV _ read in the high-pass UI control library libmmi by the nvrw _ ext _ read _ general interface, wherein the diag _ NV _ read interface is an interface for reading NV parameters, and the peer interface further comprises: diag _ nv _ write, diag _ efs _ nv _ read, diag _ efs _ nv _ write;
the diag _ nv _ read interface receives a call request of nvrw _ ext _ read _ general, encapsulates a command sequence header according to the call request of the nvrw _ ext _ read _ general interface, and sends the call request containing the command sequence header to the send _ command interface;
the send _ command interface receives a call request of a diag _ nv _ read interface, acquires a command sequence header, generates a complete command sequence according to the call request of the diag _ nv _ read interface, and then sends the call request containing the command sequence to a diag _ callback _ send _ data interface in the high-pass UI control library libdiag by using a diag service;
the diag _ callback _ send _ data interface receives a calling request of a send _ command interface, assembles a character array data _ buf value according to the calling request of the send _ command interface, acquires the command sequence, and then sends the calling request containing the command sequence to the diag _ send _ data interface;
the diag _ send _ data interface receives a request of the diag _ callback _ send _ data interface, acquires the command sequence and writes the command sequence into a file descriptor FD;
the method comprises the steps that a modem side detects writing of a command sequence, and sends a call request to an nvdiag _ read interface of the modem side through a diag service, wherein the nvdiag _ read interface is an interface for the modem side to read NV parameters through the diag service, and the peer interface further comprises an interface nvdiag _ write for the modem side to write the NV parameters through the diag service;
the nvdiag _ read interface receives a calling request of the modem side and sends the calling request to the nv _ cmd _ diag interface;
and calling a corresponding function EFS _ read by the nv _ cmd _ diag interface according to the request of the nvdiag _ read interface, and reading the EFS file.
And S4, if the NV parameter is changed, restarting the equipment.
Referring to fig. 3, the second embodiment of the present invention is:
a terminal 1 supporting dynamic read-write of NV parameters comprises a processor 2, a memory 3 and a computer program which is stored on the memory 3 and can run on the processor 2, wherein the processor 2 realizes the above method for supporting dynamic read-write of the NV parameters when executing the computer program.
In summary, the method and the terminal for supporting dynamic read-write of NV parameters provided by the invention can perform dynamic update of apk when NV parameters need to be updated, the apk is directly sent to a client for remote update by a background server or manually installed apk or OTA (over the air technology) upgrade, the whole modem image file and other intermediate jar packages and so libraries do not need to be upgraded, a QMI (quality management interface) does not need to be expanded to the modem side, and NON-HLOS (NON-Hadoop-binary) is also not needed to be upgraded, the NV parameters are directly updated by dynamically updating the apk, the time for updating the whole package by the client and the resource consuming data flow are greatly reduced, the updating efficiency is improved, the general read-write interface of an EFS (electronic file) is provided, and the EFS (electronic file) can be updated. In addition, the invention has packaged NV _ rw _ ext storehouse in libnvrw _ ext, NV _ rw _ ext storehouse can call the interface including Diag _ LSM _ Init, register _ callback, Diag _ NV _ read, Diag _ NV _ write, Diag _ LSM _ DeInit, etc., need not expand subsequently.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for supporting dynamic read-write of NV parameters, comprising:
s1, updating and installing the preset APK application;
s2, receiving NV parameter read-write requests of preset APK applications, and calling corresponding first read-write NV parameter interfaces in a pre-packaged parameter interface library through a java local interface, wherein the first read-write NV parameter interfaces comprise a read NV universal interface, a write NV universal interface, a read EFS file universal interface and a write EFS file universal interface;
s3, calling a diag service through the first read-write NV parameter interface, issuing a command sequence to the modem side, and reading, writing and updating NV parameters in an EFS file of the modem side;
and S4, if the NV parameter is changed, restarting the equipment.
2. The method of claim 1, wherein the step S1 specifically comprises:
if the preset APK application is installed for the first time on the equipment, integrating an intermediate library libnvrw _ ext and a high-pass UI control library libmmi, wherein the parameter interface library is located in the intermediate library libnvrw _ ext;
otherwise, directly updating the APK application.
3. The method according to claim 1, wherein the step S3 of calling a diag service through the read-write NV parameter interface and issuing a command sequence to the modem side specifically includes:
the first read-write NV parameter interface sends a calling request to a second read-write NV parameter interface in a high-pass UI control library libmmi;
the second read-write NV parameter interface receives a call request of the first read-write NV parameter interface, encapsulates a command sequence header according to the call request of the first read-write NV parameter interface, and sends the call request containing the command sequence header to the send _ command interface;
the send _ command interface receives a call request of a second read-write NV parameter interface, acquires a command sequence header, generates a complete command sequence according to the call request of the second read-write NV parameter interface, and then sends the call request containing the command sequence to a diag _ callback _ send _ data interface in a libdiag of a high-pass UI control library by using a diag service;
the diag _ callback _ send _ data interface receives a calling request of a send _ command interface, assembles a character array data _ buf value according to the calling request of the send _ command interface, acquires the command sequence, and then sends the calling request containing the command sequence to the diag _ send _ data interface;
and the diag _ send _ data interface receives a request of the diag _ callback _ send _ data interface, acquires the command sequence and writes the command sequence into a file descriptor FD.
4. The method according to claim 1, wherein the reading and writing and updating the NV parameters in the EFS file of the modem side in step S3 specifically includes:
the modem side detects the writing of a command sequence, and sends a calling request to a third read-write NV parameter interface for reading and writing NV parameters of the modem side through a diag service;
the third read-write NV parameter interface receives a calling request of the modem side and sends the calling request to the NV _ cmd _ diag interface;
and calling a corresponding function EFS _ read or EFS _ write by the NV _ cmd _ diag interface according to the request of the third read-write NV parameter interface, and reading and writing the EFS file.
5. The method of claim 1, wherein the pre-packaged parameter interface library is an NV _ rw _ ext library pre-packaged in an intermediate library libnvrw _ ext.
6. A terminal supporting dynamic reading and writing of NV parameters, comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement the following steps:
s1, updating and installing the preset APK application;
s2, receiving NV parameter read-write requests of preset APK applications, and calling corresponding first read-write NV parameter interfaces in a pre-packaged parameter interface library through a java local interface, wherein the first read-write NV parameter interfaces comprise a read NV universal interface, a write NV universal interface, a read EFS file universal interface and a write EFS file universal interface;
s3, calling a diag service through the first read-write NV parameter interface, issuing a command sequence to the modem side, and reading, writing and updating NV parameters in an EFS file of the modem side;
and S4, if the NV parameter is changed, restarting the equipment.
7. The terminal supporting dynamic reading and writing of NV parameters of claim 6, wherein the step S1 specifically comprises:
if the preset APK application is installed for the first time on the equipment, integrating an intermediate library libnvrw _ ext and a high-pass UI control library libmmi, wherein the parameter interface library is located in the intermediate library libnvrw _ ext;
otherwise, directly updating the APK application.
8. The terminal supporting dynamic read-write NV parameters of claim 6, wherein the step S3 of calling a diag service through the read-write NV parameter interface and issuing a command sequence to the modem side specifically includes:
the first read-write NV parameter interface sends a calling request to a second read-write NV parameter interface in a high-pass UI control library libmmi;
the second read-write NV parameter interface receives a call request of the first read-write NV parameter interface, encapsulates a command sequence header according to the call request of the first read-write NV parameter interface, and sends the call request containing the command sequence header to the send _ command interface;
the send _ command interface receives a call request of a second read-write NV parameter interface, acquires a command sequence header, generates a complete command sequence according to the call request of the second read-write NV parameter interface, and then sends the call request containing the command sequence to a diag _ callback _ send _ data interface in a libdiag of a high-pass UI control library by using a diag service;
the diag _ callback _ send _ data interface receives a calling request of a send _ command interface, assembles a character array data _ buf value according to the calling request of the send _ command interface, acquires the command sequence, and then sends the calling request containing the command sequence to the diag _ send _ data interface;
and the diag _ send _ data interface receives a request of the diag _ callback _ send _ data interface, acquires the command sequence and writes the command sequence into a file descriptor FD.
9. The terminal supporting dynamic reading and writing of NV parameters of claim 6, wherein in step S3, the reading and writing and updating of NV parameters in the EFS file on the modem side specifically include:
the modem side detects the writing of a command sequence, and sends a calling request to a third read-write NV parameter interface for reading and writing NV parameters of the modem side through a diag service;
the third read-write NV parameter interface receives a calling request of the modem side and sends the calling request to the NV _ cmd _ diag interface;
and calling a corresponding function EFS _ read or EFS _ write by the NV _ cmd _ diag interface according to the request of the third read-write NV parameter interface, and reading and writing the EFS file.
10. The terminal supporting dynamic reading and writing of NV parameters of claim 6, wherein the pre-packaged parameter interface library is an NV _ rw _ ext library pre-packaged in an intermediate library libnvrw _ ext.
CN202011178345.8A 2020-10-29 2020-10-29 Method and terminal for supporting dynamic read-write of NV (network video) parameters Pending CN112540777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011178345.8A CN112540777A (en) 2020-10-29 2020-10-29 Method and terminal for supporting dynamic read-write of NV (network video) parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011178345.8A CN112540777A (en) 2020-10-29 2020-10-29 Method and terminal for supporting dynamic read-write of NV (network video) parameters

Publications (1)

Publication Number Publication Date
CN112540777A true CN112540777A (en) 2021-03-23

Family

ID=75013633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011178345.8A Pending CN112540777A (en) 2020-10-29 2020-10-29 Method and terminal for supporting dynamic read-write of NV (network video) parameters

Country Status (1)

Country Link
CN (1) CN112540777A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821255A (en) * 2021-08-19 2021-12-21 惠州Tcl移动通信有限公司 NV parameter setting method based on high-pass platform, terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821255A (en) * 2021-08-19 2021-12-21 惠州Tcl移动通信有限公司 NV parameter setting method based on high-pass platform, terminal and storage medium
CN113821255B (en) * 2021-08-19 2023-09-19 惠州Tcl移动通信有限公司 NV parameter setting method, terminal and storage medium based on high-pass platform

Similar Documents

Publication Publication Date Title
US9772838B2 (en) Firmware update discovery and distribution
US7779055B2 (en) Device memory management during electronic file updating
US7640542B2 (en) Managing midlet suites in OSGI environment
US9235404B2 (en) Firmware update system
US9110761B2 (en) Resource data structures for firmware updates
US11853820B2 (en) Cross-process communication method, apparatus, and device
US20070169099A1 (en) Firmware update system for facilitating firmware update in mobile handset
CN104090749A (en) Processing method and system for updating and changing interface theme of WinCE product
US9116770B2 (en) Recipe-based application conversion
JP2009059349A (en) Shared type java (r) jar file
CN104636159B (en) The method and apparatus that software in virtual machine is upgraded
CN110865837B (en) Method and terminal for system upgrade
KR20200090010A (en) Method for updating firmware, electronic device and storage medium therefor
CN103530165B (en) A kind of java solution that is applied to Internet of Things industry
JP2006163840A (en) Information processor and its method
CN112540777A (en) Method and terminal for supporting dynamic read-write of NV (network video) parameters
CN116719670B (en) Data processing method, electronic device and readable storage medium
EP4318213A1 (en) Method and apparatus for controlling android app, and terminal device
CN112379867B (en) Embedded operating system, method and storage medium based on modular development
WO2024032022A1 (en) Application icon visualization method and device
CN113050962B (en) Mobile service upgrading method, device and terminal
CN107291498B (en) Bottom layer driver upgrading method and system based on APK
CN117234498A (en) Design method, system and equipment of embedded software component
CN112764832A (en) Application program installing and uninstalling method and communication terminal
JP2004362331A (en) Information processor and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221107

Address after: Floor 3-4, Building 3A, Area A, Fuzhou Software Park, No. 89, Software Avenue, Gulou District, Fuzhou City, Fujian Province 350003

Applicant after: Fujian Liandi Commercial Technology Co.,Ltd.

Address before: 350000 building 23, area a, Fuzhou Software Park, 89 software Avenue, Gulou District, Fuzhou City, Fujian Province

Applicant before: FUJIAN LANDI COMMERCIAL EQUIPMENT Co.,Ltd.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: Floor 3-4, Building 3A, Area A, Fuzhou Software Park, No. 89, Software Avenue, Gulou District, Fuzhou City, Fujian Province 350003

Applicant after: Yinjie Nico (Fujian) Technology Co.,Ltd.

Address before: Floor 3-4, Building 3A, Area A, Fuzhou Software Park, No. 89, Software Avenue, Gulou District, Fuzhou City, Fujian Province 350003

Applicant before: Fujian Liandi Commercial Technology Co.,Ltd.

CB02 Change of applicant information