CN112566225B - Data transmission method, device, computer equipment and storage medium - Google Patents

Data transmission method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112566225B
CN112566225B CN202011246722.7A CN202011246722A CN112566225B CN 112566225 B CN112566225 B CN 112566225B CN 202011246722 A CN202011246722 A CN 202011246722A CN 112566225 B CN112566225 B CN 112566225B
Authority
CN
China
Prior art keywords
timer
server
terminal
data interaction
wake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011246722.7A
Other languages
Chinese (zh)
Other versions
CN112566225A (en
Inventor
杨帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202011246722.7A priority Critical patent/CN112566225B/en
Publication of CN112566225A publication Critical patent/CN112566225A/en
Application granted granted Critical
Publication of CN112566225B publication Critical patent/CN112566225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a data transmission method, a data transmission device, computer equipment and a storage medium. The method comprises the following steps: a wireless connection request is sent to a server, a wireless link is established with the server for data interaction, and a wake-up period corresponding to a first timer sent by the server is received; when the data interaction with the server is completed, starting the first timer to start timing; releasing the wireless link, starting a second timer, and entering an energy-saving mode after detecting that the second timer is overtime; when the first timer is detected to be overtime, the first timer is awakened from the energy-saving mode, a tracking area update notification is sent to a network base station, a wireless link is re-established with the server for data interaction, and when the data interaction with the server is completed, the first timer is restarted to start timing. By adopting the method, the data interaction can be effectively performed while the low power consumption is ensured, and the problem that the server cannot perform the data interaction with the terminal for a long time is solved.

Description

Data transmission method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data transmission method, apparatus, computer device, and storage medium.
Background
With the development of computer technology, NB-IOT networks are used in large scale, and NB-IOT terminals are also gradually popularized in large scale. PSM is an important feature of NB-IoT networks, and its principle is to allow a terminal to turn off the functions related to signal transmission and reception and signaling after entering an idle state for a period of time, so as to reduce power consumption of antennas, radio frequencies, signaling processing, and so on. After entering the PSM mode, the terminal does not need to detect whether paging data exists in the downlink, and only when the periodicity TAU is equal and the uplink data needs to be sent, the terminal can exit the PSM mode.
In the PSM mode, the terminal will not detect whether there is paging data in the downlink, and if the system timer is set too long, the terminal is always in the PSM mode, which results in that the server cannot acquire the terminal state for a long time and cannot interact with the terminal, so how to maintain the normal connection between the terminal and the server and perform effective data transmission in the PSM mode is a problem to be solved.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data transmission method, apparatus, computer device, and storage medium that can ensure low power consumption and perform data interaction effectively.
A method of data transmission, the method comprising:
a wireless connection request is sent to a server, a wireless link is established with the server for data interaction, and a wake-up period corresponding to a first timer sent by the server is received;
when the data interaction with the server is completed, starting the first timer to start timing;
releasing the wireless link, starting a second timer, and entering an energy-saving mode after detecting that the second timer is overtime;
when the first timer is detected to be overtime, the first timer is awakened from the energy-saving mode, a tracking area update notification is sent to a network base station, a wireless link is re-established with the server for data interaction, and when the data interaction with the server is completed, the first timer is restarted to start timing.
In one embodiment, after the releasing the radio link and starting the second timer, the method further includes:
and stopping timing of the first timer when the second timer is detected to not timeout and the message sent by the server is received.
In one embodiment, after detecting that the first timer has expired, the method further comprises:
Receiving a message sent by the server, initiating a wireless connection request according to the content of the message, and establishing a wireless link with the server for data interaction;
and restarting the first timer to start timing when the data interaction with the server is completed.
In one embodiment, after detecting that the first timer has expired, the method further comprises:
and receiving a message sent by the server, reconfiguring a wake-up period corresponding to the first timer according to the content of the message, and restarting the first timer to start timing according to the configured wake-up period.
A data transmission apparatus, the apparatus comprising:
the receiving module is used for sending a wireless connection request to the server, establishing a wireless link with the server for data interaction, and receiving a wake-up period corresponding to a first timer sent by the server;
the starting module is used for starting the first timer to start timing when the data interaction with the server is completed;
the detection module is used for releasing the wireless link, starting a second timer, and entering an energy-saving mode after detecting that the second timer is overtime;
And the sending module is used for waking up from the energy-saving mode after detecting that the first timer is overtime, sending a tracking area update notification to the network base station, re-establishing a wireless link with the server for data interaction, and restarting the first timer to start timing when the data interaction with the server is completed.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
a wireless connection request is sent to a server, a wireless link is established with the server for data interaction, and a wake-up period corresponding to a first timer sent by the server is received;
when the data interaction with the server is completed, starting the first timer to start timing;
releasing the wireless link, starting a second timer, and entering an energy-saving mode after detecting that the second timer is overtime;
when the first timer is detected to be overtime, the first timer is awakened from the energy-saving mode, a tracking area update notification is sent to a network base station, a wireless link is re-established with the server for data interaction, and when the data interaction with the server is completed, the first timer is restarted to start timing.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
a wireless connection request is sent to a server, a wireless link is established with the server for data interaction, and a wake-up period corresponding to a first timer sent by the server is received;
when the data interaction with the server is completed, starting the first timer to start timing;
releasing the wireless link, starting a second timer, and entering an energy-saving mode after detecting that the second timer is overtime;
when the first timer is detected to be overtime, the first timer is awakened from the energy-saving mode, a tracking area update notification is sent to a network base station, a wireless link is re-established with the server for data interaction, and when the data interaction with the server is completed, the first timer is restarted to start timing.
A method of data transmission, the method comprising:
receiving a wireless connection request sent by a terminal, and establishing a wireless link with the terminal to perform data interaction;
when the data interaction with the terminal is completed, starting a first timer to start timing;
and if judging that the wake-up period corresponding to the first timer needs to be updated during the timeout period of the first timer, notifying the terminal to reconfigure the wake-up period corresponding to the first timer by sending a short message, and restarting the first timer according to the reconfigured wake-up period to start timing.
In one embodiment, during the time out period of the first timer, the method further comprises:
receiving a wireless connection request initiated by the terminal; the wireless connection request is a wireless connection request sent to a server after the terminal wakes up from an energy-saving mode and sends a tracking area update notification to a network base station;
and re-establishing a wireless link with the terminal for data interaction according to the wireless connection request initiated by the terminal, and restarting the first timer to start timing when the data interaction with the terminal is completed.
A data transmission apparatus, the apparatus comprising:
the receiving module is used for receiving a wireless connection request sent by a terminal, and establishing a wireless link with the terminal for data interaction;
the starting module is used for starting the first timer to start timing when the data interaction with the terminal is completed;
and the sending module is used for notifying the terminal to reconfigure the wake-up period corresponding to the first timer by sending a short message when judging that the wake-up period corresponding to the first timer needs to be updated in the timeout period of the first timer, and restarting the first timer according to the reconfigured wake-up period to start timing.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a wireless connection request sent by a terminal, and establishing a wireless link with the terminal to perform data interaction;
when the data interaction with the terminal is completed, starting a first timer to start timing;
and if judging that the wake-up period corresponding to the first timer needs to be updated during the timeout period of the first timer, notifying the terminal to reconfigure the wake-up period corresponding to the first timer by sending a short message, and restarting the first timer according to the reconfigured wake-up period to start timing.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a wireless connection request sent by a terminal, and establishing a wireless link with the terminal to perform data interaction;
when the data interaction with the terminal is completed, starting a first timer to start timing;
and if judging that the wake-up period corresponding to the first timer needs to be updated during the timeout period of the first timer, notifying the terminal to reconfigure the wake-up period corresponding to the first timer by sending a short message, and restarting the first timer according to the reconfigured wake-up period to start timing.
According to the data transmission method, the data transmission device, the computer equipment and the storage medium, the wireless connection request is sent to the server, the wireless link is established with the server to perform data interaction, and the wake-up period corresponding to the first timer sent by the server is received. When the data interaction with the server is completed, starting a first timer to start timing, releasing the current wireless link, starting a second timer, and entering an energy-saving mode after the second timer is detected to be overtime. When the first timer is detected to be overtime, the network station wakes up from the energy-saving mode, sends a tracking area update notice to the network station, reestablishes a wireless link with the server for data interaction, and restarts the first timer to start timing when the data interaction with the server is completed. Therefore, effective data transmission in a PSM mode can be realized based on the NB-IOT network, the flexibility of data transmission is improved, low power consumption is ensured, meanwhile, data interaction can be effectively carried out, and the problems that a server cannot acquire a terminal state for a long time and cannot interact with the terminal are solved.
The data transmission method, the data transmission device, the computer equipment and the storage medium establish a wireless link with the terminal to perform data interaction by receiving the wireless connection request sent by the terminal. When the data interaction with the terminal is completed, starting a first timer to start timing, and when the first timer is overtime, if the fact that the wake-up period corresponding to the first timer needs to be updated is judged, informing the terminal to reconfigure the wake-up period corresponding to the first timer in a short message sending mode, and restarting the first timer according to the reconfigured wake-up period to start timing. Therefore, effective data transmission in the PSM mode can be realized based on the NB-IOT network, the wake-up period corresponding to the first timer can be modified according to the user requirement, so that the terminal can be flexibly awakened to perform data interaction, and the problem that the server cannot acquire the terminal state for a long time and cannot perform data interaction with the terminal is solved.
Drawings
FIG. 1 is a diagram of an application environment for a data transmission method in one embodiment;
FIG. 2 is a flow chart of a data transmission method in one embodiment;
fig. 3 is a schematic flow chart of data transmission at a terminal side in one embodiment;
FIG. 4A is a flow chart of a data transmission method according to another embodiment;
FIG. 4B is a flow diagram of server-side data transmission in one embodiment;
FIG. 5 is a block diagram of a data transmission device in one embodiment;
FIG. 6 is a block diagram of a data transmission device in another embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The data transmission method provided by the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 sends a wireless connection request to the server 104, the terminal 102 establishes a wireless link with the server 104 to perform data interaction, and the terminal 102 receives a wake-up period corresponding to the first timer sent by the server 104. When the terminal 102 completes the data interaction with the server 104, the terminal 102 starts the first timer to start counting. The terminal 102 releases the radio link, starts a second timer, and enters a power saving mode when the terminal 102 detects that the second timer has expired. When the terminal 102 detects that the first timer is overtime, the terminal 102 wakes up from the energy-saving mode, sends a tracking area update notification to the network base station, reestablishes a wireless link with the server 104 for data interaction, and when the terminal 102 and the server 104 complete data interaction, the terminal 102 restarts the first timer to start timing. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a data transmission method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
step 202, a wireless connection request is sent to a server, a wireless link is established with the server to perform data interaction, and a wake-up period corresponding to a first timer sent by the server is received.
With the large-scale commercial use of NB-IOT networks, NB-IOT terminals are also becoming popular in large scale. NB-IOT networks, i.e., narrowband internet of things (Narrow Band Internet of Things, NB-IOT), become an important branch of the internet of everything. The NB-IoT is built in the cellular network, consumes only about 180kHz bandwidth, and can be directly deployed in the GSM network, the UMTS network or the LTE network, so that the deployment cost is reduced, and smooth upgrading is realized. Meanwhile, NB-IoT is also an emerging technology in the IoT field, supporting cellular data connectivity of low power devices in a wide area network, also called Low Power Wide Area Network (LPWAN). NB-IoT supports efficient connections for long standby times, high network connection requirements, and also provides very comprehensive indoor cellular data connection coverage. PSM (Power Saving Mode), i.e. the power saving mode, is an important feature of NB-IoT networks, the principle of which is to allow a terminal to turn off the functions related to signal transceiving and signaling after entering an idle state for a period of time, thereby reducing the power consumption of antennas, radio frequencies, signaling processing, etc. After entering PSM mode, the terminal will not detect whether there is paging data in the downlink, and will exit PSM mode only when the periodicity TAU and the uplink need to send data. Wherein TAU refers to the fact that when a mobile station moves from one TA to another TA, it needs to re-register with the new TA to inform the network to change its stored location information of the mobile station, a procedure called tracking area update (Tracking Area Update, TAU). In order to confirm the location of the mobile station, the LTE network coverage Area will be divided into a number of Tracking Areas (TAs), which function like the Location Area (LA) and Routing Area (RA) of the 3G, is a basic unit for location update and paging in the LTE system. Specifically, after the terminal registers with the NB-IoT network, the terminal may send a wireless connection request to the server, establish a wireless link with the server to perform data interaction, and receive a wake-up period corresponding to the first timer sent by the server. The first timer is a pre-configured timer, and is set to enable the server and the terminal to start the first timer after data interaction is completed, so as to keep synchronous awakening of the server and the terminal. After the terminal registers with the NB-IoT network, the terminal sends a radio connection request to the server, and after the terminal establishes a radio link with the server, the server may send a message to the terminal, for example, through the TCP/UDP protocol, which corresponds to the server sending a default wake-up period of the first timer to the terminal. The NB-IOT network comprises an NB-IOT terminal, an NB-IOT base station, an NB-IOT packet core network, an IOT connection management platform and an industry application server.
In step 204, when the data interaction with the server is completed, a first timer is started to start timing.
The terminal sends a wireless connection request to the server, establishes a wireless link with the server to perform data interaction, and starts the first timer to start timing when the terminal and the server complete data interaction after receiving a wake-up period corresponding to the first timer sent by the server. Specifically, when the terminal and the server complete data interaction, the terminal may start the first timer to start timing according to the wake-up period of the first timer pushed by the server. In addition, the terminal can negotiate the wake-up period corresponding to the first timer with the server through the TCP/UDP protocol, and when the terminal and the server complete data interaction, the terminal can start the first timer to start timing according to the negotiated wake-up period.
And 206, releasing the wireless link, starting a second timer, and entering the energy-saving mode after the second timer is detected to be overtime.
When the terminal and the server finish data interaction, the terminal starts a first timer to start timing, simultaneously releases a wireless link which is currently established, starts a second timer, and enters an energy-saving mode after the terminal detects that the second timer is overtime. The second Timer refers to a Timer (Active Timer) set in the system in the NB-IoT network according to the 3GPP protocol specification, for example, a T3324 Timer in general. Specifically, when the terminal and the server complete data interaction, the terminal starts a first timer to start timing, meanwhile, the terminal releases the currently established wireless link, namely, after the terminal processes the data, the RRC connection is released, the terminal enters an idle state, meanwhile, the terminal starts a second timer, namely, starts a T3324 timer, and when the terminal detects that the T3324 timer is overtime, the terminal enters a PSM mode. After the terminal successfully registers with the NB-IoT network, if the terminal does not receive and transmit data within a period of time, the wireless link is released by the network side, which is determined by the characteristics of the NB-IoT network. The PSM mode is initiated after termination of a data connection or after completion of a periodic TAU. The RRC refers to radio resource control (Radio Resource Control, RRC), also called Radio Resource Management (RRM) or Radio Resource Allocation (RRA), and refers to performing radio resource management, control, and scheduling by a certain policy and means, and under the condition of meeting the requirement of quality of service, fully utilizing limited radio network resources as far as possible, ensuring reaching a planned coverage area, and improving service capacity and resource utilization as far as possible.
Step 208, when the first timer is detected to be overtime, the network station wakes up from the energy-saving mode, sends a tracking area update notification to the network station, re-establishes a wireless link with the server for data interaction, and when the data interaction with the server is completed, restarts the first timer to start timing.
After the terminal enters the energy-saving mode, when the terminal detects that the first timer is overtime, the terminal wakes up from the energy-saving mode, sends a tracking area update notification to the network base station, re-establishes a wireless link with the server for data interaction, and when the data interaction with the server is completed, re-starts the first timer to start timing. The network base station refers to an NB-IOT base station in an NB-IoT network, wherein the NB-IOT base station is a basic unit forming a cellular cell in mobile communication, and mainly completes communication and management functions between a mobile communication network and UE. I.e. NB-IOT user terminal devices connected via the operator network must be within the coverage area of the base station signal in order to communicate. Tracking area update refers to the process of requiring a new location registration at a new TA to inform the network to change its stored location information of the mobile station when the mobile station moves from one TA to another, i.e., tracking area update (Tracking Area Update, TAU). In order to confirm the location of the mobile station, the LTE network coverage Area will be divided into a number of Tracking Areas (TAs), which function like the Location Area (LA) and Routing Area (RA) of the 3G, is a basic unit for location update and paging in the LTE system. The first timer wakes up after expiration in order to allow the terminal to communicate with the server. The terminal sends the tracking area update notification to the network base station to notify the network side that the terminal is awake, and the terminal is in an awake state and can communicate with the server.
In this embodiment, a wireless connection request is sent to a server, a wireless link is established with the server to perform data interaction, and a wake-up period corresponding to a first timer sent by the server is received. When the data interaction with the server is completed, starting a first timer to start timing, releasing the current wireless link, starting a second timer, and entering an energy-saving mode after the second timer is detected to be overtime. When the first timer is detected to be overtime, the network station wakes up from the energy-saving mode, sends a tracking area update notice to the network station, reestablishes a wireless link with the server for data interaction, and restarts the first timer to start timing when the data interaction with the server is completed. Therefore, effective data transmission in a PSM mode can be realized based on the NB-IOT network, the flexibility of data transmission is improved, low power consumption is ensured, meanwhile, data interaction can be effectively carried out, and the problems that a server cannot acquire a terminal state for a long time and cannot interact with the terminal are solved.
In one embodiment, after the wireless link is released and the second timer is started, the method further includes a step of when the second timer does not expire, specifically including:
When the second timer is detected not to be overtime, the timing of the first timer is stopped when the message sent by the server is received.
And when the terminal releases the currently established wireless link, starting a second timer, namely, the terminal enters an idle state. And stopping timing of the first timer when the terminal receives the message sent by the server during the idle state of the terminal, namely when the terminal detects that the second timer does not expire. The terminal can read the message content according to the received message, and execute the corresponding operation according to the message content. Therefore, the terminal and the server can flexibly perform data transmission in the network based on the NB-IOT, and can effectively perform data interaction while ensuring low power consumption.
In one embodiment, after detecting that the first timer expires, the method further includes a step of receiving a message sent by the server, and specifically includes:
and receiving a message sent by the server, initiating a wireless connection request according to the content of the message, and establishing a wireless link with the server to perform data interaction.
When the data interaction with the server is completed, restarting the first timer to start timing.
When the terminal detects that the first timer is overtime, namely, the terminal is in a wake-up period, the terminal can initiate a wireless connection request according to the content of the message when receiving the message sent by the server, and establish a wireless link with the server to perform data interaction. When the terminal and the server complete data interaction, the terminal restarts the first timer to start timing. For example, as shown in fig. 3, a flow chart of a data transmission method corresponding to the terminal side is shown. When the terminal is in the wake-up mode and receives a message sent by the server, the terminal initiates a wireless connection request according to the content of the message, and establishes a wireless link with the server to perform data interaction. When the terminal and the server complete data interaction, the terminal restarts the first timer stopped before, so that the first timer restarts to count time and enters a new wake-up period. Therefore, in the wake-up period, the server can actively inform the terminal to initiate a data connection request in a short message mode, so that data interaction is performed, the problem that the server cannot acquire the state of the terminal for a long time or perform data interaction with the terminal after the terminal enters the PSM mode is solved, and user experience is remarkably improved.
In one embodiment, after detecting that the first timer expires, the method further includes a step of receiving a message sent by the server, and specifically includes:
and receiving a message sent by the server, reconfiguring a wake-up period corresponding to the first timer according to the content of the message, and restarting the first timer to start timing according to the configured wake-up period.
When the terminal detects that the first timer is overtime, the terminal wakes up from the energy-saving mode, sends a tracking area update notice to the network base station, reestablishes a wireless link with the server for data interaction, namely, when the terminal receives a short message sent by the server in the wake-up period, the terminal stops the first timer, reconfigures a wake-up period corresponding to the first timer according to the content of the message sent by the server, and restarts the first timer to start timing according to the configured wake-up period. Therefore, the terminal and the server can negotiate the wake-up period of the first timer, and reconfigure the wake-up period at any time in a short message mode, so that effective data transmission in a PSM mode in the NB-IOT network is realized, and meanwhile, the flexibility of data transmission is improved.
In one embodiment, as shown in fig. 4A, a data transmission method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
and step 402, receiving a wireless connection request sent by the terminal, and establishing a wireless link with the terminal to perform data interaction.
Step 404, when the data interaction with the terminal is completed, starting a first timer to start timing.
Step 406, in the timeout period of the first timer, if it is determined that the wake-up period corresponding to the first timer needs to be updated, notifying the terminal to reconfigure the wake-up period corresponding to the first timer by sending a short message, and restarting the first timer according to the reconfigured wake-up period to start timing.
After the server receives the wireless connection request sent by the terminal, the server establishes a wireless link with the terminal to perform data interaction. Fig. 4B is a schematic flow chart of data transmission at the server side. When the server and the terminal complete data interaction, the server starts a first timer to start timing. And if the server judges according to the processed traffic or data quantity during the overtime period of the first timer, and determines that the wake-up period corresponding to the first timer needs to be updated, the server informs the terminal to reconfigure the wake-up period corresponding to the first timer in a manner of sending a short message, and restarts the first timer to start timing according to the reconfigured wake-up period. The server sends a short message to the terminal, and the short message is used for notifying the terminal to reconfigure the wake-up period corresponding to the first timer, so that the terminal reconfigures the wake-up period corresponding to the first timer according to the short message, and also restarts the first timer to start timing according to the reconfigured wake-up period, thereby keeping the wake-up periods of the server and the terminal consistent and realizing synchronous wake-up.
In this embodiment, a wireless link is established with a terminal to perform data interaction by receiving a wireless connection request sent by the terminal. When the data interaction with the terminal is completed, starting a first timer to start timing, and when the first timer is overtime, if the fact that the wake-up period corresponding to the first timer needs to be updated is judged, informing the terminal to reconfigure the wake-up period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured wake-up period. Therefore, effective data transmission in the PSM mode can be realized based on the NB-IOT network, the wake-up period corresponding to the first timer can be modified according to the user requirement, so that the terminal can be flexibly awakened to perform data interaction, and the problem that the server cannot acquire the terminal state for a long time and cannot perform data interaction with the terminal is solved.
In one embodiment, during the first timer timeout period, the method further comprises:
and receiving a wireless connection request initiated by the terminal, wherein the wireless connection request is a wireless connection request sent to the server after the terminal wakes up from the energy-saving mode and sends a tracking area update notification to the network base station.
And according to the wireless connection request initiated by the terminal, reestablishing a wireless link with the terminal to perform data interaction, and restarting the first timer to start timing when the data interaction with the terminal is completed.
And during the timeout period of the first timer, after the server sends the short message to the terminal, the server receives the wireless connection request initiated by the terminal, the service reestablishes a wireless link with the terminal according to the wireless connection request initiated by the terminal to perform data interaction, and when the data interaction with the terminal is completed, the first timer is restarted to start timing. The short message is used for notifying the terminal to initiate a wireless connection request and re-conduct data interaction with the server. The wireless connection request is a wireless connection request sent to a server after the terminal wakes up from the energy-saving mode according to the negotiated wake-up period and sends a tracking area update notification to the network base station. Therefore, the server and the terminal can be kept to wake up synchronously, the problem that the server cannot acquire the state of the terminal for a long time or cannot interact with the terminal after the terminal enters the PSM mode is solved, and user experience is remarkably improved.
In one embodiment, as shown in fig. 4B, a flow chart of the server-side data transmission is shown. After the terminal registers with the NB-IoT network, the terminal may send a wireless connection request to the server, and after the server receives the wireless connection request sent by the terminal, the server establishes a wireless link with the terminal to perform data interaction. After the server establishes a wireless link with the terminal, the server may send the wake-up period of the first timer to the terminal in a message manner, for example, through a TCP/UDP protocol, which is equivalent to that the server sends a default wake-up period of the first timer to the terminal, that is, the terminal receives the wake-up period corresponding to the first timer sent by the server. When the server and the terminal complete data interaction, the server starts a first timer to start timing. And if the server judges that the wake-up period corresponding to the first timer needs to be updated or the server needs to interact with the terminal in the overtime period of the first timer, the server sends a corresponding message to the terminal. If the message is used for informing the terminal to initiate the wireless connection request, the server re-establishes the wireless link with the terminal to perform data interaction according to the received wireless connection request re-initiated after the terminal wakes up from the energy-saving mode, and when the data interaction with the terminal is completed, the server re-starts the first timer to start timing. If the message is used for informing the terminal to reconfigure the wake-up period corresponding to the first timer, the server restarts the first timer to start timing according to the reconfigured wake-up period. The server sends a message to the terminal, wherein the message is used for notifying the terminal to reconfigure the wake-up period corresponding to the first timer, so that the terminal reconfigures the wake-up period corresponding to the first timer according to the short message, and also restarts the first timer to start timing according to the reconfigured wake-up period, thereby keeping the wake-up periods of the server and the terminal consistent and realizing synchronous wake-up.
It should be understood that, although the steps in the flowcharts of fig. 1-4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 1-4 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 5, there is provided a data transmission apparatus including: a receiving module 502, a starting module 504, a detecting module 506, and a sending module 508, wherein:
and the receiving module 502 is configured to send a wireless connection request to the server, establish a wireless link with the server to perform data interaction, and receive a wake-up period corresponding to the first timer sent by the server.
A starting module 504, configured to start the first timer to start timing when the data interaction with the server is completed.
The detection module 506 is configured to release the wireless link, start the second timer, and enter the power saving mode after detecting that the second timer expires.
And the sending module 508 is configured to wake up from the energy-saving mode after detecting that the first timer expires, send a tracking area update notification to the network base station, re-establish the wireless link with the server for data interaction, and restart the first timer to start timing when the data interaction with the server is completed.
In one embodiment, the detection module is further configured to stop timing of the first timer when the second timer is detected to not expire and a message sent by the server is received.
In one embodiment, the receiving module is further configured to receive a message sent by the server, initiate a wireless connection request according to the content of the message, and establish a wireless link with the server to perform data interaction. The starting module is also used for restarting the first timer to start timing when the data interaction with the server is completed.
In one embodiment, the starting module is further configured to receive a message sent by the server, reconfigure a wake-up period corresponding to the first timer according to the content of the message, and restart the first timer to start timing according to the configured wake-up period.
In one embodiment, as shown in fig. 6, there is provided a data transmission apparatus including: a receiving module 602, a starting module 604, and a sending module 606, wherein:
and the receiving module 602 is configured to receive a wireless connection request sent by the terminal, and establish a wireless link with the terminal to perform data interaction.
And the starting module 604 is used for starting the first timer to start timing when the data interaction with the terminal is completed.
And the sending module 606 is configured to notify the terminal to reconfigure the wake-up period corresponding to the first timer by sending a short message when it is determined that the wake-up period corresponding to the first timer needs to be updated during the timeout period of the first timer, and restart the first timer to start timing according to the reconfigured wake-up period.
In one embodiment, the receiving module is further configured to receive a wireless connection request initiated by the terminal, where the wireless connection request is a wireless connection request sent to the server after the terminal wakes up from the energy-saving mode and sends a tracking area update notification to the network base station. The starting module is also used for reestablishing a wireless link with the terminal to perform data interaction according to the wireless connection request initiated by the terminal, and restarting the first timer to start timing when the data interaction with the terminal is completed.
For specific limitations of the data transmission device, reference may be made to the above limitation of the data transmission method, and no further description is given here. The respective modules in the above-described data transmission apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data transmission method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the various method embodiments described above when the computer program is executed.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (9)

1. A data transmission method, applied to a terminal, the method comprising:
a wireless connection request is sent to a server, a wireless link is established with the server for data interaction, and a wake-up period corresponding to a first timer sent by the server is received; the first timer is a pre-configured timer, and is set to enable the first timer to be started after the data interaction between the server and the terminal is completed and used for keeping synchronous awakening of the server and the terminal;
When the data interaction with the server is completed, starting the first timer to start timing; under the condition that the terminal starts the first timer, the server synchronously starts the first timer so as to keep the terminal and the server synchronously awakened;
releasing the wireless link and starting a second timer;
when the second timer is detected to be overtime, entering an energy-saving mode;
when the first timer is detected to be overtime, the method wakes up from an energy-saving mode, sends a tracking area update notification to a network base station, receives a message sent by the server, sends a wireless connection request to the server according to the content of the message, and reestablishes a wireless link with the server for data interaction; the tracking area update notification is used for notifying a network side that the terminal is in an awake state and can communicate with the server;
reconfiguring a wake-up period corresponding to the first timer according to the content of the message;
and restarting the first timer to start timing according to the configured wake-up period when the data interaction with the server is completed.
2. The method of claim 1, wherein after releasing the radio link and starting the second timer, the method further comprises:
And stopping timing of the first timer when the second timer is detected to not timeout and the message sent by the server is received.
3. The method of claim 1, wherein the second timer is a T3324 timer.
4. A data transmission method, applied to a server, the method comprising:
receiving a wireless connection request sent by a terminal, establishing a wireless link with the terminal to perform data interaction, and sending a wake-up period corresponding to a first timer to the terminal; the first timer is a pre-configured timer, and is set to enable the first timer to be started after the data interaction between the server and the terminal is completed and used for keeping synchronous awakening of the server and the terminal;
when the data interaction with the terminal is completed, starting a first timer to start timing; under the condition that the server starts the first timer, the terminal synchronously starts the first timer so as to keep the terminal and the server synchronously awakened;
sending a message to the terminal during the timeout period of the first timer, and receiving a wireless connection request initiated by the terminal according to the content of the message; the wireless connection request received by the first timer overtime period is a wireless connection request sent to a server after the terminal wakes up from an energy-saving mode and sends a tracking area update notice to a network base station; the tracking area update notification is used for notifying a network side that the terminal is in an awake state and can communicate with the server;
Reestablishing a wireless link with the terminal according to the wireless connection request initiated by the terminal to perform data interaction;
if the wake-up period corresponding to the first timer is judged to need to be updated, notifying the terminal to reconfigure the wake-up period corresponding to the first timer in a short message sending mode;
and restarting the first timer to start timing according to the reconfigured wakeup period when the data interaction with the terminal is completed.
5. A data transmission apparatus, the apparatus comprising:
the receiving module is used for sending a wireless connection request to the server, establishing a wireless link with the server for data interaction, and receiving a wake-up period corresponding to a first timer sent by the server; the first timer is a pre-configured timer, and is set to enable the first timer to be started after the data interaction between the server and the terminal is completed and used for keeping synchronous awakening of the server and the terminal;
the starting module is used for starting the first timer to start timing when the data interaction with the server is completed; under the condition that the terminal starts the first timer, the server synchronously starts the first timer so as to keep the terminal and the server synchronously awakened; when the first timer is detected to be overtime, reconfiguring a wake-up period corresponding to the first timer according to the content of the message sent by the server;
The detection module is used for releasing the wireless link and starting a second timer; when the second timer is detected to be overtime, entering an energy-saving mode;
the sending module is used for waking up from an energy-saving mode after detecting that the first timer is overtime, receiving a message sent by the server after sending a tracking area update notification to a network base station, and sending a wireless connection request to the server according to the content of the message to reestablish a wireless link with the server for data interaction; the tracking area update notification is used for notifying a network side that the terminal is in an awake state and can communicate with the server; and restarting the first timer to start timing according to the configured wake-up period when the data interaction with the server is completed.
6. The apparatus of claim 5, wherein the detection module is further configured to stop the first timer when the second timer is detected to have not expired and a message sent by the server is received.
7. A data transmission apparatus, the apparatus comprising:
the receiving module is used for receiving a wireless connection request sent by a terminal, establishing a wireless link with the terminal to perform data interaction, and sending a wake-up period corresponding to a first timer to the terminal; the first timer is a pre-configured timer, and is set to enable the first timer to be started after the data interaction between the server and the terminal is completed and used for keeping synchronous awakening of the server and the terminal; sending a message to the terminal in the timeout period of the first timer, and receiving a wireless connection request initiated by the terminal according to the content of the message; the wireless connection request received by the first timer overtime period is a wireless connection request sent to a server after the terminal wakes up from an energy-saving mode and sends a tracking area update notice to a network base station; the tracking area update notification is used for notifying a network side that the terminal is in an awake state and can communicate with the server;
The starting module is used for starting the first timer to start timing when the data interaction with the terminal is completed; under the condition that the server starts the first timer, the terminal synchronously starts the first timer so as to keep the terminal and the server synchronously awakened; during the timeout period of the first timer, reestablishing a wireless link with the terminal according to the wireless connection request initiated by the terminal for data interaction;
the sending module is used for notifying the terminal to reconfigure the wake-up period corresponding to the first timer in a short message sending mode when judging that the wake-up period corresponding to the first timer needs to be updated in the timeout period of the first timer; and restarting the first timer to start timing according to the reconfigured wakeup period when the data interaction with the terminal is completed.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202011246722.7A 2020-11-10 2020-11-10 Data transmission method, device, computer equipment and storage medium Active CN112566225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011246722.7A CN112566225B (en) 2020-11-10 2020-11-10 Data transmission method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011246722.7A CN112566225B (en) 2020-11-10 2020-11-10 Data transmission method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112566225A CN112566225A (en) 2021-03-26
CN112566225B true CN112566225B (en) 2023-09-08

Family

ID=75042958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011246722.7A Active CN112566225B (en) 2020-11-10 2020-11-10 Data transmission method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112566225B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596969A (en) * 2021-07-23 2021-11-02 西安广和通无线软件有限公司 Power consumption optimization method, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604221A (en) * 2016-11-18 2017-04-26 上海华为技术有限公司 Connection management method, terminal and network side equipment
CN109511133A (en) * 2017-09-14 2019-03-22 西安中兴新软件有限责任公司 A kind of method and device waking up processing
CN110080945A (en) * 2019-03-18 2019-08-02 深圳市广和通无线股份有限公司 Wind powered generator system
CN110104516A (en) * 2019-03-18 2019-08-09 深圳市广和通无线股份有限公司 Elevator monitoring systems and method
CN110401693A (en) * 2019-06-05 2019-11-01 西安广和通无线通信有限公司 Medical data transmission method, device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6409759B2 (en) * 2015-12-10 2018-10-24 コニカミノルタ株式会社 Image processing apparatus, image processing system, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604221A (en) * 2016-11-18 2017-04-26 上海华为技术有限公司 Connection management method, terminal and network side equipment
CN109511133A (en) * 2017-09-14 2019-03-22 西安中兴新软件有限责任公司 A kind of method and device waking up processing
CN110080945A (en) * 2019-03-18 2019-08-02 深圳市广和通无线股份有限公司 Wind powered generator system
CN110104516A (en) * 2019-03-18 2019-08-09 深圳市广和通无线股份有限公司 Elevator monitoring systems and method
CN110401693A (en) * 2019-06-05 2019-11-01 西安广和通无线通信有限公司 Medical data transmission method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112566225A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN111713174B (en) Implicit radio resource control state transitions
US20190327649A1 (en) Grant-free resource allocation method, user equipment, and network device
WO2021016766A1 (en) Power conservation method and device, terminal, access network apparatus, and readable storage medium
JP2017507586A (en) Neighbor aware network (NAN) discovery using wake-up messages
US20230050355A1 (en) Wus for paging for rrc inactive states
US20230164876A1 (en) Discontinuous Reception Processing Method and Apparatus, Terminal, and Network-Side Device
US10986527B2 (en) Method and apparatus for indicating restricted resources of wireless terminal and for indicating access node capability to support connection with a wireless terminal with restricted capabilities
US20230319712A1 (en) Notification Support in Extended Discontinuous Reception Mode
WO2022017359A1 (en) Direct communication start-up control method and related device
CN113938995B (en) Communication method and device
TW202337246A (en) Apparatus and wireless communication method
CN116965105A (en) Wake-up procedure for dormant cells
US10708765B2 (en) Method and apparatus for indicating restricted resources of wireless terminal
CN112566225B (en) Data transmission method, device, computer equipment and storage medium
US20230336968A1 (en) Method for controlling secondary cell group, terminal, and network-side device
CN111683414A (en) Method for realizing connection configuration, user equipment and storage medium
US20230040675A1 (en) Data transmission in an inactive state
CN115802422A (en) Communication method and device
US20220046576A1 (en) Apparatus, method and computer program for performing radio access notification area update
US20230037839A1 (en) EXTENDED DISCONTINUOUS RECEPTION (eDRX) FOR REDUCED CAPABILITY (REDCAP) USER EQUIPMENT
WO2022174798A1 (en) Power saving method and apparatus, device, and readable storage medium
WO2023165420A1 (en) Communication method and communication apparatus
WO2023010349A1 (en) Processing method, terminal device, network device, and storage medium
WO2023071389A1 (en) Communication method and device
WO2023046306A1 (en) Conditional device paging in discontinuous reception (drx)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant