Disclosure of Invention
The embodiment of the invention provides a WIFI data receiving and sending control method and device for a mobile terminal, so that when the mobile terminal is connected to WIFI, the situations of data packet loss, untimely response and the like in the communication process can be mastered in time, and data transmission interruption or WIFI restarting is avoided.
The embodiment of the invention provides a WIFI data transceiving control method for a mobile terminal, which comprises the following steps:
inserting a data segment to be responded, which comprises two identical identification characters and a buffer area size threshold field, into a data frame;
sending the data frame to a wireless local area network device, and starting a timer for monitoring whether response information representing the congestion state of the wireless local area network device is transmitted within a time range set by the timer;
if the response information is transmitted within the time range set by the timer, enabling the wireless local area network equipment to normally receive and transmit data;
and if the response information is not transmitted within the time range set by the timer, making data transceiving control feedback to the wireless local area network equipment.
Optionally, in some embodiments of the present invention, before inserting the data segment to be responded, which includes two identical identification characters and a buffer size threshold field, into the data frame, the method includes:
receiving the size of a cache area sent by the wireless local area network equipment;
and representing the buffer size by using the buffer size threshold field.
Optionally, in some embodiments of the present invention, if the response information is not conveyed within a time range set by a timer, making data transceiving control feedback to the wireless local area network device includes:
if the timer is overtime for the first time and the response information is not received yet, reducing the number of the data frames sent to the wireless local area network equipment;
if the timer is overtime for the second time and the response information is not received yet, the state of the wireless local area network equipment is judged to be abnormal, and a buffer zone clearing request is sent to the wireless local area network equipment.
Optionally, in some embodiments of the present invention, a method for controlling WIFI data transceiving of a mobile terminal includes:
receiving a data frame sent by a mobile terminal;
judging the size relationship between the current internal cache space and a cache region size threshold field contained in the data frame;
sending response information representing the congestion state of the wireless local area network equipment to the mobile terminal according to the size relation;
and executing data transceiving control feedback made by the mobile terminal.
Optionally, in some embodiments of the present invention, before the determining a size relationship between the current internal buffer space and a buffer size threshold field included in the data frame, the method includes:
detecting the cache region size threshold field contained in the data segment to be responded in the data frame;
and detecting the size of the current internal cache space.
Optionally, in some embodiments of the present invention, the sending, to the mobile terminal, response information indicating a congestion state of a wireless local area network device according to the size relationship includes:
if the current internal cache space is smaller than the cache area size threshold field, sending the response information representing the congestion state of the wireless local area network equipment to the mobile terminal, and representing that the wireless local area network equipment can normally receive and send data;
if the current internal cache space is larger than or equal to the cache area size threshold field, recording the cache area size threshold field, monitoring the change condition of the current internal cache space until the current internal cache space is smaller than the cache area size threshold field, and sending the response information representing the congestion state of the wireless local area network equipment to the mobile terminal to represent that the wireless local area network equipment receives and sends data normally.
Optionally, in some embodiments of the present invention, the response information indicating the congestion status of the wlan device includes:
the response information may be in the form of data, pulses, and the like.
Correspondingly, the embodiment of the invention also provides a mobile terminal WIFI data receiving and sending control device, which comprises:
the inserting unit is used for inserting a data segment to be responded, which comprises two identical identifying characters and a buffer area size threshold field, into a data frame;
a data frame sending unit, which is used for the mobile terminal to send the data frame to the wireless local area network device;
a starting unit, configured to start a timer to monitor whether response information indicating a congestion state of the wireless local area network device is conveyed within a time range set by the timer;
a receiving unit, configured to receive the response information conveyed within the time range set by the timer, so that the wireless local area network device receives and transmits data normally;
and a feedback unit, configured to determine that the response information is not communicated within a time range set by the timer, and perform data transceiving control feedback on the wireless local area network device.
Correspondingly, the embodiment of the invention also provides a mobile terminal WIFI data receiving and sending control device, which comprises:
a data frame receiving unit, configured to receive a data frame sent by a mobile terminal;
the judging unit is used for judging the size relationship between the current internal cache space and a cache region size threshold field contained in the data frame;
a sending unit, configured to send, to the mobile terminal, response information indicating a congestion state of a wireless local area network device according to the size relationship;
and the execution unit is used for executing data receiving and sending control feedback made by the mobile terminal.
Correspondingly, the embodiment of the invention also provides terminal equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory to execute operations in the WIFI data transceiving control method for the mobile terminal according to any one of the embodiments of the present invention.
In addition, the embodiment of the present invention further provides a storage medium, where multiple instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the steps in the WIFI data transceiving control method for a mobile terminal according to any one of the embodiments of the present invention.
The mobile terminal inserts the data segment to be responded of two identical identification characters and the buffer area size threshold field into the data frame, and sends the data frame to the wireless local area network device, the wireless local area network device receives the data frame, compares the buffer area size threshold contained in the data frame with the size of the current internal buffer space, if the current internal buffer space is smaller than the buffer area size threshold, the wireless local area network device makes response information to the mobile terminal, which indicates that WIFI receives and sends data normally, if the mobile terminal does not receive the response information, the buffer area size threshold field is recorded, the change condition of the current internal buffer space is monitored until the current internal buffer space is smaller than the buffer area size threshold field, and the response information which indicates the congestion state of the wireless local area network device is sent to the mobile terminal, and performing data receiving and sending control feedback on the WIFI. Therefore, when the mobile terminal is connected to the WIFI, the situations of data packet loss, untimely response and the like in the communication process can be mastered in time, and data transmission interruption or WIFI restarting is avoided.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method and a device for controlling WIFI data receiving and sending of a mobile terminal. The application device is integrated in a terminal, and the terminal can be a mobile phone, a tablet computer, a notebook computer and other equipment.
For example, as shown in fig. 1, the mobile terminal inserts a data segment to be responded, which includes two identical identification characters and a buffer size threshold, into a data frame, and sends the data frame to the wireless local area network device, and at the same time, a timer is started, the wireless local area network device receives the data frame, by comparing the buffer size threshold included in the data frame with the size of the current internal buffer space, if the current internal buffer space is smaller than the buffer size threshold, the wireless local area network device sends a response message to the mobile terminal, indicating that WIFI transceiving data is normal, if the current internal buffer space is greater than or equal to the buffer size threshold, the buffer size threshold field is recorded, and the change condition of the current internal buffer space is monitored until the current internal buffer space is smaller than the buffer size threshold field, and the mobile terminal sends the response indicating the congestion state of the wireless local area network device, if the timer is overtime for the first time and does not receive a response, the number of data frames sent to the wireless local area network equipment is reduced, if the timer is overtime for the second time and does not receive a response, the state of the wireless local area network equipment is judged to be abnormal, and a buffer zone clearing request is sent to the wireless local area network equipment.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
This embodiment will be described from the perspective of a mobile terminal WIFI data transceiving control device, which specifically may be integrated in a terminal, and the terminal may include a mobile phone, a wearable smart device, a tablet Computer, a notebook Computer, a Personal Computer (PC), and the like.
A WIFI data transceiving control method for a mobile terminal comprises the following steps: inserting a data segment to be responded, which comprises two identical identification characters and a buffer area size threshold field, into a data frame; sending the data frame to a wireless local area network device, and starting a timer for monitoring whether response information representing the congestion state of the wireless local area network device is transmitted within a time range set by the timer; if the response information is transmitted within the time range set by the timer, enabling the wireless local area network equipment to normally receive and transmit data; and if the response information is not transmitted within the time range set by the timer, making data transceiving control feedback to the wireless local area network equipment.
As shown in fig. 2, the specific flow of the mobile terminal WIFI data transceiving control method is as follows:
201. inserting a data segment to be responded containing two identical identification characters and a buffer area size threshold field into a data frame.
For example, a buffer size threshold field is obtained, the data segment to be responded includes two identical identification characters and the buffer size threshold field, and the data segment to be responded is inserted into the data frame.
The obtaining of the threshold field of the size of the buffer area is realized by receiving the size of the buffer area sent by the wireless local area network equipment and then expressing the size of the buffer area by using the threshold field of the size of the buffer area.
The data frame consists of a frame head, a frame tail, a payload and a data section to be responded. The data frame is started by a frame header, and the frame header is used for separating from the previous frame data or identifying the starting position of the data of the frame. The data frame is ended by a frame end, and the frame end is used for separating from the next frame data or identifying the ending position of the data of the frame. The payload is effective data to be processed by the wireless network and exists between the frame head and the frame tail of the data frame. The data segment to be responded to also exists between the frame head and the frame tail of the data frame, wherein the data segment to be responded to includes two identical identification characters and a buffer size threshold, for example, the identification character is 0xdeadbeef, and the data segment to be responded to is 0 xdeadbeffexxxxxxadbeef, where XXXXXX is the buffer size threshold. The mobile terminal can control in a one-way whether the data segment to be responded contains the threshold of the size of the buffer area.
202. And sending the data frame to a wireless local area network device, and starting a timer for monitoring whether response information representing the congestion state of the wireless local area network device is conveyed within a time range set by the timer.
For example, a data segment to be responded containing a buffer size threshold is sent to the wireless local area network device, and then a timer is started, wherein one time of the timer can be 1-3 seconds, and one time of the timer is used for monitoring whether response information indicating the congestion state of the wireless local area network device is transmitted within the time set by the timer.
203. And if the response information is transmitted within the time range set by the timer, enabling the wireless local area network equipment to normally receive and transmit data.
For example, if the mobile terminal receives the response information sent by the wireless lan device within the time set by the timer, it indicates that the wireless lan device is processing data normally, and the mobile terminal may further continue to send data frames to the wireless lan device.
204. And if the response information is not transmitted within the time range set by the timer, making data transceiving control feedback to the wireless local area network equipment.
For example, if the mobile terminal does not receive the response sent by the wlan device within the time set by the timer, it indicates that the wlan device encounters an abnormal condition when processing data, and the mobile terminal needs to perform data transceiving control feedback on the wlan device.
Optionally, if the timer is timed out for the first time and does not receive the response sent by the wireless local area network device, the mobile terminal reduces the number of data frames sent to the wireless local area network device, and then the data that the wireless local area network device needs to process becomes less, thereby relieving the data congestion condition of the wireless local area network device to a certain extent.
Optionally, if the timer is overtime for the second time and does not receive a response sent by the wireless local area network device, it is determined that the state of the wireless local area network device is abnormal, and the data congestion cannot be relieved even if the sending of the data frame is reduced, so that the mobile terminal needs to send a buffer area clearing request to the wireless local area network device, so that the wireless local area network device clears the data to be processed in the buffer area, and the congestion of WIFI data receiving and sending is solved.
A WIFI data transceiving control method for a mobile terminal comprises the following steps: receiving a data frame sent by a mobile terminal; judging the size relationship between the current internal cache space and a cache region size threshold field contained in the data frame; sending response information representing the congestion state of the wireless local area network equipment to the mobile terminal according to the size relation; and executing data transceiving control feedback made by the mobile terminal.
As shown in fig. 3, the specific flow of the mobile terminal WIFI data transceiving control method is as follows:
301. and receiving the data frame sent by the mobile terminal.
For example, after the mobile terminal sends the data frame to the wireless lan device, the wireless lan device needs to receive the data frame in time and perform the next further processing on the data frame.
302. And judging the size relationship between the current internal cache space and a cache region size threshold field contained in the data frame.
For example, before determining the size relationship between the current internal buffer space and the buffer size threshold field included in the data frame, the buffer size threshold field included in the data segment to be responded in the data frame needs to be detected, and the size of the current internal buffer space needs to be detected, and then the size relationship between the two is further compared.
303. And sending response information representing the congestion state of the wireless local area network equipment to the mobile terminal according to the size relation.
For example, after the wireless network obtains the comparison conclusion of the size relationship between the current internal buffer space and the buffer area size threshold field contained in the data frame, the wireless network sends response information indicating the congestion state of the wireless local area network device to the mobile terminal according to the size relationship.
Optionally, if the current internal cache space is smaller than the cache area size threshold field, sending the response information indicating the congestion state of the wireless local area network device to the mobile terminal, indicating that the wireless local area network device can normally receive and send data;
optionally, if the current internal cache space is greater than or equal to the cache area size threshold field, the cache area size threshold field is recorded, the change condition of the current internal cache space is monitored until the current internal cache space is smaller than the cache area size threshold field, and the response indicating the congestion state of the wireless local area network device is sent to the mobile terminal, indicating that the wireless local area network device receives and sends data normally.
Optionally, the WIFI and the mobile terminal are connected through a MIPI (mobile industry processor interface) bus, when the mobile terminal sends a data frame to the WIFI, and after the WIFI obtains a payload in the data frame, the WIFI detects a buffer size threshold field in the data segment to be responded, and at the same time detects a size of a current internal buffer space of the WIFI, if the size of the current internal buffer space is smaller than the buffer size threshold field included in the data segment to be responded, a specific data, for example, 0xE124324221111133434F, is sent to the mobile terminal through the MIPI bus, and this data is response information representing a congestion state of the wlan device.
Optionally, a GPIO1 (general purpose input/output port) is set on WIFI, the GPIO1 is connected to a GPIO100 of the mobile terminal, the GPIO1 is set to a low level by default by the WIFI, when the mobile terminal sends a data frame to the WIFI and the WIFI obtains a payload, the buffer size threshold field in the data segment to be responded is detected, the size of the current internal buffer space of the WIFI is detected at the same time, if the current internal buffer space size is smaller than the buffer size threshold field included in the data segment to be responded, a positive pulse is output to the GPIO1, and if the mobile terminal detects that the GPIO100 has the positive pulse, it indicates that a response message is received.
The response information indicating the congestion status of the wlan device may include various forms, such as a specific data or a positive pulse. .
304. And executing data transceiving control feedback made by the mobile terminal.
For example, if the mobile terminal does not receive response information indicating the congestion status of the wireless local area network device within the time interval set by the timer, the mobile terminal may make corresponding data transceiving control feedback to the wireless local area network device according to the number of times that the timer times out, and after the wireless local area network device receives the feedback, the wireless local area network device executes specific feedback, so as to timely grasp the situations of data packet loss, response untimely and the like in the communication process between the mobile terminal and the wireless local area network device, alleviate the data congestion status of the wireless local area network device, and avoid data transmission interruption or restart of WIFI.
In order to better implement the method, an embodiment of the present invention may further provide a mobile terminal WIFI data transceiving control device, where the mobile terminal WIFI data transceiving control device may be specifically integrated in a network device, and the network device may be a terminal or another device.
For example, as shown in fig. 4, the WIFI data transceiving control device of the mobile terminal may include an inserting unit 401, a data frame transmitting unit 402, a starting unit 403, a receiving unit 404, and a feedback unit 405 as follows:
(1) insertion unit 401
An inserting unit 401 is configured to insert a data segment to be responded, which includes two identical identification characters and a buffer size threshold field, into a data frame.
For example, the mobile terminal obtains the buffer size of the wireless local area network device, uses the buffer size threshold field to represent the buffer size, the data segment to be responded contains two identical identification characters and the buffer size threshold field, and the inserting unit 401 inserts the field to be responded into the data frame.
(2) Data frame transmission unit 402
A data frame sending unit 402, configured to send a data frame to the wireless lan device by the mobile terminal.
For example, after the data segment to be responded containing the buffer size threshold field is inserted into the data frame, the data frame sending unit 402 sends the data frame to the wireless local area network device.
(2) Starting unit 403
A starting unit 403, configured to start a timer to monitor whether response information indicating the congestion status of the wireless lan device is conveyed within a time range set by the timer.
For example, a timer is preset for a time, after the mobile terminal sends a data frame to the wlan device, the starting unit 402 starts the timer, and if a response message sent by the wlan device is received within the time interval, a response message indicating the congestion status of the wlan device is transmitted within the time set by the timer. If the response information sent by the wireless local area network device is not received in the time interval, the response information indicating the congestion state of the wireless local area network device is not conveyed within the time set by the timer.
(3) Receiving unit 403
A receiving unit 403, configured to receive the response information conveyed within the time range set by the timer, so that the wireless lan device receives and transmits data normally.
For example, if the wireless lan device transmits response information indicating the congestion state of the wireless lan device within the time set by the timer, the receiving unit 403 is responsible for receiving the response information.
(4) Feedback unit 404
A feedback unit 404, configured to determine that the response information is not communicated within a time range set by the timer, and perform data transceiving control feedback on the wireless local area network device.
For example, if the mobile terminal does not receive the response information sent by the wireless local area network device within the time set by the timer, it indicates that the data processing condition of the wireless local area network device is abnormal, and the feedback unit 404 may allow the mobile terminal to perform corresponding WIFI data transceiving feedback control.
In order to better implement the method, another mobile terminal WIFI data transceiving control device may also be provided in an embodiment of the present invention, where the mobile terminal WIFI data transceiving control device may be specifically integrated in a network device, and the network device may be a terminal or another device.
For example, as shown in fig. 5, the WIFI data transceiving control device of the mobile terminal may include a data frame receiving unit 501, a determining unit 502, a transmitting unit 503, and an executing unit 504, as follows:
(1) data frame receiving unit 501
A data frame receiving unit 501, configured to receive a data frame sent by a mobile terminal.
After inserting the data segment to be responded containing the buffer size threshold into the data frame, the mobile terminal sends the data frame, and the data frame receiving unit 501 receives the data frame.
(2) Judging unit 502
A determining unit 502, configured to determine a size relationship between the current internal buffer space and a buffer size threshold field included in the data frame.
For example, after the wlan device detects the size of the buffer size threshold field and the size of the current internal buffer space, the determining unit 502 compares the size relationship between the two, and obtains a conclusion.
(3) Transmitting section 503
A sending unit 503, configured to send, to the mobile terminal, response information indicating a congestion state of the wlan device according to the size relationship.
For example, after the wlan device obtains the size relationship between the buffer size threshold field and the current internal buffer space, according to the difference between the size relationship between the buffer size threshold field and the current internal buffer space, the sending unit 503 sends the response information indicating the congestion state of the wlan device at different times based on the specific size relationship.
(4) Execution unit 504
An executing unit 504, configured to execute data transceiving control feedback made by the mobile terminal.
For example, if the mobile terminal does not receive response information indicating the congestion state of the wlan device within the time set by the timer, data transceiving control feedback is sent to the wlan device according to the number of times that the timer expires, and the execution unit 504 specifically executes the data transceiving control feedback, thereby avoiding data transmission interruption or restarting WIFI.
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 6, the terminal may include Radio Frequency (RF) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 6 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 606, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then transmitted to, for example, another terminal via the RF circuit 601, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions: and the conditions of data packet loss, untimely response and the like in the communication process are mastered in time, and data transmission interruption or WIFI restarting is avoided.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the mobile terminal WIFI data transceiving control methods provided by the embodiments of the present invention, beneficial effects that can be achieved by any of the mobile terminal WIFI data transceiving control methods provided by the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and are not described herein again.
The foregoing describes in detail a WIFI data transceiving control method and apparatus for a mobile terminal according to an embodiment of the present invention, and a specific example is applied to explain the principle and implementation manner of the present invention, and the description of the foregoing embodiment is only used to help understand the method and core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.