CN106162834A - A kind of data transmission method for uplink and electronic equipment - Google Patents

A kind of data transmission method for uplink and electronic equipment Download PDF

Info

Publication number
CN106162834A
CN106162834A CN201510127837.7A CN201510127837A CN106162834A CN 106162834 A CN106162834 A CN 106162834A CN 201510127837 A CN201510127837 A CN 201510127837A CN 106162834 A CN106162834 A CN 106162834A
Authority
CN
China
Prior art keywords
data
electronic equipment
state
control
communication module
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.)
Pending
Application number
CN201510127837.7A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510127837.7A priority Critical patent/CN106162834A/en
Publication of CN106162834A publication Critical patent/CN106162834A/en
Pending legal-status Critical Current

Links

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

Abstract

The invention discloses a kind of data transmission method for uplink, be used for solving electronic equipment when sending data, the bigger technical problem of power consumption.Described method includes: the control electronic equipment record time;When the time of record reaches predetermined time, detecting described electronic equipment needs whether the data volume of the first data sending is more than or equal to preset data amount;Wherein, described preset data amount is for allowing the minimum data amount sending;If so, the communication module being in the first state in described electronic equipment is switched to the second state, send described first data by described communication module;After completing the transmission of described first data, control described communication module and enter described first state;Wherein, power consumption when described communication module is in described first state is less than power consumption when being in described second state.The invention also discloses corresponding electronic equipment.

Description

A kind of data transmission method for uplink and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly to a kind of data transmission method for uplink and electronic equipment.
Background technology
With scientific and technical development, the mode transmitting data between electronic devices also gets more and more, As by Optical Fiber Transmission, utilize Wireless Fidelity (WIreless-Fidelity, Wi-Fi) mode to transmit, Yi Jili Transmit by bluetooth (Bluetooth) mechanics of communication, etc..
To transmit data instance by blue-tooth technology, in prior art, by the indigo plant in electronic equipment When tooth communication module sends data, after each transmission data, bluetooth communication module can wait next always Secondary data sends the arrival of task, and is sent in upper once data, and sends data next time Before interior during this period of time, owing to being constantly in duty, the power consumption that bluetooth communication module is consumed is also Bigger, so obviously can waste the electricity of electronic equipment, reduce the used duration of electronic equipment.
Visible, in prior art, at electronic equipment when sending data by communication module, there is power consumption Bigger technical problem.
Content of the invention
The embodiment of the present invention provides a kind of data transmission method for uplink and electronic equipment, is used for solving electronic equipment and is sending out When sending data, the bigger technical problem of power consumption.
On the one hand, the present invention provides a kind of data transmission method for uplink, comprising:
The control electronic equipment record time;
When the time of record reaches predetermined time, detect the first data of described electronic equipment needs transmission Whether data volume is more than or equal to preset data amount;Wherein, described preset data amount is for allowing the minimum sending According to amount;
If so, the communication module being in the first state in described electronic equipment is switched to the second state, pass through Described communication module sends described first data;
After completing the transmission of described first data, control described communication module and enter described first state;Wherein, Power consumption when described communication module is in described first state is less than power consumption when being in described second state.
Optionally, before the control electronic equipment record time, described method also includes:
Control the processor in described electronic equipment and described predetermined time is set, and described preset data is set Amount;
The described processor being in the third state is switched to the 4th state;Wherein, described processor is in institute Power consumption when stating the third state is higher than power consumption when being in described four state.
Optionally, need whether the data volume of the first data sending is more than or equal at the described electronic equipment of detection After preset data amount, described method also includes:
Stop sending described first data if it is not, control described communication module.
Optionally, after the described communication module of control stops sending described first data, described method is also wrapped Include:
Control described electronic equipment and suspend the record time;
Whether the data volume continuing described first data of detection is more than or equal to described preset data amount;
When the data volume of described first data is more than or equal to described preset data amount, by described communication module Send described first data;
After completing the transmission of described first data, control described communication module and enter described first state.
Optionally, after the described communication module of control stops sending described first data, described method is also wrapped Include:
Abandon described first data;
Control described electronic equipment and again record the time.
Optionally, after the described communication module of control stops sending described first data, described method is also wrapped Include:
Control described electronic equipment and stop the record time;
The described processor being in described 4th state is switched to the described third state.
On the other hand, the present invention provides a kind of electronic equipment, specifically includes:
First control module, is used for controlling the electronic equipment record time;
Detection module, for when the time of record reaches predetermined time, detecting described electronic equipment needs to send out Whether the data volume of the first data sent is more than or equal to preset data amount;Wherein, described preset data amount is fair Permitted the minimum data amount sending;
First handover module, if the data volume for described first data is more than or equal to described preset data amount, The described communication module being in the first state in described electronic equipment is switched to the second state, is led to by described Letter module sends described first data;
Second control module, after completing the transmission of described first data, controls described communication module and enters described First state;Wherein, power consumption when described communication module is in described first state is less than and is in described second Power consumption during state.
Optionally, described electronic equipment also includes:
Module is set, for, before the control electronic equipment record time, controlling the place in described electronic equipment Reason device arranges described predetermined time, and arranges described preset data amount;
Second handover module, for switching to the 4th state by the described processor being in the third state;Wherein, Power consumption when described processor is in the described third state is higher than power consumption when being in described four state.
Optionally, described first handover module is additionally operable to, if the data volume of described first data is less than described pre- If during data volume, control described communication module and stop sending described first data.
Optionally,
Described first control module, is additionally operable to control described electronic equipment and suspends the record time;
Described detection module, whether the data volume being additionally operable to continue described first data of detection is more than or equal to described Preset data amount;
Described first handover module, is additionally operable to the data volume in described first data and is more than or equal to described present count During according to amount, send described first data by described communication module;
Described second control module, after being additionally operable to complete the transmission of described first data, controls described communication mould Block enters described first state.
Optionally,
Described first handover module, is additionally operable to abandon described first data;
Described first control module, is additionally operable to control described electronic equipment and again records the time.
Optionally,
Described first control module, is additionally operable to control described electronic equipment and stops the record time;
Described second handover module, is additionally operable to switch to the described processor being in described 4th state described The third state.
Said one in the embodiment of the present invention or multiple technical scheme, at least have one or more skills following Art effect and advantage:
In the embodiment of the present invention, when electronic equipment sends data, after being sent completely every time, control is logical Letter module enters the first less state of power consumption from the second bigger state of power consumption, logical compared in prior art Letter module is constantly in the technical scheme of the bigger state of power consumption, can effectively reduce the power consumption of communication module, And then reduce the power consumption of whole electronic equipment, extend the service life of electronic equipment.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the accompanying drawing of required use is briefly described, it should be apparent that, describe below In accompanying drawing be only embodiments of the invention, for those of ordinary skill in the art, do not paying wound On the premise of the property made work, other accompanying drawing can also be obtained according to the accompanying drawing providing.
Fig. 1 is the broad flow diagram of information processing method in the embodiment of the present invention;
Fig. 2 is the primary structure block diagram of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of data transmission method for uplink, comprising: the control electronic equipment record time;When When the time of record reaches predetermined time, detecting described electronic equipment needs the data volume of the first data sending It whether is more than or equal to preset data amount;Wherein, described preset data amount is for allowing the minimum data amount sending; If so, the communication module being in the first state in described electronic equipment is switched to the second state, by described Communication module sends described first data;After completing the transmission of described first data, control described communication module Enter described first state;Wherein, power consumption when described communication module is in described first state is less than and is in Power consumption during described second state.
In the embodiment of the present invention, when electronic equipment sends data, after being sent completely every time, control is logical Letter module enters the first less state of power consumption from the second bigger state of power consumption, logical compared in prior art Letter module is constantly in the technical scheme of the bigger state of power consumption, can effectively reduce the power consumption of communication module, And then reduce the power consumption of whole electronic equipment, extend the service life of electronic equipment.
For making the object, technical solutions and advantages of the present invention clearer, real below in conjunction with the present invention Execute the accompanying drawing in example, the technical scheme in the embodiment of the present invention be clearly and completely described, it is clear that Described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in bright, the institute that those of ordinary skill in the art are obtained under the premise of not making creative work Have other embodiments, broadly fall into the scope of protection of the invention.Reality in the case of not conflicting, in the present invention Execute the feature in example and embodiment can mutually be combined.Can be in the step shown in the flow chart of accompanying drawing Perform when describing the 3-D view in a such as building.And, although show logical order in flow charts, But in some cases, shown or described step can be performed with the order being different from herein.
Optionally, in the embodiment of the present invention, electronic equipment can be PC (personal computer), PAD (flat board Computer), the different electronic equipment of mobile phone etc., the invention is not limited in this regard.
In addition, the terms "and/or", only a kind of incidence relation describing affiliated partner, expression can There are three kinds of relations, for example, A and/or B, can represent: individualism A, there is A and B simultaneously, Individualism B these three situation.In addition, character "/" herein, in the case of not illustrating, one As represent forward-backward correlation to as if the relation of a kind of "or".
Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is described in detail.
Refer to Fig. 1, the embodiment of the present invention provides a kind of data transmission method for uplink, and the main flow of described method is retouched State as follows:
S101: the control electronic equipment record time.
In the embodiment of the present invention, electronic equipment can utilize the counter records time, the general counting of counter Principle is that the number to pulse counts, and to realize the function of measurement, counting and control, has concurrently point simultaneously Frequently function.
Optionally, in the embodiment of the present invention, before the control electronic equipment record time, also include:
Processor in control electronic equipment arranges predetermined time, and arranges preset data amount;
The processor being in the third state is switched to the 4th state;Wherein, when processor is in the third state Power consumption higher than power consumption when being in four states.
In the embodiment of the present invention, processor can be central processing unit (CPU), micro-control unit (Microcontroller Unit, MCU) or application processor (Application Processor, AP) Deng the present invention is not construed as limiting.
In the embodiment of the present invention, before predetermined time is set, typically counter is initialized, Ji Jiangji Number device resets, and arranges predetermined time by processor afterwards.Certainly, predetermined time now be relative to based on For number device, as 0.1s refers to, after counter initializes, the moment that counter is started working is 0s, after have passed through 0.1s, counter reaches the predetermined time of setting.
Preferably, in the embodiment of the present invention, the 4th state can be resting state, and at processor, setting completed After predetermined time and preset data amount, resting state can be entered directly into, to reduce largely The power consumption of processor.
Preferably, before processor is switched to the 4th state, processor can also detect whether also other Task need perform, if it has, then can first carry out need perform task, enter back into after completion Resting state.
In the embodiment of the present invention, if processor enter the 4th state, data send whole during, place Reason device can not be waken up, and greatly reduces the power consumption of processor in data transmission procedure, thus reduces The Overall Power Consumption of electronic equipment.
S102: when the time of record reaches predetermined time, detecting described electronic equipment needs the first of transmission Whether the data volume of data is more than or equal to preset data amount.
Wherein, described preset data amount is for allowing the minimum data amount sending.
In the embodiment of the present invention, preset data amount can send task setting for a secondary data, allow to send out The minimum data amount sent.
For example, in once specific data transmission task, each data to be sent must reach 50K It is a partial data, then preset data amount can be set to 50K, to ensure transmitted data Integrality.
Or, preset data amount can be for the arbitrary cycle set in the data mode needing the cycle to send , allow send minimum data amount.For example, the data of 5 periodic transfer 10K are utilized, each cycle The data sending identical may be likely to difference, and therefore the preset data amount for each cycle set may be identical It is likely to difference.
Or, preset data amount can set for electronic equipment total data to be sent, permission is sent out Whether the minimum data amount sent, i.e. for each data that electronic equipment is to be sent, all can once be more than Judgement equal to preset data amount.
Or, preset data amount also can be data setting, fair for be stored in specific memory space Permitted the minimum data amount sending, such as data in the hard disk being stored in electronic equipment etc..
Preset data amount being particularly directed to the data volume of what scene setting, the present invention is not construed as limiting.Logical Cross and preset data amount is set, stability when data send can be improved.
In the embodiment of the present invention, after reaching predetermined time, electronic equipment is not as prior art Directly data are sent, but detection is needed whether the first data sending have reached preset data Amount, so can preferably ensure during data send, and data will be caused to send out because losing data Send imperfect.
S103: if so, the communication module being in the first state in described electronic equipment is switched to the second state, Send described first data by described communication module.
In the embodiment of the present invention, the data volume of the first data if desired sending is more than or equal to preset data amount, Then electronic equipment sends the first data by communication module.Wherein, communication module can be bluetooth module, or Person's WLAN (Wireless Local Area Networks, WLAN) module, or Wireless Fidelity, Module etc., is not construed as limiting in the present invention.
Optionally, in the embodiment of the present invention, if electronic equipment needs the data volume of the first data sending to be less than Preset data amount, also includes:
Control communication module stops sending the first data.
For example, for particular data, self-capacity should be relatively big, if the data of the first data being detected Measure less, it may be possible to because the first data have partial information to lose, therefore, if detecting the first data Data volume is less, does not just send the first data, can preferably ensure the integrality of sent data.
In addition, after stopping sending the first data, electronic equipment may regain in the corresponding way First data, for example, may regenerate the first data, or again to other electronic equipment requests first Data etc., will need the data sending can be sent to receiving terminal as far as possible.
Optionally, in the embodiment of the present invention, after control communication module stops sending the first data, also wrap Include:
Control electronic equipment suspends the record time;
Whether the data volume continuing detection the first data is more than or equal to preset data amount;
When the data volume of the first data is more than or equal to preset data amount, send the first data by communication module;
After completing the transmission of the first data, control communication module enters the first state.
In the embodiment of the present invention, after electronic equipment stops sending the first data, first control counter is temporary Stopping counting, whether the data volume continuing detection the first data has been reached preset data amount by electronic equipment afterwards, Such as electronic equipment can in real time, periodically or detect when toggled, if the first data being detected Data volume be more than or equal to preset data amount, then the first data are sent completely by electronic equipment by communication module Going out, after being sent completely, duty when sending data for the control communication module is switched to low-power consumption State.
Preferably, if communication module is bluetooth module, at bluetooth module, the data in this moment are sent completely Afterwards, can directly control bluetooth module and close power supply (Power), or close clock (Clock), etc. Deng.
Optionally, after control communication module stops sending the first data, also include:
Abandon the first data;Control electronic equipment records the time again.
For example, if electronic equipment transmission is a film, and the first data are a two field picture therein, And abandon this two field picture and can't produce large effect to whole data, on the contrary, if because of this frame Image and make the transmission speed of whole data slack-off, the transmission time of whole data will extend, electronic equipment The power consumption sending whole film will become big.Therefore, abandon this two field picture, will not user be produced very big Impact, moreover it is possible to effectively improve efficiency of transmission, reduces power consumption.
In the embodiment of the present invention, after abandoning the first data, electronic equipment control counter restarts meter Number.
For example, when the data that electronic equipment periodically sends, the first data are whole numbers to be sent A part of data according to, after abandoning the first data, control counter starts again to count, to prepare to send out Send next data.So, when the first data can not send, electronic equipment can relatively rapid send Next data, reduce data transmission delay as far as possible, improve efficiency of transmission.
Optionally, after control communication module stops sending the first data, also include:
Control described electronic equipment and stop the record time;
The described processor being in described 4th state is switched to the described third state.
In the embodiment of the present invention, after communication module stops sending the first data, counter directly stops meter Number, the processor being in off working state is waken up up by electronic equipment afterwards, when so can reset default The parameters such as quarter and preset data amount, now whole data transmission procedure also will stop.
For example, if data are extremely important for user, in whole data transmission procedure, do not allow that data occur Loss, when the data volume that the first data occur because when can not send less than preset data amount, directly stop Only send the first data, and wake up processor up, and prompting user sends process and stops, and makes user permissible Re-start process according to actual needs, improve data-handling efficiency.
S104: after completing the transmission of described first data, controls described communication module and enters described first state.
Wherein, power consumption when described communication module is in described first state is less than when being in described second state Power consumption.
In the embodiment of the present invention, after the first data send, electronic equipment control communication module is from power consumption relatively High state switches to the relatively low state of power consumption.
In the embodiment of the present invention, when electronic equipment sends data, after being sent completely every time, control is logical Letter module enters the first less state of power consumption from the second bigger state of power consumption, logical compared in prior art Letter module is constantly in the technical scheme of the bigger state of power consumption, can effectively reduce the power consumption of communication module, And then reduce the power consumption of whole electronic equipment, extend the service life of electronic equipment.
Refer to Fig. 2, in the embodiment of the present invention, based on same inventive concept, the embodiment of the present invention provides one Electronic equipment, specifically includes:
First control module 10, is used for controlling the electronic equipment record time;
Detection module 20, for when the time of record reaches predetermined time, detecting described electronic equipment needs Whether the data volume of the first data sending is more than or equal to preset data amount;Wherein, described preset data amount is Allow the minimum data amount sending;
First handover module 30, if the data volume for described first data is more than or equal to described preset data amount, The described communication module being in the first state in described electronic equipment is switched to the second state, is led to by described Letter module sends described first data;
Second control module 40, after completing the transmission of described first data, controls described communication module and enters institute State the first state;Wherein, power consumption when described communication module is in described first state is less than being in described the Power consumption during two-state.
Optionally, in the embodiment of the present invention, this electronic equipment also includes:
Module is set, for, before the control electronic equipment record time, controlling the place in described electronic equipment Reason device arranges described predetermined time, and arranges described preset data amount;
Second handover module, for switching to the 4th state by the described processor being in the third state;Wherein, Power consumption when described processor is in the described third state is higher than power consumption when being in described four state.
Optionally, in the embodiment of the present invention, the first handover module 30 is additionally operable to, if the number of described first data During according to amount less than described preset data amount, control described communication module and stop sending described first data.
Optionally, in the embodiment of the present invention,
First control module 10, is additionally operable to control described electronic equipment and suspends the record time;
Detection module 20, whether the data volume being additionally operable to continue described first data of detection is more than or equal to described pre- If data volume;
First handover module 30, is additionally operable to the data volume in described first data and is more than or equal to described preset data During amount, send described first data by described communication module;
Second control module 40, after being additionally operable to complete the transmission of described first data, controls described communication module Enter described first state.
Optionally, in the embodiment of the present invention,
First handover module 30, is additionally operable to abandon described first data;
First control module 10, is additionally operable to control described electronic equipment and again records the time.
Optionally, in the embodiment of the present invention,
First control module 10, is additionally operable to control described electronic equipment and stops the record time;
Described second handover module, is additionally operable to switch to the described processor being in described 4th state described The third state.
Due to above-mentioned electronic equipment and aforesaid information processing method one_to_one corresponding, thus just no longer superfluous at this State.
Said one in the embodiment of the present invention or multiple technical scheme, at least have one or more skills following Art effect and advantage:
Due to the technical scheme in the embodiment of the present invention, when electronic equipment sends data, sending every time After one-tenth, control communication module enters the less state of power consumption from the bigger duty of power consumption, compared to now Having in technology, communication module, always in the technical scheme of the bigger duty of power consumption, can effectively solve the problem that existing Have in technology when electronic equipment sends data by communication module, the bigger technical problem of the power consumption existing, And then realize reducing the technique effect of overall power.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned The division of each functional module is illustrated, and in actual application, can divide above-mentioned functions as desired Join and completed by different functional units, the internal structure of device will be divided into different functional units, with complete Become all or part of function described above.The specific works mistake of the system of foregoing description, device and unit Journey, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method, Can realize by another way.For example, device embodiment described above is only schematically, For example, the division of described module or unit, is only a kind of logic function and divides, and actual can have when realizing Other dividing mode, for example multiple unit or assembly can in conjunction with or be desirably integrated into another system, Or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or Direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication connection, Can be electrical, machinery or other form.
The described unit illustrating as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Also can be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Also can be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.Above-mentioned integrated unit both can use the form of hardware to realize, it would however also be possible to employ SFU software functional unit Form realizes.
If described integrated unit realizes using the form of SFU software functional unit and as independent production marketing or During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention The part that substantially in other words prior art contributed of technical scheme or this technical scheme whole or Part can embody with the form of software product, and this computer software product is stored in a storage medium In, including some instructions with so that computer equipment (can be personal computer, server, or Person's network equipment etc.) or processor (processor) perform the whole of method described in each embodiment of the present invention or Part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc Or the various medium that can store program code such as CD.
Specifically, the corresponding computer program instructions of a kind of data transmission method for uplink in the embodiment of the present invention can To be stored in CD, hard disk, on the storage medium such as USB flash disk, when sending with a kind of data in storage medium When the corresponding computer program instructions of method is read by an electronic equipment or is performed, comprise the steps:
The control electronic equipment record time;
When the time of record reaches predetermined time, detect the first data of described electronic equipment needs transmission Whether data volume is more than or equal to preset data amount;Wherein, described preset data amount is for allowing the minimum sending According to amount;
If so, the communication module being in the first state in described electronic equipment is switched to the second state, pass through Described communication module sends described first data;
After completing the transmission of described first data, control described communication module and enter described first state;Wherein, Power consumption when described communication module is in described first state is less than power consumption when being in described second state.
Optionally, in described storage medium storage and step: control the electronic equipment record time before, The corresponding computer instruction of described method, during being specifically performed, specifically includes following steps:
Control the processor in described electronic equipment and described predetermined time is set, and described preset data is set Amount;
The described processor being in the third state is switched to the 4th state;Wherein, described processor is in institute Power consumption when stating the third state is higher than power consumption when being in described four state.
Optionally, need whether the data volume of the first data sending is more than or equal at the described electronic equipment of detection After preset data amount, the corresponding computer instruction of described method, during being specifically performed, specifically includes Following steps:
Stop sending described first data if it is not, control described communication module.
Optionally, after the described communication module of control stops sending described first data, described method is corresponding Computer instruction during being specifically performed, specifically include following steps:
Control described electronic equipment and suspend the record time;
Whether the data volume continuing described first data of detection is more than or equal to described preset data amount;
When the data volume of described first data is more than or equal to described preset data amount, by described communication module Send described first data;
After completing the transmission of described first data, control described communication module and enter described first state.
Optionally, after the described communication module of control stops sending described first data, described method is corresponding Computer instruction during being specifically performed, specifically include following steps:
Abandon described first data;
Control described electronic equipment and again record the time.
Optionally, after the described communication module of control stops sending described first data, described method is corresponding Computer instruction during being specifically performed, specifically include following steps:
Control described electronic equipment and stop the record time;
The described processor being in described 4th state is switched to the described third state.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and modification to these embodiments.So, appended right is wanted Ask all changes and the modification being intended to be construed to include preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these modification and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these changes and modification.

Claims (12)

1. a data transmission method for uplink, comprising:
The control electronic equipment record time;
When the time of record reaches predetermined time, detect the first data of described electronic equipment needs transmission Whether data volume is more than or equal to preset data amount;Wherein, described preset data amount is for allowing the minimum sending According to amount;
If so, the communication module being in the first state in described electronic equipment is switched to the second state, pass through Described communication module sends described first data;
After completing the transmission of described first data, control described communication module and enter described first state;Wherein, Power consumption when described communication module is in described first state is less than power consumption when being in described second state.
2. the method for claim 1, it is characterised in that before the control electronic equipment record time, Described method also includes:
Control the processor in described electronic equipment and described predetermined time is set, and described preset data is set Amount;
The described processor being in the third state is switched to the 4th state;Wherein, described processor is in institute Power consumption when stating the third state is higher than power consumption when being in described four state.
3. method as claimed in claim 1 or 2, it is characterised in that need at the described electronic equipment of detection Whether the data volume of the first data sending is more than or equal to after preset data amount, and described method also includes:
Stop sending described first data if it is not, control described communication module.
4. method as claimed in claim 3, it is characterised in that stop sending in the described communication module of control After described first data, described method also includes:
Control described electronic equipment and suspend the record time;
Whether the data volume continuing described first data of detection is more than or equal to described preset data amount;
When the data volume of described first data is more than or equal to described preset data amount, by described communication module Send described first data;
After completing the transmission of described first data, control described communication module and enter described first state.
5. method as claimed in claim 3, it is characterised in that stop sending in the described communication module of control After described first data, described method also includes:
Abandon described first data;
Control described electronic equipment and again record the time.
6. method as claimed in claim 3, it is characterised in that stop sending in the described communication module of control After described first data, described method also includes:
Control described electronic equipment and stop the record time;
The described processor being in described 4th state is switched to the described third state.
7. an electronic equipment, comprising:
First control module, is used for controlling the electronic equipment record time;
Detection module, for when the time of record reaches predetermined time, detecting described electronic equipment needs to send out Whether the data volume of the first data sent is more than or equal to preset data amount;Wherein, described preset data amount is fair Permitted the minimum data amount sending;
First handover module, if the data volume for described first data is more than or equal to described preset data amount, The described communication module being in the first state in described electronic equipment is switched to the second state, is led to by described Letter module sends described first data;
Second control module, after completing the transmission of described first data, controls described communication module and enters Described first state;Wherein, power consumption when described communication module is in described first state is described less than being in Power consumption during the second state.
8. electronic equipment as claimed in claim 7, it is characterised in that described electronic equipment also includes:
Module is set, for, before the control electronic equipment record time, controlling the place in described electronic equipment Reason device arranges described predetermined time, and arranges described preset data amount;
Second handover module, for switching to the 4th state by the described processor being in the third state;Wherein, Power consumption when described processor is in the described third state is higher than power consumption when being in described four state.
9. electronic equipment as claimed in claim 7 or 8, it is characterised in that described first handover module is also For, if the data volume of described first data is less than described preset data amount, controlling described communication module and stopping Only send described first data.
10. electronic equipment as claimed in claim 9, it is characterised in that
Described first control module, is additionally operable to control described electronic equipment and suspends the record time;
Described detection module, whether the data volume being additionally operable to continue described first data of detection is more than or equal to described Preset data amount;
Described first handover module, is additionally operable to the data volume in described first data and is more than or equal to described present count During according to amount, send described first data by described communication module;
Described second control module, after being additionally operable to complete the transmission of described first data, controls described communication mould Block enters described first state.
11. electronic equipments as claimed in claim 9, it is characterised in that
Described first handover module, is additionally operable to abandon described first data;
Described first control module, is additionally operable to control described electronic equipment and again records the time.
12. electronic equipments as claimed in claim 9, it is characterised in that
Described first control module, is additionally operable to control described electronic equipment and stops the record time;
Described second handover module, is additionally operable to switch to the described processor being in described 4th state described The third state.
CN201510127837.7A 2015-03-23 2015-03-23 A kind of data transmission method for uplink and electronic equipment Pending CN106162834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510127837.7A CN106162834A (en) 2015-03-23 2015-03-23 A kind of data transmission method for uplink and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510127837.7A CN106162834A (en) 2015-03-23 2015-03-23 A kind of data transmission method for uplink and electronic equipment

Publications (1)

Publication Number Publication Date
CN106162834A true CN106162834A (en) 2016-11-23

Family

ID=58063859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510127837.7A Pending CN106162834A (en) 2015-03-23 2015-03-23 A kind of data transmission method for uplink and electronic equipment

Country Status (1)

Country Link
CN (1) CN106162834A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167504A (en) * 2021-11-01 2022-03-11 上海卓菡科技有限公司 Detector power supply control method, device and system, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855756A (en) * 2005-04-27 2006-11-01 阿尔卡特公司 Transmission power control for HSDPA connections
CN101699904A (en) * 2009-10-27 2010-04-28 华为技术有限公司 Method for saving energy and system thereof
CN101925160A (en) * 2009-06-11 2010-12-22 上海易狄欧电子科技有限公司 Wireless data transceiving method and system
CN102843756A (en) * 2011-04-05 2012-12-26 三星电子株式会社 Method for operating portable terminal and portable terminal supporting the same
US8427993B2 (en) * 2007-06-01 2013-04-23 Intel Corporation Power management for wireless devices
CN103118421A (en) * 2013-02-04 2013-05-22 中兴通讯股份有限公司 Method and device for reducing power consumption of terminal
CN103119899A (en) * 2010-08-05 2013-05-22 苹果公司 Methods and apparatus for reducing data transmission overhead
CN103168498A (en) * 2010-08-20 2013-06-19 Sca艾普拉控股有限公司 Apparatus, method and system for managing data transmission
CN103442415A (en) * 2013-08-23 2013-12-11 青岛海信移动通信技术股份有限公司 Data sending method and mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855756A (en) * 2005-04-27 2006-11-01 阿尔卡特公司 Transmission power control for HSDPA connections
US8427993B2 (en) * 2007-06-01 2013-04-23 Intel Corporation Power management for wireless devices
CN101925160A (en) * 2009-06-11 2010-12-22 上海易狄欧电子科技有限公司 Wireless data transceiving method and system
CN101699904A (en) * 2009-10-27 2010-04-28 华为技术有限公司 Method for saving energy and system thereof
CN103119899A (en) * 2010-08-05 2013-05-22 苹果公司 Methods and apparatus for reducing data transmission overhead
CN103168498A (en) * 2010-08-20 2013-06-19 Sca艾普拉控股有限公司 Apparatus, method and system for managing data transmission
CN102843756A (en) * 2011-04-05 2012-12-26 三星电子株式会社 Method for operating portable terminal and portable terminal supporting the same
CN103118421A (en) * 2013-02-04 2013-05-22 中兴通讯股份有限公司 Method and device for reducing power consumption of terminal
CN103442415A (en) * 2013-08-23 2013-12-11 青岛海信移动通信技术股份有限公司 Data sending method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167504A (en) * 2021-11-01 2022-03-11 上海卓菡科技有限公司 Detector power supply control method, device and system, electronic equipment and storage medium
CN114167504B (en) * 2021-11-01 2024-02-20 北京龙智数科科技服务有限公司 Detector power supply control method, device and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104365172B (en) The system and method for group owner's responsibility for restoring to be wirelessly connected for equity
CN109117260A (en) A kind of method for scheduling task, device, equipment and medium
CN105334939B (en) Terminal power consumption control method and device
CN108540965A (en) Internet of Things communication means, device and storage medium based on LoRa technologies
CN107360633B (en) Pairing connection method and device of virtual reality system and virtual reality system
CN103294428A (en) Information display method and electronic equipment
CN103916879A (en) Equipment discovery method, apparatus and system
EP2950219A1 (en) Method and apparatus for using serial port in time division multiplexing manner
CN104915855B (en) The predictor method and device of order competition for orders rate
CN103488450A (en) Method, device and terminal equipment for projecting picture
CN104424122A (en) Electronic equipment and memory dividing method
CN109739712A (en) FPGA accelerator card transmission performance test method, device and equipment and medium
CN106162834A (en) A kind of data transmission method for uplink and electronic equipment
WO2022104991A1 (en) Control apparatus and brain-inspired computing system
US9436622B2 (en) Broadcasting communications over an advertising channel
CN111489279B (en) GPU acceleration optimization method and device and computer storage medium
CN104102560A (en) Method and device for testing system performance
CN110650546B (en) File transmission method, device, storage medium and terminal
CN103597755B (en) Fixing equipment and mobile device are distinguished in mobile broadband network
CN205490872U (en) Camera shutter control device and system
CN104052801A (en) Information processing method and electronic equipment
CN103440018A (en) Power control method, power control circuit and energy-saving system
CN103176941A (en) Inter-core communication method and agent device
CN108282890B (en) Resource scheduling processing method, network side equipment and mobile terminal
CN105612800B (en) Resource allocation method, device and system for equipment to equipment communication mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication