WO2016192201A1 - Method and device for transmitting data - Google Patents

Method and device for transmitting data Download PDF

Info

Publication number
WO2016192201A1
WO2016192201A1 PCT/CN2015/086753 CN2015086753W WO2016192201A1 WO 2016192201 A1 WO2016192201 A1 WO 2016192201A1 CN 2015086753 W CN2015086753 W CN 2015086753W WO 2016192201 A1 WO2016192201 A1 WO 2016192201A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
connection
state
transmitted
transmission
Prior art date
Application number
PCT/CN2015/086753
Other languages
French (fr)
Chinese (zh)
Inventor
林君
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016192201A1 publication Critical patent/WO2016192201A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Definitions

  • This application relates to, but is not limited to, mobile terminal technology.
  • the mobile terminal When the mobile terminal performs the Internet access operation through the mobile data connection, if the wireless module of the mobile terminal receives an instruction to open the mobile data connection from the user, and determines that the WiFi connection is unsuccessful, the active packet data protocol (PDP, Packet Data) is sent to the wireless network.
  • the Context Request command receives an Activate PDP Context Response command from the wireless network.
  • the Activate PDP Context Response command includes an Internet Protocol (IP) configured for the terminal, that is, a mobile data connection is established.
  • IP Internet Protocol
  • the wireless module receives an instruction to close the data connection from the user, or determines that the WiFi connection is successful, releases the PDP context, or releases the PDP context, and sends a deactivate PDP context request command to the wireless network, and the wireless network receives the deactivated PDP context request.
  • the PDP context is released, ie the mobile data connection is disconnected.
  • the related art method for transmitting data generally includes: the application of the mobile terminal initiates a data transmission request to the wireless module of the mobile terminal, and the wireless module returns a mobile data connection status to the application, and when the application determines that the returned mobile data connection status is When the connection is unsuccessful and the WiFi connection is unsuccessful, the application sends data to the wireless module; the wireless module determines that a radio resource control (RRC) connection has been established with the wireless network, and sends an application to the wireless network through the established RRC connection.
  • Program data When the wireless module determines that the RRC connection is not established with the wireless network, before the data of the application is sent to the wireless network through the established RRC connection, the method further includes: establishing an RRC connection between the wireless module and the wireless network. The wireless module releases the RRC connection when the wireless module does not receive data from the application within the first preset time. Wherein, when the application determines that the mobile data connection status returned by the wireless module is disconnected, and the WiFi connection is unsuccessful, the process ends.
  • RRC radio resource control
  • the wireless module establishes 120 RRC connections, and each RRC connection averages.
  • the duration is about 15 seconds
  • the cumulative time of the RRC connection is more than 30 minutes
  • the total amount of data transmitted is less than 200kB
  • the average standby current is about 100mA. It can be seen that the background data of the mobile terminal is transmitted frequently and the power is high.
  • This paper proposes a method and device for transmitting data, which can reduce the power consumption of the mobile terminal.
  • a method of transmitting data including:
  • the mobile terminal When the mobile terminal needs to transmit data, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network, and the established RRC is established.
  • the connection sends data to the wireless network.
  • the method further includes:
  • the mobile terminal sets the state of transmitting data to not allow transmission of data.
  • it also includes:
  • the mobile terminal sets the state of the transmission data to a sixth preset after the data is allowed to be transmitted, or the state of the transmission data is set to a sixth preset after the data is not allowed to be transmitted. After the time, or when the screen is lit, it is judged that the WiFi connection is unsuccessful. The state of the transfer data is set to allow data to be transferred.
  • the detecting, by the mobile terminal, that entering a small number of data transmission states includes:
  • the mobile terminal After the mobile terminal enters the black screen standby for a second preset time; or, after entering the black screen standby, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is the connected duration is greater than or equal to the third preset time; And/or, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection status is connected, and determining that there is no data transmission in the fourth preset time or determining that the radio resource control RRC connection is released.
  • the mobile data connection status when it is determined that the mobile data connection status is connected, and determining that there is data transmission in the fourth preset time or determining that the RRC connection is not released; or determining that the mobile data connection status is When the duration of the connection is less than the third preset time, the state of the transmission data is maintained to allow data to be transmitted.
  • the method further includes:
  • An RRC connection is established between the mobile terminal and the wireless network.
  • a device for transmitting data comprising:
  • the sending module is configured to: when the data needs to be transmitted, determine that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network. Data is transmitted to the wireless network through the established RRC connection.
  • it also includes:
  • the detecting module is configured to: detect a small amount of data transmission state, and send a first notification to the setting module;
  • the setting module is set to: receive the first notification, and set the state of the transmitted data to not allow data to be transmitted.
  • the detecting module is further configured to:
  • the fifth preset time after the state of the transmission data is set to allow data to be transmitted last time After the interval, or the last time the state of the transmission data is set to a sixth preset time after the data is not allowed to be transmitted, or when the screen is lit, the second notification is sent to the setting module;
  • the setting module is further configured to:
  • Receiving the second notification determining that the WiFi connection is unsuccessful, setting the state of the transmission data to allow transmission of data.
  • the detecting module is configured to: detect a small amount of data transmission state by:
  • the detecting module is further configured to:
  • the mobile data connection status is connected, and it is determined that there is data transmission in the fourth preset time or that the RRC connection is not released; or, determining that the mobile data connection status is the connected duration When the third preset time is less than, the third notification is sent to the setting module;
  • the setting module is further configured to:
  • Receiving the third notification, maintaining the state of the transmission data is permission to transmit data.
  • the sending module is further configured to:
  • the WiFi connection is unsuccessful, and the status of the transmission data is that data is allowed to be transmitted, and it is determined that an RRC connection is not established with the wireless network. Establishing an RRC connection with the wireless network, and transmitting data to the wireless network through the established RRC connection.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiment of the present invention includes: when the mobile terminal needs to transmit data, it is determined that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that the data has been An RRC connection is established between the wireless networks, and data is transmitted to the wireless network through the established RRC connection.
  • the state of transmitting data is that data is allowed to be transmitted
  • data is sent to the wireless network through the established RRC connection, thereby reducing the number of establishments of the RRC connection, thereby reducing power consumption of the mobile terminal.
  • FIG. 1 is a flowchart of a method for transmitting data according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a process of transmitting data by a mobile terminal of the related art
  • FIG. 3 is a schematic diagram of a process for transmitting data by a mobile terminal according to a first embodiment of the present invention
  • FIG. 4 is a schematic diagram of a setting interface provided by a mobile terminal for a user according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of setting a fourth preset time and a fifth preset time to 3 minutes according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a state in which transmission data is set according to a fourth embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing a state in which data is transmitted according to a fifth embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing a state in which data is transmitted according to a sixth embodiment of the present invention.
  • FIG. 9 is a schematic diagram showing a state in which data is transmitted according to a seventh embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an apparatus for transmitting data according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for transmitting data, including:
  • Step 100 When the mobile terminal needs to transmit data, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that An RRC connection is established with the wireless network, and data is transmitted to the wireless network through the established RRC connection.
  • the method further includes: establishing an RRC connection between the mobile terminal and the wireless network.
  • the method further includes:
  • Step 101 Set the state of the transmitted data to not allow data to be transmitted.
  • the mobile terminal detects that entering a small amount of data transmission status includes: after the mobile terminal enters the second preset time of the black screen standby; or, after entering the black screen standby, it is determined that the WiFi connection is unsuccessful, and the mobile data connection status is determined. If the duration of the connection is greater than or equal to the third preset time; and/or, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is connected, and it is determined that there is no data transmission in the fourth preset time or It is determined that the RRC connection is released.
  • the mobile terminal detects whether the second preset time of entering the black screen standby is reached; or, after entering the black screen standby, determining whether the WiFi connection is successful, and determining whether the mobile data connection status is the connected duration is greater than or equal to the third And determining whether the WiFi connection is successful, and determining whether the mobile data connection status is connected, and determining whether there is data transmission in the fourth preset time or determining whether the RRC connection is released belongs to a person skilled in the art. The well-known technology will not be described here.
  • the second preset time or the third preset time or the fourth preset time may be set by the system default or set by the user.
  • the mobile data connection status when it is determined that the mobile data connection status is connected, it is determined that there is data transmission in the fourth preset time or it is determined that the RRC connection is not released; or, the mobile data connection status is determined to be the connected duration.
  • the state in which the data is transmitted is allowed to transmit data.
  • the mobile terminal sets the state of the last transmission data to the fifth preset time after the data is allowed to be transmitted, or the state of the last transmission data is set to the sixth preset time after the data is not allowed to be transmitted. Or when the screen is lit, it is judged that the WiFi connection is unsuccessful, and the state of the transmission data is set to allow the data to be transmitted.
  • the fifth preset time or the sixth preset time may be set by a user or a system default.
  • the different time periods, the fifth preset time or the sixth preset time may be set to different values.
  • the wireless session between the mobile terminal and the wireless network does not change, and the Internet Protocol (IP) address assigned to the mobile terminal is Information such as the Domain Name System (DNS) does not change.
  • IP Internet Protocol
  • a wireless session refers to a PDP context; in a Long Term Evolution (LTE) system, a wireless session refers to an evolved packet system. (EPS, Evolved Packet System) bearer.
  • EPS Evolved Packet System
  • the mobile terminal Since when the RRC is in the connected state, the mobile terminal continuously decodes the physical channel regardless of whether there is data transmission, and the power consumption is large. It is estimated initially that the average current of the WCDMA mobile terminal in the RRC connected state is about 200 mA, which is much higher than the average current of 10 mA in the RRC idle state. In the RRC connected state, the power consumption of the mobile terminal does not increase linearly with the amount of data transmitted, such as data transmission at 10 kilobits per second (kbps) and 100 kbps, and the average power consumption difference of the wireless module. Within 5%. Therefore, in the case of a small amount of data transmission, the power consumption of the mobile terminal is proportional to the duration of the RRC stay connected state.
  • the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is the connected duration is greater than or equal to the third. a preset time; and/or, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection status is connected, and determining that there is no data transmission within the third preset time or determining that the radio resource control RRC connection is released,
  • the state of the transmission data is set to not allow transmission of data, thereby reducing the number of establishments of the RRC connection, thereby reducing the power consumption of the mobile terminal.
  • the data transmission of the mobile terminal is automatically initiated by the application, not triggered by the user, and the timeliness of the data transmission does not have any direct impact on the user. If limiting data
  • the transmission initiation time is such that the randomly initiated data transmission is concentrated to a specified time period, so that the mobile terminal transmits data of multiple applications during one RRC connection, and reduces the number of times the RRC connection is established, thereby reducing the mobile terminal. Black screen standby power consumption.
  • FIG. 2 is a schematic diagram of a process of transmitting data by a related art mobile terminal. As shown in FIG. 2, the mobile data connection status of the mobile terminal is always connected, and the application 1 and the application 2 respectively initiate a data transmission request to the wireless module at different time points, and the wireless module establishes three RRC connections.
  • the wireless module periodically sets the state of the transmitted data to allow transmission of data and disallowment of transmission of data.
  • FIG. 3 is a schematic diagram of a process of transmitting data by the mobile terminal of the first embodiment.
  • the state of the transmission data is set to allow data to be transmitted, and the wireless module notifies all application data transmission data that the state is permitted to transmit data;
  • the application 1 initiates a data transmission request to the wireless module, and the wireless module sends a state of the mobile data connection state and the transmission data to the application 1, and the application 1 determines that the mobile data connection state is connected, and the state of the transmitted data is Allowing data transmission, and the WiFi connection is unsuccessful, sending data to the wireless module, the wireless module determines that no RRC connection is established with the wireless network, establishes an RRC connection with the wireless network, and transmits data of the application 1;
  • the application 2 initiates a data transmission request to the wireless module, and the wireless module sends a state of the mobile data connection state and the transmission data to the application 2, and the application 2 determines that the state of the transmitted data is not allowed to transmit data, and does not transmit to the wireless
  • the module sends data
  • the application 1 initiates a data transmission request to the wireless module, and the wireless module sends a state of the mobile data connection state and the transmitted data to the application 1, and the application 1 determines that the state of the transmitted data is not allowed to transmit data, and does not transmit to the wireless
  • the module sends data
  • the wireless module sets the state of transmitting data to allow data transmission, and the wireless module notifies all applications that the state of the data transmission is not allowed to transmit data;
  • the application 1 and the application 2 send a data transmission request to the wireless module, and the wireless module applies to the application.
  • the program 1 and the application 2 send the mobile data connection status and the status of the transmission data, and the application 1 and the application 2 determine that the mobile data connection status is connected, and the status of the transmission data is to allow data transmission, and the WiFi connection is unsuccessful.
  • Sending data to the wireless module the wireless module determines that an RRC connection is not established with the wireless network, establishes an RRC connection with the wireless network, and transmits data of the application 1 and the application 2;
  • FIG. 4 is a schematic diagram of a setting interface provided by a mobile terminal for a user. As shown in Figure 4, the user has enabled the standby power saving mode. If the time period is from 0 o'clock to 6 o'clock, the status of transmitting data is set to allow data transmission every 8 minutes; if it is between 6 o'clock and 12 o'clock. The state of the transmission data is set to allow data transmission every 3 minutes; the state of setting the transmission data is to allow the data transmission to be set after 30 seconds after the data transmission is allowed.
  • FIG. 5 is a schematic diagram showing a third embodiment setting a representation indicating whether or not data transfer is permitted.
  • the mobile terminal sets the state of the transmission data to allow the data to be transmitted again after 3 minutes from the time when the state of the last data transmission is set to allow the data to be transmitted; or, the transmission is performed from the last time.
  • the status of the data is set to not allow the data to be transmitted, and the status of the transmitted data is set to allow the data to be transmitted again after 3 minutes.
  • FIG. 6 is a schematic diagram showing a state in which data is transmitted in the fourth embodiment.
  • the wireless module sets the state of the transmission data to allow data transmission every three minutes for a duration of 15 seconds, and sets the state of the transmission data to allow data transmission.
  • the wireless module sets the status of the transmitted data to when the screen is lit. It is allowed to transfer data, and the status of the transmitted data is set to not allow data to be transferred 15 seconds after the screen is blank.
  • FIG. 7 is a schematic diagram showing a state in which transmission data is set in the fifth embodiment. As shown in FIG. 7, during the standby of the black terminal of the mobile terminal, after the state of the transmission data is set to allow data transmission, if the application does not have data transmission, the state of the transmission data is automatically set to not allow transmission of data after a certain time.
  • the status of the transmitted data is set to allow the duration of the transmitted data to be 30 seconds.
  • the application has no data transmission, and after 30 seconds, the wireless module sets the status of the transmitted data to no. Allow data transfer.
  • FIG. 8 is a schematic diagram showing a state in which data is transmitted in the sixth embodiment. As shown in FIG. 8, during the standby of the mobile terminal black screen, after the data transmission state is set to allow data transmission, if the application has data transmission, after the data transmission ends, the state of the transmission data is allowed to transmit data for a certain time.
  • the state of the transmitted data is 30 seconds for the data to be transmitted. After the data transmission is finished, the state of the transmitted data is to allow the data to be transmitted for at least 10 seconds; the state of the transmitted data is to allow the data to be transmitted, regardless of Without data transmission, the wireless module maintains the state of transmitting data to allow data transmission for 30 seconds, and the application transmits data block 1 within 30 seconds.
  • the state of the transmitted data is that after the transmission data is allowed to remain for more than 30 seconds, the data block 1 needs to remain for 10 seconds after transmission, so the state of the transmitted data remains as the data is allowed to be transmitted.
  • the application initiates the transmission of data block 2, after data block 2 is transmitted, there is no data transmission within 10 seconds, and the state of setting the transmission data is not allowed to transmit data, and no application is allowed to transmit data.
  • FIG. 9 is a schematic diagram showing a state in which data is transmitted in the seventh embodiment.
  • the state of the transmission data is set to allow data transmission, if the application has data transmission, the state of the transmission data is to allow the transmission data to be at least kept until the RRC connection is released.
  • the state of the transmitted data is that the transmission data is allowed to remain for 30 seconds
  • the application transmits the data block 1
  • the wireless module establishes the RRC connection, and then continues for a period of time without data transmission RRC.
  • the connection is released.
  • the state of the transmitted data is that the duration of the data to be transmitted is less than 30 seconds
  • the state of the transmitted data continues to be allowed to transmit data; the application transmits the data block 2, and the wireless module establishes an RRC connection, when the state of the data is transmitted.
  • the state of the transmitted data continues to be allowed to transmit data until the RRC connection is released, the state of the transmitted data is set to not allow transmission of data, and no program is allowed. transfer data.
  • an embodiment of the present invention further provides an apparatus for transmitting data, including:
  • the sending module 11 is configured to: when the data needs to be transmitted, determine that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network. Transmitting data to the wireless network through the established RRC connection.
  • the detecting module 12 is configured to: detect that a small amount of data transmission state is entered, and send a first notification to the setting module 13;
  • the setting module 13 is configured to: receive the first notification, and set the state of the transmission data to not allow transmission of data.
  • the detecting module 12 is further configured to:
  • the setting module 13 is also set to:
  • Receiving the second notification determining that the WiFi connection is unsuccessful, setting the state of the transmission data to allow the data to be transmitted.
  • the detecting module 12 is configured to detect a small amount of data transmission state by:
  • the detecting module 12 is further configured to:
  • the setting module 13 is also set to:
  • Receiving the third notification, keeping the state of the transmitted data is to allow the data to be transmitted.
  • the sending module 11 is further configured to:
  • the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that the RRC connection is not established with the wireless network, and the wireless network is established.
  • the RRC connection transmits data to the wireless network through the established RRC connection.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the state of transmitting data is that data is allowed to be transmitted
  • data is sent to the wireless network through the established RRC connection, thereby reducing the number of establishments of the RRC connection, thereby reducing power consumption of the mobile terminal.

Landscapes

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

Abstract

Disclosed are a method and a device for transmitting data. The method comprises: when a mobile terminal needs to transmit data, if it is determined that a mobile data connection state is connected, a WiFi connection fails and a data transmission state is allowing data transmission, and it is determined that an RRC connection is already established with a wireless network, sending data to the wireless network by using the established RRC connection.

Description

一种传输数据的方法和装置Method and device for transmitting data 技术领域Technical field
本申请涉及但不限于移动终端技术。This application relates to, but is not limited to, mobile terminal technology.
背景技术Background technique
移动终端通过移动数据连接进行上网操作时,如果移动终端的无线模块接收到来自用户的开启移动数据连接的指令,且判断出WiFi连接不成功,向无线网络发送激活分组数据协议(PDP,Packet Data Protocol)上下文请求指令,接收来自无线网络的激活PDP上下文响应指令;其中,激活PDP上下文响应指令中包含为终端配置的互联网协议(IP,Internet Protocol),即建立了移动数据连接。无线模块接收到来自用户的关闭数据连接的指令,或判断出WiFi连接成功,释放PDP上下文,或释放PDP上下文,且向无线网络发送去激活PDP上下文请求指令,无线网络接收到去激活PDP上下文请求指令后,释放PDP上下文,即断开了移动数据连接。When the mobile terminal performs the Internet access operation through the mobile data connection, if the wireless module of the mobile terminal receives an instruction to open the mobile data connection from the user, and determines that the WiFi connection is unsuccessful, the active packet data protocol (PDP, Packet Data) is sent to the wireless network. The Context Request command receives an Activate PDP Context Response command from the wireless network. The Activate PDP Context Response command includes an Internet Protocol (IP) configured for the terminal, that is, a mobile data connection is established. The wireless module receives an instruction to close the data connection from the user, or determines that the WiFi connection is successful, releases the PDP context, or releases the PDP context, and sends a deactivate PDP context request command to the wireless network, and the wireless network receives the deactivated PDP context request. After the instruction, the PDP context is released, ie the mobile data connection is disconnected.
移动终端建立了移动数据连接后,移动终端的应用程序和无线网络之间会进行频繁的、少量的数据传输。After the mobile terminal establishes a mobile data connection, frequent and small amount of data transmission is performed between the application of the mobile terminal and the wireless network.
相关技术的传输数据的方法大致包括:移动终端的应用程序向移动终端的无线模块发起数据传输请求,无线模块向应用程序返回移动数据连接状态,当应用程序判断出返回的移动数据连接状态为已连接,且WiFi连接不成功时,应用程序向无线模块发送数据;无线模块判断出已经与无线网络之间建立无线资源控制(RRC,Radio Resource Control)连接,通过建立的RRC连接向无线网络发送应用程序的数据。其中,当无线模块判断出没有与无线网络之间建立RRC连接时,在通过建立的RRC连接向无线网络发送应用程序的数据之前还包括:无线模块和无线网络之间建立RRC连接。其中,当无线模块在第一预设时间内没有接收到来自应用程序的数据时,无线模块释放RRC连接。其中,当应用程序判断出无线模块返回的移动数据连接状态为已断开,且WiFi连接不成功时,结束上述流程。 The related art method for transmitting data generally includes: the application of the mobile terminal initiates a data transmission request to the wireless module of the mobile terminal, and the wireless module returns a mobile data connection status to the application, and when the application determines that the returned mobile data connection status is When the connection is unsuccessful and the WiFi connection is unsuccessful, the application sends data to the wireless module; the wireless module determines that a radio resource control (RRC) connection has been established with the wireless network, and sends an application to the wireless network through the established RRC connection. Program data. When the wireless module determines that the RRC connection is not established with the wireless network, before the data of the application is sent to the wireless network through the established RRC connection, the method further includes: establishing an RRC connection between the wireless module and the wireless network. The wireless module releases the RRC connection when the wireless module does not receive data from the application within the first preset time. Wherein, when the application determines that the mobile data connection status returned by the wireless module is disconnected, and the WiFi connection is unsuccessful, the process ends.
相关技术的传输数据的方法中,当移动终端黑屏待机时,如果WiFi连接不成功,且移动数据连接状态为已连接,则很多应用程序会在后台频繁的传输少量的数据,例如,传输控制协议(TCP,Transmission Control Protocol)连接心跳包、版本更新检查、服务器通知信息等等。这些数据传输具有数据量少、传输发起时间随机、单次传输持续时间短等特点,导致移动终端无线模块频繁建立和释放RRC连接,造成单位时间内RRC保持连接状态的总时间较长,导致移动终端功耗较高。In the related art method for transmitting data, when the mobile terminal is in a black screen standby, if the WiFi connection is unsuccessful and the mobile data connection state is connected, many applications frequently transmit a small amount of data in the background, for example, a transmission control protocol. (TCP, Transmission Control Protocol) connects heartbeat packets, version update check, server notification information, and so on. These data transmissions have the characteristics of less data, random transmission initiation time, and short duration of a single transmission. As a result, the wireless module of the mobile terminal frequently establishes and releases the RRC connection, resulting in a longer total time for the RRC to remain connected in a unit time, resulting in mobile. The terminal consumes a lot of power.
通过实测发现,某个使用正常的移动终端在黑屏待机的一小时内,采用相关技术的网络连接方法时,如果网络状态处于连接状态,则无线模块建立了120次RRC连接,每个RRC连接平均持续时间约为15秒,RRC连接的累积时间超过了30分钟,传输的数据总量却不到200kB,平均待机电流约为100mA。可见移动终端后台数据发送很频繁,功率较高。Through actual measurement, it is found that when a normal mobile terminal uses the related technology network connection method within one hour of the black screen standby, if the network status is in the connected state, the wireless module establishes 120 RRC connections, and each RRC connection averages. The duration is about 15 seconds, the cumulative time of the RRC connection is more than 30 minutes, the total amount of data transmitted is less than 200kB, and the average standby current is about 100mA. It can be seen that the background data of the mobile terminal is transmitted frequently and the power is high.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提出了一种传输数据的方法和装置,能够降低移动终端的功耗。This paper proposes a method and device for transmitting data, which can reduce the power consumption of the mobile terminal.
一种传输数据的方法,包括:A method of transmitting data, including:
移动终端需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。When the mobile terminal needs to transmit data, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network, and the established RRC is established. The connection sends data to the wireless network.
可选地,当所述移动终端检测到进入少量数据传输状态时,该方法还包括:Optionally, when the mobile terminal detects that a small number of data transmission states are entered, the method further includes:
所述移动终端将传输数据的状态设置为不允许传输数据。The mobile terminal sets the state of transmitting data to not allow transmission of data.
可选地,还包括:Optionally, it also includes:
所述移动终端在上一次将所述传输数据的状态设置为允许传输数据之后的第五预设时间后,或上一次将所述传输数据的状态设置为不允许传输数据之后的第六预设时间后,或屏幕被点亮时,判断出WiFi连接不成功,将所 述传输数据的状态设置为允许传输数据。The mobile terminal sets the state of the transmission data to a sixth preset after the data is allowed to be transmitted, or the state of the transmission data is set to a sixth preset after the data is not allowed to be transmitted. After the time, or when the screen is lit, it is judged that the WiFi connection is unsuccessful. The state of the transfer data is set to allow data to be transferred.
可选地,所述移动终端检测到进入少量数据传输状态包括:Optionally, the detecting, by the mobile terminal, that entering a small number of data transmission states includes:
移动终端进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接,且判断出第四预设时间内没有数据传输或判断出无线资源控制RRC连接被释放。After the mobile terminal enters the black screen standby for a second preset time; or, after entering the black screen standby, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is the connected duration is greater than or equal to the third preset time; And/or, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection status is connected, and determining that there is no data transmission in the fourth preset time or determining that the radio resource control RRC connection is released.
可选地,当判断出所述移动数据连接状态为已连接,且判断出第四预设时间内有数据传输或判断出RRC连接没有被释放;或者,判断出所述移动数据连接状态为已连接的持续时间小于第三预设时间时,保持所述传输数据的状态为允许传输数据。Optionally, when it is determined that the mobile data connection status is connected, and determining that there is data transmission in the fourth preset time or determining that the RRC connection is not released; or determining that the mobile data connection status is When the duration of the connection is less than the third preset time, the state of the transmission data is maintained to allow data to be transmitted.
可选地,当所述移动终端判断出所述移动数据连接状态为已连接,且所述WiFi连接不成功,且所述传输数据的状态为允许传输数据,且没有与无线网络之间建立RRC连接时,在所述通过建立的RRC连接向无线网络发送数据之前还包括:Optionally, when the mobile terminal determines that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the status of the transmission data is that data is allowed to be transmitted, and the RRC is not established with the wireless network. When connecting, before the sending the data to the wireless network through the established RRC connection, the method further includes:
所述移动终端和所述无线网络之间建立RRC连接。An RRC connection is established between the mobile terminal and the wireless network.
一种传输数据的装置,包括:A device for transmitting data, comprising:
发送模块,设置为:需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。The sending module is configured to: when the data needs to be transmitted, determine that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network. Data is transmitted to the wireless network through the established RRC connection.
可选地,还包括:Optionally, it also includes:
检测模块,设置为:检测到进入少量数据传输状态,向设置模块发送第一通知;The detecting module is configured to: detect a small amount of data transmission state, and send a first notification to the setting module;
设置模块,设置为:接收到第一通知,将传输数据的状态设置为不允许传输数据。The setting module is set to: receive the first notification, and set the state of the transmitted data to not allow data to be transmitted.
可选地,所述检测模块还设置为:Optionally, the detecting module is further configured to:
在上一次将所述传输数据的状态设置为允许传输数据之后的第五预设时 间后,或上一次将所述传输数据的状态设置为不允许传输数据之后的第六预设时间后,或屏幕被点亮时,向所述设置模块发送第二通知;The fifth preset time after the state of the transmission data is set to allow data to be transmitted last time After the interval, or the last time the state of the transmission data is set to a sixth preset time after the data is not allowed to be transmitted, or when the screen is lit, the second notification is sent to the setting module;
所述设置模块还设置为:The setting module is further configured to:
接收到第二通知,判断出WiFi连接不成功,将所述传输数据的状态设置为允许传输数据。Receiving the second notification, determining that the WiFi connection is unsuccessful, setting the state of the transmission data to allow transmission of data.
可选地,所述检测模块是设置为:通过如下方式检测到进入少量数据传输状态:Optionally, the detecting module is configured to: detect a small amount of data transmission state by:
进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接,且判断出第四预设时间内没有数据传输或判断出无线资源控制RRC连接被释放。After entering the second preset time of the black screen standby; or, after entering the black screen standby, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection state is the connected duration is greater than or equal to the third preset time; and / Or, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection status is connected, and it is determined that there is no data transmission in the fourth preset time or it is determined that the radio resource control RRC connection is released.
可选地,所述检测模块还设置为:Optionally, the detecting module is further configured to:
当判断出所述移动数据连接状态为已连接,且判断出第四预设时间内有数据传输或判断出RRC连接没有被释放;或者,判断出所述移动数据连接状态为已连接的持续时间小于第三预设时间时,向所述设置模块发送第三通知;When it is determined that the mobile data connection status is connected, and it is determined that there is data transmission in the fourth preset time or that the RRC connection is not released; or, determining that the mobile data connection status is the connected duration When the third preset time is less than, the third notification is sent to the setting module;
所述设置模块还设置为:The setting module is further configured to:
接收到第三通知,保持所述传输数据的状态为允许传输数据。Receiving the third notification, maintaining the state of the transmission data is permission to transmit data.
可选地,所述发送模块还设置为:Optionally, the sending module is further configured to:
需要传输数据时,判断出所述移动数据连接状态为已连接,且所述WiFi连接不成功,且所述传输数据的状态为允许传输数据,且判断出没有与无线网络之间建立RRC连接,和所述无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。When the data needs to be transmitted, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the status of the transmission data is that data is allowed to be transmitted, and it is determined that an RRC connection is not established with the wireless network. Establishing an RRC connection with the wireless network, and transmitting data to the wireless network through the established RRC connection.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
与相关技术相比,本发明实施例包括:移动终端需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。通过本发明实施例的方案,在传输数据的状态为允许传输数据时,才通过建立的RRC连接向无线网络发送数据,从而减少了RRC连接的建立次数,从而降低了移动终端的功耗。Compared with the related art, the embodiment of the present invention includes: when the mobile terminal needs to transmit data, it is determined that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that the data has been An RRC connection is established between the wireless networks, and data is transmitted to the wireless network through the established RRC connection. With the solution of the embodiment of the present invention, when the state of transmitting data is that data is allowed to be transmitted, data is sent to the wireless network through the established RRC connection, thereby reducing the number of establishments of the RRC connection, thereby reducing power consumption of the mobile terminal.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例传输数据的方法的流程图;1 is a flowchart of a method for transmitting data according to an embodiment of the present invention;
图2为相关技术的移动终端传输数据的过程的示意图;2 is a schematic diagram of a process of transmitting data by a mobile terminal of the related art;
图3为本发明第一实施例移动终端传输数据的过程的示意图;3 is a schematic diagram of a process for transmitting data by a mobile terminal according to a first embodiment of the present invention;
图4为本发明实施例移动终端为用户提供的设置界面的示意图;4 is a schematic diagram of a setting interface provided by a mobile terminal for a user according to an embodiment of the present invention;
图5为本发明实施例分别将第四预设时间和第五预设时间设置为3分钟的示意图;FIG. 5 is a schematic diagram of setting a fourth preset time and a fifth preset time to 3 minutes according to an embodiment of the present invention;
图6为本发明第四实施例设置传输数据的状态的示意图;6 is a schematic diagram of a state in which transmission data is set according to a fourth embodiment of the present invention;
图7为本发明第五实施例设置传输数据的状态的示意图;FIG. 7 is a schematic diagram showing a state in which data is transmitted according to a fifth embodiment of the present invention; FIG.
图8为本发明第六实施例设置传输数据的状态的示意图;FIG. 8 is a schematic diagram showing a state in which data is transmitted according to a sixth embodiment of the present invention; FIG.
图9为本发明第七实施例设置传输数据的状态的示意图;FIG. 9 is a schematic diagram showing a state in which data is transmitted according to a seventh embodiment of the present invention; FIG.
图10为本发明实施例传输数据的装置的结构组成示意图。FIG. 10 is a schematic structural diagram of an apparatus for transmitting data according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面结合附图对本发明的实施方式进行描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。Embodiments of the present invention will be described below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
参见图1,本发明实施例提出了一种传输数据的方法,包括:Referring to FIG. 1, an embodiment of the present invention provides a method for transmitting data, including:
步骤100、移动终端需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已 经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。Step 100: When the mobile terminal needs to transmit data, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that An RRC connection is established with the wireless network, and data is transmitted to the wireless network through the established RRC connection.
本步骤中,当移动终端判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且没有与无线网络之间建立RRC连接时,在通过建立的RRC连接向无线网络发送数据之前还包括:移动终端和无线网络之间建立RRC连接。In this step, when the mobile terminal determines that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the status of the transmitted data is that the data is allowed to be transmitted, and the RRC connection is not established with the wireless network, the established RRC is established. Before the connection sends data to the wireless network, the method further includes: establishing an RRC connection between the mobile terminal and the wireless network.
本步骤中,当移动终端判断出传输数据的状态为不允许传输数据、或判断出移动数据连接状态为已断开;并且WiFi连接不成功时,结束本流程。In this step, when the mobile terminal determines that the status of the transmission data is not allowed to transmit data, or determines that the mobile data connection status is disconnected; and the WiFi connection is unsuccessful, the process ends.
当移动终端检测到进入少量数据传输状态时,该方法还包括:When the mobile terminal detects a small amount of data transmission state, the method further includes:
步骤101、将传输数据的状态设置为不允许传输数据。Step 101: Set the state of the transmitted data to not allow data to be transmitted.
本步骤中,移动终端检测到进入少量数据传输状态包括:移动终端进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接,且判断出第四预设时间内没有数据传输或判断出RRC连接被释放。In this step, the mobile terminal detects that entering a small amount of data transmission status includes: after the mobile terminal enters the second preset time of the black screen standby; or, after entering the black screen standby, it is determined that the WiFi connection is unsuccessful, and the mobile data connection status is determined. If the duration of the connection is greater than or equal to the third preset time; and/or, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is connected, and it is determined that there is no data transmission in the fourth preset time or It is determined that the RRC connection is released.
其中,移动终端如何检测是否到达进入黑屏待机的第二预设时间;或者,在进入黑屏待机后,判断WiFi连接是否成功,且判断移动数据连接状态是否为已连接的持续时间大于或等于第三预设时间;和/或,判断WiFi连接是否成功,且判断移动数据连接状态是否为已连接,且判断出第四预设时间内是否有数据传输或判断RRC连接是否被释放属于本领域技术人员的公知技术,这里不再赘述。Wherein, the mobile terminal detects whether the second preset time of entering the black screen standby is reached; or, after entering the black screen standby, determining whether the WiFi connection is successful, and determining whether the mobile data connection status is the connected duration is greater than or equal to the third And determining whether the WiFi connection is successful, and determining whether the mobile data connection status is connected, and determining whether there is data transmission in the fourth preset time or determining whether the RRC connection is released belongs to a person skilled in the art. The well-known technology will not be described here.
本步骤中,当判断出WiFi连接成功时,断开移动数据连接。In this step, when it is determined that the WiFi connection is successful, the mobile data connection is disconnected.
本步骤中,第二预设时间或第三预设时间或第四预设时间可以由系统默认设置或由用户设置。In this step, the second preset time or the third preset time or the fourth preset time may be set by the system default or set by the user.
本步骤中,当判断出移动数据连接状态为已连接,且判断出第四预设时间内有数据传输或判断出RRC连接没有被释放;或者,判断出移动数据连接状态为已连接的持续时间小于第三预设时间时,保持传输数据的状态为允许传输数据。 In this step, when it is determined that the mobile data connection status is connected, it is determined that there is data transmission in the fourth preset time or it is determined that the RRC connection is not released; or, the mobile data connection status is determined to be the connected duration. When it is less than the third preset time, the state in which the data is transmitted is allowed to transmit data.
本步骤中,移动终端在上一次将传输数据的状态设置为允许传输数据之后的第五预设时间后,或上一次将传输数据的状态设置为不允许传输数据之后的第六预设时间后,或屏幕被点亮时,判断出WiFi连接不成功,将传输数据的状态设置为允许传输数据。In this step, after the mobile terminal sets the state of the last transmission data to the fifth preset time after the data is allowed to be transmitted, or the state of the last transmission data is set to the sixth preset time after the data is not allowed to be transmitted. Or when the screen is lit, it is judged that the WiFi connection is unsuccessful, and the state of the transmission data is set to allow the data to be transmitted.
其中,第五预设时间或第六预设时间可以由用户设置或系统默认设置。The fifth preset time or the sixth preset time may be set by a user or a system default.
其中,不同的时间段,第五预设时间或第六预设时间可以设置为不同的值。The different time periods, the fifth preset time or the sixth preset time may be set to different values.
本发明实施例的方法中,移动数据连接状态为已连接和已断开时,移动终端与无线网络之间的无线会话不发生改变,分配给移动终端的互联网协议(IP,Internet Protocol)地址、域名解析系统(DNS,Domain Name System)等信息不发生变化。其中,在宽频码分多址(WCDMA,Wide band Code Division Multiple Access)系统中,无线会话指的是PDP上下文;在长期演进(LTE,Long Term Evolution)系统中,无线会话指的是演进分组系统(EPS,Evolved Packet System)承载。In the method of the embodiment of the present invention, when the mobile data connection status is connected and disconnected, the wireless session between the mobile terminal and the wireless network does not change, and the Internet Protocol (IP) address assigned to the mobile terminal is Information such as the Domain Name System (DNS) does not change. In a Wideband Code Division Multiple Access (WCDMA) system, a wireless session refers to a PDP context; in a Long Term Evolution (LTE) system, a wireless session refers to an evolved packet system. (EPS, Evolved Packet System) bearer.
由于当RRC处于连接状态时,不管是否有数据传输,移动终端都会持续解码物理信道,功率消耗很大。初略估计,WCDMA制式的移动终端在RRC连接状态下的平均电流约为200mA,远高于RRC空闲状态下10mA的平均电流。而在RRC连接状态下,移动终端的功耗不会随着传输的数据量的增加而线性增加,比如以10千比特每秒(kbps)和100kbps的速率传输数据,无线模块的平均功耗差别在5%以内。所以对于少量数据传输的情况下,移动终端的功耗和RRC保持连接状态的持续时间成正比。本发明实施例移动终端进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接,且判断出第三预设时间内没有数据传输或判断出无线资源控制RRC连接被释放时,将传输数据的状态设置为不允许传输数据,从而减少了RRC连接的建立次数,从而降低了移动终端的功耗。Since when the RRC is in the connected state, the mobile terminal continuously decodes the physical channel regardless of whether there is data transmission, and the power consumption is large. It is estimated initially that the average current of the WCDMA mobile terminal in the RRC connected state is about 200 mA, which is much higher than the average current of 10 mA in the RRC idle state. In the RRC connected state, the power consumption of the mobile terminal does not increase linearly with the amount of data transmitted, such as data transmission at 10 kilobits per second (kbps) and 100 kbps, and the average power consumption difference of the wireless module. Within 5%. Therefore, in the case of a small amount of data transmission, the power consumption of the mobile terminal is proportional to the duration of the RRC stay connected state. In the embodiment of the present invention, after the mobile terminal enters the second preset time of the black screen standby, or after entering the black screen standby, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is the connected duration is greater than or equal to the third. a preset time; and/or, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection status is connected, and determining that there is no data transmission within the third preset time or determining that the radio resource control RRC connection is released, The state of the transmission data is set to not allow transmission of data, thereby reducing the number of establishments of the RRC connection, thereby reducing the power consumption of the mobile terminal.
在黑屏待机时候,移动终端的数据传输是由应用程序自动发起的,不是用户触发的,数据传输的时效性对用户没有任何直接的影响。如果限制数据 传输发起时间,使随机发起的数据传输被集中到某个指定的时间段进行,使得移动终端在一个RRC连接期间传输多个应用程序的数据,减少建立RRC连接的次数,就能够降低移动终端在黑屏待机时的功耗。During the black screen standby, the data transmission of the mobile terminal is automatically initiated by the application, not triggered by the user, and the timeliness of the data transmission does not have any direct impact on the user. If limiting data The transmission initiation time is such that the randomly initiated data transmission is concentrated to a specified time period, so that the mobile terminal transmits data of multiple applications during one RRC connection, and reduces the number of times the RRC connection is established, thereby reducing the mobile terminal. Black screen standby power consumption.
下面通过实施例详细说明本发明实施例的方法。The method of the embodiment of the present invention will be described in detail below by way of examples.
图2为相关技术的移动终端传输数据的过程的示意图。如图2所示,移动终端的移动数据连接状态一直为已连接,应用程序1和应用程序2分别在不同的时间点向无线模块发起数据传输请求,无线模块建立了三次RRC连接。2 is a schematic diagram of a process of transmitting data by a related art mobile terminal. As shown in FIG. 2, the mobile data connection status of the mobile terminal is always connected, and the application 1 and the application 2 respectively initiate a data transmission request to the wireless module at different time points, and the wireless module establishes three RRC connections.
第一实施例,无线模块周期性的将传输数据的状态设置为允许传输数据和不允许传输数据。In a first embodiment, the wireless module periodically sets the state of the transmitted data to allow transmission of data and disallowment of transmission of data.
图3为第一实施例移动终端传输数据的过程的示意图。如图3所示,T0时刻:传输数据的状态设置为允许传输数据,无线模块通知所有应用程序数据传输数据的状态为允许传输数据;FIG. 3 is a schematic diagram of a process of transmitting data by the mobile terminal of the first embodiment. As shown in FIG. 3, at time T0: the state of the transmission data is set to allow data to be transmitted, and the wireless module notifies all application data transmission data that the state is permitted to transmit data;
T1时刻:应用程序1向无线模块发起数据传输请求,无线模块向应用程序1发送移动数据连接状态和传输数据的状态,应用程序1判断出移动数据连接状态为已连接,且传输数据的状态为允许数据传输,且WiFi连接不成功,向无线模块发送数据,无线模块判断出没有与无线网络之间建立RRC连接,与无线网络之间建立RRC连接并发送应用程序1的数据;At time T1: the application 1 initiates a data transmission request to the wireless module, and the wireless module sends a state of the mobile data connection state and the transmission data to the application 1, and the application 1 determines that the mobile data connection state is connected, and the state of the transmitted data is Allowing data transmission, and the WiFi connection is unsuccessful, sending data to the wireless module, the wireless module determines that no RRC connection is established with the wireless network, establishes an RRC connection with the wireless network, and transmits data of the application 1;
T2时刻:在第一预设时间内没有传输数据,无线模块释放与无线网络之间的RRC连接;At time T2: no data is transmitted during the first preset time, and the wireless module releases the RRC connection with the wireless network;
T3时刻:在第四预设时间内没有传输数据,将传输数据的状态设置为不允许传输数据;At time T3: no data is transmitted during the fourth preset time, and the state of the transmitted data is set to not allow data to be transmitted;
T4时刻:应用程序2向无线模块发起数据传输请求,无线模块向应用程序2发送移动数据连接状态和传输数据的状态,应用程序2判断出传输数据的状态为不允许传输数据,则不向无线模块发送数据;At time T4: the application 2 initiates a data transmission request to the wireless module, and the wireless module sends a state of the mobile data connection state and the transmission data to the application 2, and the application 2 determines that the state of the transmitted data is not allowed to transmit data, and does not transmit to the wireless The module sends data;
T5时刻:应用程序1向无线模块发起数据传输请求,无线模块向应用程序1发送移动数据连接状态和传输数据的状态,应用程序1判断出传输数据的状态为不允许传输数据,则不向无线模块发送数据; At time T5: the application 1 initiates a data transmission request to the wireless module, and the wireless module sends a state of the mobile data connection state and the transmitted data to the application 1, and the application 1 determines that the state of the transmitted data is not allowed to transmit data, and does not transmit to the wireless The module sends data;
T6时刻:无线模块设置传输数据的状态为允许传输数据,无线模块通知所有应用程序传输数据的状态为不允许传输数据;应用程序1和应用程序2向无线模块发送数据传输请求,无线模块向应用程序1和应用程序2发送移动数据连接状态和传输数据的状态,应用程序1和应用程序2判断出移动数据连接状态为已连接,且传输数据的状态为允许数据传输,且WiFi连接不成功,向无线模块发送数据,无线模块判断出没有与无线网络之间建立RRC连接,与无线网络之间建立RRC连接并发送应用程序1和应用程序2的数据;At time T6: the wireless module sets the state of transmitting data to allow data transmission, and the wireless module notifies all applications that the state of the data transmission is not allowed to transmit data; the application 1 and the application 2 send a data transmission request to the wireless module, and the wireless module applies to the application. The program 1 and the application 2 send the mobile data connection status and the status of the transmission data, and the application 1 and the application 2 determine that the mobile data connection status is connected, and the status of the transmission data is to allow data transmission, and the WiFi connection is unsuccessful. Sending data to the wireless module, the wireless module determines that an RRC connection is not established with the wireless network, establishes an RRC connection with the wireless network, and transmits data of the application 1 and the application 2;
T7时刻:在第一预设时间内没有传输数据,无线模块释放与无线网络之间的RRC连接;At time T7: no data is transmitted during the first preset time, and the wireless module releases the RRC connection with the wireless network;
T8时刻:在第四预设时间内没有传输数据,将传输数据的状态设置为不允许传输数据;At time T8: no data is transmitted during the fourth preset time, and the state of the transmitted data is set to not allow data to be transmitted;
对比图3和图2,发现传输同样的数据,图3的无线模块建立RRC连接的次数减少了,RRC处于连接状态的持续时间减少了,因此功率消耗降低了。Comparing FIG. 3 with FIG. 2, it is found that the same data is transmitted, the number of times the wireless module of FIG. 3 establishes an RRC connection is reduced, and the duration of the RRC in the connected state is reduced, so power consumption is reduced.
第二实施例,图4为移动终端为用户提供的设置界面的示意图。如图4所示,用户启用了待机功耗节省模式,如果在0点至6点这个时间段,每隔8分钟设置传输数据的状态为允许数据传输;如果在6点至12点这个时间段,每隔3分钟设置传输数据的状态为允许数据传输;设置传输数据的状态为允许数据传输后30秒后设置传输数据的状态为不允许数据传输。Second Embodiment FIG. 4 is a schematic diagram of a setting interface provided by a mobile terminal for a user. As shown in Figure 4, the user has enabled the standby power saving mode. If the time period is from 0 o'clock to 6 o'clock, the status of transmitting data is set to allow data transmission every 8 minutes; if it is between 6 o'clock and 12 o'clock. The state of the transmission data is set to allow data transmission every 3 minutes; the state of setting the transmission data is to allow the data transmission to be set after 30 seconds after the data transmission is allowed.
第三实施例,图5为第三实施例设置表示是否允许传输数据的表示的示意图。如图5所示,移动终端在黑屏期间,从上次将传输数据的状态设置为允许传输数据时刻起,3分钟后再次将传输数据的状态设置为允许传输数据;或者,从上次将传输数据的状态设置为不允许传输数据时刻起,3分钟后再次将传输数据的状态设置为允许传输数据。Third Embodiment, FIG. 5 is a schematic diagram showing a third embodiment setting a representation indicating whether or not data transfer is permitted. As shown in FIG. 5, during the black screen, the mobile terminal sets the state of the transmission data to allow the data to be transmitted again after 3 minutes from the time when the state of the last data transmission is set to allow the data to be transmitted; or, the transmission is performed from the last time. The status of the data is set to not allow the data to be transmitted, and the status of the transmitted data is set to allow the data to be transmitted again after 3 minutes.
第四实施例,图6为第四实施例设置传输数据的状态的示意图。如图6所示,移动终端在黑屏待机期间,无线模块每隔3分钟将传输数据的状态设置为允许传输数据,持续时间为15秒钟,间隙性的将传输数据的状态设置为允许传输数据;或者,无线模块在屏幕被点亮时将传输数据的状态设置为 允许传输数据,在屏幕黑屏待机后的15秒后时,将传输数据的状态设置为不允许传输数据。Fourth Embodiment, FIG. 6 is a schematic diagram showing a state in which data is transmitted in the fourth embodiment. As shown in FIG. 6, during the black screen standby period, the wireless module sets the state of the transmission data to allow data transmission every three minutes for a duration of 15 seconds, and sets the state of the transmission data to allow data transmission. Or, the wireless module sets the status of the transmitted data to when the screen is lit. It is allowed to transfer data, and the status of the transmitted data is set to not allow data to be transferred 15 seconds after the screen is blank.
第五实施例,图7为第五实施例设置传输数据的状态的示意图。如图7所示,移动终端黑屏待机期间,将传输数据的状态设置为允许传输数据后,如果应用程序没有数据传输,则保持一定时间后自动将传输数据的状态设置为不允许传输数据。Fifth Embodiment, FIG. 7 is a schematic diagram showing a state in which transmission data is set in the fifth embodiment. As shown in FIG. 7, during the standby of the black terminal of the mobile terminal, after the state of the transmission data is set to allow data transmission, if the application does not have data transmission, the state of the transmission data is automatically set to not allow transmission of data after a certain time.
图中将传输数据的状态设置为允许传输数据的持续时间为30秒,将传输数据的状态设置为允许传输数据后,应用程序没有数据传输,30秒后无线模块将传输数据的状态设置为不允许传输数据。In the figure, the status of the transmitted data is set to allow the duration of the transmitted data to be 30 seconds. After the status of the transmitted data is set to allow the data to be transmitted, the application has no data transmission, and after 30 seconds, the wireless module sets the status of the transmitted data to no. Allow data transfer.
第六实施例,图8为第六实施例设置传输数据的状态的示意图。如图8所示,移动终端黑屏待机期间,将传输数据的状态设置为允许传输数据后,如果应用程序有数据传输,则数据传输结束后,保持传输数据的状态为允许传输数据一定时间。Sixth embodiment, FIG. 8 is a schematic diagram showing a state in which data is transmitted in the sixth embodiment. As shown in FIG. 8, during the standby of the mobile terminal black screen, after the data transmission state is set to allow data transmission, if the application has data transmission, after the data transmission ends, the state of the transmission data is allowed to transmit data for a certain time.
图中,传输数据的状态为允许传输数据的保持时长为30秒,数据传输结束后,传输数据的状态为允许传输数据还要至少保持10秒;传输数据的状态为允许传输数据后,不管有无数据传输,无线模块保持传输数据的状态为允许传输数据30秒,在30秒内应用程序传输了数据块1。In the figure, the state of the transmitted data is 30 seconds for the data to be transmitted. After the data transmission is finished, the state of the transmitted data is to allow the data to be transmitted for at least 10 seconds; the state of the transmitted data is to allow the data to be transmitted, regardless of Without data transmission, the wireless module maintains the state of transmitting data to allow data transmission for 30 seconds, and the application transmits data block 1 within 30 seconds.
传输数据的状态为允许传输数据保持超过30秒后,数据块1传输后还需要保持10秒,所以传输数据的状态依然保持为允许传输数据。在数据块1之后10秒内,应用程序发起数据块2的传输,数据块2传输后,10秒内没有数据传输,设置传输数据的状态为不允许传输数据,不允许任何应用程序传输数据。The state of the transmitted data is that after the transmission data is allowed to remain for more than 30 seconds, the data block 1 needs to remain for 10 seconds after transmission, so the state of the transmitted data remains as the data is allowed to be transmitted. Within 10 seconds after data block 1, the application initiates the transmission of data block 2, after data block 2 is transmitted, there is no data transmission within 10 seconds, and the state of setting the transmission data is not allowed to transmit data, and no application is allowed to transmit data.
第七实施例,图9为第七实施例设置传输数据的状态的示意图。如图9所示,移动终端黑屏待机期间,将传输数据的状态设置为允许传输数据后,如果应用程序有数据传输,传输数据的状态为允许传输数据至少要保持到RRC连接释放。Seventh Embodiment, FIG. 9 is a schematic diagram showing a state in which data is transmitted in the seventh embodiment. As shown in FIG. 9, during the standby of the mobile terminal black screen, after the state of the transmission data is set to allow data transmission, if the application has data transmission, the state of the transmission data is to allow the transmission data to be at least kept until the RRC connection is released.
图中,传输数据的状态为允许传输数据保持时长为30秒,应用程序传输数据块1,无线模块建立RRC连接,然后持续一段时间没有数据传输RRC 连接释放,此时由于传输数据的状态为允许传输数据的持续时间小于30秒,传输数据的状态继续保持为允许传输数据;应用程序传输数据块2,无线模块建立RRC连接,当传输数据的状态为允许传输数据的持续时间超过30秒,但是RRC连接没有释放,传输数据的状态继续保持为允许传输数据,直至RRC连接释放,才将传输数据的状态设置为不允许传输数据,不允许任何程序传输数据。In the figure, the state of the transmitted data is that the transmission data is allowed to remain for 30 seconds, the application transmits the data block 1, the wireless module establishes the RRC connection, and then continues for a period of time without data transmission RRC. The connection is released. At this time, since the state of the transmitted data is that the duration of the data to be transmitted is less than 30 seconds, the state of the transmitted data continues to be allowed to transmit data; the application transmits the data block 2, and the wireless module establishes an RRC connection, when the state of the data is transmitted. In order to allow the transmission of data for more than 30 seconds, but the RRC connection is not released, the state of the transmitted data continues to be allowed to transmit data until the RRC connection is released, the state of the transmitted data is set to not allow transmission of data, and no program is allowed. transfer data.
参见图10,本发明实施例还提出了一种传输数据的装置,包括:Referring to FIG. 10, an embodiment of the present invention further provides an apparatus for transmitting data, including:
发送模块11,设置为:需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。The sending module 11 is configured to: when the data needs to be transmitted, determine that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network. Transmitting data to the wireless network through the established RRC connection.
本发明实施例的装置中,还包括:The device of the embodiment of the present invention further includes:
检测模块12,设置为:检测到进入少量数据传输状态,向设置模块13发送第一通知;The detecting module 12 is configured to: detect that a small amount of data transmission state is entered, and send a first notification to the setting module 13;
设置模块13,设置为:接收到第一通知,将传输数据的状态设置为不允许传输数据。The setting module 13 is configured to: receive the first notification, and set the state of the transmission data to not allow transmission of data.
本发明实施例的装置中,检测模块12还设置为:In the apparatus of the embodiment of the present invention, the detecting module 12 is further configured to:
在上一次将传输数据的状态设置为允许传输数据之后的第五预设时间后,或上一次将传输数据的状态设置为不允许传输数据之后的第六预设时间后,或屏幕被点亮时,向设置模块发送第二通知;After the fifth preset time after the last transmission of the data is set to allow the data to be transmitted, or the last time the state of the transmitted data is set to the sixth preset time after the data is not allowed to be transmitted, or the screen is lit Sending a second notification to the setting module;
设置模块13还设置为:The setting module 13 is also set to:
接收到第二通知,判断出WiFi连接不成功,将传输数据的状态设置为允许传输数据。Receiving the second notification, determining that the WiFi connection is unsuccessful, setting the state of the transmission data to allow the data to be transmitted.
本发明实施例的装置中,检测模块12是设置为:通过如下方式检测到进入少量数据传输状态:In the apparatus of the embodiment of the present invention, the detecting module 12 is configured to detect a small amount of data transmission state by:
进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接 状态为已连接,且判断出第四预设时间内没有数据传输或判断出无线资源控制RRC连接被释放。After entering the second preset time of the black screen standby; or, after entering the black screen standby, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection state is the connected duration is greater than or equal to the third preset time; and / Or, it is determined that the WiFi connection is unsuccessful, and the mobile data connection is determined. The status is connected, and it is determined that there is no data transmission in the fourth preset time or it is determined that the radio resource control RRC connection is released.
本发明实施例的装置中,检测模块12还设置为:In the apparatus of the embodiment of the present invention, the detecting module 12 is further configured to:
当判断出移动数据连接状态为已连接,且判断出第四预设时间内有数据传输或判断出RRC连接没有被释放;或者,判断出移动数据连接状态为已连接的持续时间小于第三预设时间时,向设置模块13发送第三通知;When it is determined that the mobile data connection status is connected, and it is determined that there is data transmission in the fourth preset time or it is determined that the RRC connection is not released; or, determining that the mobile data connection status is connected is less than the third pre-predetermined time When the time is set, the third notification is sent to the setting module 13;
设置模块13还设置为:The setting module 13 is also set to:
接收到第三通知,保持传输数据的状态为允许传输数据。Receiving the third notification, keeping the state of the transmitted data is to allow the data to be transmitted.
本发明实施例的装置中,发送模块11还设置为:In the apparatus of the embodiment of the present invention, the sending module 11 is further configured to:
需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出没有与无线网络之间建立RRC连接,和无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。When data needs to be transmitted, it is determined that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that the RRC connection is not established with the wireless network, and the wireless network is established. The RRC connection transmits data to the wireless network through the established RRC connection.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。 When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
通过本发明实施例的方案,在传输数据的状态为允许传输数据时,才通过建立的RRC连接向无线网络发送数据,从而减少了RRC连接的建立次数,从而降低了移动终端的功耗。 With the solution of the embodiment of the present invention, when the state of transmitting data is that data is allowed to be transmitted, data is sent to the wireless network through the established RRC connection, thereby reducing the number of establishments of the RRC connection, thereby reducing power consumption of the mobile terminal.

Claims (13)

  1. 一种传输数据的方法,包括:A method of transmitting data, including:
    移动终端需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。When the mobile terminal needs to transmit data, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network, and the established RRC is established. The connection sends data to the wireless network.
  2. 根据权利要求1所述的方法,其中,当所述移动终端检测到进入少量数据传输状态时,该方法还包括:The method of claim 1, wherein when the mobile terminal detects a small number of data transmission states, the method further comprises:
    所述移动终端将传输数据的状态设置为不允许传输数据。The mobile terminal sets the state of transmitting data to not allow transmission of data.
  3. 根据权利要求2所述的方法,还包括:The method of claim 2 further comprising:
    所述移动终端在上一次将所述传输数据的状态设置为允许传输数据之后的第五预设时间后,或上一次将所述传输数据的状态设置为不允许传输数据之后的第六预设时间后,或屏幕被点亮时,判断出WiFi连接不成功,将所述传输数据的状态设置为允许传输数据。The mobile terminal sets the state of the transmission data to a sixth preset after the data is allowed to be transmitted, or the state of the transmission data is set to a sixth preset after the data is not allowed to be transmitted. After the time, or when the screen is lit, it is judged that the WiFi connection is unsuccessful, and the state of the transmission data is set to allow data to be transmitted.
  4. 根据权利要求2所述的方法,其中,所述移动终端检测到进入少量数据传输状态包括:The method of claim 2, wherein the detecting, by the mobile terminal, that a small number of data transmission states are entered comprises:
    移动终端进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接,且判断出第四预设时间内没有数据传输或判断出无线资源控制RRC连接被释放。After the mobile terminal enters the black screen standby for a second preset time; or, after entering the black screen standby, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection state is the connected duration is greater than or equal to the third preset time; And/or, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection status is connected, and determining that there is no data transmission in the fourth preset time or determining that the radio resource control RRC connection is released.
  5. 根据权利要求1所述的方法,还包括:当判断出所述移动数据连接状态为已连接,且判断出第四预设时间内有数据传输或判断出RRC连接没有被释放;或者,判断出所述移动数据连接状态为已连接的持续时间小于第三预设时间时,保持所述传输数据的状态为允许传输数据。The method according to claim 1, further comprising: determining that the mobile data connection status is connected, and determining that there is data transmission in the fourth preset time or determining that the RRC connection is not released; or determining When the mobile data connection state is that the connected duration is less than the third preset time, the state of the transmission data is maintained to allow data to be transmitted.
  6. 根据权利要求1所述的方法,其中,当所述移动终端判断出所述移动数据连接状态为已连接,且所述WiFi连接不成功,且所述传输数据的状态为允许传输数据,且没有与无线网络之间建立RRC连接时,在所述通过 建立的RRC连接向无线网络发送数据之前还包括:The method according to claim 1, wherein when the mobile terminal determines that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the status of the transmission data is permission to transmit data, and When establishing an RRC connection with the wireless network, Before the established RRC connection sends data to the wireless network, it also includes:
    所述移动终端和所述无线网络之间建立RRC连接。An RRC connection is established between the mobile terminal and the wireless network.
  7. 一种传输数据的装置,包括:A device for transmitting data, comprising:
    发送模块,设置为:需要传输数据时,判断出移动数据连接状态为已连接,且WiFi连接不成功,且传输数据的状态为允许传输数据,且判断出已经与无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。The sending module is configured to: when the data needs to be transmitted, determine that the mobile data connection state is connected, and the WiFi connection is unsuccessful, and the state of the transmitted data is that the data is allowed to be transmitted, and it is determined that an RRC connection has been established with the wireless network. Data is transmitted to the wireless network through the established RRC connection.
  8. 根据权利要求7所述的装置,还包括:The apparatus of claim 7 further comprising:
    检测模块,设置为:检测到进入少量数据传输状态,向设置模块发送第一通知;The detecting module is configured to: detect a small amount of data transmission state, and send a first notification to the setting module;
    设置模块,设置为:接收到第一通知,将传输数据的状态设置为不允许传输数据。The setting module is set to: receive the first notification, and set the state of the transmitted data to not allow data to be transmitted.
  9. 根据权利要求8所述的装置,其中,所述检测模块还设置为:The apparatus of claim 8 wherein said detecting module is further configured to:
    在上一次将所述传输数据的状态设置为允许传输数据之后的第五预设时间后,或上一次将所述传输数据的状态设置为不允许传输数据之后的第六预设时间后,或屏幕被点亮时,向所述设置模块发送第二通知;After setting the state of the transmission data to the fifth preset time after allowing the data to be transmitted, or the last time after setting the state of the transmission data to the sixth preset time after the data is not allowed to be transmitted, or When the screen is lit, sending a second notification to the setting module;
    所述设置模块还设置为:The setting module is further configured to:
    接收到第二通知,判断出WiFi连接不成功,将所述传输数据的状态设置为允许传输数据。Receiving the second notification, determining that the WiFi connection is unsuccessful, setting the state of the transmission data to allow transmission of data.
  10. 根据权利要求8所述的方法,其中,所述检测模块是设置为:通过如下方式检测到进入少量数据传输状态:The method according to claim 8, wherein the detecting module is configured to detect entering a small amount of data transmission state by:
    进入黑屏待机的第二预设时间后;或者,在进入黑屏待机后,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接的持续时间大于或等于第三预设时间;和/或,判断出WiFi连接不成功,且判断出移动数据连接状态为已连接,且判断出第四预设时间内没有数据传输或判断出无线资源控制RRC连接被释放。After entering the second preset time of the black screen standby; or, after entering the black screen standby, determining that the WiFi connection is unsuccessful, and determining that the mobile data connection state is the connected duration is greater than or equal to the third preset time; and / Or, it is determined that the WiFi connection is unsuccessful, and it is determined that the mobile data connection status is connected, and it is determined that there is no data transmission in the fourth preset time or it is determined that the radio resource control RRC connection is released.
  11. 根据权利要求7所述的装置,其中,所述检测模块还设置为: The apparatus of claim 7, wherein the detecting module is further configured to:
    当判断出所述移动数据连接状态为已连接,且判断出第四预设时间内有数据传输或判断出RRC连接没有被释放;或者,判断出所述移动数据连接状态为已连接的持续时间小于第三预设时间时,向所述设置模块发送第三通知;When it is determined that the mobile data connection status is connected, and it is determined that there is data transmission in the fourth preset time or that the RRC connection is not released; or, determining that the mobile data connection status is the connected duration When the third preset time is less than, the third notification is sent to the setting module;
    所述设置模块还设置为:The setting module is further configured to:
    接收到第三通知,保持所述传输数据的状态为允许传输数据。Receiving the third notification, maintaining the state of the transmission data is permission to transmit data.
  12. 根据权利要求7所述的装置,其中,所述发送模块还设置为:The apparatus of claim 7, wherein the sending module is further configured to:
    需要传输数据时,判断出所述移动数据连接状态为已连接,且所述WiFi连接不成功,且所述传输数据的状态为允许传输数据,且判断出没有与无线网络之间建立RRC连接,和所述无线网络之间建立RRC连接,通过建立的RRC连接向无线网络发送数据。When the data needs to be transmitted, it is determined that the mobile data connection status is connected, and the WiFi connection is unsuccessful, and the status of the transmission data is that data is allowed to be transmitted, and it is determined that an RRC connection is not established with the wireless network. Establishing an RRC connection with the wireless network, and transmitting data to the wireless network through the established RRC connection.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
PCT/CN2015/086753 2015-06-03 2015-08-12 Method and device for transmitting data WO2016192201A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510299249.1A CN106304402B (en) 2015-06-03 2015-06-03 Method and device for transmitting data
CN201510299249.1 2015-06-03

Publications (1)

Publication Number Publication Date
WO2016192201A1 true WO2016192201A1 (en) 2016-12-08

Family

ID=57439960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086753 WO2016192201A1 (en) 2015-06-03 2015-08-12 Method and device for transmitting data

Country Status (2)

Country Link
CN (1) CN106304402B (en)
WO (1) WO2016192201A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474979A (en) * 2018-12-29 2019-03-15 联想(北京)有限公司 Information processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008042142A2 (en) * 2006-09-29 2008-04-10 Advanced Micro Devices, Inc. Connection manager with deferred configuration
CN101374116A (en) * 2007-08-23 2009-02-25 华为技术有限公司 Method and apparatus for implementing on-line business
CN103763762A (en) * 2014-01-17 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Terminal management system, terminal and terminal management method
CN104219712A (en) * 2013-06-03 2014-12-17 华为技术有限公司 Data transmission method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227861B (en) * 2013-03-29 2015-02-11 东莞宇龙通信科技有限公司 Mobile terminal and method for starting data service of mobile terminal
WO2014179972A1 (en) * 2013-05-09 2014-11-13 华为技术有限公司 Data transmission method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008042142A2 (en) * 2006-09-29 2008-04-10 Advanced Micro Devices, Inc. Connection manager with deferred configuration
CN101374116A (en) * 2007-08-23 2009-02-25 华为技术有限公司 Method and apparatus for implementing on-line business
CN104219712A (en) * 2013-06-03 2014-12-17 华为技术有限公司 Data transmission method and apparatus
CN103763762A (en) * 2014-01-17 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Terminal management system, terminal and terminal management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474979A (en) * 2018-12-29 2019-03-15 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN106304402B (en) 2020-09-04
CN106304402A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US11871349B2 (en) Sleep method for terminal device and apparatus
US8743763B2 (en) User device dormancy
CN109511133B (en) Awakening processing method and device
US9900919B1 (en) Adaptive beacon rate system
KR101537043B1 (en) Method and system for keeping connection between terminal and servers in communication system
US20150131505A1 (en) Discontinuous reception dynamic configuration method, terminal and base station
WO2016058335A1 (en) Signal transmission control method and apparatus and electronic device
WO2013102389A1 (en) Discontinuous reception method and device
CN108551668B (en) Information transmission method, device, equipment and storage medium
WO2018196504A1 (en) Method for transmitting internet of things data, internet of things terminal, and computer readable storage medium
US20190159131A1 (en) Data processing apparatus and method
US20150146593A1 (en) User device dormancy
US9955422B2 (en) User equipment power optimization
JP2018513620A (en) Determining the inactivity timeout using the distributed collaboration feature
JP2015534787A5 (en)
EP3155848A1 (en) Wake up message transmission rate
US20180227332A1 (en) A method and computer program products for probing the status of an ip-based communication connection in order to receive an incoming communication
US11115169B2 (en) Parent node device, terminal device for wireless network and data transmission method thereof
JP6668484B2 (en) System information transmission method, system information update method, and device
WO2016192201A1 (en) Method and device for transmitting data
WO2016192202A1 (en) Method and device for reducing power consumption of terminal, and storage medium
WO2014180286A1 (en) Method, cse, and system for transmitting m2m application request
CN104954148A (en) Control method and device of node equipment and router
TWI523554B (en) Signaling a synchronization frame transmission request
EP3496468B1 (en) Network entity for creating a transmission session via a network system, roaming firewall, network system, method and computer program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15893857

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15893857

Country of ref document: EP

Kind code of ref document: A1