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

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

Info

Publication number
CN112566225A
CN112566225A CN202011246722.7A CN202011246722A CN112566225A CN 112566225 A CN112566225 A CN 112566225A CN 202011246722 A CN202011246722 A CN 202011246722A CN 112566225 A CN112566225 A CN 112566225A
Authority
CN
China
Prior art keywords
timer
server
terminal
data interaction
start timing
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.)
Granted
Application number
CN202011246722.7A
Other languages
Chinese (zh)
Other versions
CN112566225B (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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

Landscapes

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

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: sending a wireless connection request to a 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; when 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; and when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to a network base station, reestablishing 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. By adopting the method, the data interaction can be effectively carried out while the low power consumption is ensured, and the problem that the server cannot carry out the data interaction with the terminal for a long time is solved.

Description

Data transmission method and 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 and apparatus, a computer device, and a storage medium.
Background
With the development of computer technology and the large-scale use of NB-IOT networks, NB-IOT terminals are gradually popularized in a large scale. The PSM is an important characteristic of the NB-IoT network, and the principle thereof is to allow the terminal to turn off the transceiving of signals and signaling related functions after entering an idle state for a period of time, thereby reducing power consumption of antennas, radio frequencies, signaling processing, and the like. After entering the PSM mode, the terminal does not detect whether the downlink has paging data, and exits the PSM mode only when the periodic TAU and the uplink need to transmit data.
In the PSM mode, the terminal does not detect whether paging data exists in downlink, and if the system timer is set too long, the terminal is always in the PSM mode, which may cause the server to fail to acquire the terminal status for a long time and to perform data interaction with the terminal, so how to maintain normal connection between the terminal and the server and perform effective data transmission in the PSM mode becomes an urgent problem to be solved.
Disclosure of Invention
In view of the above, it is necessary to provide a data transmission method, an apparatus, a computer device, and a storage medium capable of effectively performing data interaction while ensuring low power consumption.
A method of data transmission, the method comprising:
sending a wireless connection request to a 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;
when 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;
and when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to a network base station, reestablishing 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 the releasing the radio link and starting the second timer, the method further includes:
and when detecting that the second timer is not timed out and receiving the message sent by the server, stopping the timing of the first timer.
In one embodiment, after detecting that the first timer has timed out, the method further includes:
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 timed out, the method further includes:
and receiving a message sent by the server, reconfiguring a wakeup cycle corresponding to the first timer according to the content of the message, and restarting the first timer to start timing according to the configured wakeup cycle.
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 finishing data interaction with the server;
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 awakening from an energy-saving mode after detecting that the first timer is overtime, sending a tracking area updating notice to a network base station, reestablishing a wireless link with the server for data interaction, and restarting the first timer to start timing when finishing the data interaction with the server.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
sending a wireless connection request to a 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;
when 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;
and when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to a network base station, reestablishing 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-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
sending a wireless connection request to a 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;
when 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;
and when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to a network base station, reestablishing 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 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 data interaction with the terminal is completed, starting a first timer to start timing;
and if the awakening period corresponding to the first timer needs to be updated during the overtime period of the first timer, informing the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured awakening period.
In one embodiment, during the timeout period of the first timer, the method further includes:
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 according to the wireless connection request initiated by the terminal, reestablishing a wireless link with the terminal for data interaction, 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 a first timer to start timing when finishing data interaction with the terminal;
and the sending module is used for informing the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode if the awakening period corresponding to the first timer needs to be updated during the overtime period of the first timer, and restarting the first timer to start timing according to the reconfigured awakening period.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a wireless connection request sent by a terminal, and establishing a wireless link with the terminal to perform data interaction;
when data interaction with the terminal is completed, starting a first timer to start timing;
and if the awakening period corresponding to the first timer needs to be updated during the overtime period of the first timer, informing the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured awakening period.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out 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 data interaction with the terminal is completed, starting a first timer to start timing;
and if the awakening period corresponding to the first timer needs to be updated during the overtime period of the first timer, informing the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured awakening period.
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 for data interaction, and the awakening period corresponding to the first timer sent by the server is received. And 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 detecting that the second timer is overtime. And when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to the network base station, reestablishing 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. Therefore, effective data transmission can be achieved in a PSM mode based on the NB-IOT network, the flexibility of data transmission is improved, low power consumption is guaranteed, meanwhile, data interaction can be effectively conducted, and the problems that a server cannot acquire a terminal state for a long time and cannot conduct data interaction with a 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 for data interaction by receiving a wireless connection request sent by the terminal. When data interaction with the terminal is completed, starting a first timer to start timing, and during the timeout period of the first timer, if the awakening period corresponding to the first timer needs to be updated, notifying the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured awakening period. Therefore, effective data transmission can be achieved in a PSM mode based on the NB-IOT network, the awakening period corresponding to the first timer can be modified according to user requirements, the terminal can be awakened flexibly to conduct data interaction, and the problems that a server cannot acquire the state of the terminal for a long time and cannot conduct data interaction with the terminal are solved.
Drawings
FIG. 1 is a diagram of an exemplary data transmission method;
FIG. 2 is a flow diagram illustrating a method for data transmission according to one embodiment;
FIG. 3 is a flow diagram illustrating terminal-side data transmission according to one embodiment;
FIG. 4A is a flow chart illustrating a data transmission method according to another embodiment;
FIG. 4B is a diagram illustrating a flow diagram of server-side data transmission in one embodiment;
FIG. 5 is a block diagram showing the structure of a data transmission apparatus according to an embodiment;
FIG. 6 is a block diagram showing the construction of a data transmission apparatus according to another embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data transmission method provided by the application can be applied to the application environment shown in fig. 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 for 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 and the server 104 complete data interaction, the terminal 102 starts a first timer to start timing. The terminal 102 releases the wireless link, starts the second timer, and enters the energy-saving mode after the terminal 102 detects that the second timer is overtime. 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, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a data transmission method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, 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 the first timer sent by the server.
With the large-scale commercialization of NB-IOT networks, NB-IOT terminals are also becoming widespread on a large scale. The NB-IOT network, Narrow Band Internet of Things (NB-IoT), is an important branch of the world Wide Internet. The NB-IoT is constructed in a cellular network, only consumes about 180kHz bandwidth, and can be directly deployed in a GSM network, a UMTS network or an LTE network so as to reduce the deployment cost and realize smooth upgrading. Meanwhile, NB-IoT is also an emerging technology in the IoT field, supporting cellular data connection of low-power devices in a wide area network, also called low-power wide area network (LPWAN). The NB-IoT supports efficient connectivity for devices with long standby time and high requirements for network connectivity, and can also provide very comprehensive indoor cellular data connectivity coverage. Psm (power Saving mode), i.e. power Saving mode, is an important characteristic of NB-IoT network, and its principle is to allow the terminal to turn off the transceiving of signals and related signaling functions after entering idle state for a period of time, thereby reducing power consumption of antenna, radio frequency, signaling processing, etc. After entering the PSM mode, the terminal does not detect whether the downlink has paging data, and exits the PSM mode only when the periodic TAU and the uplink need to transmit data. The TAU means that when the mobile station moves from one TA to another TA, the location registration needs to be performed again on the new TA to notify the network to change the location information of the mobile station stored in the TA, and this process is Tracking Area Update (TAU). In order to confirm the location of the mobile station, the LTE network coverage Area is divided into many Tracking Areas (TAs), which function like the Location Area (LA) and Routing Area (RA) of 3G and are the basic units for location update and paging in the LTE system. Specifically, after the terminal registers in the NB-IoT network, the terminal may send a wireless connection request to the server, establish a wireless link with the server for data interaction, and receive a wakeup period corresponding to the first timer sent by the server. The first timer is a preconfigured timer and is set to start the first timer after data interaction between the server and the terminal is completed, so as to keep synchronous awakening of the server and the terminal. After the terminal registers in the NB-IoT network, the terminal sends a wireless connection request to the server, and after a wireless link is established with the server, the server may send the wireless connection request to the terminal in a message manner, for example, through a TCP/UDP protocol, which is equivalent 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 grouping core network, an IOT connection management platform and an industry application server.
And step 204, starting a first timer to start timing when the data interaction with the server is completed.
The terminal sends a wireless connection request to the server, establishes a wireless link with the server for data interaction, and starts the first timer to start timing when the terminal and the server finish data interaction after receiving a wakeup 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 a wakeup period of the first timer pushed by the server. In addition, the terminal may negotiate a wakeup period corresponding to the first timer with the server through a TCP/UDP protocol, and when the terminal and the server complete data interaction, the terminal may start the first timer to start timing according to the negotiated wakeup period.
Step 206, the wireless link is released, the second timer is started, and the energy-saving mode is entered 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, meanwhile, the terminal releases a currently established wireless link, 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 NB-IoT network according to the 3GPP protocol specification, and is typically, for example, a T3324 Timer. Specifically, when the terminal and the server complete data interaction, the terminal starts a first timer to start timing, and at the same time, the terminal releases the currently established radio link, that is, after the terminal finishes processing data, the RRC connection is released, the terminal enters an idle state, and at the same time, the terminal starts a second timer, that is, 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 in the NB-IoT network, if data transceiving does not occur 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 completion of a periodic TAU. The RRC refers to 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 using a certain strategy and means, and under the condition of meeting the requirement of service quality, fully utilizing the limited Radio network resources as much as possible, ensuring that the Radio Resource Control reaches the planned coverage area, and improving the service capacity and the Resource utilization rate as much as possible.
And step 208, after detecting that the first timer is overtime, waking up from the energy-saving mode, sending a tracking area updating notice to the network base station, reestablishing a wireless link with the server for data interaction, and restarting the first timer to start timing when finishing the data interaction with the server.
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 updating notice to the network base 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. The network base station refers to an NB-IOT base station in an NB-IoT network, and the NB-IOT base station is a basic unit forming a cell in mobile communication and mainly completes communication and management functions between a mobile communication network and UE. That is, NB-IOT user terminal devices connected through the operator network must be within the coverage area of the base station signal for communication. Tracking Area Update refers to when a mobile station moves from one TA to another TA, the procedure is Tracking Area Update (TAU) which requires re-location registration on the new TA to inform the network to change the location information of the mobile station it stores. In order to confirm the location of the mobile station, the LTE network coverage Area is divided into many Tracking Areas (TAs), which function like the Location Area (LA) and Routing Area (RA) of 3G and are the basic units for location update and paging in the LTE system. The first timer is awakened after being overtime so as to enable the terminal to communicate with the server. The reason that the terminal sends the tracking area update notification to the network base station is to notify that the network side 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 the server, a wireless link is established with the server to perform data interaction, and a wake-up period corresponding to the first timer sent by the server is received. And 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 detecting that the second timer is overtime. And when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to the network base station, reestablishing 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. Therefore, effective data transmission can be achieved in a PSM mode based on the NB-IOT network, the flexibility of data transmission is improved, low power consumption is guaranteed, meanwhile, data interaction can be effectively conducted, and the problems that a server cannot acquire a terminal state for a long time and cannot conduct data interaction with a terminal are solved.
In one embodiment, after the radio link is released and the second timer is started, the method further includes a step of when the second timer has not timed out, specifically including:
and when the second timer is not detected to be timed out and the message sent by the server is received, stopping the timing of the first timer.
And when the terminal releases the currently established wireless link, the terminal enters an idle state after the second timer is started. And when the terminal is in an idle state, namely when the terminal detects that the second timer is not timed out, the terminal stops timing by the first timer when receiving the message sent by the server. The terminal can read the message content according to the received message, and the terminal executes the corresponding operation according to the message content. Therefore, the terminal and the server can flexibly transmit data in the network based on the NB-IOT, and data interaction can be effectively carried out while low power consumption is ensured.
In one embodiment, after detecting that the first timer times out, the method further includes a step of receiving a message sent by the server, which 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 for data interaction.
And 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, that is, the terminal is in the wake-up period, and the terminal receives the message sent by the server, the terminal can initiate a wireless connection request according to the content of the message, and establish a wireless link with the server for data interaction. And when the terminal and the server finish data interaction, the terminal restarts the first timer to start timing. For example, as shown in fig. 3, it is a flowchart of a data transmission method corresponding to the terminal side. When the terminal is in the wake-up mode and receives the 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 for data interaction. When the terminal and the server finish data interaction, the terminal restarts the first timer which is stopped before, so that the first timer restarts timing and enters a new wake-up period. Therefore, in the awakening period, the server can actively inform the terminal to initiate the data connection request in a short message mode, so that data interaction is performed, the problems that the server cannot acquire the state of the terminal for a long time and cannot perform data interaction with the terminal after the terminal enters the PSM mode are solved, and user experience is remarkably improved.
In one embodiment, after detecting that the first timer times out, the method further includes a step of receiving a message sent by the server, which specifically includes:
and receiving a message sent by the server, reconfiguring a wakeup cycle corresponding to the first timer according to the content of the message, and restarting the first timer to start timing according to the configured wakeup cycle.
When the terminal detects that the first timer is overtime, the terminal wakes up from the energy-saving mode, sends a tracking area updating notice to the network base station, and reestablishes a wireless link with the server for data interaction, namely when the terminal receives a short message sent by the server during the wake-up period, the terminal stops the first timer, and can reconfigure the wake-up period corresponding to the first timer according to the content of the message sent by the server and restart 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 can reconfigure the wake-up period at any time in a short message mode, so that effective data transmission is realized in a PSM mode in an NB-IOT network, and meanwhile, the flexibility of data transmission is improved.
In one embodiment, as shown in fig. 4A, a data transmission method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 402, receiving a wireless connection request sent by a terminal, and establishing a wireless link with the terminal for data interaction.
And step 404, when the data interaction with the terminal is completed, starting a first timer to start timing.
And step 406, during 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 to start timing according to the reconfigured wake-up period.
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 server-side data transmission. When the server and the terminal finish data interaction, the server starts a first timer to start timing. And during the timeout period of the first timer, if the server judges according to the processed traffic or data volume and determines that the update operation needs to be carried out on the wake-up period corresponding to the first timer, the server informs the terminal to reconfigure the wake-up period corresponding to the first timer by 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, wherein the short message is used for informing the terminal to reconfigure the awakening period corresponding to the first timer, so that the terminal reconfigures the awakening period corresponding to the first timer according to the short message, and restarts the first timer to start timing according to the reconfigured awakening period, thereby keeping the awakening periods of the server and the terminal consistent, and realizing synchronous awakening.
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 data interaction with the terminal is completed, starting a first timer to start timing, and during the timeout period of the first timer, if the awakening period corresponding to the first timer needs to be updated, notifying the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured awakening period. Therefore, effective data transmission can be achieved in a PSM mode based on the NB-IOT network, the awakening period corresponding to the first timer can be modified according to user requirements, the terminal can be awakened flexibly to conduct data interaction, and the problems that a server cannot acquire the state of the terminal for a long time and cannot conduct data interaction with the terminal are 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 the 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 a wireless connection request initiated by the terminal, reestablishing a wireless link with the terminal for 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, when the server sends a short message to the terminal and receives a wireless connection request initiated by the terminal, the service reestablishes a wireless link with the terminal for data interaction according to the wireless connection request initiated by the terminal, and when the data interaction with the terminal is completed, the first timer is restarted to start timing. The short message is used for informing the terminal to initiate a wireless connection request and carrying out data interaction with the server again. The wireless connection request is a wireless connection request which is sent to a server after the terminal wakes up from an energy-saving mode according to a negotiated wake-up period and sends a tracking area update notification to a network base station. Therefore, the server and the terminal can be kept to be awakened synchronously, the problems that the server cannot acquire the state of the terminal for a long time and cannot perform data interaction with the terminal after the terminal enters the PSM mode are solved, and the user experience is remarkably improved.
In one embodiment, as shown in fig. 4B, a flow diagram of server-side data transmission is shown. After the terminal registers in 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 the wireless link with the terminal, the server may send the wakeup period of the first timer to the terminal in a message manner, for example, through a TCP/UDP protocol, which is equivalent to the server sending a default wakeup period of the first timer to the terminal, that is, the terminal receives the wakeup period corresponding to the first timer sent by the server. When the server and the terminal finish data interaction, the server starts a first timer to start timing. And during the overtime period of the first timer, if the server judges that the awakening period corresponding to the first timer needs to be updated or the server needs to perform data interaction with the terminal, 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 reestablishes a wireless link with the terminal for data interaction according to the received wireless connection request initiated again after the terminal is awakened from the energy-saving mode, and restarts the first timer to start timing when the data interaction with the terminal is completed. And if the message is used for informing the terminal to reconfigure the awakening period corresponding to the first timer, the server restarts the first timer according to the reconfigured awakening period to start timing. The server sends a message to the terminal, wherein the message is used for informing the terminal to reconfigure the awakening period corresponding to the first timer, so that the terminal reconfigures the awakening period corresponding to the first timer according to the short message, and restarts the first timer to start timing according to the reconfigured awakening period, thereby keeping the awakening periods of the server and the terminal consistent, and realizing synchronous awakening.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a data transmission apparatus including: a receiving module 502, an initiating module 504, a detecting module 506, and a sending module 508, wherein:
the receiving module 502 is configured to send a wireless connection request to the server, establish a wireless link with the server for data interaction, and receive a wakeup period corresponding to the first timer sent by the server.
The starting module 504 is configured to start a first timer to start timing when data interaction with the server is completed.
A detecting module 506, configured to release the wireless link, start a second timer, and enter an energy saving mode after detecting that the second timer is overtime.
A sending module 508, configured to wake up from the energy saving mode after detecting that the first timer is overtime, send a tracking area update notification to the network base station, reestablish a 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 the first timer from counting when a message sent by the server is received when the second timer is not detected to be timed out.
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 for 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 an embodiment, the starting module is further configured to receive a message sent by the server, reconfigure a wakeup period corresponding to the first timer according to the content of the message, and restart the first timer to start timing according to the reconfigured wakeup 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:
the receiving module 602 is configured to receive a wireless connection request sent by a terminal, and establish a wireless link with the terminal for data interaction.
The starting module 604 is configured to start a first timer to start timing when data interaction with the terminal is completed.
The sending module 606 is configured to, during the timeout period of the first timer, notify the terminal to reconfigure the wake-up period corresponding to the first timer in a short message sending manner if it is determined that the wake-up period corresponding to the first timer needs to be updated, and restart the first timer to start timing according to the reconfigured wake-up period.
In an 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 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.
For specific limitations of the data transmission device, reference may be made to the above limitations of the data transmission method, which are not described herein again. The modules in the data transmission device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the steps of the above-described method embodiments being implemented when the computer program is executed by the processor.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of data transmission, the method comprising:
sending a wireless connection request to a 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;
when 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;
and when the first timer is detected to be overtime, awakening from the energy-saving mode, sending a tracking area updating notice to a network base station, reestablishing 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.
2. The method of claim 1, wherein after the releasing the radio link and starting the second timer, the method further comprises:
and when detecting that the second timer is not timed out and receiving the message sent by the server, stopping the timing of the first timer.
3. The method of claim 1, wherein after detecting that the first timer has timed out, 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.
4. The method of claim 1, wherein after detecting that the first timer has timed out, the method further comprises:
and receiving a message sent by the server, reconfiguring a wakeup cycle corresponding to the first timer according to the content of the message, and restarting the first timer to start timing according to the configured wakeup cycle.
5. 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 data interaction with the terminal is completed, starting a first timer to start timing;
and if the awakening period corresponding to the first timer needs to be updated during the overtime period of the first timer, informing the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode, and restarting the first timer to start timing according to the reconfigured awakening period.
6. The method of claim 5, wherein during the timeout 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 according to the wireless connection request initiated by the terminal, reestablishing a wireless link with the terminal for data interaction, and restarting the first timer to start timing when the data interaction with the terminal is completed.
7. A data transmission apparatus, characterized in that the apparatus comprises:
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 finishing data interaction with the server;
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 awakening from an energy-saving mode after detecting that the first timer is overtime, sending a tracking area updating notice to a network base station, reestablishing a wireless link with the server for data interaction, and restarting the first timer to start timing when finishing the data interaction with the server.
8. A data transmission apparatus, characterized in that the apparatus comprises:
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 a first timer to start timing when finishing data interaction with the terminal;
and the sending module is used for informing the terminal to reconfigure the awakening period corresponding to the first timer in a short message sending mode if the awakening period corresponding to the first timer needs to be updated during the overtime period of the first timer, and restarting the first timer to start timing according to the reconfigured awakening period.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
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 true CN112566225A (en) 2021-03-26
CN112566225B 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)

Cited By (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 (6)

* 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
US20170171410A1 (en) * 2015-12-10 2017-06-15 Konica Minolta, Inc. Image processing device, image processing system and non-transitory recording medium
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170171410A1 (en) * 2015-12-10 2017-06-15 Konica Minolta, Inc. Image processing device, image processing system and non-transitory recording medium
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

Cited By (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

Also Published As

Publication number Publication date
CN112566225B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
KR20210119530A (en) How to use power saving signal mode, device and terminal
EP3641351B1 (en) Multicast bearer management method and terminal device
US9699728B2 (en) Method and apparatus for power saving
US20230050355A1 (en) Wus for paging for rrc inactive states
KR20180085214A (en) Method for internet of things communication and an electronic device thereof
US20230319712A1 (en) Notification Support in Extended Discontinuous Reception Mode
CN113938995B (en) Communication method and device
US20220399973A1 (en) Reference Signal Transmission Method and Related Device
JP2024501555A (en) Power saving processing method, power saving processing device, terminal and readable storage medium
CN116965105A (en) Wake-up procedure for dormant cells
TW202337246A (en) Apparatus and wireless communication method
CN112566225B (en) Data transmission method, device, computer equipment and storage medium
US20230337074A1 (en) Cell handover method, terminal device, and network device
US20230336968A1 (en) Method for controlling secondary cell group, terminal, and network-side device
US20230040675A1 (en) Data transmission in an inactive state
CN116209017A (en) Network scheduling method, device, terminal equipment, network equipment and storage medium
CN115038098A (en) Gap processing method, device, equipment and storage medium
WO2022174798A1 (en) Power saving method and apparatus, device, and readable storage medium
EP4142426A2 (en) Extended discontinuous reception (edrx) for reduced capability (redcap) user equipment
WO2023165420A1 (en) Communication method and communication apparatus
WO2023087147A1 (en) Information processing method and apparatus, and communication device and storage medium
US20230354164A1 (en) Search space group switching method and apparatus
CN117099413A (en) Terminal, base station, and wireless communication method
CN116998192A (en) Terminal, base station, and wireless communication method
CN117440478A (en) Information interaction method, device, terminal, network equipment and storage medium

Legal Events

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