CN110543443A - method for controlling communication module, computer device and computer readable storage medium - Google Patents
method for controlling communication module, computer device and computer readable storage medium Download PDFInfo
- Publication number
- CN110543443A CN110543443A CN201910848803.5A CN201910848803A CN110543443A CN 110543443 A CN110543443 A CN 110543443A CN 201910848803 A CN201910848803 A CN 201910848803A CN 110543443 A CN110543443 A CN 110543443A
- Authority
- CN
- China
- Prior art keywords
- data
- processor
- communication module
- baseband processor
- controlling
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000015654 memory Effects 0.000 claims abstract description 40
- 238000012795 verification Methods 0.000 claims abstract description 26
- 238000004590 computer program Methods 0.000 claims description 22
- 230000003993 interaction Effects 0.000 abstract description 8
- 238000012545 processing Methods 0.000 abstract description 7
- 238000013461 design Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/167—Interprocessor communication using a common memory, e.g. mailbox
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/177—Initialisation or configuration control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method for controlling a communication module, a computer device and a computer readable storage medium, wherein the method comprises the steps of reading first data in a data area of a baseband processor in a nonvolatile memory and transmitting the first data to the baseband processor; acquiring verification information transmitted by the baseband processor, and judging whether the baseband processor is successfully started, if not, retransmitting the first data to the baseband processor; and acquiring notification information for updating the second data sent by the baseband processor, receiving the second data, and updating the second data into the nonvolatile memory. The invention also provides a computer device and a computer readable storage medium for realizing the method. The invention realizes good data interaction and data processing by the architectural design and the connection design of the application processor, the baseband processor, the nonvolatile memory and the radio frequency system, can reduce the nonvolatile memory at one side of the baseband processor and realize the reduction of redundant devices.
Description
Technical Field
The present invention relates to the field of computer communications, and in particular, to a method for controlling a communication module, a computer apparatus for implementing the method, and a computer-readable storage medium.
Background
Currently, the mainstream architecture of a communication module is mainly divided into two types, the first type packages an application processor and a baseband processor simultaneously through a system on chip (SoC), and both the application processor and the baseband processor can directly access a nonvolatile memory. The second one is to divide the application processor and the baseband processor into two sides, where both sides are configured with nonvolatile memories, and both the application processor and the baseband processor rely on their respective nonvolatile memories to store and read data.
With the development of technology, the deletion of redundant devices is particularly important, which affects a series of indexes of device volume and operation speed. The scheme mainly aims at the second communication module architecture, can realize component saving and cost performance improvement through implementation innovation of the scheme, and is expected to become a mainstream architecture of a communication module in the future.
disclosure of Invention
The first objective of the present invention is to provide a method for controlling a communication module based on an application processor.
The second objective of the present invention is to provide a method for controlling a communication module based on a baseband processor.
The second objective of the present invention is to provide a computer device for implementing the method for controlling a communication module.
A third objective of the present invention is to provide a computer-readable storage medium for implementing the method for controlling a communication module.
In order to achieve the first objective of the present invention, the method for controlling a communication module according to the present invention includes reading first data in a baseband data area in a non-volatile memory, and transmitting the first data to a baseband processor; acquiring verification information transmitted by the baseband processor, and judging whether the baseband processor is successfully started, if not, retransmitting the first data to the baseband processor; and acquiring notification information for updating the second data sent by the baseband processor, receiving the second data, and updating the second data into the nonvolatile memory.
According to the scheme, the application processor can realize data interaction with the baseband processor, and can store the related data to be updated of the baseband processor into the nonvolatile memory, so that the storage of the related updated data can be completed without the nonvolatile memory at one end of the baseband processor, redundant devices are reduced, and the cost performance is improved.
Further, the first data includes baseband firmware data, configuration data, and file information data.
Further, the verification information includes verification success information or verification failure information.
in a further aspect, the second data includes configuration data and file information data updated during operation of the baseband processor.
therefore, the application processor and the baseband processor realize data storage and transmission through good data interaction, and meanwhile, the data range included by the first data and the second data has pertinence, so that required data can be received among all links.
In order to achieve the second object of the present invention, the method for controlling a communication module according to the present invention includes receiving third data sent by an application processor, and determining whether the third data passes verification, if so, sending verification success information to the application processor, and running a firmware; if not, sending verification failure information to the application processor, and returning to the initial state; entering an operation state after the third data passes the verification; and judging whether the data needs to be updated in the running process, if so, storing the updated data to the application processor, and informing the application processor that the data needs to be updated.
According to the scheme, the baseband processor can realize the starting operation state and update the related data through the data interaction with the application processor, and simultaneously, the application processor stores the updated data, so that the storage of the related updated data can be finished without setting the nonvolatile memory, the redundant devices are reduced, and the cost performance is improved.
Further, the third data includes baseband firmware data, configuration data, and file information data.
in a further aspect, in the operational state, voice and data communications are made with the radio frequency system.
In a further aspect, the updated data includes configuration data and file information data updated at runtime.
Therefore, the third data and the updated data cover different ranges, so that the transmitted or received data can be accurate, and meanwhile, the baseband processor can be in voice and data communication with the radio frequency system when in the running state.
In order to achieve the third object, the present invention provides a computer device having a processor and a memory, wherein the memory stores a computer program, and the computer program realizes the steps of the method for controlling a communication module when being executed by the processor.
To achieve the fourth object, the present invention provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the method for controlling a communication module.
Drawings
Fig. 1 is a schematic configuration diagram of a method for controlling a communication module according to an embodiment of the present invention.
FIG. 2 is a flowchart of an embodiment of a method for controlling a communication module based on an application processor.
fig. 3 is a flowchart of an embodiment of a method for controlling a communication module based on a baseband processor.
The invention is further explained with reference to the drawings and the embodiments.
Detailed Description
the method for controlling the communication module is applied to products with communication functions, such as mobile phones, automobile central control and various internet of things terminals.
The invention provides a computer device which is provided with a processor and a memory, wherein a computer program is stored in the memory, and the processor realizes the method for controlling the communication module by executing the computer program.
The embodiment of the method for controlling the communication module comprises the following steps:
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of a method for controlling a communication module according to the present invention. The communication module architecture of the present embodiment includes an application processor 100, a baseband processor 101, a non-volatile processor 102, and a radio frequency system 103. The application processor 100 is configured to run a general-purpose operating system (e.g., android, linux), and an application program, and provide a mobile communication service by processing data; the baseband processor 101 processes voice signals and data transmitted and received through a communication network, and is mainly used for radio frequency communication control, such as channel encoding and decoding, digital signal processing, modulation and demodulation, air interface protocol processing, and the like; the nonvolatile processor 102 stores a program for controlling the operation of the electronic device, data and multimedia contents generated in the operation of the electronic device, and particularly, the program may include: an operating system program, a file system, a configuration program, a communication program, a graphics program, a UI program, a protocol, a codec, at least one application program, application processor firmware, baseband processor firmware, various configuration data, files, etc., and may correspond to a set of instructions. The radio frequency system 103 performs communication functions for voice communication and data communication. The application processor 100 and the baseband processor 101 are in mutual communication, the application processor 100 and the nonvolatile memory 101 are in mutual communication, the baseband processor 102 and the radio frequency system 103 are in mutual communication, and no information interaction exists between the baseband processor 102 and the nonvolatile memory 101. In particular, the non-volatile processor 102 includes a baseband processor data region and an application processor data region that enable storage of baseband processor data and application processor data, respectively.
Therefore, in the embodiment, through the design of the communication module architecture, one side of the baseband processor does not need to be provided with the nonvolatile memory, and data required during operation can be obtained through the application processor, so that redundant devices can be reduced, and storage resources are saved.
Referring to fig. 2, fig. 2 is a flowchart of an embodiment of a method for controlling a communication module based on an application processor according to the present invention. First, step S1 is executed to read first data in the baseband processor data area in the non-volatile memory, specifically, the first data includes data of baseband firmware data, configuration data, and file information. Then, step S2 is executed to transmit the first data to the baseband processor. Then, step S3 is executed to obtain the verification information transmitted by the baseband processor, specifically, the verification information includes verification success information or verification failure information. Next, step S4 is executed to determine whether the baseband processor is successfully started, and specifically, if the check information is the check failure information according to the check information obtained in step S3, the process returns to step S2. If the verification information is the verification success information, the baseband processor is successfully started, and step S5 is executed to obtain the notification information for updating the second data sent by the baseband processor, receive the second data, and update the second data to the non-volatile memory. Specifically, the second data includes configuration data and file information data updated during runtime of the baseband processor.
therefore, the application processor side can realize information interaction with the baseband processor, and realize storage of application processor data and baseband processor data through the nonvolatile memory.
Referring to fig. 3, fig. 3 is a flowchart of an embodiment of a method for controlling a communication module based on a baseband processor according to the present invention. First, step S101 is executed to receive third data transmitted by the application processor. Specifically, the third data is the same as the first data, and includes baseband firmware data, configuration data, and file information data. And then, executing step S102, determining whether the third data passes the verification, if not, executing step S103, sending verification failure information to the application processor, and returning to the initial state, if so, executing step S104, sending verification success information to the application processor, running the firmware, and entering a running state. Specifically, in the operational state, voice and data communication is performed with the radio frequency system. Then, step S105 is executed to determine whether data needs to be updated during the operation process, if yes, step S106 is executed to store the updated data to the application processor and notify the application processor that data needs to be updated, and if no, no processing is performed.
therefore, one side of the baseband processor can realize information interaction with the application processor, simultaneously carry out voice and data communication with the radio frequency system, and realize the storage of updated data through the application processor.
By the architectural design and the connection design of the application processor, the baseband processor, the nonvolatile memory and the radio frequency system, good data interaction and data processing are realized, the nonvolatile memory on one side of the baseband processor can be reduced, redundant devices are reduced, the cost performance of the communication module is improved, and the communication module can become a mainstream architecture of a future communication module.
the embodiment of the computer device comprises:
The computer device of this embodiment includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements the steps of the method for controlling the communication module.
For example, a computer program may be partitioned into one or more modules that are stored in a memory and executed by a processor to implement the modules of the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the terminal device.
The Processor may be a Central Processing Unit (CPU), or may be other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the appliance and connected to the various parts of the overall appliance by various interfaces and lines.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the appliance by operating or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the appliance, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Computer-readable storage medium embodiments:
The computer program stored in the memory of the computer device may be stored in a computer-readable storage medium if it is implemented in the form of software functional units and sold or used as a stand-alone product. Based on such understanding, all or part of the flow in the method according to the above embodiment may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the method for controlling a communication module.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Finally, it should be emphasized that the present invention is not limited to the above-described embodiments, such as specific processes of a method for controlling a communication module, changes of communication module modules, etc., and such changes should be included in the protection scope of the claims of the present invention.
Claims (10)
1. a method of controlling a communication module, comprising:
Reading first data in a data area of a baseband processor in a nonvolatile memory and transmitting the first data to the baseband processor;
Acquiring verification information transmitted by the baseband processor, and judging whether the baseband processor is successfully started, and if the baseband processor is not successfully started, retransmitting the first data to the baseband processor;
And acquiring notification information for updating second data sent by the baseband processor, receiving the second data, and updating the second data into the nonvolatile memory.
2. The method of claim 1, wherein:
The first data comprises baseband firmware data, configuration data and data of file information.
3. Method of controlling a communication module according to claim 1 or 2, characterized in that:
The verification information comprises verification success information or verification failure information.
4. a method of controlling a communication module according to claim 1 or 3, characterized in that:
The second data comprises configuration data and file information data updated by the baseband processor during operation.
5. A method of controlling a communication module, comprising:
Receiving third data sent by an application processor, judging whether the third data passes verification, if so, sending verification success information to the application processor, and running a firmware; if not, sending verification failure information to the application processor, and returning to an initial state;
Entering an operating state after the third data passes the verification;
and judging whether the data needs to be updated in the running process, if so, storing the updated data to the application processor, and informing the application processor that the data needs to be updated.
6. The method of claim 5, wherein:
The third data comprises baseband firmware data, configuration data and data of file information.
7. Method of controlling a communication module according to claim 5 or 6, characterized in that:
And when the mobile terminal is in the running state, carrying out voice and data communication with the radio frequency system.
8. method of controlling a communication module according to claim 5 or 6, characterized in that:
The updated data comprises configuration data and file information data updated in runtime.
9. A computer device, characterized by: comprising a processor and a memory, said memory storing a computer program which, when executed by said processor, carries out the steps of the method of controlling a communication module according to any one of claims 1 to 4, or carries out the steps of the method of controlling a communication module according to any one of claims 5 to 8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when being executed by a processor, carries out the steps of the method of controlling a communication module according to any one of claims 1 to 4 or carries out the steps of the method of controlling a communication module according to any one of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910848803.5A CN110543443A (en) | 2019-09-09 | 2019-09-09 | method for controlling communication module, computer device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910848803.5A CN110543443A (en) | 2019-09-09 | 2019-09-09 | method for controlling communication module, computer device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110543443A true CN110543443A (en) | 2019-12-06 |
Family
ID=68713179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910848803.5A Pending CN110543443A (en) | 2019-09-09 | 2019-09-09 | method for controlling communication module, computer device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110543443A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416460A (en) * | 2020-11-23 | 2021-02-26 | 厦门紫光展锐科技有限公司 | Hardware type self-adaption method and device, storage medium and terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130137511A (en) * | 2012-06-07 | 2013-12-17 | 삼성전자주식회사 | Apparatus and method for reducing power consumption in electronic device |
CN104427120A (en) * | 2013-09-06 | 2015-03-18 | 展讯通信(上海)有限公司 | Communication terminal and nonvolatile data processing method of communication terminal |
CN106331297A (en) * | 2015-06-30 | 2017-01-11 | 联芯科技有限公司 | Smart phone architecture, and file information reading and updating method thereof |
CN107454664A (en) * | 2017-07-28 | 2017-12-08 | 维沃移动通信有限公司 | A kind of data transmission method and mobile terminal |
CN108021454A (en) * | 2017-12-28 | 2018-05-11 | 努比亚技术有限公司 | A kind of method, terminal and the computer-readable storage medium of processor load equilibrium |
CN108803859A (en) * | 2018-05-28 | 2018-11-13 | Oppo广东移动通信有限公司 | Information processing method, device, terminal, earphone and readable storage medium storing program for executing |
CN108830114A (en) * | 2018-05-23 | 2018-11-16 | 广东高云半导体科技股份有限公司 | The data processing method and device, storage medium of nonvolatile memory |
-
2019
- 2019-09-09 CN CN201910848803.5A patent/CN110543443A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130137511A (en) * | 2012-06-07 | 2013-12-17 | 삼성전자주식회사 | Apparatus and method for reducing power consumption in electronic device |
CN104427120A (en) * | 2013-09-06 | 2015-03-18 | 展讯通信(上海)有限公司 | Communication terminal and nonvolatile data processing method of communication terminal |
CN106331297A (en) * | 2015-06-30 | 2017-01-11 | 联芯科技有限公司 | Smart phone architecture, and file information reading and updating method thereof |
CN107454664A (en) * | 2017-07-28 | 2017-12-08 | 维沃移动通信有限公司 | A kind of data transmission method and mobile terminal |
CN108021454A (en) * | 2017-12-28 | 2018-05-11 | 努比亚技术有限公司 | A kind of method, terminal and the computer-readable storage medium of processor load equilibrium |
CN108830114A (en) * | 2018-05-23 | 2018-11-16 | 广东高云半导体科技股份有限公司 | The data processing method and device, storage medium of nonvolatile memory |
CN108803859A (en) * | 2018-05-28 | 2018-11-13 | Oppo广东移动通信有限公司 | Information processing method, device, terminal, earphone and readable storage medium storing program for executing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416460A (en) * | 2020-11-23 | 2021-02-26 | 厦门紫光展锐科技有限公司 | Hardware type self-adaption method and device, storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8255908B2 (en) | Managing tasks in a distributed system | |
EP3179366A1 (en) | Method and terminal for ota updating | |
CN111461887B (en) | Block chain consensus processing method and device and electronic equipment | |
CN110297658B (en) | Function component sharing method and device and computer equipment | |
CN110784846B (en) | Vehicle-mounted Bluetooth equipment identification method and device, electronic equipment and storage medium | |
CN107864044B (en) | Information processing method and device, terminal and readable storage medium | |
CN115103336A (en) | Card information activation method and device and storage medium | |
CN110784520A (en) | File downloading method and device and electronic equipment | |
CN111178101B (en) | Recording reading method, recording reading device and storage medium | |
US20180359629A1 (en) | Communication device and method of managing profiles | |
CN110543443A (en) | method for controlling communication module, computer device and computer readable storage medium | |
CN114884912A (en) | Communication method, system, equipment and computer readable storage medium of SOA architecture | |
US20200313811A1 (en) | Hybrid automatic repeat request (harq) feedback method and device and data receiving apparatus | |
US10740218B2 (en) | Method and device for determining usage log | |
CN111338905A (en) | Application node data processing method and device | |
CN113840038B (en) | Voice data transmission method and device, electronic equipment and storage medium | |
CN113050985A (en) | Front-end engineering dependence automatic registration method and device | |
CN104518836A (en) | Method, device and electronic apparatus for inhibiting harmonic interference | |
CN112769589B (en) | Base station upgrading method and device | |
US20220225340A1 (en) | Signal transmission method and apparatus, mobile terminal, and storage medium | |
CN113656794A (en) | Method and device for identifying third-party SDK referenced by Android application | |
KR101247601B1 (en) | Method of storing a message based on a status information of the message, and mobile communication terminal | |
CN115390848A (en) | Method and device for converting and transmitting Chinese data with different code systems between systems | |
CN118098182A (en) | Mixing processing method, device, computer equipment and computer readable storage medium | |
CN114281372A (en) | Application program upgrading method and device, electronic equipment and readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191206 |