CN110958641A - Mobile terminal WIFI data receiving and sending control method and device - Google Patents

Mobile terminal WIFI data receiving and sending control method and device Download PDF

Info

Publication number
CN110958641A
CN110958641A CN201911202972.8A CN201911202972A CN110958641A CN 110958641 A CN110958641 A CN 110958641A CN 201911202972 A CN201911202972 A CN 201911202972A CN 110958641 A CN110958641 A CN 110958641A
Authority
CN
China
Prior art keywords
data
mobile terminal
wireless local
area network
local area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911202972.8A
Other languages
Chinese (zh)
Other versions
CN110958641B (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.)
Hunan Chaojie Technology Co ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201911202972.8A priority Critical patent/CN110958641B/en
Publication of CN110958641A publication Critical patent/CN110958641A/en
Application granted granted Critical
Publication of CN110958641B publication Critical patent/CN110958641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0278Traffic management, e.g. flow control or congestion control using buffer status reports

Landscapes

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

Abstract

The embodiment of the invention discloses a WIFI data transceiving control method for a mobile terminal, wherein the mobile terminal can send a data frame to a wireless network and start a timer to monitor whether a response representing the congestion state of the wireless network is transmitted on time or not; if the response is transmitted on time, enabling the wireless network to normally transmit and receive data; if the response is not transmitted on time, making data transceiving control feedback to the wireless network; meanwhile, the wireless network sends a response indicating the congestion state of the wireless network to the mobile terminal according to the size relationship between the internal cache space and the size threshold field of the cache area contained in the data frame. According to the scheme, 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.

Description

Mobile terminal WIFI data receiving and sending control method and device
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a WIFI data receiving and transmitting control method and device for a mobile terminal.
Background
With the development of wireless network technology, almost all mobile terminals support WIFI wireless internet access, WIFI signals are provided by a wired network, such as asymmetric digital subscriber lines, cell broadband and the like in a home, the wired signals can be converted into WIFI signals as long as one wireless router is connected, when the WIFI signals exist, the mobile terminals can access the internet without the network of an operator, traffic cost is saved, and the mobile terminals can access the internet at any place covering a WIFI signal area without being limited by wiring conditions.
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.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of a WIFI data transceiving control method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a WIFI data transceiving control method for a mobile terminal according to an embodiment of the present invention;
fig. 3 is another flowchart of a WIFI data transceiving control method for a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus of a WIFI data transceiving control method of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus of a WIFI data transceiving control method for a mobile terminal according to an embodiment of the present invention
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
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.

Claims (10)

1. A WIFI data transceiving control method for a mobile terminal is characterized by comprising 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.
2. The method of claim 1, wherein inserting the data segment to be responded containing two identical identification characters and buffer size threshold fields before the data frame comprises:
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.
3. The method of claim 1, wherein the making of data transmission and reception control feedback to the wireless local area network device if the response information is not communicated within a time range set by a timer comprises:
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.
4. A WIFI data transceiving control method for a mobile terminal is characterized by comprising 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.
5. The method of claim 4, wherein before determining the size relationship between the current internal buffer space and the buffer size threshold field included in the data frame, the method comprises:
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.
6. The method according to claim 4, wherein said sending response information indicating the congestion status of the wlan device to the mobile terminal according to the size relationship comprises:
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.
7. The utility model provides a mobile terminal WIFI data send-receiver controlling means which characterized in that includes:
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.
8. The utility model provides a mobile terminal WIFI data send-receiver controlling means which characterized in that includes:
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.
9. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the operations in the WIFI data transceiving control method of the mobile terminal according to any of claims 1 to 6.
10. A storage medium, characterized in that the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the WIFI data transceiving control method of the mobile terminal according to any one of claims 1 to 6.
CN201911202972.8A 2019-11-29 2019-11-29 WIFI data receiving and transmitting control method and device for mobile terminal Active CN110958641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911202972.8A CN110958641B (en) 2019-11-29 2019-11-29 WIFI data receiving and transmitting control method and device for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911202972.8A CN110958641B (en) 2019-11-29 2019-11-29 WIFI data receiving and transmitting control method and device for mobile terminal

Publications (2)

Publication Number Publication Date
CN110958641A true CN110958641A (en) 2020-04-03
CN110958641B CN110958641B (en) 2024-03-22

Family

ID=69979054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911202972.8A Active CN110958641B (en) 2019-11-29 2019-11-29 WIFI data receiving and transmitting control method and device for mobile terminal

Country Status (1)

Country Link
CN (1) CN110958641B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842043A (en) * 2005-03-30 2006-10-04 Lg电子株式会社 Mobile communications terminal for transmitting data frames in wireless lan and method thereof
CN101282265A (en) * 2008-04-18 2008-10-08 西安交通大学 Method for driving vision sensor based on wireless sensor network node
CN102186207A (en) * 2011-04-06 2011-09-14 重庆大学 Cross-layer method for reducing TCP repeated response under wireless local area network
CN104020733A (en) * 2014-05-13 2014-09-03 生迪光电科技股份有限公司 LED illuminating device, intelligent household control system and control method
US20150063178A1 (en) * 2013-08-27 2015-03-05 Marvell World Trade Ltd. Systems and methods for reducing in-device coexistence (idc) interference
WO2015062418A1 (en) * 2013-11-04 2015-05-07 腾讯科技(深圳)有限公司 Method, apparatus and equipment for sending data packet
CN106358225A (en) * 2016-09-20 2017-01-25 广东欧珀移动通信有限公司 Network data processing method, network data processing device and mobile terminal
CN107255961A (en) * 2017-06-14 2017-10-17 电子科技大学 A kind of intelligent wireless oscillograph of efficient data interaction
CN107439038A (en) * 2016-06-30 2017-12-05 北京小米移动软件有限公司 Data transmission method, device, user equipment and base station
US9858989B1 (en) * 2016-11-29 2018-01-02 Taiwan Semiconductor Manufacturing Co., Ltd. Serialized SRAM access to reduce congestion
CN108614792A (en) * 2016-12-12 2018-10-02 中国航空工业集团公司西安航空计算技术研究所 1394 transaction layer data packet memory management methods and circuit
CN109062145A (en) * 2018-08-13 2018-12-21 大古智能科技(上海)有限公司 Numerically-controlled machine tool motion control card based on WIFI communication
CN109618354A (en) * 2018-10-25 2019-04-12 惠州Tcl移动通信有限公司 A kind of Wi-Fi receiving and sending control method and device
US20190327188A1 (en) * 2018-04-23 2019-10-24 Ciena Corporation Modular network element architecture
US20190349875A1 (en) * 2016-12-27 2019-11-14 Autel Hechuang Software Development Co. Ltd. Data transmission control method and apparatus, and terminal
WO2019217077A1 (en) * 2018-05-10 2019-11-14 Qualcomm Incorporated Latency optimized i3c virtual gpio with configurable operating mode and device skip

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842043A (en) * 2005-03-30 2006-10-04 Lg电子株式会社 Mobile communications terminal for transmitting data frames in wireless lan and method thereof
CN101282265A (en) * 2008-04-18 2008-10-08 西安交通大学 Method for driving vision sensor based on wireless sensor network node
CN102186207A (en) * 2011-04-06 2011-09-14 重庆大学 Cross-layer method for reducing TCP repeated response under wireless local area network
US20150063178A1 (en) * 2013-08-27 2015-03-05 Marvell World Trade Ltd. Systems and methods for reducing in-device coexistence (idc) interference
WO2015062418A1 (en) * 2013-11-04 2015-05-07 腾讯科技(深圳)有限公司 Method, apparatus and equipment for sending data packet
CN104020733A (en) * 2014-05-13 2014-09-03 生迪光电科技股份有限公司 LED illuminating device, intelligent household control system and control method
CN107439038A (en) * 2016-06-30 2017-12-05 北京小米移动软件有限公司 Data transmission method, device, user equipment and base station
CN106358225A (en) * 2016-09-20 2017-01-25 广东欧珀移动通信有限公司 Network data processing method, network data processing device and mobile terminal
US9858989B1 (en) * 2016-11-29 2018-01-02 Taiwan Semiconductor Manufacturing Co., Ltd. Serialized SRAM access to reduce congestion
CN108614792A (en) * 2016-12-12 2018-10-02 中国航空工业集团公司西安航空计算技术研究所 1394 transaction layer data packet memory management methods and circuit
US20190349875A1 (en) * 2016-12-27 2019-11-14 Autel Hechuang Software Development Co. Ltd. Data transmission control method and apparatus, and terminal
CN107255961A (en) * 2017-06-14 2017-10-17 电子科技大学 A kind of intelligent wireless oscillograph of efficient data interaction
US20190327188A1 (en) * 2018-04-23 2019-10-24 Ciena Corporation Modular network element architecture
WO2019217077A1 (en) * 2018-05-10 2019-11-14 Qualcomm Incorporated Latency optimized i3c virtual gpio with configurable operating mode and device skip
CN109062145A (en) * 2018-08-13 2018-12-21 大古智能科技(上海)有限公司 Numerically-controlled machine tool motion control card based on WIFI communication
CN109618354A (en) * 2018-10-25 2019-04-12 惠州Tcl移动通信有限公司 A kind of Wi-Fi receiving and sending control method and device

Also Published As

Publication number Publication date
CN110958641B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN108632930B (en) Network searching control method and device and mobile terminal
CN107786424B (en) Audio and video communication method, terminal and server
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN111278090A (en) Transmission method of indication signal, terminal and network equipment
CN107104763B (en) Method and device for setting timeout retransmission duration
CN113099521A (en) Dormancy awakening method and device of station, storage medium and electronic equipment
WO2015081880A1 (en) Method, device and system for processing cluster service attribute
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN110677897A (en) Network search control method, terminal and computer readable storage medium
CN111885591A (en) Network connection method, device, storage medium and terminal
CN110011752B (en) CQI reporting method, terminal equipment and network equipment
CN106330875B (en) Message display method and device
CN105635379B (en) Noise suppression method and device
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN110022189B (en) Data transmission method, device, terminal and storage medium
CN110958641B (en) WIFI data receiving and transmitting control method and device for mobile terminal
CN113613310A (en) WIFI connection method and device, storage medium and mobile terminal
CN112261634A (en) Bluetooth transmission control method, device, terminal equipment and storage medium
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
CN108307531B (en) Call control method, device, user terminal and computer readable storage medium
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN109151154B (en) Power consumption control method and mobile terminal
CN107315623B (en) Method and device for reporting statistical data
CN108111553B (en) Method and device for providing service
CN111308303A (en) Method and device for detecting radio frequency power amplifier of mobile terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20240207

Address after: Room 1901, Building 1, Sunshine Jincheng, No. 35 Xinjian East Road, Yuhua District, Changsha City, Hunan Province, 410000

Applicant after: Hunan Chaojie Technology Co.,Ltd.

Country or region after: China

Address before: 10 / F, No.5 Lane 999, Yangfan Road, high tech Zone, Ningbo City, Zhejiang Province

Applicant before: TCL mobile communication technology (Ningbo) Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant