CN107454664B - Data transmission method and mobile terminal - Google Patents

Data transmission method and mobile terminal Download PDF

Info

Publication number
CN107454664B
CN107454664B CN201710632926.6A CN201710632926A CN107454664B CN 107454664 B CN107454664 B CN 107454664B CN 201710632926 A CN201710632926 A CN 201710632926A CN 107454664 B CN107454664 B CN 107454664B
Authority
CN
China
Prior art keywords
microprocessor
processor
protocol type
memory
message data
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.)
Active
Application number
CN201710632926.6A
Other languages
Chinese (zh)
Other versions
CN107454664A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710632926.6A priority Critical patent/CN107454664B/en
Publication of CN107454664A publication Critical patent/CN107454664A/en
Application granted granted Critical
Publication of CN107454664B publication Critical patent/CN107454664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a data transmission method and a mobile terminal, wherein the method comprises the following steps: when the microprocessor receives a first notification message from the wireless local area network processor, the microprocessor forwards the first notification message to the mobile baseband processor, and the mobile baseband processor reads first message data from the memory; when the microprocessor receives a second notification message from the mobile baseband processor, the microprocessor forwards the second notification message to the wireless local area network processor, and the wireless local area network processor reads second message data from the memory. The embodiment of the invention realizes the communication between the mobile baseband processor and the wireless local area network processor by controlling the transmission of data through the microprocessor without controlling the transmission of data by the application processor, can avoid the power consumption required by the work of the application processor and prolong the standby time of the mobile terminal.

Description

Data transmission method and mobile terminal
Technical Field
The present invention relates to the field of communications, and in particular, to a data transmission method and a mobile terminal.
Background
With the continuous development of terminal technology, the functions of mobile terminals are continuously enriched. The mobile terminal such as a smart phone can establish a hot spot, and a mobile network connected with the mobile terminal is shared into a wireless network for being connected with other mobile terminals. Because the hot spot of the mobile terminal has the advantages of mobility, sharing and the like, great convenience is brought to the use of the user in some scenes, and therefore the hot spot function of the mobile terminal is widely used in the user.
At present, a mobile terminal with a hotspot function comprises an application processor, a mobile baseband processor and a wireless local area network processor, wherein the application processor is used for running an application program and processing a general computing task, the mobile baseband processor is used for processing a mobile wide area network service, the wireless local area network processor is used for processing a wireless local area network service, and the three processors cooperate to realize the hotspot function of the mobile terminal. And after the mobile terminal starts the hot spot function, the mobile terminal controls the transmission of the internet surfing data stream between the mobile baseband processor and the wireless local area network processor by using the application processor.
Although the existing method realizes the hot spot function of the mobile terminal and realizes the transmission of the internet surfing data stream, the application processor is used for the general calculation of the mobile terminal and has the characteristics of rich functions, complex interfaces and higher work power consumption, so when the mobile terminal uses the hot spot function, the mobile terminal has the defects of high power consumption, high power consumption and the like.
Disclosure of Invention
The invention provides a data transmission method, which aims to solve the problems of high power consumption and high power consumption when a mobile terminal uses a hot spot function in the prior art.
In a first aspect, a data transmission method is provided, where the method is applied to a mobile terminal, and a microprocessor, a mobile baseband processor, and a wireless local area network processor are built in the mobile terminal, and the method includes:
when the microprocessor receives a first notification message from a wireless local area network processor, the microprocessor forwards the first notification message to the mobile baseband processor, and the mobile baseband processor reads first message data from a memory;
and when the microprocessor receives a second notification message from the mobile baseband processor, the microprocessor forwards the second notification message to the wireless local area network processor, and the wireless local area network processor reads second message data from the memory.
In a second aspect, a mobile terminal is provided, in which a microprocessor, a mobile baseband processor and a wireless local area network processor are built, the mobile terminal comprising:
the microprocessor is used for receiving a first notification message from the wireless local area network processor and forwarding the first notification message to the mobile baseband processor;
the mobile baseband processor is used for reading first message data from a memory after receiving the first notification message;
the microprocessor is also used for receiving a second notification message from the mobile baseband processor and forwarding the second notification message to the wireless local area network processor;
and the wireless local area network processor is used for reading second message data from the memory after receiving the second notification message.
In a third aspect, a mobile terminal is provided, which comprises a processor, a memory and a computer program stored on the memory and operable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data transmission method described above.
Therefore, in the embodiment of the invention, the mobile terminal is internally provided with the microprocessor, the mobile baseband processor and the wireless local area network processor, after the mobile terminal hotspot is established, the microprocessor is used for controlling the transmission of the message data between the mobile baseband processor and the wireless local area network processor, and as the microprocessor has the characteristics of simple function, few peripheral interfaces and the like, the power consumption of the microprocessor is far less than that of an application processor used in the existing message data transmission process, so that after the mobile terminal hotspot is opened, the method provided by the embodiment of the invention is used for transmitting the message data, the power consumption of the terminal can be effectively reduced, and the mobile terminal has the advantages of low power consumption, low power consumption and the like.
The invention realizes the communication between the mobile baseband processor and the wireless local area network processor by controlling the transmission of data through the microprocessor without controlling the transmission of data by the application processor, can avoid the power consumption required by the work of the application processor and prolong the standby time of the mobile terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a data transmission method of one embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method according to another embodiment of the present invention;
FIG. 3 is a flow chart of a data transmission method of another embodiment of the present invention;
FIG. 4 is a schematic diagram of a data transmission method according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of a data transmission method according to another embodiment of the present invention;
FIG. 6 is a block diagram of a mobile terminal of one embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to another embodiment of the present invention;
fig. 8 is a block diagram of a mobile terminal according to another embodiment of the present invention;
fig. 9 is a block diagram of a mobile terminal according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention. The method shown in fig. 1 is applied to a mobile terminal, a microprocessor, a mobile baseband processor and a wireless local area network processor are built in the mobile terminal, and the data transmission method comprises the following steps:
step 101, when the microprocessor receives a first notification message from the wlan processor, the microprocessor forwards the first notification message to the mobile baseband processor, and the mobile baseband processor reads the first message data from the memory.
In the embodiment of the invention, the mobile terminal can comprise a mobile phone, a PAD, a tablet computer and the like. The message data is a data unit exchanged and transmitted in the network, i.e. a data block to be sent by the station at one time. The transmission data between the mobile terminals and the mobile network terminal are transmitted in a message form.
In the embodiment of the invention, a microprocessor, such as an MCU (micro controller Unit) is newly arranged in the mobile terminal, and the microprocessor has the characteristics of simple function, few peripheral interfaces, low power consumption and the like.
The mobile terminal can establish a hotspot after being connected with a mobile network, other mobile terminals can be connected with the mobile network connected with the current mobile terminal through the hotspot, and the other mobile terminals carry out data communication with the mobile network terminal by using the mobile network connected with the current mobile terminal in the network-on process.
In the embodiment of the invention, a microprocessor, a mobile baseband processor and a wireless local area network processor are arranged in the mobile terminal, the mobile baseband processor is used for processing mobile wide area network services, the wireless local area network processor is used for processing wireless local area network services, and the microprocessor is used for controlling the transmission of message data between the mobile baseband processor and the wireless local area network processor.
After the hot spot of the mobile terminal is established, the wireless local area network processor can receive message data and store the received message data into a preset memory, wherein the received message data are data sent by other mobile terminals through the hot spot established by the current mobile terminal; the mobile baseband processor may receive the message data and store the received message data in a preset memory, where the received message data is data sent by the mobile network.
When the wireless local area network processor receives first message data sent by other mobile terminals through a hot spot established by the current mobile terminal, the wireless local area network processor stores the received first message data into a preset memory and sends a first notification message to the microprocessor, wherein the first notification message can indicate that the first message data in the memory needs to be transmitted to the mobile baseband processor.
Correspondingly, after receiving the first notification message from the wireless local area network processor, the microprocessor forwards the first notification message to the mobile baseband processor, and after receiving the first notification message, the mobile baseband processor reads the first message data from the memory and then sends the first message data to the mobile network terminal. The transmission of the message data from the wireless local area network processor to the mobile baseband processor is completed through the process. The microprocessor has the characteristics of simple function, few peripheral interfaces and low power consumption, so that the power consumed in the data transmission process is low, and the power consumption of the terminal is low.
For example, when the wlan processor stores the first packet data in the memory, the wlan processor configures a feature identifier for the first packet data, and carries the feature identifier with the first notification message, and after the first notification message is forwarded to the mobile baseband processor by the microprocessor, the mobile baseband processor extracts the feature identifier carried by the first notification message, and extracts the first packet data from the memory according to the feature identifier.
And 102, when the microprocessor receives a second notification message from the mobile baseband processor, forwarding the second notification message to the wireless local area network processor by the microprocessor, and reading the second message data from the memory by the wireless local area network processor.
And after receiving second message data sent by the mobile network terminal, the mobile baseband processor stores the second message data into a preset memory and sends a second notification message to the microprocessor, wherein the second notification message indicates that the second message data in the memory needs to be transmitted to the wireless local area network processor.
Correspondingly, after receiving the second notification message from the mobile baseband processor, the microprocessor forwards the second notification message to the wireless local area network processor, and after receiving the second notification message, the wireless local area network processor reads the second message data from the memory and then sends the second message data to other mobile terminals connected through the hotspot.
The power consumption of the microprocessor is lower than that of an application processor in the mobile terminal, and the mobile terminal has the characteristics of simple function, few peripheral interfaces and low power consumption, so that the power consumed in the data transmission process is low, and the power consumption of the terminal is low.
The same as the transmission of the first message data, in order to enable the wireless local area network processor to accurately read the second message data from the memory, when the mobile baseband processor sends the first message data to the memory, the first message data can carry a feature identifier, and a second notification message which needs to be sent to the microprocessor carries the same feature identifier, and the wireless local area network processor can accurately extract the second message data from the memory according to the feature identifier carried by the second notification message.
The embodiment of the invention realizes the communication between the mobile baseband processor and the wireless local area network processor by controlling the transmission of data through the microprocessor without controlling the transmission of data by the application processor, can avoid the power consumption required by the work of the application processor and prolong the standby time of the mobile terminal.
Fig. 2 is a flowchart of a data transmission method according to another embodiment of the present invention. The method shown in fig. 2 is applied to a mobile terminal, in which a microprocessor, a mobile baseband processor and a wireless local area network processor are built, and the data transmission method includes:
step 201, when the microprocessor receives the first notification message from the wlan processor, the microprocessor determines whether the protocol type of the first message data to be transmitted is the same as the protocol type defined in the configured forwarding rule.
In the embodiment of the invention, the mobile terminal is internally provided with the preset program, when the mobile terminal establishes the hot spot, the preset program configures the forwarding rule for the microprocessor, namely the forwarding rule can be configured for the microprocessor by the preset program when the mobile terminal establishes the hot spot.
The forwarding rule defines the authority of the microprocessor, and specifically defines the protocol type of the message data that the microprocessor can control transmission, for example, the forwarding rule defines that the microprocessor can control transmission of the message data of the TCP protocol type, and the microprocessor can control transmission of the message data of the UDP protocol type. The forwarding rules may define message data of one protocol type that the microprocessor is authorized to transmit, or may define message data of multiple protocol types.
Message data exchanged and transmitted between networks includes protocol type. The wireless local area network processor receives first message data transmitted by other mobile terminals connected with the hot spot of the mobile terminal, wherein the first message data comprises a protocol type, stores the first message data in a preset memory and sends a first notification message to the microprocessor, and the first notification message indicates that the first message data in the memory needs to be transmitted to the mobile baseband processor.
After receiving the first notification message sent by the wlan processor, the microprocessor determines whether the protocol type of the first packet data to be transmitted is the same as the protocol type defined in the configured forwarding rule, specifically, the microprocessor reads the first packet data from the memory first, and parses the protocol type of the first packet data, and then the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rule configured for the microprocessor. The microprocessor executes the subsequent operation according to the judgment result of the protocol type.
Step 202, if the microprocessor determines that the protocol type of the first packet data to be transmitted is the same as the protocol type defined in the configured forwarding rule, the microprocessor forwards the first notification message to the mobile baseband processor, and the mobile baseband processor reads the first packet data from the memory.
If the microprocessor judges that the protocol type of the first message data to be transmitted is the same as the protocol type defined in the forwarding rule, the microprocessor determines that the microprocessor has the authority to control the transmission of the first message data, and forwards the first notification message to the mobile baseband processor. And after receiving the first notification message, the mobile baseband processor reads the first message data to be transmitted from the memory.
For example, the microprocessor is limited in a forwarding rule configured for the microprocessor, and the microprocessor has the right to Control Transmission of message data of a TCP (Transmission Control Protocol) Protocol type, and if the microprocessor determines that the Protocol type of the first message data is the TCP Protocol type, the microprocessor controls Transmission of the message data and forwards the first notification message to the mobile baseband processor after determining that the Protocol type of the first message data is the same as the Protocol type defined in the forwarding rule.
Step 203, if the protocol type of the first message data is different from the protocol type defined in the forwarding rule, the application processor built in the mobile terminal controls the mobile baseband processor to read the first message data from the storage.
If the microprocessor judges that the protocol type of the first message data is different from the protocol type defined in the forwarding rule, the microprocessor determines that the microprocessor does not have the authority to control the transmission of the first message data, and at the moment, the microprocessor can send a first instruction to an application processor built in the mobile terminal to inform the application processor to control the transmission of the first message data from the wireless local area network processor to the mobile baseband processor.
After receiving a first instruction sent by the microprocessor, the application processor controls the mobile baseband processor to read the first message data from the memory, specifically, after receiving the first instruction for transmitting the first message data sent by the microprocessor, the application processor sends a third notification message to the mobile baseband processor, and after receiving the third notification message, the mobile baseband processor reads the first message data from the memory, so that the transmission of the first message data from the wireless local area network processor to the mobile baseband processor is completed, and the internet access of other mobile terminals connected with the mobile terminal hotspot is realized.
In the embodiment of the present invention, the protocol type defined in the forwarding rule set for the microprocessor is usually a common simpler protocol type, such as a common data service type, and other complex message data requiring more processing allows the application processor to control forwarding.
According to the embodiment of the invention, the mobile terminal is internally provided with the microprocessor, the mobile baseband processor and the wireless local area network processor, after a mobile terminal hotspot is established, the microprocessor is used for controlling the transmission of the message data between the mobile baseband processor and the wireless local area network processor, and because the microprocessor has the characteristics of simple function, few peripheral interfaces and the like, the power consumption of the microprocessor is far less than that of an application processor used in the existing message data transmission process, after the mobile terminal hotspot is opened, the message data transmission is carried out by using the method of the embodiment of the invention, the power consumption of the terminal can be effectively reduced, and the mobile terminal has the advantages of low power consumption, low power consumption and the like.
In the embodiment of the invention, a forwarding rule is preset for a microprocessor, the protocol type of message data which can be transmitted by the microprocessor is limited in the forwarding rule, the protocol type is usually a common and simpler protocol type, after the instruction for transmitting the message data is received, the microprocessor can read the specified message data from a memory and analyze the protocol type of the specified message data, the transmission of the message data can be controlled only when the microprocessor judges that the protocol type of the message data to be transmitted is the same as the protocol type limited in the forwarding rule, otherwise, the traditional application processor can be used for controlling the transmission of the message data, and the transmission function of the message data of the mobile terminal is enriched.
Fig. 3 is a flowchart of a data transmission method according to another embodiment of the present invention. The method shown in fig. 3 is applied to a mobile terminal, in which a microprocessor, a mobile baseband processor and a wireless local area network processor are built, and the data transmission method includes:
step 301, when the microprocessor receives the second notification message from the mobile baseband processor, the microprocessor determines whether the protocol type of the second packet data to be transmitted is the same as the protocol type defined in the configured forwarding rule.
In the embodiment of the invention, the mobile terminal is internally provided with the preset program, when the mobile terminal establishes the hot spot, the preset program configures the forwarding rule for the microprocessor, namely the forwarding rule can be configured for the microprocessor by the preset program when the mobile terminal establishes the hot spot.
The forwarding rule defines a Protocol type of the message data that the microprocessor can control transmission, for example, the forwarding rule defines that the microprocessor can control transmission of the message data of the TCP Protocol type, and the microprocessor can control transmission of the message data of the UDP (user datagram Protocol) Protocol type. The forwarding rules may define message data of one protocol type, or may define message data of multiple protocol types.
Message data exchanged and transmitted between networks includes protocol type. And the mobile baseband processor receives second message data transmitted by the mobile network terminal, wherein the second message data comprises a protocol type, stores the second message data into a preset memory and sends a second notification message to the microprocessor, and the second notification message indicates that the second message data in the memory needs to be transmitted to the wireless local area network processor.
After receiving the second notification message sent by the mobile baseband processor, the microprocessor determines whether the protocol type of the second packet data to be transmitted is the same as the protocol type defined in the configured forwarding rule, specifically, the microprocessor reads the second packet data from the memory first, analyzes the protocol type of the second packet data, and then determines whether the analyzed protocol type is the same as the protocol type defined in the forwarding rule configured for the microprocessor. The microprocessor executes the subsequent operation according to the judgment result of the protocol type.
Step 302, if the protocol type of the second message data to be transmitted is the same as the protocol type defined in the configured forwarding rule, the microprocessor forwards the second notification message to the wireless local area network processor, and the wireless local area network processor reads the second message data from the preset memory.
If the microprocessor judges that the protocol type of the second message data to be transmitted is the same as the protocol type defined in the forwarding rule, the microprocessor determines that the microprocessor has the authority to control the transmission of the second message data, and forwards the second notification message to the wireless local area network processor. And after receiving the second notification message, the wireless local area network processor reads the second message data to be transmitted from the memory.
Step 303, if the protocol type of the second message data is different from the protocol type defined in the forwarding rule, the application processor built in the mobile terminal controls the mobile baseband processor to read the second message data from the memory.
If the microprocessor judges that the protocol type of the second message data is different from the protocol type defined in the forwarding rule, the microprocessor determines that the microprocessor does not have the authority to control the transmission of the second message data, and at the moment, the microprocessor can send a second instruction to an application processor built in the mobile terminal to inform the application processor to control the transmission of the second message data from the wireless local area network processor to the mobile baseband processor.
After receiving the second instruction sent by the microprocessor, the application processor controls the wireless local area network processor to read the second message data from the memory, specifically, after receiving the second instruction for transmitting the second message data sent by the microprocessor, the application processor sends a fourth notification message to the wireless local area network processor, and after receiving the fourth notification message, the wireless local area network processor reads the second message data from the memory, thereby completing the transmission of the second message data from the mobile baseband processor to the wireless local area network processor.
In the embodiment of the present invention, the protocol type defined in the forwarding rule set for the microprocessor is usually a common simpler protocol type, such as a common data service type, and other complex message data requiring more processing allows the application processor to control forwarding.
In order that those skilled in the art will more clearly understand the present invention, the present invention will now be described in detail by way of the following examples.
Example 1
Fig. 4 is a schematic diagram of a data transmission method according to another embodiment of the present invention. In the data transmission method shown in fig. 4, a microprocessor, a mobile baseband processor, and a wireless lan processor are built in the mobile terminal, and the data transmission method shown in fig. 4 includes:
step 1, the wireless local area network processor receives message data 1 sent by other mobile terminals, and stores the message data 1 into a preset memory.
And step 2, the wireless local area network processor sends a notification message 1 to the microprocessor.
The microprocessor may be an MCU (micro controller Unit), which has the characteristics of low power consumption and low power consumption.
And 3, after receiving the notification message 1, the microprocessor judges whether the protocol type of the message data 1 to be transmitted is the same as the protocol type defined by the forwarding rule.
And 4, if the notification message 1 is the same as the notification message 1, the microprocessor forwards the notification message to the mobile baseband processor, and after receiving the notification message 1, the mobile baseband processor acquires the message data 1 to be transmitted from the memory and sends the message data 1 to the mobile network terminal.
And 5, if the data are different, the microprocessor sends an indication 1 to the application processor to inform the application processor of storing the message of the message data 1 which needs to be transmitted to the mobile baseband processor in the memory.
And 6, after receiving the indication 1, the application processor sends a notification message 2 to the mobile baseband processor to inform the mobile baseband processor of storing the message of the message data 1 which needs to be transmitted to the mobile baseband processor in the memory.
And 7, after receiving the notification message 2, the mobile baseband processor reads the message data 1 from the memory and sends the message data to the mobile network terminal.
Example 2
Fig. 5 is a schematic diagram of a data transmission method according to another embodiment of the present invention. In the data transmission method shown in fig. 5, a microprocessor, a mobile baseband processor and a wireless lan processor are built in the mobile terminal. If the data transmission process shown in fig. 4 is an uplink transmission process of message data, the data transmission process shown in fig. 5 is a downlink transmission process of message data.
The data transmission method shown in fig. 5 mainly includes: the mobile baseband processor receives message data 2 sent by a mobile network terminal, stores the message data 2 into a preset memory and sends a notification message a to the microprocessor, after the microprocessor receives the notification message a, the microprocessor judges whether the message type of the message data 2 is the same as the protocol type of the message data defined in the preset forwarding rule, if so, the microprocessor forwards the notification message a to the wireless local area network processor, and the wireless local area network processor reads the message data 2 from the storage area and sends the message data 2 to other mobile terminals connected to the hot spot of the current mobile terminal; if the microprocessor judges that the message type of the message data 2 is different from the protocol type of the message data defined in the preset forwarding rule, the microprocessor sends an instruction 2 to the application processor, then the application processor sends a notification message b to the wireless local area network processor, and the wireless local area network processor reads the message data 2 from the memory after receiving the notification message b. The data transmission process of example 2 is similar to the data transmission process described in example 1, and reference may be made to the data transmission process described in example 1.
According to the embodiment of the invention, the mobile terminal is internally provided with the microprocessor, the mobile baseband processor and the wireless local area network processor, after a mobile terminal hotspot is established, the microprocessor is used for controlling the transmission of the message data between the mobile baseband processor and the wireless local area network processor, and because the microprocessor has the characteristics of simple function, few peripheral interfaces and the like, the power consumption of the microprocessor is far less than that of an application processor used in the existing message data transmission process, after the mobile terminal hotspot is opened, the message data transmission is carried out by using the method of the embodiment of the invention, the power consumption of the terminal can be effectively reduced, and the mobile terminal has the advantages of low power consumption, low power consumption and the like.
In the embodiment of the invention, a forwarding rule is preset for a microprocessor, the protocol type of message data which can be transmitted by the microprocessor is limited in the forwarding rule, the protocol type is usually a common and simpler protocol type, after the instruction for transmitting the message data is received, the microprocessor can read the specified message data from a memory and analyze the protocol type of the specified message data, the transmission of the message data can be controlled only when the microprocessor judges that the protocol type of the message data to be transmitted is the same as the protocol type limited in the forwarding rule, otherwise, the traditional application processor can be used for controlling the transmission of the message data, and the transmission function of the message data of the mobile terminal is enriched.
Fig. 6 is a block diagram of a mobile terminal of one embodiment of the present invention. The mobile terminal shown in fig. 6 is provided with a microprocessor 401, a mobile baseband processor 402 and a wireless lan processor 403, and includes:
the microprocessor 401 is configured to receive a first notification message from the wlan processor 403 and forward the first notification message to the mobile baseband processor 402.
The mobile baseband processor 402 is configured to read first packet data from a memory after receiving the first notification message.
The microprocessor 401 is further configured to receive a second notification message from the mobile baseband processor 402 and forward the second notification message to the wlan processor 403.
The wlan processor 403 is configured to read the second packet data from the memory after receiving the second notification message.
The embodiment of the invention realizes the communication between the mobile baseband processor and the wireless local area network processor by controlling the transmission of data through the microprocessor without controlling the transmission of data by the application processor, can avoid the power consumption required by the work of the application processor and prolong the standby time of the mobile terminal.
Fig. 7 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal shown in fig. 7 is provided with a microprocessor 501, a mobile baseband processor 502, a wireless lan processor 503 and an application processor 504, and includes:
the microprocessor 501 is configured to receive a first notification message from the wlan processor 503, determine whether a protocol type of the first packet data to be transmitted is the same as a protocol type defined in a configured forwarding rule, and forward the first notification message to the mobile baseband processor 502 if the protocol type of the first packet data is the same as the protocol type defined in the forwarding rule.
The mobile baseband processor 502 is configured to read the first message data from the memory after receiving the first notification message.
The application processor 503 is configured to control the mobile baseband processor 502 to read the first packet data from the storage if the protocol type of the first packet data is different from the protocol type defined in the forwarding rule.
The microprocessor 501 is further configured to receive a second notification message from the mobile baseband processor 502, determine whether the protocol type of the second packet data to be transmitted is the same as the protocol type defined in the configured forwarding rule, and forward the second notification message to the wlan processor 503 if the protocol type of the second packet data is the same as the protocol type defined in the forwarding rule.
The wlan processor 503 is configured to read the second message data from the memory after receiving the second notification message.
The application processor 504 is further configured to control the mobile baseband processor 502 to read the second packet data from the memory if the protocol type of the second packet data is different from the protocol type defined in the forwarding rule.
In this embodiment of the present invention, preferably, the microprocessor 501 includes:
the first message data analysis module is used for reading the first message data from the memory and analyzing the protocol type of the first message data;
a first protocol type identification module, configured to determine whether the parsed protocol type is the same as a protocol type defined in a forwarding rule configured for the microprocessor 501.
In this embodiment of the present invention, preferably, the application processor 504 is specifically configured to send a third notification message to the mobile baseband processor 502 after the application processor 504 receives a first instruction for transmitting the first packet data, which is sent by the microprocessor 501;
the mobile baseband processor 502 is specifically configured to read the first packet data from the memory after receiving the third notification message.
In this embodiment of the present invention, preferably, the microprocessor 501 includes:
the second message data analysis module is used for reading the second message data from the memory and analyzing the protocol type of the second message data;
and a second protocol type identification module, configured to determine whether the parsed protocol type is the same as a protocol type defined in a forwarding rule configured for the microprocessor 501.
In this embodiment of the present invention, preferably, the application processor 504 is specifically configured to send a fourth notification message to the wireless lan processor 503 after receiving a second instruction for transmitting the second message data sent by the microprocessor 501;
the wlan processor 503 is specifically configured to read the second packet data from the memory after receiving the fourth notification message.
According to the embodiment of the invention, the mobile terminal is internally provided with the microprocessor, the mobile baseband processor and the wireless local area network processor, after a mobile terminal hotspot is established, the microprocessor is used for controlling the transmission of the message data between the mobile baseband processor and the wireless local area network processor, and because the microprocessor has the characteristics of simple function, few peripheral interfaces and the like, the power consumption of the microprocessor is far less than that of an application processor used in the existing message data transmission process, after the mobile terminal hotspot is opened, the message data transmission is carried out by using the method of the embodiment of the invention, the power consumption of the terminal can be effectively reduced, and the mobile terminal has the advantages of low power consumption, low power consumption and the like.
In the embodiment of the invention, a forwarding rule is preset for a microprocessor, the protocol type of message data which can be transmitted by the microprocessor is limited in the forwarding rule, the protocol type is usually a common and simpler protocol type, after the instruction for transmitting the message data is received, the microprocessor can read the specified message data from a memory and analyze the protocol type of the specified message data, the transmission of the message data can be controlled only when the microprocessor judges that the protocol type of the message data to be transmitted is the same as the protocol type limited in the forwarding rule, otherwise, the traditional application processor can be used for controlling the transmission of the message data, and the transmission function of the message data of the mobile terminal is enriched.
Another embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the embodiment of the data transmission method, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Another embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the embodiments of the data transmission method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 8 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 800 shown in fig. 8 includes: at least one processor 601, a memory 602, at least one network interface 604, and other user interfaces 603, said processor 601 comprising a microprocessor 6011, a mobile baseband processor 6012, a wireless local area network processor 6013, and an applications processor 6014. The various components in the mobile terminal 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 8.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Sync Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 602 of the subject systems and methods is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In this embodiment of the present invention, the mobile terminal 600 further includes: a computer program stored on the memory 602 and executable on the processor 601, the computer program when executed by the processor 601 performing the steps of: when the microprocessor receives a first notification message from the wireless local area network processor, the microprocessor forwards the first notification message to the mobile baseband processor, the mobile baseband processor reads first message data from a memory, when the microprocessor receives a second notification message from the mobile baseband processor, the microprocessor forwards the second notification message to the wireless local area network processor, and the wireless local area network processor reads second message data from the memory.
The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a 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, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may reside in ram, flash memory, rom, prom, or eprom, registers, among other computer-readable storage media known in the art. The computer readable storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and performs the steps of the above method in combination with the hardware thereof. In particular, the computer readable storage medium has stored thereon a computer program which, when being executed by the processor 601, carries out the steps of the embodiments of the fingerprint identification method as described above.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
before the microprocessor forwards the first notification message to the mobile baseband processor, the microprocessor judges whether the protocol type of the first message data to be transmitted is the same as the protocol type defined in the configured forwarding rule;
if so, the step of the microprocessor forwarding the first notification message to the mobile baseband processor is performed.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
the microprocessor reads the first message data from the memory and analyzes the protocol type of the first message data;
the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rules configured for the microprocessor.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
and if the protocol type of the first message data is different from the protocol type defined in the forwarding rule, controlling the mobile baseband processor to read the first message data from the storage by the application processor built in the mobile terminal.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
and after receiving a first instruction for transmitting the first message data, the application processor sends a third notification message to the mobile baseband processor, and the mobile baseband processor reads the first message data from the memory after receiving the third notification message.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
before the microprocessor forwards the second notification message to the wireless local area network processor, the microprocessor judges whether the protocol type of the second message data to be transmitted is the same as the protocol type defined in the configured forwarding rule;
if so, the step of the microprocessor forwarding the second notification message to the wireless local area network processor is performed.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
the microprocessor reads the second message data from the memory and analyzes the protocol type of the second message data;
the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rules configured for the microprocessor.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
and if the protocol type of the second message data is different from the protocol type defined in the forwarding rule, controlling the mobile baseband processor to read the second message data from the memory by the application processor built in the mobile terminal.
Optionally, the computer program when executed by the processor 601 may further implement the steps of:
and after receiving a second instruction for transmitting the second message data, the application processor sends a fourth notification message to the wireless local area network processor, and the wireless local area network processor reads the second message data from the memory after receiving the fourth notification message.
The mobile terminal 600 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the embodiment of the invention, the mobile terminal is internally provided with the microprocessor, the mobile baseband processor and the wireless local area network processor, after a mobile terminal hotspot is established, the microprocessor is used for controlling the transmission of the message data between the mobile baseband processor and the wireless local area network processor, and because the microprocessor has the characteristics of simple function, few peripheral interfaces and the like, the power consumption of the microprocessor is far less than that of an application processor used in the existing message data transmission process, after the mobile terminal hotspot is opened, the message data transmission is carried out by using the method of the embodiment of the invention, the power consumption of the terminal can be effectively reduced, and the mobile terminal has the advantages of low power consumption, low power consumption and the like.
In the embodiment of the invention, a forwarding rule is preset for a microprocessor, the protocol type of message data which can be transmitted by the microprocessor is limited in the forwarding rule, the protocol type is usually a common and simpler protocol type, after the instruction for transmitting the message data is received, the microprocessor can read the specified message data from a memory and analyze the protocol type of the specified message data, the transmission of the message data can be controlled only when the microprocessor judges that the protocol type of the message data to be transmitted is the same as the protocol type limited in the forwarding rule, otherwise, the traditional application processor can be used for controlling the transmission of the message data, and the transmission function of the message data of the mobile terminal is enriched.
Fig. 9 is a block diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 700 in fig. 9 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 700 of fig. 9 includes a Radio Frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a processor 760, an audio circuit 770, a Wi-fi (wireless fidelity) module 780, and a power supply 790, the processor 760 including a microprocessor 7601, a mobile baseband processor 7602, a wireless local area network processor 7603, and an application processor 7604.
The input unit 730 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 700. Specifically, in the embodiment of the present invention, the input unit 730 may include a touch panel 731. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on the touch panel 731 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 760, and can receive and execute commands sent from the processor 760. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 731, the input unit 730 may include other input devices 732, and the other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 740 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 700. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen is transmitted to the processor 760 to determine the type of the touch event, and then the processor 760 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 760 is a control center of the mobile terminal 700, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the mobile terminal 700 and processes data by operating or executing software programs and/or modules stored in the first memory 721 and calling data stored in the second memory 722, thereby integrally monitoring the mobile terminal 700. Alternatively, processor 760 may include one or more processing units.
In the embodiment of the present invention, the mobile terminal 700 further includes: a computer program, in particular a computer program in an application, stored in the memory 720 and executable on the processor 760, which computer program, when executed by the processor 760, performs the steps of: when the microprocessor receives a first notification message from the wireless local area network processor, the microprocessor forwards the first notification message to the mobile baseband processor, the mobile baseband processor reads first message data from a memory, when the microprocessor receives a second notification message from the mobile baseband processor, the microprocessor forwards the second notification message to the wireless local area network processor, and the wireless local area network processor reads second message data from the memory.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
before the microprocessor forwards the first notification message to the mobile baseband processor, the microprocessor judges whether the protocol type of the first message data to be transmitted is the same as the protocol type defined in the configured forwarding rule;
if so, the step of the microprocessor forwarding the first notification message to the mobile baseband processor is performed.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
the microprocessor reads the first message data from the memory and analyzes the protocol type of the first message data;
the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rules configured for the microprocessor.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
and if the protocol type of the first message data is different from the protocol type defined in the forwarding rule, controlling the mobile baseband processor to read the first message data from the storage by the application processor built in the mobile terminal.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
and after receiving a first instruction for transmitting the first message data, the application processor sends a third notification message to the mobile baseband processor, and the mobile baseband processor reads the first message data from the memory after receiving the third notification message.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
before the microprocessor forwards the second notification message to the wireless local area network processor, the microprocessor judges whether the protocol type of the second message data to be transmitted is the same as the protocol type defined in the configured forwarding rule;
if so, the step of the microprocessor forwarding the second notification message to the wireless local area network processor is performed.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
the microprocessor reads the second message data from the memory and analyzes the protocol type of the second message data;
the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rules configured for the microprocessor.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
and if the protocol type of the second message data is different from the protocol type defined in the forwarding rule, controlling the mobile baseband processor to read the second message data from the memory by the application processor built in the mobile terminal.
Optionally, the computer program when executed by the processor 701 may further implement the steps of:
and after receiving a second instruction for transmitting the second message data, the application processor sends a fourth notification message to the wireless local area network processor, and the wireless local area network processor reads the second message data from the memory after receiving the fourth notification message.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
Therefore, according to the embodiment of the invention, the mobile terminal is internally provided with the microprocessor, the mobile baseband processor and the wireless local area network processor, after the mobile terminal hotspot is established, the microprocessor is used for controlling the transmission of the message data between the mobile baseband processor and the wireless local area network processor, and as the microprocessor has the characteristics of simple function, few peripheral interfaces and the like, the power consumption of the microprocessor is far less than that of an application processor used in the existing message data transmission process, so that after the mobile terminal hotspot is opened, the message data transmission is carried out by using the method of the embodiment of the invention, the power consumption of the terminal can be effectively reduced, and the mobile terminal has the advantages of low power consumption, low power consumption and the like.
In the embodiment of the invention, a forwarding rule is preset for a microprocessor, the protocol type of message data which can be transmitted by the microprocessor is limited in the forwarding rule, the protocol type is usually a common and simpler protocol type, after the instruction for transmitting the message data is received, the microprocessor can read the specified message data from a memory and analyze the protocol type of the specified message data, the transmission of the message data can be controlled only when the microprocessor judges that the protocol type of the message data to be transmitted is the same as the protocol type limited in the forwarding rule, otherwise, the traditional application processor can be used for controlling the transmission of the message data, and the transmission function of the message data of the mobile terminal is enriched.
Since the embodiment of the mobile terminal basically corresponds to the method embodiments shown in fig. 1 to fig. 5, the description of the embodiment is not detailed, and reference may be made to the related description in the foregoing embodiment, which is not repeated herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (19)

1. A data transmission method is applied to a mobile terminal, and is characterized in that a microprocessor, a mobile baseband processor and a wireless local area network processor are arranged in the mobile terminal, and the method comprises the following steps:
when the microprocessor receives a first notification message from a wireless local area network processor, the microprocessor forwards the first notification message to the mobile baseband processor, and the mobile baseband processor reads first message data from a memory;
when the microprocessor receives a second notification message from the mobile baseband processor, the microprocessor forwards the second notification message to the wireless local area network processor, and the wireless local area network processor reads second message data from the memory; the second message data is stored into the memory by the mobile baseband processor;
wherein, the mobile baseband processor reads the first message data from the memory, including: when the wireless local area network processor stores first message data into a memory, a feature identifier is configured for the first message data, the feature identifier is carried by the first notification message, after the first notification message is forwarded to the mobile baseband processor by the microprocessor, the mobile baseband processor extracts the feature identifier carried by the first notification message, and extracts the first message data from the memory according to the feature identifier;
the wireless local area network processor reads second message data from the memory, and the method comprises the following steps: and the second notification message sent to the microprocessor carries a feature identifier which is the same as the first message data, and the second message data is extracted from the memory according to the feature identifier carried by the second notification message.
2. The method of claim 1, wherein before the microprocessor forwards the first notification message to the mobile baseband processor, the method further comprises:
the microprocessor judges whether the protocol type of the first message data to be transmitted is the same as the protocol type defined in the configured forwarding rule;
if so, the step of the microprocessor forwarding the first notification message to the mobile baseband processor is performed.
3. The method of claim 2, wherein the microprocessor determining whether the protocol type of the first packet data to be transmitted is the same as a protocol type defined in the configured forwarding rule comprises:
the microprocessor reads the first message data from the memory and analyzes the protocol type of the first message data;
the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rules configured for the microprocessor.
4. The method of claim 2, further comprising:
and if the protocol type of the first message data is different from the protocol type defined in the forwarding rule, controlling the mobile baseband processor to read the first message data from the memory by the application processor built in the mobile terminal.
5. The method according to claim 4, wherein the controlling, by the application processor built in the mobile terminal, the mobile baseband processor to read the first packet data from the memory comprises:
and after receiving a first instruction for transmitting the first message data, the application processor sends a third notification message to the mobile baseband processor, and the mobile baseband processor reads the first message data from the memory after receiving the third notification message.
6. The method of claim 1, wherein before the microprocessor forwards the second notification message to the wireless local area network processor, the method further comprises:
the microprocessor judges whether the protocol type of the second message data to be transmitted is the same as the protocol type defined in the configured forwarding rule;
if so, the step of the microprocessor forwarding the second notification message to the wireless local area network processor is performed.
7. The method of claim 6, wherein the microprocessor determining whether the protocol type of the second packet data to be transmitted is the same as a protocol type defined in the configured forwarding rule comprises:
the microprocessor reads the second message data from the memory and analyzes the protocol type of the second message data;
the microprocessor determines whether the parsed protocol type is the same as the protocol type defined in the forwarding rules configured for the microprocessor.
8. The method of claim 6, further comprising:
and if the protocol type of the second message data is different from the protocol type defined in the forwarding rule, controlling the mobile baseband processor to read the second message data from the memory by the application processor built in the mobile terminal.
9. The method according to claim 8, wherein the controlling, by the application processor built in the mobile terminal, the wlan processor to read the second packet data from the memory comprises:
and after receiving a second instruction for transmitting the second message data, the application processor sends a fourth notification message to the wireless local area network processor, and the wireless local area network processor reads the second message data from the memory after receiving the fourth notification message.
10. A mobile terminal, wherein a microprocessor, a mobile baseband processor and a wireless local area network processor are built in the mobile terminal, the mobile terminal comprising:
the microprocessor is used for receiving a first notification message from the wireless local area network processor and forwarding the first notification message to the mobile baseband processor;
the mobile baseband processor is used for reading first message data from a memory after receiving the first notification message;
the microprocessor is also used for receiving a second notification message from the mobile baseband processor and forwarding the second notification message to the wireless local area network processor;
the wireless local area network processor is used for reading second message data from the memory after receiving the second notification message; the second message data is stored into the memory by the mobile baseband processor;
the mobile baseband processor is further configured to configure a feature identifier for first packet data when the wlan processor stores the first packet data in a memory, and carry the feature identifier through the first notification message, and after the first notification message is forwarded to the mobile baseband processor by the microprocessor, the mobile baseband processor extracts the feature identifier carried by the first notification message, and extracts the first packet data from the memory according to the feature identifier;
the wireless local area network processor is further configured to carry a feature identifier, which is the same as the first message data, in the second notification message sent to the microprocessor, and extract the second message data from the memory according to the feature identifier carried in the second notification message.
11. The mobile terminal of claim 10, wherein:
the microprocessor is further configured to determine whether a protocol type of the first packet data to be transmitted is the same as a protocol type defined in a configured forwarding rule before forwarding the first notification message to the mobile baseband processor, and forward the first notification message to the mobile baseband processor if the protocol type of the first packet data is the same as the protocol type defined in the forwarding rule.
12. The mobile terminal of claim 11, wherein the microprocessor comprises:
the first message data analysis module is used for reading the first message data from the memory and analyzing the protocol type of the first message data;
and the first protocol type identification module is used for judging whether the analyzed protocol type is the same as the protocol type defined in the forwarding rule configured for the microprocessor.
13. The mobile terminal of claim 11, wherein the mobile terminal further comprises an application processor;
the application processor is configured to control the mobile baseband processor to read the first packet data from the memory if the protocol type of the first packet data is different from the protocol type defined in the forwarding rule.
14. The mobile terminal of claim 13, wherein:
the application processor is specifically configured to send a third notification message to the mobile baseband processor after the application processor receives a first instruction sent by the microprocessor to transmit the first message data;
the mobile baseband processor is specifically configured to read the first packet data from the memory after receiving the third notification message.
15. The mobile terminal of claim 10, wherein:
the microprocessor is configured to determine whether the protocol type of the second packet data to be transmitted is the same as a protocol type defined in a configured forwarding rule before forwarding the second notification message to the wlan processor, and forward the second notification message to the wlan processor if the protocol type of the second packet data is the same as the protocol type defined in the forwarding rule.
16. The mobile terminal of claim 15, wherein the microprocessor comprises:
the second message data analysis module is used for reading the second message data from the memory and analyzing the protocol type of the second message data;
and the second protocol type identification module is used for judging whether the analyzed protocol type is the same as the protocol type defined in the forwarding rule configured for the microprocessor.
17. The mobile terminal of claim 15, wherein the mobile terminal further comprises an application processor;
the application processor is configured to control the mobile baseband processor to read the second packet data from the memory if the protocol type of the second packet data is different from the protocol type defined in the forwarding rule.
18. The mobile terminal of claim 17, wherein:
the application processor is specifically configured to send a fourth notification message to the wireless local area network processor after receiving a second instruction sent by the microprocessor to transmit the second message data;
the wireless local area network processor is specifically configured to read the second packet data from the memory after receiving the fourth notification message.
19. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the data transmission method according to any one of claims 1 to 9.
CN201710632926.6A 2017-07-28 2017-07-28 Data transmission method and mobile terminal Active CN107454664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710632926.6A CN107454664B (en) 2017-07-28 2017-07-28 Data transmission method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710632926.6A CN107454664B (en) 2017-07-28 2017-07-28 Data transmission method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107454664A CN107454664A (en) 2017-12-08
CN107454664B true CN107454664B (en) 2020-04-17

Family

ID=60489613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710632926.6A Active CN107454664B (en) 2017-07-28 2017-07-28 Data transmission method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107454664B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874130B (en) * 2018-08-31 2021-06-25 Oppo广东移动通信有限公司 Notification information processing method and electronic equipment
CN109669527A (en) * 2018-12-18 2019-04-23 Oppo广东移动通信有限公司 Data processing method and electronic equipment
CN109769290B (en) * 2019-04-10 2019-07-19 展讯通信(上海)有限公司 Data transmission method for uplink and terminal device
CN110543443A (en) * 2019-09-09 2019-12-06 西安全志科技有限公司 method for controlling communication module, computer device and computer readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204180280U (en) * 2014-09-30 2015-02-25 昆明德孚科技开发有限公司 A kind of personal information shared system based on wireless self-organization network
CN104392261B (en) * 2014-10-17 2018-02-27 上海新储集成电路有限公司 A kind of SIM card and the mobile terminal with the SIM card
KR20160054850A (en) * 2014-11-07 2016-05-17 삼성전자주식회사 Apparatus and method for operating processors
KR102306359B1 (en) * 2015-01-28 2021-09-30 삼성전자주식회사 Method and Apparatus for Managing Data Using Processors
US9626227B2 (en) * 2015-03-27 2017-04-18 Intel Corporation Technologies for offloading and on-loading data for processor/coprocessor arrangements
CN104994025A (en) * 2015-07-06 2015-10-21 浙江金之路信息科技有限公司 Wireless communication Internet device
CN105100507A (en) * 2015-09-28 2015-11-25 深圳市亿通科技有限公司 Mobile terminal task processing method and mobile terminal task processing system
CN105550640B (en) * 2015-12-07 2019-07-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106162845A (en) * 2016-06-21 2016-11-23 北京小米移动软件有限公司 Data transmission method and device
CN106791105B (en) * 2016-12-22 2020-08-07 北京小米松果电子有限公司 Method for controlling prompt lamp and mobile terminal

Also Published As

Publication number Publication date
CN107454664A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107466077B (en) Network switching method and mobile terminal
CN115357178B (en) Control method applied to screen-throwing scene and related equipment
CN107454664B (en) Data transmission method and mobile terminal
CN105933904B (en) Network connection method and device
CN112486386B (en) Screen projection method, screen projection device, electronic equipment and readable storage medium
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
US20140101581A1 (en) Touchscreen Apparatus User Interface Processing Method and Touchscreen Apparatus
US20180348980A1 (en) Method and apparatus for switching screen interface and terminal
CN107196846B (en) Group chat method and mobile terminal
CN108875394B (en) Electronic device and application program control method
CN109075820A (en) A kind of Bluetooth pairing methods and terminal device
CN110166439B (en) Equipment sharing method, terminal, router and server
CN107333325B (en) Network searching method and mobile terminal
US10917792B2 (en) Method for establishing wireless local area network connection, apparatus, and terminal
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN107172287B (en) Multi-card communication method and mobile terminal
CN107132941B (en) Pressure touch method and electronic equipment
CN105681542A (en) Information processing method and system and terminal
KR101783276B1 (en) Method and apparatus for controlling display of screen background
KR101610569B1 (en) Method, apparatus and terminal device for displaying messages
CN106293486B (en) Interaction method and device between terminals
EP3585127B1 (en) Wireless communication-based connection method and terminal
CN107196847B (en) Group chat method and mobile terminal
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal

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
GR01 Patent grant
GR01 Patent grant