CN114125738B - Data transmission control method and related device - Google Patents

Data transmission control method and related device Download PDF

Info

Publication number
CN114125738B
CN114125738B CN202111428836.8A CN202111428836A CN114125738B CN 114125738 B CN114125738 B CN 114125738B CN 202111428836 A CN202111428836 A CN 202111428836A CN 114125738 B CN114125738 B CN 114125738B
Authority
CN
China
Prior art keywords
timing information
data
service
service data
short message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111428836.8A
Other languages
Chinese (zh)
Other versions
CN114125738A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111428836.8A priority Critical patent/CN114125738B/en
Publication of CN114125738A publication Critical patent/CN114125738A/en
Application granted granted Critical
Publication of CN114125738B publication Critical patent/CN114125738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1221Wireless traffic scheduling based on age of data to be sent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers

Abstract

The application discloses a data transmission control method and a related device, wherein the method comprises the following steps: the short message service sends service data to a mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; counting down according to the first timing information; the mobile management layer receives the service data and then sends the service data to network equipment through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than the time length of the first timing information; and when detecting that the operation aiming at the service data meets a preset condition during the running of the first timing information, the short message service stops the timing operation corresponding to the second timing information. By adopting the embodiment of the application, the utilization rate of the air interface resources can be ensured.

Description

Data transmission control method and related device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission control method and a related apparatus.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, smart watches, and the like), applications that the electronic devices can support are increasing, functions are becoming more and more powerful, and the electronic devices are developing towards diversification and personalization directions, becoming indispensable electronic products in user life.
With the continuous increase of system complexity and the continuous upgrade of the system, it is difficult to ensure that 100% of code implementation covers all scenarios of "Short Message Service (SMS) module DATA transmission is abnormal, and a MMXX _ DATA _ ABORT _ IND or a MMXX _ UNIT _ DATA _ ABORT _ IND message is sent to a mobile management layer (MM) to terminate related DATA transmission operations in time", which may cause MM and Access Stratum (AS) resources to be occupied for a long time ineffectively, and reduce the utilization rate of air interface resources. Due to limited MM module resources, if the MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) and MMXX _ DATA _ ABORT _ IND (or MMXX _ UNIT _ DATA _ ABORT _ IND) do not match continuously, other service DATA information cannot be normally transmitted due to long-term unavailable MM layer resources, and user experience is seriously affected. Therefore, the problem of how to improve the utilization rate of the resource air interface needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a data transmission control method and a related device, which can improve the utilization rate of a resource air interface.
In a first aspect, an embodiment of the present application provides a data transmission control method, where the method includes:
the short message service sends service data to a mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; counting down according to the first timing information;
the mobile management layer receives the service data and then sends the service data to network equipment through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information;
and when detecting that the operation aiming at the service data meets a preset condition during the running of the first timing information, the short message service stops the timing operation corresponding to the second timing information.
In a second aspect, an embodiment of the present application provides a data transmission control apparatus, which is applied to an electronic device, and the apparatus includes: a short message service and mobility management layer, wherein,
the short message service is used for sending service data to the mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; counting down according to the first timing information;
the mobile management layer is used for receiving the service data and then sending the service data to network equipment through the access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than the time length of the first timing information;
and the short message service is used for stopping the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition in the running period of the first timing information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, and a memory, where the memory is configured to store one or more programs and is configured to be executed by the processor, and the program includes instructions for performing some or all of the steps described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the data transmission control method and the related apparatus described in the embodiments of the present application, the short message service sends the service data to the mobile management layer, where the service data carries a data request, and the data request includes the first timing information; counting down according to the first timing information; the mobile management layer receives the service data and then sends the service data to the network equipment through the access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information; the short message service stops the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition during the running period of the first timing information, and can stop the timing operation of the second timing information when the service data meets the certain condition, so that the data transmission resources of a mobile management layer and an access layer can be triggered to be released, the resources are prevented from being stuck for a long time, and the utilization rate of air interface resources is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic system architecture diagram of a data transmission system for implementing a data transmission control method according to an embodiment of the present application;
fig. 3B is a schematic system architecture diagram of another data transmission system for implementing a data transmission control method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data transmission control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a data transmission control method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 7 is a block diagram of functional units of a data transmission control device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces related terms and concepts to which the embodiments of the present application may relate.
In a specific implementation, the electronic device may include various devices having a computer function, for example, a handheld device (a smart phone, a tablet computer, etc.), an in-vehicle device (a navigator, an auxiliary backing system, a driving recorder, an in-vehicle refrigerator, etc.), a wearable device (a smart band, a wireless headset, a smart watch, smart glasses, etc.), a computing device or other processing device connected to a wireless modem, and various forms of User Equipment (UE), a Mobile Station (MS), a virtual reality/augmented reality device, a terminal device (terminal device), etc., and the electronic device may also be a base Station or a server.
The electronic device may further include an intelligent home device, and the intelligent home device may be at least one of: intelligent audio amplifier, intelligent camera, intelligent electric rice cooker, intelligent wheelchair, intelligent massage armchair, intelligent furniture, intelligent dish washer, intelligent TV set, intelligent refrigerator, intelligent electric fan, intelligent room heater, intelligent clothes hanger that dries in the air, intelligent lamp, intelligent router, intelligent switch, intelligent flush mounting plate, intelligent humidifier, intelligent air conditioner, intelligent door, intelligent window, intelligent top of a kitchen range, intelligent sterilizer, intelligent closestool, the robot etc. of sweeping the floor do not restrict here.
In the first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
As shown, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, and a Subscriber Identity Module (SIM) card interface 195, among others.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural network processor NPU, among others. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from memory. This avoids repeated accesses, reduces the latency of the processor 110, and thus increases the efficiency with which the electronic device 100 processes data or executes instructions. The processor may also include an image processor, which may be an image Pre-processor (Pre-ISP), which may be understood as a simplified ISP, which may also perform some image processing operations, e.g. may obtain image statistics.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio source (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose-output (GPIO) interface, a SIM card interface, and/or a USB interface. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G/6G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a user takes a picture, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, an optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and converting the electric signal into an image visible to the naked eye. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above instructions stored in the internal memory 121, so as to enable the electronic device 100 to perform the method for displaying page elements provided in some embodiments of the present application, and various applications, data processing, and the like. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 100, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to execute the method for displaying page elements provided in the embodiments of the present application and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the X, Y, and Z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a brief dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scrollbar text in a status bar at the top of the system, such as a notification of a running application in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the second section, the data transmission control method and related apparatus disclosed in the embodiments of the present application are introduced as follows.
In the related art, as shown in fig. 3A, fig. 3A is a schematic diagram of a system architecture of a data transmission system between an electronic device and a network device, where the data transmission device may include the electronic device and the network device, and data transmission between the electronic device and the network device may be performed.
Further, AS shown in fig. 3B, the electronic device may include a short message service (SMS module), a non-access stratum (NAS layer) and an access stratum (AS layer), the NAS layer including a mobility management layer (MM module), known by the 3gpp ts24.007 protocol: the SMS module may send traffic DATA to the MM module of the NAS with MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ, which the MM will then send to the network side through the AS layer.
In addition, according to the 3gpp ts24.011 protocol: when the SMS module does not receive a response message to the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ from the network side within a certain time (e.g., during timer operation of TC1, TC1 being a designated timer), it retransmits the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ to the MM (the MM transmits the traffic DATA to the network side again through the AS layer).
Further, the SMS module and MM are not information-equivalent in handling the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ: the SMS module uses a timing protection and retransmission mechanism to ensure that the service data can be successfully transmitted to the network side as much as possible, but the MM does not know the protection and retransmission mechanism. Thus, the following problems arise: after a protection timer (e.g., timer running period of TC 1) of the SMS module times out, the SMS retransmits the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ to the MM, for which the first time the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ has failed and only the retransmitted MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ is functional; however, the MM does not know the timing protection and retransmission mechanism of the SMS module, and may process the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ retransmitted by the SMS module AS newly received information, that is, the SMS module only transmits one piece of information, but at this time, two pieces of information are transmitted at the same time in the MM (and AS layer), which wastes precious air interface resources.
Further, based on the structure of fig. 1 or fig. 2, in order to address the defect of the related art, the present application provides please refer to fig. 4, fig. 4 is a schematic flowchart of a data transmission control method provided in an embodiment of the present application, the data transmission control method may also be applied to the data transmission system described in fig. 3A and fig. 3B, and the data transmission control method includes:
401. the short message service sends service data to a mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; and counting down according to the first timing information.
In this embodiment, the service data may be data that needs to be uploaded to the network device, for example, all service data that can be used for data transmission in a 3GPP protocol. The DATA request may be an MMXX _ DATA _ REQ or an MMXX _ UNIT _ DATA _ REQ message. The first timing information may be preset or system default. The first timing information may be carried in a locator set field, for example, the timer set field may be a T _ Protect field, and then a protection timer T _ Protect field may be introduced in the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ message. During the countdown of the first timing information, the service data may continue to be retransmitted to the mobility management layer.
Wherein the first timing information may include at least one of: a timing duration, an index identification of a timer, a timer call interface, etc., which are not limited herein. When the first timing information arrives, corresponding resources can be released.
In specific implementation, the first timing information may also correspond to a timer, and the corresponding timer may be called to count down through the first timing information. Of course, the timer may begin counting down after the data request is sent.
402. The mobile management layer receives the service data and then sends the service data to network equipment through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than the time length of the first timing information.
The time length of the second timing information is longer than that of the first timing information, that is, the MM delay release time is appropriate, so that the resource release process of the MM and the AS is ensured only after the SMS module has released the resources. And in the countdown of the second timing information, the service data retransmitted by the short message service can be received.
Wherein the second timing information may include at least one of: a timing duration, an index identification of a timer, a timer call interface, etc., which are not limited herein.
In a specific implementation, the second timing information may also correspond to a timer, and the corresponding timer may be called to count down through the second timing information. When the countdown of the second timing information is finished, the corresponding resources can be released, so that the utilization rate of air interface resources is ensured.
Optionally, the method may further include the following steps:
the time length of the second timing information is the sum of the time length of the first timing information and a preset variable, the size of the preset variable is related to a preset factor, and the preset factor includes at least one of the following: attribute information of the service data, hardware state information of the equipment and network parameter information.
The time length of the second timing information = the time length of the first timing information + a preset variable, the size of the preset variable is related to a preset factor, the preset factor may be preset or default to the system, and the preset factor may include at least one of the following: attribute information of the service data, hardware state information of the device, and network parameter information, which is not limited herein, the attribute information of the service data may include at least one of the following: the data type of the service data, the data length of the service data, the data importance of the service data, and the like are not limited herein. The hardware state parameters of the device may include at least one of: memory size, CPU occupancy, GPU occupancy, NPU occupancy, and the like, without limitation. The network parameter information may include at least one of: network bandwidth size, network delay, packet loss rate, etc., without limitation.
For example, the second timing information may be carried in a locator set field, which may be referred to as T _ MM _ Protect. When the MM receives the MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ message, the MM takes out T _ Protect information, and creates a corresponding protection timer T _ MM _ Protect according to the information, for example, T _ MM _ Project = T _ Protect +. DELTA.t is set to represent a preset variable, which may be a dynamic variable or a fixed parameter.
403. And when detecting that the operation aiming at the service data meets a preset condition during the running of the first timing information, the short message service stops the timing operation corresponding to the second timing information.
In a specific implementation, the preset condition may be preset or default. The preset condition may be a condition that normal transmission of data is detected to be finished, or a condition that data transmission is terminated, and when it is detected that operation for service data meets the preset condition during operation of the first timing information, the short message service may stop timing operation corresponding to the second timing information, which can trigger data transmission resources of the mobility management layer and the access layer to be released, so that long-term resource blocking is avoided, and utilization rate of air interface resources is ensured.
Optionally, during the operation of the first timing information, when the preset condition is the data transmission termination instruction of the service data, the method may further include the following steps:
the short message service releases the service data;
and/or;
and the mobile management layer releases the received service data.
During the operation period of the first timing information, when the data transmission of the service data is stopped, the short message service releases the service data; or, the mobile management layer releases the received service data; or, the short message service releases the service data, and the mobile management layer releases the received service data, thereby avoiding long-term resource blocking, and performing subsequent service data transmission, effectively improving the data transmission efficiency, and also ensuring the utilization rate of air interface resources.
When the mobility management layer releases the received service data, the mobility management layer or the access layer may release the received service data.
Optionally, during the operation of the first timing information, the method may further include the following steps:
and the mobile management layer processes the normal data transmission ending message for normally ending the data transmission operation.
In a specific implementation, during the first timing information operation period, if data transmission of service data is normally ended, the T _ MM _ Project is stopped, and then a data transmission normal end message is processed. The short message service may also be notified to send new traffic data.
Optionally, when the first timing information is timed out, the method may further include the following steps:
the mobile management layer stops the timing operation corresponding to the second timing information, and actively releases the corresponding data transmission resources in the mobile management layer and the access layer, so that the long-term resource jamming is avoided, and the utilization rate of air interface resources is ensured; and because the resources can be released in time, the problem that other services cannot send data information because no MM resources are available for a long time can not be caused.
In a specific implementation, when the first timing information is timed out, the mobility management layer may stop the timing operation corresponding to the second timing information, and may actively release the data transmission resources corresponding to the mobility management layer and the access layer.
Optionally, the method may further include the following steps:
the short message service detects that the data transmission operation of the service data is normally finished, and confirms that the operation aiming at the service data meets the preset condition;
alternatively, the first and second liquid crystal display panels may be,
and when receiving a data transmission termination instruction aiming at the service data, the short message service confirms that the operation aiming at the service data meets the preset condition.
In a specific implementation, the short message service may monitor that the data transmission operation of the service data is normally completed, for example, the network device may send a response message used for indicating that the data transmission of the service data is successful to the short message service, and when the short message service receives the response message, it is determined that the operation of the service data meets the preset condition.
For example, the mobility management layer may send an MMXX _ DATA _ IND message with a DATA transfer success confirmation indication to the service layer (e.g., a short message module). Then the MMXX _ DATA _ IND message is responded to with an indication of success or failure within the message, as specified within the TS24.007 protocol. The MMXX _ UNIT _ DATA _ IND case is similar.
The MMXX _ DATA _ ABORT _ IND is generally sent to the NAS layer by the service layer, and if the situation is such as a user actively terminating a short message, the service module needs to be notified by an MNSMS _ ABORT _ REQ message.
If the problem is caused by the network test problem, for example, the DATA check fails, the NAS layer notifies the service module by using an MMXX _ DATA _ IND message, and the message carries a specific failure reason.
Of course, the sms may also receive a DATA transmission termination command for service DATA, where the DATA termination command may be used by a service termination triggered by a user or a higher layer, for example, if the sms receives an MMXX _ DATA _ ABORT _ IND message (or an MMXX _ UNIT _ DATA _ ABORT _ IND message), the DATA transmission termination command may be triggered.
Wherein, the MNSMS _ ABORT _ REQ message informs the service module; if DATA transmission is terminated due to an anomaly (such as DATA check failure) on the network side, the NAS (mobile management layer) notifies the service module with an MMXX _ DATA _ IND message carrying a specific failure cause value or an MMXX _ UNIT _ DATA _ IND message carrying a specific failure cause value.
Optionally, the method may further include the following steps:
and when detecting that the data transmission of the service data is abnormal, the short message service triggers the data transmission termination instruction.
The short message service may trigger a data transmission termination instruction when detecting that data transmission of the service data is abnormal, or may not trigger the data transmission termination instruction otherwise.
Optionally, the method may further include the following steps:
a1, the short message service receives a response message sent by the network equipment;
and A2, the short message service matches the data request with the response message, and when the data request fails to match the response message, the data transmission of the service data is confirmed to be abnormal.
In a specific implementation, the sms may receive a response message sent by the network device, where the response message may be MMXX _ DATA _ ABORT _ IND (or MMXX _ UNIT _ DATA _ ABORT _ IND), match the DATA request with the response message, and when the DATA request fails to match with the response message, confirm that DATA transmission of the service DATA is abnormal, that is, match the MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) with the MMXX _ DATA _ ABORT _ IND (or MMXX _ UNIT _ DATA _ ABORT _ IND), for example, may match resource types of the MMXX _ DATA _ ABORT _ IND and the MMXX _ DATA _ ABORT _ IND).
Further, if it is determined that MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) and MMXX _ DATA _ ABORT _ IND (or MMXX _ UNIT _ DATA _ ABORT _ IND) are not matched when matching occurs, it is determined that DATA transmission of the service DATA is abnormal.
The MMXX _ DATA _ IND message may carry a specific failure cause value, or the MMXX _ UNIT _ DATA _ IND message may also carry a specific failure cause value, and a specific cause of the mismatch condition may be determined by the failure cause value.
In a specific implementation, the SMS module fills the T _ Protect field with the protection timer information corresponding to the MMXX _ DATA _ REQ message or the MMXX _ UNIT _ DATA _ REQ message when sending the MMXX _ DATA _ REQ message or the MMXX _ UNIT _ DATA _ REQ message, extracts the T _ Protect message when the MM receives the MMXX _ DATA _ REQ message or the MMXX _ UNIT _ DATA _ REQ message, creates the corresponding protection timer T _ MM _ Protect according to the T _ Protect message, and the MM releases the MM and the DATA transmission resource corresponding to the AS layer by itself when the T _ MM _ Protect is overtime.
In summary, the embodiments of the present application may perform the following steps:
s1, when the SMS module constructs the MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) message, fills in its own protection timer information (e.g., timer running period of TC 1) to the T _ Protect field.
S2, the MM receives the MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) message, extracts the T _ Protect field information, and sets T _ MM _ Project = T _ Protect +/Δ T (i.e. the MM delays the release time appropriately to ensure that the resource release process of the MM and the AS will be performed after the SMS module has released the resource).
S3, during the operation of the T _ MM _ Project, if DATA transmission is normally ended or MMXX _ DATA _ ABORT _ IND message (or MMXX _ UNIT _ DATA _ ABORT _ IND message) is received, the T _ MM _ Project is stopped, and then the DATA transmission normal end message or MMXX _ DATA _ ABORT _ IND message is processed.
S4, T _ MM _ Project times out, it can be determined that MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) and MMXX _ DATA _ ABORT _ IND (or MMXX _ UNIT _ DATA _ ABORT _ IND) are mismatched, at which time the protection timer of the SMS module has timed out, the SMS module has abandoned the number transfer, but for some reason the MM has not received MMXX _ DATA _ ABORT _ IND or MMXX _ UNIT _ DATA _ ABORT _ IND messages, the MM stops T _ MM _ Project, and actively releases the number transfer resources corresponding to the MM and AS layers.
Therefore, in the embodiment of the application, because the timing information in the MM is set, the layer number transmission resources of the MM and the AS are released within a limited time (T _ MM _ Protect) certainly, so that long-term resource deadlocking is avoided, and the utilization rate of air interface resources is ensured. Moreover, the problem that other services cannot send data information because no MM resources are available for a long time can not be caused because the resources can be released in time. And further, normal transmission of other service data is guaranteed, and data transmission efficiency is improved.
In the embodiment of the present application, a protection timer scheme is introduced on the basis of a response message of a network device, that is, an MMXX _ DATA _ ABORT _ IND message or an MMXX _ UNIT _ DATA _ ABORT _ IND message, and is used for releasing MM and AS layer resources in time by an electronic device (user equipment) in a scenario where an MMXX _ DATA _ REQ message or an MMXX _ UNIT _ DATA _ REQ message and an MMXX _ DATA _ ABORT _ IND message (or an MMXX _ UNIT _ DATA _ ABORT _ IND message) are not matched when DATA transmission is abnormal, so AS to ensure air interface resource utilization rate and system stability.
In the embodiment of the application, by introducing a newly added MMXX _ DATA _ ABORT _ IND or MMXX _ UNIT _ DATA _ ABORT _ IND message in a specific embodiment, when a SMS module retransmits service DATA due to timeout of a protection timer or the like, the MMXX _ DATA _ ABORT _ IND or the MMXX _ UNIT _ DATA _ ABORT _ IND message is sent to an MM to terminate an ongoing DATA transmission operation, the MM releases resources of the MM and an AS layer after receiving the message, and then the SMS module retransmits MMXX _ DATA _ REQ or MMXX _ UNIT _ DATA _ REQ to the MM to start a new DATA transmission operation. The mode can ensure that the states of the SMS module and the MM (and AS layer) are consistent, and effectively improves the utilization rate of air interface resources.
It can be seen that the data transmission control method described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a short message service and a mobility management layer, the short message service sends service data to the mobility management layer, and the service data carries a data request, where the data request includes first timing information; counting down according to the first timing information; the mobile management layer receives the service data and then sends the service data to the network equipment through the access layer; determining second timing information according to the first timing information, and counting down by using the second timing information; the time length of the second timing information is greater than that of the first timing information; the short message service stops the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition during the running period of the first timing information, and can stop the timing operation of the second timing information when the service data meets the certain condition, so that the data transmission resources of a mobile management layer and an access layer can be triggered to be released, the resources are prevented from being stuck for a long time, and the utilization rate of air interface resources is ensured.
In accordance with the above fig. 4, the present application provides please refer to fig. 5, fig. 5 is a schematic flowchart of a data transmission control method provided in an embodiment of the present application, applied to an application processor, the method includes:
501. the short message service sends service data to a mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; and counting down according to the first timing information.
502. The mobile management layer receives the service data and then sends the service data to network equipment through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than the time length of the first timing information.
503. When the short message service detects that the operation aiming at the service data meets a preset condition in the running period of the first timing information, stopping the timing operation corresponding to the second timing information; and the mobile management layer releases the received service data.
504. And when the first timing information is overtime, the mobile management layer stops the timing operation corresponding to the second timing information and actively releases the data transmission resources corresponding to the mobile management layer and the access layer.
For the detailed description of the steps 501 to 504, reference may be made to the related description of the data transmission control method described in fig. 4, which is not described herein again.
It can be seen that the data transmission control method described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a short message service and a mobility management layer, the short message service sends service data to the mobility management layer, and the service data carries a data request, where the data request includes first timing information; counting down according to the first timing information; the mobile management layer receives the service data and then sends the service data to the network equipment through the access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information; the short message service stops the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition during the running period of the first timing information, the mobile management layer releases the received service data, and stops the timing operation corresponding to the second timing information when the first timing information is overtime, so as to actively release the corresponding data transmission resources in the mobile management layer and the access layer. In addition, in the process of transmitting service DATA, if DATA transmission of the service DATA is abnormal, that is, in a scene where the DATA request MMXX _ DATA _ REQ (or MMXX _ UNIT _ DATA _ REQ) and the response message MMXX _ DATA _ ABORT _ IND (or MMXX _ UNIT _ DATA _ ABORT _ IND) sent by the network device are not matched, the electronic device (UE) may release MM and AS layer resources in time, and ensure the utilization rate of air interface resources and the system stability.
Consistent with the foregoing embodiment, please refer to fig. 6, where fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, the electronic device including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
the short message service sends service data to a mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; counting down according to the first timing information;
the mobile management layer receives the service data and then sends the service data to network equipment through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information;
and when detecting that the operation aiming at the service data meets a preset condition during the running of the first timing information, the short message service stops the timing operation corresponding to the second timing information.
Optionally, the program further includes instructions for performing the following steps:
the short message service detects that the data transmission operation of the service data is normally finished, and confirms that the operation aiming at the service data meets the preset condition;
alternatively, the first and second electrodes may be,
and when receiving a data transmission termination instruction aiming at the service data, the short message service confirms that the operation aiming at the service data meets the preset condition.
Optionally, the program further includes instructions for performing the following steps:
and when the short message service detects that the data transmission of the service data is abnormal, triggering the data transmission termination instruction.
Optionally, the program further includes instructions for performing the following steps:
the short message service receives a response message sent by the network equipment;
and the short message service matches the data request with the response message, and confirms that the data transmission of the service data is abnormal when the data request fails to be matched with the response message.
Optionally, when the preset condition is a data transmission termination instruction of the service data, the program further includes an instruction for executing the following steps:
the short message service releases the service data;
and/or;
and the mobile management layer releases the received service data.
Optionally, the program further includes instructions for performing the following steps:
and the mobile management layer processes the normal data transmission ending message for normally ending the data transmission operation.
Optionally, when the first timing information is timed out, the program further includes instructions for executing the following steps:
and the mobile management layer stops the timing operation corresponding to the second timing information and actively releases the data transmission resources corresponding to the mobile management layer and the access layer.
Optionally, the program further includes instructions for performing the following steps:
the time length of the second timing information is the sum of the time length of the first timing information and a preset variable, the size of the preset variable is related to a preset factor, and the preset factor includes at least one of the following: attribute information of the service data, hardware state information of the equipment and network parameter information.
It can be seen that, the electronic device described in the embodiment of the present application includes a short message service and a mobility management layer, where the short message service sends service data to the mobility management layer, where the service data carries a data request, and the data request includes first timing information; counting down according to the first timing information; the mobile management layer receives the service data and then sends the service data to the network equipment through the access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information; the short message service stops the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition during the running period of the first timing information, and can stop the timing operation of the second timing information when the service data meets the certain condition, so that the data transmission resources of a mobile management layer and an access layer can be triggered to be released, the resources are prevented from being blocked for a long time, and the utilization rate of air interface resources is ensured.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that, in the embodiment of the present application, the division of the unit is schematic, and is only one logic function division, and when the actual implementation is realized, another division manner may be provided.
Fig. 7 is a block diagram showing functional units of a data transmission control apparatus 700 according to an embodiment of the present application. The data transmission control device 700 is applied to an electronic device, and the device 700 includes: short messaging service 701 and mobility management layer 702, wherein,
the short message service 701 is configured to send service data to the mobile management layer, where the service data carries a data request, and the data request includes first timing information; counting down according to the first timing information;
the mobility management layer 702 is configured to receive the service data, and send the service data to a network device through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information;
the short message service 701 is configured to, during the running of the first timing information, stop the timing operation corresponding to the second timing information when it is detected that the operation for the service data meets a preset condition.
Optionally, the short message service 701 is further configured to detect that the data transmission operation of the service data is normally ended, and confirm that the operation for the service data meets the preset condition;
alternatively, the first and second electrodes may be,
and when receiving a data transmission termination instruction aiming at the service data, the short message service confirms that the operation aiming at the service data meets the preset condition.
Optionally, the short message service 701 is further configured to trigger the data transmission termination instruction when detecting that the data transmission of the service data is abnormal.
Optionally, the short message service 701 is further configured to receive a response message sent by the network device; and matching the data request with the response message, and confirming that the data transmission of the service data is abnormal when the data request fails to be matched with the response message.
Optionally, when the preset condition is a data transmission termination instruction of the service data;
the short message service 701 is further configured to release the service data;
and/or;
the mobility management layer 702 is further configured to release the received service data.
Optionally, the mobility management layer 702 is further configured to process a data transmission normal end message indicating that the data transmission operation is normally ended.
Optionally, when the first timing information is timed out, the mobility management layer 702 is further configured to stop a timing operation corresponding to the second timing information, and actively release data transmission resources corresponding to the mobility management layer and the access layer.
Optionally, the time length of the second timing information is a sum of the time length of the first timing information and a preset variable, the size of the preset variable is related to a preset factor, and the preset factor includes at least one of the following: attribute information of the service data, hardware state information of the equipment and network parameter information.
It can be seen that the data transmission control apparatus described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a short message service and a mobility management layer, the short message service sends service data to the mobility management layer, the service data carries a data request, and the data request includes first timing information; counting down according to the first timing information; the mobile management layer receives the service data and then sends the service data to the network equipment through the access layer; determining second timing information according to the first timing information, and counting down by using the second timing information; the time length of the second timing information is longer than that of the first timing information; the short message service stops the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition during the running period of the first timing information, and can stop the timing operation of the second timing information when the service data meets the certain condition, so that the data transmission resources of a mobile management layer and an access layer can be triggered to be released, the resources are prevented from being stuck for a long time, and the utilization rate of air interface resources is ensured.
It should be noted that the electronic device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
The sms 701 and the mobility management layer 702 may be processors, and based on the above unit modules, the functions or steps of any of the above methods can be implemented.
The present embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the embodiments of the present application to implement any one of the methods in the embodiments.
The present embodiment also provides a computer program product, which when run on a computer causes the computer to execute the relevant steps described above to implement any of the methods in the above embodiments.
In addition, embodiments of the present application further provide a data transmission control device, which may specifically be a chip, a component, or a module, and the device may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute any one of the methods in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A data transmission control method, the method comprising:
the short message service sends service data to a mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; counting down according to the first timing information;
the mobile management layer receives the service data and then sends the service data to network equipment through an access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information;
and when detecting that the operation aiming at the service data meets a preset condition during the running of the first timing information, the short message service stops the timing operation corresponding to the second timing information.
2. The method of claim 1, further comprising:
the short message service detects that the data transmission operation of the service data is normally finished, and confirms that the operation aiming at the service data meets the preset condition;
alternatively, the first and second liquid crystal display panels may be,
and when receiving a data transmission termination instruction aiming at the service data, the short message service confirms that the operation aiming at the service data meets the preset condition.
3. The method of claim 2, further comprising:
and when the short message service detects that the data transmission of the service data is abnormal, triggering the data transmission termination instruction.
4. The method of claim 3, further comprising:
the short message service receives a response message sent by the network equipment;
and the short message service matches the data request with the response message, and confirms that the data transmission of the service data is abnormal when the data request fails to be matched with the response message.
5. The method according to claim 2, wherein when the preset condition is a data transmission termination instruction of the service data, the method further comprises:
the short message service releases the service data;
and/or;
and the mobile management layer releases the received service data.
6. The method of any of claims 1-5, wherein upon expiration of the first timing information, the method further comprises:
and the mobile management layer stops the timing operation corresponding to the second timing information and actively releases the data transmission resources corresponding to the mobile management layer and the access layer.
7. The method according to any one of claims 1-5, further comprising:
the time length of the second timing information is the sum of the time length of the first timing information and a preset variable, the size of the preset variable is related to a preset factor, and the preset factor includes at least one of the following: attribute information of the service data, hardware state information of the equipment and network parameter information.
8. A data transmission control apparatus, applied to an electronic device, the apparatus comprising: a short message service and mobility management layer, wherein,
the short message service is used for sending service data to the mobile management layer, wherein the service data carries a data request, and the data request comprises first timing information; counting down according to the first timing information;
the mobile management layer is used for receiving the service data and then sending the service data to network equipment through the access layer; determining second timing information according to the first timing information, and counting down according to the second timing information; the time length of the second timing information is greater than that of the first timing information;
and the short message service is used for stopping the timing operation corresponding to the second timing information when detecting that the operation aiming at the service data meets the preset condition in the running period of the first timing information.
9. An electronic device, comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs including instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-7.
CN202111428836.8A 2021-11-26 2021-11-26 Data transmission control method and related device Active CN114125738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111428836.8A CN114125738B (en) 2021-11-26 2021-11-26 Data transmission control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111428836.8A CN114125738B (en) 2021-11-26 2021-11-26 Data transmission control method and related device

Publications (2)

Publication Number Publication Date
CN114125738A CN114125738A (en) 2022-03-01
CN114125738B true CN114125738B (en) 2022-12-06

Family

ID=80370882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111428836.8A Active CN114125738B (en) 2021-11-26 2021-11-26 Data transmission control method and related device

Country Status (1)

Country Link
CN (1) CN114125738B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448220A (en) * 2008-12-26 2009-06-03 Tcl天一移动通信(深圳)有限公司 Method for acquiring network time by USSD in mobile communication network
CN102893668A (en) * 2010-06-07 2013-01-23 交互数字专利控股公司 Method and apparatus for transmitting service request messages in a congested network
CN103026742A (en) * 2010-04-30 2013-04-03 阿尔卡特朗讯公司 Notification of cause of abnormal conditions during non-access stratum (NAS) message tunneling
CN105659691A (en) * 2014-03-19 2016-06-08 Lg电子株式会社 Execution method and user equipment for service request procedure
CN107637163A (en) * 2015-04-05 2018-01-26 Lg电子株式会社 For adjusting the method and its equipment of tracking area update timing in a wireless communication system
CN107872771A (en) * 2016-09-28 2018-04-03 华为技术有限公司 Method, mobile management net element and the terminal device of short message are handled in Internet of Things
CN110301144A (en) * 2017-10-20 2019-10-01 联发科技(新加坡)私人有限公司 The method and device thereof retransmitted in mobile communication for short message service
CN110393038A (en) * 2018-02-14 2019-10-29 联发科技股份有限公司 Method and apparatus for Non-Access Stratum transmission
CN110431859A (en) * 2017-03-20 2019-11-08 Lg电子株式会社 Method and its equipment for interaction between wireless communication system middle layer
CN110933776A (en) * 2018-09-20 2020-03-27 三星电子株式会社 Method and user equipment for managing circuit switched signalling connection release
CN111525973A (en) * 2020-03-23 2020-08-11 腾讯科技(深圳)有限公司 Time synchronization method and device, computer readable medium and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11050705B2 (en) * 2017-03-20 2021-06-29 At&T Intellectual Property I, L.P. Signaling optimization during short messaging for internet of things devices in a mobility network
US11160126B2 (en) * 2019-05-06 2021-10-26 Comcast Cable Communications, Llc Wireless communications for asymmetric services

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448220A (en) * 2008-12-26 2009-06-03 Tcl天一移动通信(深圳)有限公司 Method for acquiring network time by USSD in mobile communication network
CN103026742A (en) * 2010-04-30 2013-04-03 阿尔卡特朗讯公司 Notification of cause of abnormal conditions during non-access stratum (NAS) message tunneling
CN102893668A (en) * 2010-06-07 2013-01-23 交互数字专利控股公司 Method and apparatus for transmitting service request messages in a congested network
CN105659691A (en) * 2014-03-19 2016-06-08 Lg电子株式会社 Execution method and user equipment for service request procedure
CN107637163A (en) * 2015-04-05 2018-01-26 Lg电子株式会社 For adjusting the method and its equipment of tracking area update timing in a wireless communication system
CN107872771A (en) * 2016-09-28 2018-04-03 华为技术有限公司 Method, mobile management net element and the terminal device of short message are handled in Internet of Things
CN110431859A (en) * 2017-03-20 2019-11-08 Lg电子株式会社 Method and its equipment for interaction between wireless communication system middle layer
CN110301144A (en) * 2017-10-20 2019-10-01 联发科技(新加坡)私人有限公司 The method and device thereof retransmitted in mobile communication for short message service
CN110393038A (en) * 2018-02-14 2019-10-29 联发科技股份有限公司 Method and apparatus for Non-Access Stratum transmission
CN110933776A (en) * 2018-09-20 2020-03-27 三星电子株式会社 Method and user equipment for managing circuit switched signalling connection release
CN111525973A (en) * 2020-03-23 2020-08-11 腾讯科技(深圳)有限公司 Time synchronization method and device, computer readable medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"29060-8d0";3rd Generation Partnership Project;《3GPP specs\29_series》;20101216;全文 *

Also Published As

Publication number Publication date
CN114125738A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
EP4024168A1 (en) Hand gesture interaction method and apparatus, and terminal device
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
EP3822835B1 (en) Method for deleting secure service, and electronic apparatus
WO2021043046A1 (en) Resource management and control method and device
EP4109891A1 (en) Device interaction method and electronic device
CN111555825B (en) Radio frequency resource allocation method and device
EP4024837A1 (en) Device capability scheduling method and electronic device
WO2021078032A1 (en) User interface display method and electronic device
WO2022017393A1 (en) Display interaction system, display method, and device
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
WO2023005282A9 (en) Message pushing method and apparatus
JP2023503281A (en) Energy efficient display processing method and device
CN111835530A (en) Group joining method and device
EP4163782A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
CN114237646A (en) Game trial playing method and related device
WO2023221479A1 (en) Communication exception processing method and related device
WO2022170854A1 (en) Video call method and related device
EP4216524A1 (en) Interface display method and electronic device
CN114125738B (en) Data transmission control method and related device
CN111836226B (en) Data transmission control method, device and storage medium
CN113542315B (en) Communication framework, business event processing method and device
CN110737916A (en) Communication terminal and processing method
WO2023193720A1 (en) Control method and central control equipment

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