Embodiments of the present application relate to communication technology and, in particular, to a data sending method, a terminal device and a storage medium
There is a communication processor (CP) and an application processor (AP) included in a terminal device, where usually, the CP is mainly used to process wireless communication and other functions, for example, the terminal communicates with a network device through new radio (NR)/long term evolution (LTE), and the AP mainly processes application related functions. NR, which is the fifth generation (5G) communication standard proposed by the 3rd Generation Partnership Project (3GPP), is usually referred to as 5G new radio.
In prior art, since wireless-fidelity (Wi-Fi) is linked to the AP, when the terminal device sends data to the network device through a Wi-Fi network, the CP of the terminal device needs to first send data that needs to be sent to the AP through a channel between AP/CP, and then these data is sent out through the Wi-Fi network by the AP. “Wireless-Fidelity” is a name of the Wi-Fi technology proposed by the Wi-Fi Alliance in the early days, and is simply represented by Wi-Fi at present.
However, since in the prior art, after the CP sends data to the AP, it is the AP that sends the data to the network device, thereby increasing power consumption of the AP.
The embodiments of the present invention provide a data sending method, a terminal device and a storage medium to reduce power consumption of an AP.
According to a first aspect, an embodiment of the present application provides a data sending method applied to a terminal device, where the terminal device includes a communication processor CP, and the method includes:
acquiring, by the CP of the terminal device, to-be-sent data; and
sending, by the CP of the terminal device, the to-be-sent data through a non-cellular mobile communication network.
According to a second aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a communication processor CP, the CP of the terminal device is configured to acquire to-be-sent data, and the CP of the terminal device is further configured to send the to-be-sent data through a non-cellular mobile communication network.
According to a third aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, where the computer program causes a terminal device to execute:
acquiring to-be-sent data; and
sending the to-be-sent data through a non-cellular mobile communication network.
In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative efforts.
In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
The terms “first”, “second”, “third” , “fourth” and the like (if any) in the description, the claims and the above-mentioned accompanying drawings of the present application are used to distinguish similar objects, and do not need to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms “including” and “having” and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessary to be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these process, method, product, or device.
A data sending method provided by an embodiment of the present application can be applied to an application scenario where a terminal device sends data to a network device through a non-cellular mobile communication network. The terminal device can be a wireless terminal device that receives scheduling and indication information of the network device, for example, can be a mobile phone, a cell phone, a computer or a data card. The network device is a device used to communicate with a mobile device, such as a base station (NodeB), etc. The network device can merely include a Wi-Fi network device, or can include a Wi-Fi network device and a network device in a cellular mobile communication network, or can also include a Wi-Fi network device and a network device in an IMS network, or can also include a Wi-Fi network device, a network device in a cellular mobile communication network and a network device in an IMS network. The cellular mobile communication network can be a cellular mobile communication network defined by a specification of the 3rd Generation Partnership Project (3GPP), and the non-cellular mobile communication network is a network, such as a Wi-Fi network or Ethernet, etc. other than the cellular mobile communication networks defined by the 3GPP specifications, such as mobile communication technology of the 3rd generation (3G), mobile communication technology of the 4th generation (4G), cellular mobile communication technology of the 5th generation (5th Generation Wireless Systems, 5G), mobile communication technology of the 6th generation (6G) and the like.
With the evolution of communication protocols, the relationship between Wi-Fi and mobile communication has become closer and closer. As an access way, a terminal can access a cellular mobile communication network through Wi-Fi. For example, VoWi-Fi is that a terminal communicates with a non-cellular mobile communication network through Wi-Fi, and provides IP-multimedia-based voice, video and other multimedia functions, and short message service (SMS) and other functions by an IMS of the terminal device and an IMS of the network device. A 5G NAS message can also communicate with a core network (CN) of a non-cellular mobile communication network through Wi-Fi. As an access technology for terminals, Wi-Fi has an increasingly closer relationship with the traditional 3GPP access technologies, such as 2G, 3G, 4G or 5G. For example, due to changes in wireless conditions, switching mutually between Wi-Fi and these technologies of 3GPP are required.
It can be seen from the above content that, currently, signaling related to terminals and communications are mainly processed in a CP, and voice data for a non-cellular mobile communication network is also mainly processed in the CP. If Wi-Fi, as a terminal access technology, communicates with a network, a Wi-Fi processor of the terminal can only communicate directly with the AP, all signaling and data of the CP can only be forwarded by the AP. That is, since the Wi-Fi is linked to the AP, when the terminal device sends data to the network device through a Wi-Fi network, the CP of the terminal device needs to send the data to the AP first via a path between the AP/CP, and then send the data out by the AP through the Wi-Fi network. Since the AP needs to be waked up when data is sent and the data is sent to the network device by the AP, for example, in an existing scheme, if an IMS protocol stack is in the CP when VoWi-Fi, and both signaling and voice processing are in the CP when Vo Wi-Fi, the AP will be waked up when signaling/voice data is sent, so that the power consumption of the AP will be increased.
In embodiments of the present application, in consideration of the foregoing problems, a data sending method is proposed. A CP of a terminal device acquires to-be-sent data, and the CP sends the acquired to-be-sent data through a non-cellular mobile communication network. After acquiring the to-be-sent data, the CP does not need to send the to-be-sent data to an AP, but directly sends the data to a network device through the non-cellular mobile communication network, thus avoiding the need to wake up the AP, thereby helping to reduce the power consumption of the AP.
In addition, the AP can also be configured to surf the Internet, upload or download data, etc.
It can be seen from
The technical solutions of the present application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated again in some embodiments.
step 301: the CP of the terminal device acquires to-be-sent data;
step 302: the CP of the terminal device sends the to-be-sent data through a non-cellular mobile communication network.
In the present embodiment, an AP and the CP are included in the terminal device, where the AP mainly processes application-related functions, and the CP is mainly configured to process wireless communication and other functions, which for example, the terminal communicates with a network device through NR/LTE.
In addition, the non-cellular mobile communication network can be linked to the CP. The non-cellular mobile communication network is a communication network other than 3G, 4G, 5G, 6G and other cellular mobile communication networks defined by the 3rd Generation Partnership Project (3GPP), which for example, can be a Wi-Fi network or Ethernet etc. After linking the non-cellular mobile communication network to the CP, when acquiring the to-be-sent data, the CP does not have to send it to the AP, but directly sends out the acquired to-be-sent data through the non-cellular mobile communication network, for example, to the network device. In this way, it can be avoided that the AP needs to be waked up and the to-be-sent data is sent by the AP, thereby helping to reduce the power consumption of the AP.
In an embodiment, the aforementioned to-be-sent data may include at least one of the following: session initiation protocol (SIP) signaling, voice data, video data, access stratum (AS) data and non-access stratum (NAS) data.
In a possible implementation, if SIP signaling is included in the to-be-sent data, the CP of the terminal device can acquire the to-be-sent data in the following way: the CP of the terminal device receives the SIP signaling from the AP of the terminal device; or, the CP of the terminal device acquires the SIP signaling locally.
Specifically, as shown in
In an embodiment, if SIP signaling is included in the to-be-sent data, and an IMS that processes the SIP signaling is in the AP, after the AP generates the SIP signaling, the CP of the terminal device will receive the SIP signaling from the AP of the terminal device, and send the received SIP signaling through the non-cellular mobile communication network, where the CP receiving the SIP signaling from the AP, can be that the AP sends the SIP signaling to the CP actively after generating the SIP signaling, or the CP sends a request message to the AP, and the AP sends the SIP signaling to the CP after receiving the request message.
In another possible implementation, if the to-be-sent data includes voice data, the CP of the terminal device can acquire the to-be-sent data in the following way: the CP of the terminal device receives the voice data from the AP of the terminal device; or, the CP of the terminal device acquires the voice data locally.
Specifically, as shown in
In an embodiment, if voice data is included in the to-be-sent data, and the voice engine that processes the voice data is in the AP, after the AP generates the voice data, the CP of the terminal device will receive the voice data from the AP of the terminal device, and send the received voice data through the non-cellular mobile communication network, for example, to the network device, where the CP receiving the voice data from the AP, can be that the AP sends the voice data actively to the CP after generating the voice data, or can also be that the CP sends a request message to the AP, and the AP sends the voice data to the CP after receiving the request message.
In another possible implementation, if video data is included in the to-be-sent data, the CP of the terminal device can acquire the to-be-sent data in the following way: the CP of the terminal device receives the video data from the AP of the terminal device.
Specifically, as shown in
The embodiment of the present application provides a data sending method, where the CP of the terminal device acquires to-be-sent data, and the CP sends the acquired to-be-sent data through the non-cellular mobile communication network. Since after acquiring the to-be-sent data, the CP does not have to send the to-be-sent data to the AP, but directly sends it through the non-cellular mobile communication network, thus avoiding the need to wake up the AP, thereby helping to reduce the power consumption of the AP.
Furthermore, the Wi-Fi can also be linked to the AP and the CP at the same time. In this way, the AP can directly send the data generated by the AP to the network device via Wi-Fi, and the CP can directly send the data generated by the CP to the network device via Wi-Fi, thus can simplify the data sending process.
step 401: a CP of the terminal device acquires to-be-sent data; where
step 401 is similar to step 301, as for which specifically, reference may be made to the description in the above-described embodiment, which is not repeated here again; and
step 402: establishing a non-cellular mobile communication network link between the terminal device and the network device.
When the terminal device sends data to the network device, it is usually sent through a network link between the terminal device and the network device. If an established link between the terminal device and the network device is a non-cellular mobile communication network link, the terminal device will send the to-be-sent data to the network device through the non-cellular mobile communication network link; if the established link between the terminal device and the network device is a cellular mobile communication network link, the terminal device will send the to-be-sent data to the network device through the cellular mobile communication network link.
It should be noted that the terminal device can determine whether the terminal device resides in a cellular mobile communication network or a non-cellular mobile communication network through a preset condition, where the cellular mobile communication networks can include 3G, 4G, 5G NR or 6G networks and the like.
Exemplarily, the terminal device can determine whether a signal strength of the non-cellular mobile communication network is greater than a preset threshold, and if it is greater than the preset threshold, it is determined that the terminal device resides in a non-cellular mobile communication network; otherwise, it is determined that the terminal device resides in a cellular mobile communication network, where the preset threshold can be set according to actual conditions or experience. As for the specific value of the preset threshold, the embodiment of the present application does not make restriction herein.
In a possible implementation, when the terminal device determines that it resides in a non-cellular mobile communication network, the terminal device can establish the non-cellular mobile communication network link between the terminal device and the network device in the following way: the terminal device receives an internet protocol (IP) address sent by the network device, the terminal device determines port information of the terminal device, and the terminal device establishes, according to the IP address and the port information, the non-cellular mobile communication network link between the terminal device and the network device.
Specifically, the terminal device sends a request message to the network device, and the network device allocates resources related to an IMS service to the terminal device supporting the IMS service, including the IP address of the terminal device and an IP address of a network element relevant to an IMS network. The IP address of the terminal device is a destination address when the network device sends downlink data to the terminal device, and the IP address of the network element relevant to the IMS network is a destination address when the terminal device sends uplink data to the network device. It is worth noting that the aforementioned IP address sent by the network device received by the terminal device can include the IP address of the terminal device and the IP address of the network element relevant to the IMS network.
In addition, when sending data related to services such as signaling, voice, or video, etc. and establishing a link with the network device, the terminal device needs to determine the port information used by the terminal device. In practical applications, the port information can be notified by the network device to the terminal device, or it can also be determined by the network device and the terminal device through mutual negotiation when the link is established.
Through the negotiation between the terminal device and the network device, the terminal device can determine a set of IP addresses and port information of the terminal device, as well as a set of IP addresses of the network device and port information of the network device. In this way, based on these two sets of IP addresses and port information, one link between the terminal device and the network device can be established, such as establishing the non-cellular mobile communication network link between the terminal device and the network device. When the CP of the terminal device sends data, the to-be-sent data can be sent to the network device through the established non-cellular mobile communication network link.
For example,
According to one set of IP address and port information corresponding to the terminal device, and one set of IP address and port information corresponding to the network device, one link can be determined, for example, IPue and Port1, and IPnw1 and Port1 form a link, which can be a non-cellular mobile communication network link, or can also be a cellular mobile communication network link.
It should be noted that the aforementioned port information of the terminal device and that of the network device are determined independently of each other. In addition, different services of the IMS of the network device may be communication between different network elements and the terminal device, thus the IP addresses corresponding to different services may be the same or different. Different services of the IMS of the terminal device may also use different IPs. For example, for supplementary service configuration, an IP corresponding to a service transmitting data may be used, or an IP not only different from an IP of the service transmitting data, but also different from an IP of the IMS may also be used.
It is worth noting that execution orders of step 401 and step 402 are not limited in the embodiments of the present application. It can be that step 401 is first executed, and then step 402 is executed, or step 402 is first executed, and then step 401 is executed, or step 401 and step 402 are executed at the same time.
Step 403: the CP of the terminal device sends the to-be-sent data through the non-cellular mobile communication network link.
In this step, after the non-cellular mobile communication network link between the terminal device and the network device is established, the CP of the terminal device can send the to-be-sent data to the network device through the established non-cellular mobile communication network link.
According to the data sending method provided by the embodiment of the present application, the CP of the terminal device acquires the to-be-sent data, the terminal device receives the IP address sent by the network device, determines the port information of the terminal device, and then establishes, according to the IP address and the port information, the non-cellular mobile communication network link between the terminal device and the network device, and the CP of the terminal device sends the to-be-sent data through the non-cellular mobile communication network link. The non-cellular mobile communication network link can be established first by virtue of the IP address and the port information, and the to-be-sent data can be sent through the established non-cellular mobile communication network link, thus rendering the data transmission method more simple and convenient.
the CP 11 of the terminal device is configured to acquire to-be-sent data; and the CP 11 of the terminal device is further configured to send the to-be-sent data through a non-cellular mobile communication network.
According to the terminal device provided by the embodiment of the present application, the CP of the terminal device acquires the to-be-sent data, and the CP sends the acquired to-be-sent data through the non-cellular mobile communication network. After acquiring the to-be-sent data, the CP does not have to send the to-be-sent data to the AP, but directly sends the to-be-sent data to a network device through the non-cellular mobile communication network, thus avoiding the need to wake up the AP, thereby helping to reduce the power consumption of the AP.
In an embodiment, the to-be-sent data includes at least one of the following: session initiation protocol SIP signaling, voice data, video data, access stratum AS data, and non-access stratum NAS data.
In an embodiment, the CP 11 of the terminal device is further configured to establish a non-cellular mobile communication network link between the terminal device and the network device; and
the CP 11 of the terminal device is further configured to send the to-be-sent data through the non-cellular mobile communication network link.
In an embodiment, the CP 11 of the terminal device is specifically configured to:
receive an internet protocol IP address sent by the network device;
determine port information of the terminal device; and
establish, according to the IP address and the port information, the non-cellular mobile communication network link between the terminal device and the network device.
In an embodiment, the to-be-sent data includes session initiation protocol SIP signaling; and
the CP 11 of the terminal device is specifically configured to:
receive the session initiation protocol SIP signaling from the application processor AP 12 of the terminal device; or,
acquire the session initiation protocol SIP signaling locally.
In an embodiment, the to-be-sent data includes voice data; and
the CP 11 of the terminal device is specifically configured to:
receive the voice data from the application processor AP 12 of the terminal device; or,
require the voice data locally.
In an embodiment, the to-be-sent data includes video data; and
the CP 11 of the terminal device is specifically configured to:
receive the video data from the application processor AP 12 of the terminal device.
In an embodiment, the non-cellular mobile communication network includes a wireless-fidelity Wi-Fi network.
The above-described device can be used to execute the method provided in the above-described corresponding method embodiment, and the specific implementation and technical effect are similar, which will not be repeated here again.
The application processor 1121 and the communication processor 1122 can be, for example, a CPU, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware parts or any combination thereof. They can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of the present application. The application processor 1121 and the communication processor 1122 can also be a combination for implementing computing functions, for example, a combination including one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
In addition, a computer program is stored in the memory 111 and is configured to be executed by the processors 1121 and 1122. The computer program includes instructions for executing instructions of the method according to the embodiment shown in
An embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program that enables a terminal device to execute the data sending method provided by the embodiment shown in the forgoing
Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: the technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features therein can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the range of the technical solutions of the embodiments of the present application.
According to a first aspect, an embodiment of the present application provides a data sending method applied to a terminal device, where the terminal device includes a communication processor CP, and the method includes:
acquiring, by the CP of the terminal device, to-be-sent data; and
sending, by the CP of the terminal device, the to-be-sent data through a non-cellular mobile communication network.
According to the first aspect, in a first possible implementation manner, the to-be-sent data includes at least one of the following: session initiation protocol (SIP) signaling, voice data, video data, access stratum (AS) data and non-access stratum (NAS) data.
According to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the method specifically includes:
establishing a non-cellular mobile communication network link between the terminal device and a network device; and
sending, by the CP of the terminal device, the to-be-sent data through the non-cellular mobile communication network link.
According to the second possible implementation manner of the first aspect, in a third possible implementation manner, the establishing the non-cellular mobile communication network link between the terminal device and the network device includes:
receiving, by the terminal device, an internet protocol (IP) address sent by the network device;
determining, by the terminal device, port information of the terminal device; and
establishing, by the terminal device according to the IP address and the port information, the non-cellular mobile communication network link between the terminal device and the network device.
According to the first aspect or the first possible implementation manner of the first aspect, in a fourth possible implementation manner, the to-be-sent data includes session initiation protocol (SIP) signaling; and
the acquiring, by the CP of the terminal device, the to-be-sent data includes:
receiving, by the CP of the terminal device, the session initiation protocol (SIP) signaling from an application processor (AP) of the terminal device; or
acquiring, by the CP of the terminal device, the session initiation protocol (SIP) signaling locally.
According to the first aspect or the first possible implementation manner of the first aspect, in a fifth possible implementation manner, the to-be-sent data includes voice data; and
the acquiring, by the CP of the terminal device, the to-be-sent data includes:
receiving, by the CP of the terminal device, the voice data from an application processor (AP) of the terminal device; or
acquiring, by the CP of the terminal device, the voice data locally.
According to the first aspect or the first possible implementation manner of the first aspect, in a sixth possible implementation manner, the to-be-sent data includes video data; and
the acquiring, by the CP of the terminal device, the to-be-sent data includes:
receiving, by the CP of the terminal device, the video data from an application processor (AP) of the terminal device.
According to the first aspect or the first possible implementation manner of the first aspect, in a seventh possible implementation manner, the non-cellular mobile communication network includes a wireless-fidelity (Wi-Fi) network.
According to a second aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a communication processor (CP),
the CP of the terminal device is configured to acquire to-be-sent data, and
the CP of the terminal device is further configured to send the to-be-sent data through a non-cellular mobile communication network.
According to the second aspect, in a first possible implementation manner, the to-be-sent data includes at least one of the following: session initiation protocol (SIP) signaling, voice data, video data, access stratum (AS) data and non-access stratum (NAS) data.
According to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the CP of the terminal device is further configured to establish a non-cellular mobile communication network link between the terminal device and a network device; and
the CP of the terminal device is further configured to send the to-be-sent data through the non-cellular mobile communication network link.
According to the second possible implementation manner of the second aspect, in a third possible implementation manner, the CP of the terminal device is specifically configured to:
receive an internet protocol (IP) address sent by the network device;
determine port information of the terminal device; and
establish, according to the IP address and the port information, the non-cellular mobile communication network link between the terminal device and the network device.
According to the second aspect or the first possible implementation manner of the second aspect, in a fourth possible implementation manner, the to-be-sent data includes session initiation protocol (SIP) signaling; and
the CP of the terminal device is specifically configured to:
receive the session initiation protocol (SIP) signaling from an application processor (AP) of the terminal device; or
acquire the session initiation protocol (SIP) signaling locally.
According to the second aspect or the first possible implementation manner of the second aspect, in a fifth possible implementation manner, the to-be-sent data includes voice data; and
the CP of the terminal device is specifically configured to:
receive the voice data from an application processor (AP) of the terminal device; or
acquire the voice data locally.
According to the second aspect or the first possible implementation manner of the second aspect, in a sixth possible implementation manner, the to-be-sent data includes video data; and
the CP of the terminal device is specifically configured to:
receive the video data from an application processor (AP) of the terminal device.
According to the second aspect or the first possible implementation manner of the second aspect, in a seventh possible implementation manner, the non-cellular mobile communication network comprises a wireless-fidelity (Wi-Fi) network.
According to a third aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, and the computer program causes a terminal device to execute:
acquiring to-be-sent data; and
sending the to-be-sent data through a non-cellular mobile communication network.
This application is a continuation of International Application No. PCT/CN2019/077721, filed on Mar. 11, 2019, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/077721 | Mar 2019 | US |
Child | 17472354 | US |