CN103036652A - Method and device for data transmission - Google Patents

Method and device for data transmission Download PDF

Info

Publication number
CN103036652A
CN103036652A CN2012105640965A CN201210564096A CN103036652A CN 103036652 A CN103036652 A CN 103036652A CN 2012105640965 A CN2012105640965 A CN 2012105640965A CN 201210564096 A CN201210564096 A CN 201210564096A CN 103036652 A CN103036652 A CN 103036652A
Authority
CN
China
Prior art keywords
wlan module
state
portable terminal
data transmission
data
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
CN2012105640965A
Other languages
Chinese (zh)
Other versions
CN103036652B (en
Inventor
曾元清
施建超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210564096.5A priority Critical patent/CN103036652B/en
Publication of CN103036652A publication Critical patent/CN103036652A/en
Application granted granted Critical
Publication of CN103036652B publication Critical patent/CN103036652B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a method and a device for data transmission. The method and the device includes that when a screen of a mobile terminal goes black, the execution state of a wireless local area network (WLAN) module of the mobile terminal is obtained; the execution state comprises a data transmission state and a data transmission end state; and when the execution state of the WLAN module is the data transmission state, the WLAN module is controlled to be under a normal mode. According to the method and the device for the data transmission, when the execution state of the WLAN module is the data transmission state, the WLAN module is controlled to be under the normal mode, so when the screen of the mobile terminal goes black, the speed of data transmission can still be maintained, and therefore high-speed transmission of data is guaranteed, time of the data transmission is greatly reduced, and operation efficiency of a user is improved.

Description

A kind of data transmission method and device
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to a kind of data transmission method and device.
Background technology
Along with the portable terminal arrival in intelligent epoch, the configuration of portable terminal from strength to strength, function is more and more, portable terminal can carry out the transmission of data by wired or wireless mode, as by wired mode to the computer transmission data, perhaps between the user by wireless mode the transmission of data.
Yet, in the prior art after portable terminal puts out screen, system is in order to guarantee flying power, can enter energy-saving mode, portable terminal is placed lower powered running status, and this moment, the time of therefore finishing transfer of data can increase greatly because the speed of portable terminal transmission descends greatly, thereby expended user time, reduced user's operating efficiency.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of data transmission method, is intended to solve in the prior art after portable terminal puts out screen, and the speed of the transmission of data is excessively slow, has reduced the problem of user's operating efficiency.
The embodiment of the invention is achieved in that a kind of data transmission method, comprising:
When portable terminal puts out screen, obtain the executing state of the WLAN (wireless local area network) WLAN module of portable terminal, described executing state comprises data transmission state and the complete state of transfer of data;
When the executing state of described WLAN module is data transmission state, controls described WLAN module and be in normal mode.
Another purpose of the embodiment of the invention is to provide a kind of data transmission device, comprising:
Acquiring unit is used for obtaining the executing state of the WLAN (wireless local area network) WLAN module of portable terminal when portable terminal puts out screen, and described executing state comprises data transmission state and the complete state of transfer of data;
Control unit is used for controlling described WLAN module and being in normal mode when the executing state of described WLAN module is data transmission state.
In embodiments of the present invention, when the executing state of WLAN module is data transmission state, control WLAN module is in normal mode, so that after portable terminal puts out screen, the speed that still can keep the transmission of data, thereby guaranteed the high-speed transfer of data, greatly reduced the time of transfer of data, improved user's operating efficiency.
Description of drawings
Fig. 1 is the realization flow figure of the data transmission method that provides of the embodiment of the invention;
Fig. 2 is the structured flowchart of the data transmission device that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, when the executing state of WLAN module is data transmission state, control WLAN module is in normal mode, so that after portable terminal puts out screen, the speed that still can keep the transmission of data, thereby guaranteed the high-speed transfer of data, greatly reduced the time of transfer of data, improved user's operating efficiency.
Fig. 1 shows the realization flow of a kind of data transmission method that the embodiment of the invention provides, and details are as follows:
In step S101, when portable terminal puts out screen, obtain the executing state of the WLAN (wireless local area network) WLAN module of portable terminal, this executing state comprises data transmission state and the complete state of transfer of data.
In the present embodiment, put out the screen expression and close touch-screen.To put out screen as trigger condition, when monitoring by the broadcast message to system, when listening to portable terminal and put out the broadcast message of screen, the expression portable terminal is about to put out screen, start the thread of the executing state of obtaining the portable terminal Wireless LAN module, to obtain the executing state of portable terminal Wireless LAN module.
In the present embodiment, transfer of data comprises that data send and data receiver.
In the present embodiment, by the system process of portable terminal, obtain WLAN (wireless local area network) (Wireless Local Area Network, the WLAN) module of moving, and the monitoring module is set, monitor the broadcast message that whether has data receiver or the transmission of data.When having the broadcast message of data receiver or the transmission of data, the executing state of the WLAN module of expression portable terminal is data transmission state.Further, when not having the broadcast message of data receiver or the transmission of data, the executing state of the WLAN module of expression portable terminal is the complete state of transfer of data.
In step S102, when the executing state of WLAN module is data transmission state, controls this WLAN module and be in normal mode.
In the present embodiment, normal mode refers to portable terminal is placed the pattern of the running status of normal power, the function such as the portable terminal under this pattern can transfer of data, receive calls, play games, gps satellite location, online.This pattern is to satisfy that the user is in or when office, the use pattern when having charging device on hand.
In the present embodiment, can pass through presetting module, the mode of operation of monitoring system, when the mode of operation of system is energy-saving mode, the executing state of expression WLAN module this moment is the executing state that is in energy-saving mode, when the mode of operation of system was normal mode, the executing state of expression WLAN module this moment was the executing state that is in normal mode.
In the present embodiment, control this WLAN module and be in normal mode, specifically can drive to WLAN and send the instruction of normal mode executing state, transmit such as (DATA_TRANSMITTING) expression data, after WLAN drives and receives this notification message, control WLAN module is in normal mode, thereby the WLAN module is placed the running status of normal power, has guaranteed the high-speed transfer of data.
As a preferred embodiment of the present invention, control WLAN module is in normal mode and is specially:
Control WLAN module switches to normal mode from energy-saving mode; Or control WLAN module remains in normal mode.
In the present embodiment, energy-saving mode refers to portable terminal is placed the pattern of the running status that is lower than normal power, the function such as the portable terminal under this pattern can transfer of data, receive calls, but be lower than in the portable terminal of normal power, the power that carries out the WLAN module operation of transfer of data also can be lower than normal condition, correspondingly, the speed of transmission descends greatly.This pattern is to satisfy that the user goes out temporarily and the use pattern when not possessing charging device.
In the present embodiment, mode of operation to the WLAN module is judged, when the mode of operation of system was energy-saving mode, the executing state of expression WLAN module this moment was the energy-saving mode executing state, thereby this executing state is switched to the executing state that the WLAN module is in normal mode.When the mode of operation of system is normal mode, need not the executing state of WLAN module is switched, control WLAN module remains in normal mode.
As a preferred implementation column of the present invention, also comprise: when the executing state of WLAN module is that the complete state of transfer of data and portable terminal also are in when putting out the screen state, control WLAN module switches to energy-saving mode from normal mode.
In the present embodiment, the monitoring module is set, maintenance is to the monitoring of the broadcast message of system, meanwhile, catch in real time portable terminal by the monitoring module and enter the broadcast message of putting out the screen state, when entering the broadcast message of putting out the screen state, the expression portable terminal has entered the screen state that puts out, monitor simultaneously module and keep listening state, when not having the broadcast message of data receiver or the transmission of data, the executing state of the WLAN module of expression portable terminal is the complete state of transfer of data.At this moment, if when not capturing portable terminal withdrawing from the broadcast message of putting out the screen state in system, the expression portable terminal also is in the screen state that puts out, thereby control WLAN module switches to energy-saving mode from normal mode.
Alternatively, the broadcast message that whether exists data receiver or data to be sent in also can monitoring system, when the broadcast message that exists data receiver or data to be sent, the executing state of the WLAN module of expression portable terminal is the complete state of transfer of data.
In the present embodiment, for example in explanation, take practical application as example, the application transfer data, the complete state of transfer of data and portable terminal also are in when putting out the screen state, application program drives to WLAN and sends the instruction of energy-saving mode executing state, finish such as (DATA_TRANSMITTED) expression transfer of data, after WLAN drives and receives this notification message, control WLAN module switches to energy-saving mode from normal mode, thereby has both guaranteed that the high-speed transfer of data also taken into account the flying power of portable terminal.
As a preferred embodiment of the present invention, before the executing state of the WLAN (wireless local area network) WLAN module of obtaining portable terminal, comprising: the time period of reading system time and user's appointment.When the time period arrives, carry out the step of the executing state of the WLAN (wireless local area network) WLAN module of obtaining portable terminal.
In the present embodiment, can pass through a display list, this display list comprises the time period, the zoned format of time period comprises the morning, noon, afternoon, evening, morning, the user can specify one or more time periods in the display list, system carries out the step of the executing state of the WLAN (wireless local area network) WLAN module of obtaining portable terminal according to the specified time period of user.
For ease of explanation, take practical application as example, it is the morning, noon, afternoon, evening when the user-selected time period, namely earlier 6 to point in evenings 12, in 6 steps of carrying out the executing state of the described WLAN (wireless local area network) WLAN module of obtaining portable terminal within 12 in the evening earlier, do not carry out the step of the executing state of the WLAN (wireless local area network) WLAN module of obtaining portable terminal in morning, to reduce the kwh loss of portable terminal, further improve cruising time.
Fig. 2 shows the structured flowchart of a kind of data transmission device that the embodiment of the invention provides, this device can run on the various terminals that possess the WLAN module, include but not limited to mobile phone, pocket computer (Pocket Personal Computer, PPC), palmtop PC, computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), MP4, MP3 etc.For convenience of explanation, only show the part relevant with present embodiment.
With reference to Fig. 2, this data transmission device comprises:
Acquiring unit 21 is used for obtaining the executing state of the WLAN (wireless local area network) WLAN module of portable terminal when portable terminal puts out screen, and this executing state comprises data transmission state and the complete state of transfer of data.
Setting unit 22 when the executing state of WLAN module is data transmission state, is controlled this WLAN module and is in normal mode.
Particularly, in this device, the control unit 21 concrete control WLAN modules that are used for switch to normal mode from energy-saving mode; Or control WLAN module remains in normal mode.
Alternatively, in this device, also comprise power save unit 23, the executing state that is used for when the WLAN module is that the complete state of transfer of data and portable terminal also are in when putting out the screen state, controls this WLAN module and switches to energy-saving mode from normal mode.
Alternatively, in this device, also comprise judging unit 24, be used for the time period of reading system time and user's appointment; When this time period arrives, carry out the step of the executing state of the WLAN (wireless local area network) WLAN module of obtaining portable terminal.
In embodiments of the present invention, when the executing state of WLAN module is data transmission state, control WLAN module is in normal mode, so that after portable terminal puts out screen, the speed that still can keep the transmission of data, thereby guaranteed the high-speed transfer of data, greatly reduced the time of transfer of data, improved user's operating efficiency.
Below only be preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a data transmission method is characterized in that, comprising:
When portable terminal puts out screen, obtain the executing state of the WLAN (wireless local area network) WLAN module of portable terminal, described executing state comprises data transmission state and the complete state of transfer of data;
When the executing state of described WLAN module is data transmission state, controls described WLAN module and be in normal mode.
2. the method for claim 1 is characterized in that, the described WLAN module of described control is in normal mode and is specially:
Control described WLAN module and switch to normal mode from energy-saving mode; Or
Control described WLAN module and remain in normal mode.
3. the method for claim 1 is characterized in that, described method also comprises:
When the executing state of described WLAN module is that the complete state of transfer of data and described portable terminal also are in when putting out the screen state, control described WLAN module and switch to energy-saving mode from normal mode.
4. the method for claim 1 is characterized in that, before the executing state of the described WLAN (wireless local area network) WLAN module of obtaining portable terminal, comprising:
The time period of reading system time and user's appointment;
When described time period arrives, carry out the step of the executing state of the described WLAN (wireless local area network) WLAN module of obtaining portable terminal.
5. a data transmission device is characterized in that, comprising:
Acquiring unit is used for obtaining the executing state of the WLAN (wireless local area network) WLAN module of portable terminal when portable terminal puts out screen, and described executing state comprises data transmission state and the complete state of transfer of data;
Control unit is used for controlling described WLAN module and being in normal mode when the executing state of described WLAN module is data transmission state.
6. device as claimed in claim 5 is characterized in that, described control unit specifically is used for controlling described WLAN module and switches to normal mode from energy-saving mode; Or control described WLAN module and remain in normal mode.
7. device as claimed in claim 5 is characterized in that, also comprises:
Power save unit, the executing state that is used for when described WLAN module is that the complete state of transfer of data and described portable terminal also are in when putting out the screen state, controls described WLAN module and switches to energy-saving mode from normal mode.
8. device as claimed in claim 5 is characterized in that, also comprises:
Judging unit is for the time period of reading system time and user's appointment; When described time period arrives, carry out the step of the executing state of the described WLAN (wireless local area network) WLAN module of obtaining portable terminal.
CN201210564096.5A 2012-12-21 2012-12-21 A kind of data transmission method and device Expired - Fee Related CN103036652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210564096.5A CN103036652B (en) 2012-12-21 2012-12-21 A kind of data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210564096.5A CN103036652B (en) 2012-12-21 2012-12-21 A kind of data transmission method and device

Publications (2)

Publication Number Publication Date
CN103036652A true CN103036652A (en) 2013-04-10
CN103036652B CN103036652B (en) 2016-08-24

Family

ID=48023175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210564096.5A Expired - Fee Related CN103036652B (en) 2012-12-21 2012-12-21 A kind of data transmission method and device

Country Status (1)

Country Link
CN (1) CN103036652B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072672A (en) * 2015-07-08 2015-11-18 福州瑞芯微电子股份有限公司 Wireless function control method and system, and wireless device
CN110022495A (en) * 2019-03-28 2019-07-16 青岛海信电器股份有限公司 A kind of mobile terminal pushes the method and display equipment of media file to display equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1947380A (en) * 2004-02-27 2007-04-11 先进微装置公司 Deep sleep mode for wlan communication systems
CN101132341A (en) * 2006-08-24 2008-02-27 宏碁股份有限公司 Wireless LAN module for maintaining connection and method thereof
CN101631377A (en) * 2009-07-30 2010-01-20 中兴通讯股份有限公司 Terminal sleeping method and terminal
CN101895972A (en) * 2010-04-20 2010-11-24 深圳市权智掌上电脑有限公司 WiFi (Wireless Fidelity) power supply dynamic management system and method
CN101998599A (en) * 2009-08-16 2011-03-30 中兴通讯股份有限公司 Service transmission method and controller in sleeping mode
CN102014021A (en) * 2010-11-19 2011-04-13 中兴通讯股份有限公司 Method and device for controlling connection/disconnection of data link
CN102065176A (en) * 2010-11-25 2011-05-18 北京播思软件技术有限公司 Dynamic switching device and method for mobile terminal data mode
CN102111807A (en) * 2009-12-23 2011-06-29 北京中电华大电子设计有限责任公司 Automatic regulation method of sending rate for wire local area network (WLAN) system
CN103051793A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method and device for controlling data transmission mode of mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1947380A (en) * 2004-02-27 2007-04-11 先进微装置公司 Deep sleep mode for wlan communication systems
CN101132341A (en) * 2006-08-24 2008-02-27 宏碁股份有限公司 Wireless LAN module for maintaining connection and method thereof
CN101631377A (en) * 2009-07-30 2010-01-20 中兴通讯股份有限公司 Terminal sleeping method and terminal
CN101998599A (en) * 2009-08-16 2011-03-30 中兴通讯股份有限公司 Service transmission method and controller in sleeping mode
CN102111807A (en) * 2009-12-23 2011-06-29 北京中电华大电子设计有限责任公司 Automatic regulation method of sending rate for wire local area network (WLAN) system
CN101895972A (en) * 2010-04-20 2010-11-24 深圳市权智掌上电脑有限公司 WiFi (Wireless Fidelity) power supply dynamic management system and method
CN102014021A (en) * 2010-11-19 2011-04-13 中兴通讯股份有限公司 Method and device for controlling connection/disconnection of data link
CN102065176A (en) * 2010-11-25 2011-05-18 北京播思软件技术有限公司 Dynamic switching device and method for mobile terminal data mode
CN103051793A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method and device for controlling data transmission mode of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072672A (en) * 2015-07-08 2015-11-18 福州瑞芯微电子股份有限公司 Wireless function control method and system, and wireless device
CN110022495A (en) * 2019-03-28 2019-07-16 青岛海信电器股份有限公司 A kind of mobile terminal pushes the method and display equipment of media file to display equipment

Also Published As

Publication number Publication date
CN103036652B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN107809793B (en) Awakening control method and device of intelligent terminal
CN102547935B (en) A kind of method and portable router controlling portable router low-power consumption work
CN102572119B (en) A kind of mobile terminal and electricity saving method thereof
CN104244379B (en) The wireless network control method and device of mobile terminal
CN103502946A (en) Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
CN101091398A (en) Method of operating a wlan mobile station
CN102196539A (en) Internet of things terminal, network side equipment and system
CN102833831A (en) Network card device, routing device, system and method for realizing dynamic dormancy and wakeup
CN110996376A (en) Service data transmission method, device, storage medium and terminal
CN109041188A (en) Wireless terminal, wireless terminal power-saving method and device
CN107491160A (en) A kind of application method of dual operating systems, storage device and intelligent terminal
CN102014021A (en) Method and device for controlling connection/disconnection of data link
CN104243720A (en) Electricity saving method of terminal device and terminal device
CN109159680A (en) A kind of vehicle end battery charge controller, vehicle and wireless charging system
CN102802069A (en) Television remote control
CN103686956A (en) Mobile terminal and data network communication method and data network request proxy device
CN202424833U (en) System of full-voice control mobile terminal
CN103036652A (en) Method and device for data transmission
CN103533588A (en) Method for switching current operation application in sub machine to host machine for operation, and mobile terminal for method
CN106413062A (en) User equipment and sleep wake-up method
CN106780805A (en) With the intelligent watch and attendance checking system that record and send attendance information
CN103051793A (en) Method and device for controlling data transmission mode of mobile terminal
CN101771631B (en) Method and device for receiving E-mail
CN104883613A (en) Method for awakening television through network terminal equipment
CN103813421A (en) Intelligent mobile terminal electricity-saving method and intelligent mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160824

CF01 Termination of patent right due to non-payment of annual fee