Method, apparatus, device, medium and program product for processing service data

By caching data to be sent while the terminal device is in sleep mode and waking it up to send it when appropriate, the high power consumption problem of the terminal device in ordinary data services and high-precision positioning services is solved, achieving the effect of reducing power consumption and ensuring normal service operation.

CN115767694BActive Publication Date: 2025-12-12CHENGDU TD TECH LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211202050.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-29
Publication Date
2025-12-12
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

Terminal devices consume a significant amount of power when simultaneously handling both regular data services and high-precision positioning services.

Method used

By caching the uplink service data to be sent after the terminal device enters sleep mode, and waking up the device to send data when the second timer reaches the second preset duration, frequent wake-ups are avoided.

Benefits of technology

This effectively reduced the power consumption of terminal devices while ensuring the timely transmission of uplink business data and the normal operation of services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115767694B_ABST
    Figure CN115767694B_ABST
Patent Text Reader

Abstract

The application provides a service data processing method, device, equipment, medium and program product. The method comprises the following steps: when a first accumulated time length obtained by a first timer reaches a first preset time length, a terminal device is controlled to enter a sleep state; when the terminal device is in the sleep state, if there is to-be-sent uplink service data, the to-be-sent uplink service data is buffered, and a second timer is started to count time; finally, when the terminal device sends an uplink positioning reference signal again or a second accumulated time length obtained by the second timer reaches a second preset time length, the to-be-sent uplink service data is sent to a base station. The technical scheme effectively reduces power consumption, ensures timely sending of data and normal operation of corresponding services.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, and particularly relates to a service data processing method and device, equipment, medium and program product. BACKGROUND

[0002] The fifth generation mobile communication technology (5G) as a new generation of wireless communication technology in the 3rd Generation Partnership Project (3GPP) has been rapidly deployed and applied in various enterprises and industries due to its characteristics of high speed, low latency, large capacity, etc.

[0003] Among them, the 5G service includes a high-precision positioning service. When a terminal device exists a high-precision positioning service, it needs to receive a downlink positioning reference signal sent by a base station according to a certain period, and send an uplink positioning reference signal to the base station according to a certain period, so as to meet the positioning demand of the high-precision positioning service.

[0004] However, when the terminal device simultaneously exists an ordinary data service and a high-precision positioning service, there is a problem of high power consumption. SUMMARY

[0005] The present application provides a service data processing method, device, equipment, medium and program product to solve the problem of high power consumption of the terminal device in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a service data processing method, comprising:

[0007] When a first accumulated time length obtained by a first timer reaches a first preset time length, the terminal device is controlled to enter a sleep state; wherein the terminal device in the sleep state stops data interaction with the base station, and the first timer is started when the terminal device sends an uplink positioning reference signal to the base station;

[0008] If there is to-be-sent uplink service data when the terminal device is in the sleep state, the to-be-sent uplink service data is buffered, and a second timer is started to count time;

[0009] When the terminal device sends the uplink positioning reference signal again, or a second accumulated time length obtained by the second timer reaches a second preset time length, the to-be-sent uplink service data is sent to the base station.

[0010] In a possible design of the first aspect, when the first accumulated time length obtained by the first timer reaches the first preset time length, the method further includes:

[0011] When the first accumulated time length reaches the first preset time length, the method further includes:

[0012] In another possible design of the first aspect, the method further includes:

[0013] receiving a downlink positioning reference signal sent by the base station, and controlling the terminal device to enter an active state; wherein the terminal device in the active state can perform data interaction with the base station;

[0014] starting a third timer to begin timing, and when a third accumulated time length obtained by the third timer reaches a third preset time length, controlling the terminal device to enter the sleep state.

[0015] Optionally, the method further includes:

[0016] when the terminal device is in the active state, if there is the to-be-sent uplink service data, sending the to-be-sent uplink service data to the base station;

[0017] restarting the first timer to re-time.

[0018] Optionally, after the receiving the downlink positioning reference signal sent by the base station, and controlling the terminal device to enter the active state, the method further includes:

[0019] when the terminal device is in the active state, if the downlink service data sent by the base station is received, restarting the third timer to re-time.

[0020] Optionally, before the controlling the terminal device to enter the sleep state when the first accumulated time length obtained by the first timer reaches the first preset time length, the method further includes:

[0021] receiving the first preset time length, the second preset time length, and the third first preset time length sent by the base station; wherein each preset time length is determined by the base station based on an interaction frequency with the terminal device and a data amount of each interaction.

[0022] In a second aspect, an embodiment of the present application provides a processing apparatus for service data, including:

[0023] a control module, configured to control the terminal device to enter a sleep state when a first accumulated time length obtained by the first timer reaches a first preset time length, wherein the terminal device in the sleep state stops data interaction with the base station, and the first timer is started when the terminal device sends an uplink positioning reference signal to the base station;

[0024] a cache module, configured to cache the to-be-sent uplink service data and start a second timer to count time if the to-be-sent uplink service data exists when the terminal device is in the sleep state;

[0025] a sending module, configured to send the to-be-sent uplink service data to the base station when the terminal device sends the uplink positioning reference signal again or a second accumulated time length obtained by the second timer reaches a second preset time length.

[0026] In a possible design of the second aspect, the control module is specifically configured to:

[0027] control a wireless communication module in the terminal device to stop data interaction with the base station when the first accumulated time length reaches the first preset time length, so as to control the terminal device to enter the sleep state.

[0028] In another possible design of the second aspect, the apparatus further includes:

[0029] a receiving module, configured to receive a downlink positioning reference signal sent by the base station and control the terminal device to enter an active state, wherein the terminal device in the active state can perform data interaction with the base station;

[0030] the control module is further configured to start a third timer to count time, and control the terminal device to enter the sleep state when a third accumulated time length obtained by the third timer reaches a third preset time length.

[0031] Optionally, the apparatus further includes:

[0032] the sending module is further configured to send the to-be-sent uplink service data to the base station if the to-be-sent uplink service data exists when the terminal device is in the active state.

[0033] a restart module, configured to restart the first timer to make it count time again.

[0034] Optionally, after the receiving module receives the downlink positioning reference signal sent by the base station and controls the terminal device to enter the active state, the restart module is further configured to restart the third timer to make it count time again if the terminal device receives downlink service data sent by the base station when the terminal device is in the active state.

[0035] Optionally, before the terminal device enters the sleep state when the first accumulated time length counted by the first timer reaches the first preset time length, the receiving module is further configured to receive the first preset time length, the second preset time length, and the third first preset time length sent by the base station, wherein each preset time length is determined by the base station based on the interaction frequency with the terminal device and the data volume of each interaction.

[0036] In a third aspect, an embodiment of the present application provides a terminal device, comprising a processor, a memory, and computer program instructions stored in the memory and executable on the processor, and the processor is configured to implement the method provided in the first aspect and each possible design.

[0037] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are configured to implement the method provided in the first aspect and each possible design when executed by a processor.

[0038] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, and the computer program is configured to implement the method provided in the first aspect and each possible design when executed by a processor.

[0039] The method provided by the embodiments of the present application, the device, the equipment, the medium, and the program product, when the first accumulated time length counted by the first timer reaches the first preset time length, the terminal device enters the sleep state, and when the terminal device is in the sleep state, if there is uplink service data to be sent, the uplink service data to be sent is buffered, and the second timer is started to count, and finally when the terminal device sends the uplink positioning reference signal again or the second accumulated time length counted by the second timer reaches the second preset time length, the uplink service data to be sent is sent to the base station. In the technical solution, the uplink service data to be sent generated in the sleep state is buffered, so as to avoid frequent wake-up of the terminal device, and effectively reduce the power consumption. At the same time, when the second accumulated time length reaches the second preset time length, the terminal device is woken up and the uplink service data to be sent is sent, so as to ensure the timely sending of the uplink service data and the normal performance of the corresponding service. BRIEF DESCRIPTION OF DRAWINGS

[0040] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] Figure 1 A scene schematic diagram of the method for processing service data provided by the embodiments of the present application is shown in FIG. 1.

[0042] Figure 2 Another scenario of the method for processing service data provided by the embodiments of the present application is shown in the following table:

[0043] Figure 3 A flowchart of the method for processing service data provided by Embodiment One of the present application is shown in the following table:

[0044] Figure 4 A structure diagram of the device for processing service data provided by the embodiments of the present application is shown in the following table:

[0045] Figure 5 A structure diagram of the terminal device provided by the embodiments of the present application is shown in the following table.

[0046] The specific embodiments of the present application have been shown in the above tables, and will be described in more detail in the following. These tables and textual descriptions are not intended to limit the scope of the concept of the present application by any means, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0047] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative work fall within the scope of protection of the present application.

[0048] Before introducing the embodiments of the present application, the application background of the embodiments of the present application is first explained:

[0049] 5G, as a new generation of wireless communication technology of 3GPP, has been rapidly deployed and applied in various industries and enterprises due to its characteristics of high speed, low latency, large capacity, etc. In the information society, accurate description of location has become a basic requirement of various industries, and the demand for indoor positioning of various vertical industries is also increasingly urgent. 5G network coverage integration helps to achieve high-precision positioning, which will further provide higher level of service for enterprises and customers.

[0050] Among them, the high-precision positioning service is generally a positioning service with a positioning accuracy of decimeter level or centimeter level. The positioning accuracy refers to the closeness between the spatial entity position information (usually coordinates) and its real position. For example, the high-precision positioning service can be applied in the following scenarios: judging whether a user enters or exits a room, alarming when a user approaches a dangerous work area, alarming when a user approaches a certain object, and alarming when a user stays in a small area (such as a bathroom) for too long, etc.

[0051] Currently, Release 16 (R16 for short) standard adds a new high-precision New Radio (NR) positioning technology, which requires that the outdoor horizontal accuracy be <10m@80%UE (outdoor horizontal accuracy <10m (80% of users in the area)), the outdoor vertical accuracy be <3m@80%UE (outdoor vertical accuracy <3m (80% of users in the area)), the indoor horizontal accuracy be <3m@80%UE (indoor horizontal accuracy <3m (80% of users in the area)), and the indoor vertical accuracy be <3m@80%UE (indoor vertical accuracy <3m (80% of users in the area)). In actual application scenarios, a terminal device can receive and send a positioning reference signal at a certain period, and the positioning reference signal meets the positioning demand of the high-precision positioning service.

[0052] After receiving and sending the positioning reference signal periodically, the terminal device enters a sleep state to reduce power consumption. However, when the terminal device has both ordinary data services and high-precision positioning services, receiving and sending ordinary data services will wake up the terminal device from the sleep state, which has a problem of high power consumption.

[0053] Based on the above problems, the technical concept of the present application is as follows: the prior art will wake up the terminal device in the sleep state every time ordinary data services are sent or received, and frequent wake-up of the terminal device will increase the power consumption of the terminal device. Therefore, the present application proposes a service data processing method, after the terminal device enters the sleep state, if the terminal device generates to-be-sent uplink service data, the to-be-sent uplink service data is cached to avoid waking up the terminal device, effectively reducing the power consumption. At the same time, the time length (also referred to as the second cumulative time length in the present application) for storing the to-be-sent uplink service data is obtained, and when the time length exceeds a preset value (also referred to as the second preset time length in the present application), the terminal device is woken up and the to-be-sent uplink service data is sent, ensuring the timely sending of the uplink service data and the normal performance of the corresponding service.

[0054] For example, the service data processing method provided by the embodiments of the present application can be applied to Figure 1 the scene schematic diagram shown. Figure 1 A scene schematic diagram of the service data processing method provided by the embodiments of the present application. As Figure 1 shown, the scene includes two uplink positioning reference signal generation periods TA, which are a period corresponding to T1-TA time to T1 time and a period corresponding to T1 time to T1+TA time, and the terminal device includes a wake-up state and a sleep state in each period.

[0055] The terminal device can interact with the base station when in the wake-up state, that is, can send the base station the current generated or pre-stored to-be-sent uplink service data, and can receive the downlink service data sent by the base station; when the terminal device is in the sleep state, the terminal device stops interacting with the base station, that is, if to-be-sent uplink service data is generated at this time, it needs to be cached.

[0056] In the embodiment of the application, the period corresponding to T1-TA time to T1 time is taken as an example for specific description, the terminal device sends the base station the uplink positioning reference signal at T1-TA time, wakes up the terminal device, and starts the first timer to start timing. When the accumulated time length obtained by the first timer timing reaches the first preset time length, the terminal device is controlled to enter the sleep state.

[0057] Based on Figure 1 the scenario shown in FIG. 1, Figure 2 FIG. 2 is another scenario diagram of the service data processing method provided by the embodiment of the application. As shown in Figure 2 the scenario, the scenario includes two downlink positioning reference signal generation periods TA, which are the period corresponding to T1-TB time to T1 time and the period corresponding to T1 time to T1+TB time, and the terminal device includes a wake-up state and a sleep state in each period.

[0058] In the embodiment of the application, the period corresponding to T1-TB time to T1 time is taken as an example for specific description, the terminal device receives the downlink positioning reference signal sent by the base station at T1-TB time, wakes up the terminal device, and starts the third timer to start timing. When the accumulated time length obtained by the third timer timing reaches the third preset time length, the terminal device is controlled to enter the sleep state.

[0059] It can be understood that the execution subject of the embodiment of the application is the terminal device, which can be a computer, a tablet computer, a mobile phone or the like. The type of the terminal device can be determined according to actual needs, and the specific type of the terminal device is not limited in the embodiment of the application.

[0060] The technical solutions of the application will be described in detail through specific embodiments.

[0061] It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in detail in some embodiments.

[0062] Figure 3 FIG. 3 is a flow diagram of the service data processing method provided by the embodiment of the application. As shown in Figure 3 the flow diagram, the service data processing method can include the following steps:

[0063] S301, when the first accumulated time length obtained by the first timer counting reaches the first preset time length, the terminal device enters a sleep state.

[0064] In the embodiments of the present application, the terminal device can interact with the base station. The terminal device can send uplink positioning reference signals to the base station according to a first period, and receive downlink positioning reference signals sent by the base station according to a second period. The terminal device can also send uplink service data (i.e. the above-mentioned ordinary data service) to the base station, and receive downlink service data (i.e. the above-mentioned ordinary data service) sent by the base station.

[0065] The first period and the second period can be pre-configured by service requirements. For example, the higher the positioning accuracy, the smaller the period of high-precision positioning service, and vice versa. The first period and the second period can be independent of each other in value, or can be related to each other, such as the first period being equal to the second period, or the first period being a preset multiple of the second period.

[0066] Optionally, the uplink service data can be generated under certain triggering conditions, for example, in response to the user's service demand, the application layer generates the to-be-sent uplink service data, and it can also be generated according to a certain rule or period. The generation condition and triggering condition of the to-be-sent service are not limited in the embodiments of the present application, and can be determined according to actual conditions.

[0067] The terminal device in the sleep state stops interacting with the base station, and the first timer is started when the terminal device sends uplink positioning reference signals to the base station. That is, before this step, the terminal device can send uplink positioning reference signals to the base station and start the first timer at the same time.

[0068] For example, the first preset time length can be 10 seconds, 20 seconds, 30 seconds, etc., which can be determined according to the interaction frequency of the terminal device and the base station, the data amount of each interaction, and the maximum power consumption that the terminal device can accept. The first preset time length is not limited in the embodiments of the present application.

[0069] Optionally, the first preset time length can be pre-set between 1 millisecond and 100 seconds.

[0070] It should be understood that the timer in the present application can be a timer existing in the prior art, or a timer pre-developed by the user according to his own needs. The present application does not limit the way of obtaining the timer.

[0071] S302, when the terminal device is in the sleep state, if there is to-be-sent uplink service data, it is buffered and a second timer is started to count.

[0072] In this embodiment, when the terminal device is in the sleep state, the terminal device stops data interaction with the base station to reduce power consumption. That is, when the terminal device is in the sleep state, the terminal device stops sending uplink service data to the base station and also stops receiving downlink service data sent by the base station.

[0073] Optionally, one or more storage spaces can be pre-set in the terminal device, and each storage space is used to store the to-be-sent uplink service data. When the terminal device in the sleep state obtains the to-be-sent uplink service data from the application layer, the to-be-sent uplink service data can be stored in any storage space.

[0074] The second timer is started to count the storage duration of the to-be-sent uplink service data, so that the to-be-sent uplink service data can be sent according to the maximum delay that the to-be-sent uplink service data can withstand.

[0075] Optionally, the second timer and the to-be-sent uplink service data can be in one-to-one correspondence or one-to-many relationship. That is, each second timer can be used to count the storage duration of only one to-be-sent uplink service data, or can be used to count the storage duration of multiple to-be-sent uplink service data respectively.

[0076] S303, when the terminal device sends the uplink positioning reference signal again, or the second cumulative duration counted by the second timer reaches the second preset duration, the to-be-sent uplink service data is sent to the base station.

[0077] In this embodiment, since the terminal device sends the uplink positioning reference signal to the base station periodically, after S301, the terminal device needs to send the uplink positioning reference signal to the base station again according to the first period, so as to meet the positioning requirement of the high-precision positioning service.

[0078] Optionally, the second preset duration can be determined according to the maximum delay that the to-be-sent uplink service data can withstand. That is, the second preset duration can be less than or equal to the maximum delay, so that the to-be-sent uplink service data can be sent to the base station after being stored for a long enough time, thereby avoiding the problem that the service cannot be normally carried out due to the delay of data sending.

[0079] Optionally, after the terminal device sends the uplink positioning reference signal again, the first timer can also be restarted to start counting. The restarting of the first timer means that the cumulative duration counted by the first timer last time is deleted, and the counting is restarted from 0.

[0080] The method for processing service data provided by the embodiments of the present application controls the terminal device to enter a sleep state when the first accumulated time length obtained by the first timer reaches the first preset time length, and when the terminal device is in the sleep state, if there is to-be-sent uplink service data, the to-be-sent uplink service data is buffered, and the second timer is started to time. Finally, when the terminal device sends the uplink positioning reference signal again or the second accumulated time length obtained by the second timer reaches the second preset time length, the to-be-sent uplink service data is sent to the base station. In the technical solution, the to-be-sent uplink service data generated in the sleep state is buffered, so that the terminal device is not frequently woken up, and the power consumption is effectively reduced. At the same time, when the second accumulated time length reaches the second preset time length, the terminal device is woken up and the to-be-sent uplink service data is sent, so that the uplink service data is sent in time and the corresponding service is normally performed.

[0081] Optionally, based on the embodiments shown in the above, S301 can be implemented by the following steps: Figure 3

[0082] When the first accumulated time length reaches the first preset time length, the wireless communication module in the terminal device is controlled to stop data interaction with the base station, so that the terminal device enters the sleep state.

[0083] Optionally, when the first accumulated time length reaches the first preset time length, the terminal device can also be controlled to turn off the first preset function. For example, the first preset function can be a screen-off display function, an automatic synchronization function, a brightness automatic adjustment function, etc., which can be preset according to actual needs, and the present application does not make specific limitations thereto.

[0084] Optionally, when the first accumulated time length reaches the first preset time length, the terminal device can also be controlled to only turn on the second preset function and turn off other functions. For example, the second function can be a telephone function, a short message function, a network function, etc., which can be preset according to actual needs, and the present application does not make specific limitations thereto.

[0085] In the above embodiments, the wireless communication module in the terminal device is controlled to stop data interaction with the base station, so that the data interaction with the base station is stopped, and the power consumption of the terminal device is effectively reduced.

[0086] Optionally, in some embodiments, the method for processing service data can further include the following steps:

[0087] The downlink positioning reference signal sent by the base station is received, and the terminal device is controlled to enter an active state. Then, the third timer is started to time, and when the third accumulated time length obtained by timing reaches the third preset time length, the terminal device enters the sleep state.

[0088] ​The terminal device in the active state can interact with the base station.

[0089] In the above embodiments, since the downlink positioning reference signal is used to implement the positioning requirement of the high-precision positioning service, the terminal device needs to be woken up when receiving the downlink positioning reference signal sent by the base station, so as to receive the downlink positioning reference signal, thereby meeting the positioning requirement of the high-precision positioning service. Meanwhile, after receiving the downlink positioning reference signal, the third timer can be started to time, so as to control the terminal device to sleep after the third preset time length, thereby reducing the power consumption of the terminal device.

[0090] Optionally, in some embodiments, the processing method of the service data can further include the following steps:

[0091] When the terminal device is in the active state, if there is to-be-sent uplink service data, the to-be-sent uplink service data is sent to the base station, and then the first timer is restarted to restart timing.

[0092] For example, when the terminal device is in the active state, assuming that there are to-be-sent uplink service data A, to-be-sent uplink service data B, and to-be-sent uplink service data C, the to-be-sent uplink service data A can be sent to the base station, and the first timer is restarted to make the accumulated time length zero. Further, the to-be-sent uplink service data B is sent to the base station, and the first timer is restarted to make the accumulated time length zero. Finally, the to-be-sent uplink service data C is sent to the base station, and the first timer is restarted to make the accumulated time length zero.

[0093] Optionally, in some embodiments, the to-be-sent uplink service data can be pre-stored or generated at the current time, and the embodiments of the present application do not make specific limitations.

[0094] Optionally, when the amount of to-be-sent uplink service data is multiple, the to-be-sent uplink service data can be sent to the base station in a certain order (such as in the order of generation time from early to late) or randomly, or the to-be-sent uplink service data can be sent to the base station at one time, and the embodiments of the present application do not limit the sending mode of the uplink service data.

[0095] Optionally, the way of restarting the first timer can refer to the related part in the above embodiments, and the embodiments of the present application do not make specific limitations.

[0096] In the above embodiments, when the amount of to-be-sent uplink service data is large, the first timer can be restarted after sending the current batch of to-be-sent uplink service data, so as to ensure the timeliness of sending the uplink service data, and avoid the problem that the terminal device switches to the sleep state before all the to-be-sent uplink service data is sent.

[0097] Optionally, after the terminal device receives the downlink positioning reference signal sent by the base station and enters the active state, the method for processing the service data can further include the following steps in some embodiments:

[0098] If the terminal device receives the downlink service data sent by the base station, the third timer is restarted for re-timing when the terminal device is in the active state.

[0099] Optionally, the manner of restarting the third timer can refer to the related part in the above embodiments, and the embodiments of the present application do not make specific limitations thereto.

[0100] In the above embodiments, when the amount of downlink service data is large, the first timer can be restarted after sending one downlink service data to ensure the timeliness of the terminal device receiving the downlink service data and avoid the problem that the terminal device switches to the sleep state before all the downlink service data is sent out within the third preset time length.

[0101] Optionally, before the terminal device enters the sleep state when the first accumulated time length obtained by the first timer reaches the first preset time length in some embodiments, the method for processing the service data can further include the following steps:

[0102] The first preset time length, the second preset time length, and the third first preset time length sent by the base station are received. Each preset time length is determined by the base station based on the interaction frequency with the terminal device and the data amount of each interaction.

[0103] Optionally, the first timer, the second timer, the third timer, and the related configuration parameters of each timer sent by the base station can also be received.

[0104] In the above embodiments, since the base station stores the related information of each terminal device, such as the data amount of interaction with each terminal device, the interaction frequency, each service deployed in each terminal device, the maximum delay that each service can withstand, and the maximum power consumption that each terminal device can accept, etc. Therefore, the base station can determine the first preset time length, the second preset time length, and the third first preset time length based on the above related information, thereby improving the accuracy of subsequently controlling the terminal device to enter the active state or the sleep state.

[0105] Optionally, in some embodiments, the base station can obtain the state of the terminal device and send the downlink service data to the terminal device according to the obtained state. For example, if the state of the terminal device obtained by the base station is the active state, the downlink service data is sent to the terminal device; if the state of the terminal device obtained by the base station is the sleep state, the downlink service data to be sent is buffered.

[0106] Optionally, in some embodiments, the base station can also send the downlink service data directly to the terminal device when generating the downlink service data, if the terminal device fails to successfully receive when in the sleep state, the base station can cache the downlink service data which fails to be sent successfully, and send the downlink service data again to the terminal device according to certain rules (such as certain frequency).

[0107] The following is an apparatus embodiment of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, refer to the method embodiments of the present application.

[0108] Figure 4 The following is a structural schematic diagram of a service data processing apparatus provided by an embodiment of the present application. As shown in the figure, the service data processing apparatus comprises: Figure 4

[0109] The control module 41 is configured to control the terminal device to enter the sleep state when the first accumulated time length obtained by the first timer reaches the first preset time length. The terminal device in the sleep state stops data interaction with the base station, and the first timer is started when the terminal device sends the uplink positioning reference signal to the base station.

[0110] The cache module 42 is configured to cache the to-be-sent uplink service data if the to-be-sent uplink service data exists when the terminal device is in the sleep state, and start the second timer to count time.

[0111] The sending module 43 is configured to send the to-be-sent uplink service data to the base station when the terminal device sends the uplink positioning reference signal again, or the second accumulated time length obtained by the second timer reaches the second preset time length.

[0112] In a possible design of the embodiment of the present application, the control module 41 is specifically configured to:

[0113] When the first accumulated time length reaches the first preset time length, the control module 41 controls the wireless communication module in the terminal device to stop data interaction with the base station, so as to control the terminal device to enter the sleep state.

[0114] In another possible design of the embodiment of the present application, the apparatus further comprises:

[0115] The receiving module is configured to receive the downlink positioning reference signal sent by the base station, and control the terminal device to enter the active state. The terminal device in the active state can perform data interaction with the base station.

[0116] The control module 41 is further configured to start the third timer to count time, and control the terminal device to enter the sleep state when the third accumulated time length obtained by the third timer reaches the third preset time length.

[0117] Optionally, the apparatus further comprises: ​

[0118] The sending module 43 is also used to send uplink service data to the base station when the terminal device is in an active state, if there is uplink service data to be sent.

[0119] The restart module is also used to restart the first timer, causing it to start timing again.

[0120] Optionally, after receiving the downlink positioning reference signal sent by the base station and controlling the terminal device to enter the active state, the restart module is also used to restart the third timer to reset the timing if downlink service data sent by the base station is received when the terminal device is in the active state.

[0121] Optionally, before the terminal device enters a sleep state when the first cumulative duration obtained by the first timer reaches the first preset duration, the receiving module is further configured to receive the first preset duration, the second preset duration, and the third first preset duration sent by the base station. Each preset duration is determined by the base station based on the interaction frequency with the terminal device and the amount of data in each interaction.

[0122] The business data processing apparatus provided in this application embodiment can be used to execute the business data processing method in any of the above embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0123] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software through processing element calls, or entirely in hardware. Alternatively, some modules can be implemented through processing element calls in software, while others are implemented in hardware. Moreover, these modules can be fully or partially integrated together, or implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.

[0124] Figure 5 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Figure 5 As shown, the terminal device may include: a processor 51, a memory 52, and computer program instructions stored in the memory 52 and executable on the processor 51. When the processor 51 executes the computer program instructions, it implements the business data processing method provided in any of the foregoing embodiments.

[0125] Optionally, the various components of the terminal device can be connected via a system bus.

[0126] The memory 52 can be a separate storage unit or a storage unit integrated in the processor. The number of processors is one or more.

[0127] Optionally, the terminal device can further include an interface for interacting with other devices.

[0128] It should be understood that the processor 51 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the present application can be directly embodied as execution by a hardware processor, or execution by a combination of hardware and software modules in the processor.

[0129] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or only one type of bus. The memory can include a random access memory (RAM) and can also include a non-volatile memory (NVM), such as at least one disk memory.

[0130] All or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware. The foregoing program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the foregoing memory (storage medium) includes a read-only memory (ROM), a RAM, a flash memory, a hard disk, a solid state disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof.

[0131] The terminal device provided by the embodiments of the present application can be used to execute the processing method of service data provided by any one of the above-mentioned method embodiments, and has similar implementation principles and technical effects, which will not be described here.

[0132] The embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions, and when the computer execution instructions run on a computer, the computer executes the business data processing method.

[0133] The computer readable storage medium described above can be realized by any type of volatile or nonvolatile storage devices or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0134] Optionally, the readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0135] The embodiment of the present application also provides a computer program product, which comprises a computer program stored in a computer readable storage medium, and at least one processor can read the computer program from the computer readable storage medium, and the at least one processor executes the computer program to realize the business data processing method.

[0136] It should be understood that the present application is not limited to the precise construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present application is limited only by the claims that follow.

Claims

1. A method for processing business data, characterized in that, include: When the first cumulative duration obtained by the first timer reaches the first preset duration, the wireless communication module in the control terminal device stops data interaction with the base station to control the terminal device to enter a sleep state; wherein, the first timer is started when the terminal device sends an uplink positioning reference signal to the base station according to the first cycle; When the terminal device is in the sleep state, if there is uplink service data to be sent, it is cached and a second timer is started to keep track of the data. When the terminal device retransmits the uplink positioning reference signal according to the first cycle, or when the second cumulative duration obtained by the second timer reaches the second estimated duration, the uplink service data to be transmitted is sent to the base station. The terminal device receives downlink positioning reference signals sent by the base station according to a second cycle and controls the terminal device to enter an active state; wherein, the terminal device in the active state is able to interact with the base station for data. Start the third timer to begin timing. When the third cumulative duration obtained from the timing reaches the third preset duration, control the terminal device to enter the sleep state.

2. The method according to claim 1, characterized in that, The method further includes: When the terminal device is in the activated state, if there is uplink service data to be sent, the uplink service data to be sent is sent to the base station. Restart the first timer to make it start counting again.

3. The method according to claim 1, characterized in that, After receiving the downlink positioning reference signal sent by the base station and controlling the terminal device to enter the activation state, the method further includes: When the terminal device is in the activated state, if it receives downlink service data sent by the base station, the third timer is restarted to reset the timer.

4. The method according to claim 2 or 3, characterized in that, Before the control terminal device enters a sleep state when the first cumulative duration obtained by the first timer reaches the first preset duration, the method further includes: The system receives the first preset duration, the second preset duration, and the third first preset duration sent by the base station; wherein each preset duration is determined by the base station based on the interaction frequency with the terminal device and the amount of data in each interaction.

5. A business data processing apparatus, characterized in that, include: The control module is used to control the wireless communication module in the terminal device to stop data interaction with the base station when the first cumulative duration obtained by the first timer reaches the first preset duration, so as to control the terminal device to enter a sleep state; wherein, the first timer is started when the terminal device sends an uplink positioning reference signal to the base station according to a first cycle; The caching module is used to cache uplink service data to be sent when the terminal device is in the sleep state, and to start a second timer to keep track of the data. The sending module is configured to send the uplink service data to be sent to the base station when the terminal device sends the uplink positioning reference signal again according to the first cycle, or when the second cumulative duration obtained by the second timer reaches the second estimated duration. The receiving module is used to receive the downlink positioning reference signal sent by the base station according to the second cycle, and control the terminal device to enter the activation state; wherein, the terminal device in the activation state is able to interact with the base station for data. The control module is also used to start a third timer to begin timing, and when the third cumulative duration obtained from the timing reaches a third preset duration, control the terminal device to enter the sleep state.

6. A terminal device, comprising: A processor, a memory, and computer program instructions stored in the memory and executable on the processor, characterized in that the processor executes the computer program instructions to implement the business data processing method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the business data processing method as described in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it is used to implement the business data processing method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Voice packet sending method, apparatus and system

    CN101426228A

  • Mobile device and sleeping managing method thereof

    CN103546951A

  • Scheduling request sending method and device, equipment, storage medium and product

    CN114885409A