CN104850418B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104850418B
CN104850418B CN201410055100.4A CN201410055100A CN104850418B CN 104850418 B CN104850418 B CN 104850418B CN 201410055100 A CN201410055100 A CN 201410055100A CN 104850418 B CN104850418 B CN 104850418B
Authority
CN
China
Prior art keywords
electronic equipment
unit
duration
event
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410055100.4A
Other languages
Chinese (zh)
Other versions
CN104850418A (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.)
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 CN201410055100.4A priority Critical patent/CN104850418B/en
Publication of CN104850418A publication Critical patent/CN104850418A/en
Application granted granted Critical
Publication of CN104850418B publication Critical patent/CN104850418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of information processing method, the method is applied in the first electronic equipment, and first electronic equipment carries out data transmission with the second electronic equipment;The described method includes: detection data transmits duration;Judge whether the transmission duration is more than preset duration threshold value, and generates a judging result;When the judging result, which characterizes the transmission duration, is more than the duration threshold value, the first instruction is generated, and responds first instruction, the link for controlling transmission disconnects;Meanwhile the invention also discloses a kind of electronic equipment.Using the present invention, the disconnection that data are transmitted between the first electronic equipment and the second electronic equipment can be realized without manual intervention.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the information processing technologies, and in particular to a kind of information processing method and electronics applied to electronic equipment Equipment.
Background technique
Currently, universal serial bus (USB, Universal Serial Bus) flash drive for example USB flash disk, mobile hard disk, Dynamic image expert compression standard audio level 3(MP3, Moving Picture Experts Group Audio Layer III), the electronic equipments such as MP4, MP6, the welcome due to data convenient storage of its own by users.Using above-mentioned When electronic equipment carries out data copy, need that first above-mentioned electronic equipment is inserted into main body machine such as computer, it should to computer identification After electronic equipment, then carry out the copy of data;After the completion of copy, need manual operation that could unload to equipment, it is invisible to work as In increase the consuming of energy.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of information processing method and electronic equipment, The link that can be realized the data transmission between electronic equipment disconnects automatically, the automatic unloading of electronic equipment is realized, without artificial Intervene, embodies the hommization of electronic equipment.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of information processing methods, are applied in the first electronic equipment, first electronics Equipment carries out data transmission with the second electronic equipment;The described method includes:
Detection data transmits duration;
Judge whether the transmission duration is more than preset duration threshold value, and generates a judging result;
When the judging result, which characterizes the transmission duration, is more than the duration threshold value, the first instruction is generated, and respond First instruction, the link for controlling transmission disconnect.
In above scheme, the method also includes:
Whether detection has first event within preset first time, and generates a testing result;
When the testing result, which is characterized in, has detected the first event in the first time, generates second and refer to It enables, and responds second instruction.
In above scheme, the method also includes:
When the testing result is characterized in, and the first event has been not detected in the first time, described the is generated One instruction, responds first instruction, and the link for controlling transmission disconnects.
In above scheme, the method also includes: when detecting that second event and the judging result characterize the transmission When duration is less than the duration threshold value, the second event is responded.
In above scheme, the method also includes: the electronic equipment includes: output unit;
After the link of control transmission disconnects, the output unit output prompt.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment and the second electronic equipment carry out data biography It is defeated;The electronic equipment includes: first detection unit, judging unit, generation unit, control unit;Wherein,
The first detection unit transmits duration for detection data;
The judging unit for judging whether the transmission duration is more than preset duration threshold value, and generates a judgement As a result;
The generation unit is used for when the judging result characterizes the transmission duration and is more than the duration threshold value, raw At the first instruction, and trigger described control unit;
Described control unit, for responding first instruction, the link for controlling transmission is disconnected.
In above scheme, the electronic equipment further include: second detection unit, the first response unit;Wherein,
Whether the second detection unit has first event for detecting within preset first time, and generates an inspection Survey result;
First response unit, for having detected described the when the testing result was characterized in the first time When one event, the second instruction is generated, and responds second instruction.
In above scheme, the generation unit is also used to not examine when the testing result was characterized in the first time When having measured the first event, first instruction is generated, and trigger described control unit;
Correspondingly, described control unit, for responding first instruction, the link for controlling transmission is disconnected.
In above scheme, the electronic equipment further include: third detection unit, third response unit;Wherein,
The third detection unit when for detecting second event, triggers the third response unit;
The third response unit, for receiving the triggering and the judging result characterizes the transmission duration and do not surpass When crossing the duration threshold value, the second event is responded.
In above scheme, the electronic equipment further include: output unit, for the chain in described control unit control transmission After connecing disconnection, output prompt.
Information processing method and electronic equipment provided in an embodiment of the present invention, the method are applied to the first electronic equipment In, first electronic equipment carries out data transmission with the second electronic equipment;The described method includes: detection data transmits duration; Judge whether the transmission duration is more than preset duration threshold value, and generates a judging result;When the judging result characterizes institute When stating transmission duration more than the duration threshold value, the first instruction is generated, and responds first instruction, the link for controlling transmission is disconnected It opens.Using the present embodiment, it can be realized what data between the first electronic equipment and the second electronic equipment were transmitted without manual intervention It disconnects, realizes automatic unloading of first electronic equipment to the second electronic equipment, embody the hommization of electronic equipment.
Detailed description of the invention
Fig. 1 is the flow chart of the first embodiment of information processing method of the invention;
Fig. 2 is the flow chart of the second embodiment of information processing method of the invention;
Fig. 3 is the flow chart of the 3rd embodiment of information processing method of the invention;
Fig. 4 is the flow chart of the fourth embodiment of information processing method of the invention;
Fig. 5 is the composition schematic diagram of the first embodiment of electronic equipment of the invention;
Fig. 6 is the composition schematic diagram of the second embodiment of electronic equipment of the invention;
Fig. 7 is the composition schematic diagram of the 3rd embodiment of electronic equipment of the invention;
Fig. 8 is the composition schematic diagram of the fourth embodiment of electronic equipment of the invention.
Specific embodiment
Below in conjunction with attached drawing to a preferred embodiment of the present invention will be described in detail, it should be understood that described below is excellent Select embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
A kind of first embodiment of information processing method provided by the invention is applied in the first electronic equipment, and described the One electronic equipment carries out data transmission with the second electronic equipment;Wherein, first electronic equipment can be PC, intelligence TV;Second electronic equipment can be USB flash disk, mobile hard disk, MP3, MP4, MP6 etc..
Fig. 1 is the flow chart of the first embodiment of information processing method of the invention;As shown in Figure 1, which comprises
Step 11: detection data transmits duration.
Here, by taking the first electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, electricity is inserted into USB flash disk After brain, execution copies into the operation of computer the data in USB flash disk, and is examined to data by the duration that USB flash disk is transmitted to computer It surveys.
Step 12: judging whether the transmission duration is more than preset duration threshold value, and generate a judging result.
Here, the duration threshold value can according to data volume size self-setting.
Step 13: when the judging result, which characterizes the transmission duration, is more than the duration threshold value, the first instruction is generated, And first instruction is responded, the link for controlling transmission disconnects.
Here, when judging result generated characterizes the transmission duration and is more than the duration threshold value, illustrate data by U The process that disk is transmitted to computer has terminated, that is, completes the copy of data;Computer generates characterize data transmission completed first Instruction, based on first instruction, computer controls transmissions links and disconnects, and executes unloading operation to USB flash disk.
In a preferred embodiment of the invention, first electronic equipment includes: output unit;In control chain After connecing disconnection, the prompt that the automatic unloading of output unit output is completed, to remind user;Wherein, the output unit Exportable voice prompting, the visual prompts continuously display prompting interface such as within the preset time.
From the foregoing, it will be observed that characterizing transmission duration in judging result is more than the duration threshold using the technical solution of the present embodiment When value, that is, and at the end of data are transmitted to the copy procedure of computer by USB flash disk, the first electronic equipment such as computer can control transmissions links It disconnects, USB flash disk is unloaded automatically, be not necessarily to manual intervention, save manpower.
A kind of second embodiment of information processing method provided by the invention is applied in the first electronic equipment, and described the One electronic equipment carries out data transmission with the second electronic equipment;Wherein, first electronic equipment can be PC, intelligence TV;Second electronic equipment can be USB flash disk, mobile hard disk, MP3, MP4, MP6 etc..
Fig. 2 is the flow chart of the second embodiment of information processing method of the invention;As shown in Figure 2, which comprises
Step 21: detection data transmits duration.
Here, by taking the first electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, electricity is inserted into USB flash disk After brain, execution copies into the operation of computer the data in USB flash disk, and is examined to data by the duration that USB flash disk is transmitted to computer It surveys.
Step 22: judging whether the transmission duration is more than preset duration threshold value, and generate a judging result.
Here, the duration threshold value can according to the data volume size of the data self-setting.
Step 23: when the judging result, which characterizes the transmission duration, is more than the duration threshold value, detecting preset Whether there is first event at the first time, and generates a testing result.
Here, the first event includes: operation, deletion number of the user to the operation of the data as cancelled data copy According to operation, data manipulation etc. is transmitted again.
Step 24: when the testing result, which is characterized in, has detected the first event in the first time, generating Second instruction, and respond second instruction.
Here, when testing result is characterized in the operation for detecting user in the first time to the data as cancelled When transmission operation, characterization is generated based on the operation and stops the second instruction of transmission operation, and responds second instruction, is stopped Data by USB flash disk to computer transmission.
In the present embodiment, it is contemplated that cancel the uncertainty that the operations such as data transmission occur, characterize and transmit in judging result Duration is not immediately performed the operation that control transmissions links disconnect when being more than the duration threshold value, but then detects preset the Whether there is first event in one time, is detected as sometimes, responding first event.User is considered to grasp the uncertainty of computer Make, embodies the hommization of electronic equipment.
A kind of 3rd embodiment of information processing method provided by the invention is applied in the first electronic equipment, and described the One electronic equipment carries out data transmission with the second electronic equipment;Wherein, first electronic equipment can be PC, intelligence TV;Second electronic equipment can be USB flash disk, mobile hard disk, MP3, MP4, MP6 etc..
Fig. 3 is the flow chart of the 3rd embodiment of information processing method of the invention;As shown in Figure 3, which comprises
Step 31: detection data transmits duration.
Here, by taking the first electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, electricity is inserted into USB flash disk After brain, execution copies into the operation of computer the data in USB flash disk, and is examined to data by the duration that USB flash disk is transmitted to computer It surveys.
Step 32: judging whether the transmission duration is more than preset duration threshold value, and generate a judging result.
Here, the duration threshold value can according to the data volume size of the data self-setting.
Step 33: when the judging result, which characterizes the transmission duration, is more than the duration threshold value, detecting preset Whether there is first event at the first time, and generates a testing result.
Here, the first event includes: operation, deletion number of the user to the operation of the data as cancelled data copy According to operation, data manipulation etc. is transmitted again.
Step 34: raw when the testing result is characterized in, and the first event has been not detected in the first time At the first instruction, first instruction is responded, the link for controlling transmission disconnects.
Here, when the judging result characterizes, the transmission duration is more than the duration threshold value and the testing result characterizes When the first event has been not detected within the first time, computer generates characterize data transmission completed first and refers to It enables, based on first instruction, the link that computer controls data transmission is disconnected, and executes unloading operation to USB flash disk.
In a preferred embodiment of the invention, first electronic equipment includes: output unit;Executing unloading behaviour After work, the prompt that the automatic unloading of output unit output is completed, to remind user;Wherein, the output unit can be defeated Voice prompting, the visual prompts continuously display prompting interface such as within the preset time out.
From the foregoing, it will be observed that characterizing transmission duration in judging result is more than the duration threshold using the technical solution of the present embodiment Value and detection is not when having first event within preset first time, is not necessarily to manual intervention, the disconnection of transmissions links can be realized, Automatic unloading to USB flash disk.
A kind of fourth embodiment of information processing method provided by the invention is applied in the first electronic equipment, and described the One electronic equipment carries out data transmission with the second electronic equipment;Wherein, first electronic equipment can be PC, intelligence TV;Second electronic equipment can be USB flash disk, mobile hard disk, MP3, MP4, MP6 etc..
Fig. 4 is the flow chart of the fourth embodiment of information processing method of the invention;As shown in Figure 4, which comprises
Step 41: detection data transmits duration.
Here, by taking the first electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, electricity is inserted into USB flash disk After brain, execution copies into the operation of computer the data in USB flash disk, and is examined to data by the duration that USB flash disk is transmitted to computer It surveys.
Step 42: judging whether the transmission duration is more than preset duration threshold value, and generate a judging result.
Here, the duration threshold value can according to the data volume size of the data self-setting.
Step 43: when detecting that second event and the judging result characterize the transmission duration and be less than the duration threshold When value, the second event is responded.
Here, the second event includes: that user clicks " unloading " to the unloading operation such as user of the data manually;Inspection When measuring the manual unloading operation of user, disconnection of the operation control to data transmission link is responded, USB flash disk is unloaded in execution It carries.
In a preferred embodiment of the invention, first electronic equipment includes: output unit;Executing unloading behaviour After work, the prompt that the output unit output unloading is completed, to remind user;Wherein, the exportable language of the output unit Sound prompt, visual prompts continuously display prompting interface such as within the preset time.
In the present embodiment, even if transmission duration is less than duration threshold value, as long as but detected second event, can also be with It realizes the disconnection to data link, USB flash disk is unloaded, the hommization of electronic equipment is embodied.
Above- mentioned information processing method first embodiment into fourth embodiment, the unloading manner for presetting USB flash disk is Automatic unloading manner, naturally it is also possible to set the unloading manner of USB flash disk as manual unloading manner.
The present invention provides the first embodiment of electronic equipment, the electronic equipment and the second electronic equipment carry out data biography It is defeated;Wherein, the electronic equipment can be PC, smart television;Second electronic equipment can be hard for USB flash disk, movement Disk, MP3, MP4, MP6 etc..
Fig. 5 is the composition schematic diagram of the first embodiment of electronic equipment of the invention;As shown in figure 5, the electronic equipment It include: first detection unit 51, judging unit 52, generation unit 53, control unit 54;Wherein,
The first detection unit 51 transmits duration for detection data;
Here, by taking electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, USB flash disk insertion computer it Afterwards, it executes and the data in USB flash disk is copied into the operation of computer, the first detection unit 51 is transmitted to computer by USB flash disk to data Duration detected.
The judging unit 52 for judging whether the transmission duration is more than preset duration threshold value, and generates one and sentences Disconnected result;Wherein, the duration threshold value can according to data volume size self-setting.
The generation unit 53 is used for when the judging result characterizes the transmission duration and is more than the duration threshold value, Generate the first instruction;
Described control unit 54, for responding first instruction, the link for controlling transmission is disconnected.
Here, when the generation unit 53 determines that the judging unit 52 judging result generated is characterized as the transmission When length is more than the duration threshold value, illustrates that data have been terminated by the process that USB flash disk is transmitted to computer, that is, complete the copy of data; Computer is specifically that the generation unit 53 generates completed first instruction of characterize data transmission, and described control unit 54 responds First instruction, the link for controlling transmission disconnect, and execute unloading operation to USB flash disk.
In a preferred embodiment of the invention, the electronic equipment includes: output unit 50;Executing unloading operation Later, the output unit 50 exports the prompt that automatic unloading is completed, to remind user;Wherein, the output unit 50 can Export voice prompting, visual prompts continuously display prompting interface such as within the preset time.
From the foregoing, it will be observed that characterizing transmission duration in judging result is more than the duration threshold using the technical solution of the present embodiment When value, that is, and at the end of data are transmitted to the copy procedure of computer by USB flash disk, electronic equipment such as computer can control to transmissions links It disconnects, USB flash disk is unloaded automatically, be not necessarily to manual intervention, save manpower.
The present invention provides the second embodiment of electronic equipment, the electronic equipment and the second electronic equipment carry out data biography It is defeated;Wherein, the electronic equipment can be PC, smart television;Second electronic equipment can be hard for USB flash disk, movement Disk, MP3, MP4, MP6 etc..
Fig. 6 is the composition schematic diagram of the second embodiment of electronic equipment of the invention;As shown in fig. 6, the electronic equipment It include: first detection unit 61, judging unit 62, second detection unit 65, the first response unit 66;Wherein,
The first detection unit 61 transmits duration for detection data;
Here, by taking electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, USB flash disk insertion computer it Afterwards, it executes and the data in USB flash disk is copied into the operation of computer, the first detection unit 61 is transmitted to computer by USB flash disk to data Duration detected.
The judging unit 62 for judging whether the transmission duration is more than preset duration threshold value, and generates one and sentences Disconnected result;Here, the duration threshold value can according to the data volume size of the data self-setting.
The second detection unit 65, the judging result for generating when the judging unit 62 characterize the transmission duration When more than the duration threshold value, whether detection has first event within preset first time, and generates a testing result;
First response unit 66, described in being characterized in the first time and having detected when the testing result When first event, the second instruction is generated, and responds second instruction.
Here, the first event includes: operation, deletion number of the user to the operation of the data as cancelled data copy According to operation etc.;The testing result that first response unit 66 determines that the second detection unit 65 generates is characterized as described first When detecting user to the operation of the data as cancelled transmission operation in the time, first response unit 66 is based on described Operation generates characterization and stops the second instruction of transmission operation, and responds second instruction, stops data by the biography of USB flash disk to computer It is defeated.
In the present embodiment, it is contemplated that cancel the uncertainty that the operations such as data transmission occur, characterize and transmit in judging result Duration is not immediately performed unloading operation when being more than the duration threshold value, but then detect within preset first time whether There is first event, is detected as sometimes, responding first event.It considers user to operate the uncertainty of computer, embodies electricity The hommization of sub- equipment.
The present invention provides the 3rd embodiment of electronic equipment, the electronic equipment and the second electronic equipment carry out data biography It is defeated;Wherein, the electronic equipment can be PC, smart television;Second electronic equipment can be hard for USB flash disk, movement Disk, MP3, MP4, MP6 etc..
Fig. 7 is the composition schematic diagram of the 3rd embodiment of electronic equipment of the invention;As shown in fig. 7, the electronic equipment It include: first detection unit 71, judging unit 72, generation unit 73, control unit 74, second detection unit 75;Wherein,
The first detection unit 71 transmits duration for detection data;
Here, by taking electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, USB flash disk insertion computer it Afterwards, it executes and the data in USB flash disk is copied into the operation of computer, the first detection unit 71 is transmitted to computer by USB flash disk to data Duration detected.
The judging unit 72 for judging whether the transmission duration is more than preset duration threshold value, and generates one and sentences Disconnected result;Wherein, the duration threshold value can according to the data volume size of the data self-setting.
The second detection unit 75, the judging result for generating when the judging unit 72 characterize the transmission duration When more than the duration threshold value, whether detection has first event within preset first time, and generates a testing result;It is described First event includes: that user such as cancels the operation of data copy to the operation of the data, deletion data operation, transmits number again According to operation etc..
The generation unit 73, be also used to when the testing result be characterized in the first time be not detected it is described When first event, the first instruction is generated, and trigger described control unit 74;
Described control unit 74, for responding first instruction, the link for controlling transmission is disconnected.
Here, when the judging result that the judging unit 72 generates characterizes the transmission duration more than the duration threshold value and The second detection unit 75 testing result generated, which was characterized in the first time, has been not detected the first event When, computer is specifically that the generation unit 73 generates completed first instruction of characterize data transmission, is referred to based on described first It enables, computer is specifically the disconnection that described control unit 74 controls transmissions links, executes unloading operation to USB flash disk.
In a preferred embodiment of the invention, the electronic equipment includes: output unit 70;Executing unloading operation Later, the output unit 70 exports the prompt that automatic unloading is completed, to remind user;Wherein, the output unit 70 can Export voice prompting, visual prompts continuously display prompting interface such as within the preset time.
The present invention provides the fourth embodiment of electronic equipment, the electronic equipment and the second electronic equipment carry out data biography It is defeated;Wherein, the electronic equipment can be PC, smart television;Second electronic equipment can be hard for USB flash disk, movement Disk, MP3, MP4, MP6 etc..
Fig. 8 is the composition schematic diagram of the fourth embodiment of electronic equipment of the invention;As shown in figure 8, the electronic equipment It include: first detection unit 81, judging unit 82, third detection unit 87, third response unit 88;Wherein,
The first detection unit 81 transmits duration for detection data;
Here, by taking electronic equipment is USB flash disk for PC (computer), the second electronic equipment as an example, USB flash disk insertion computer it Afterwards, it executes and the data in USB flash disk is copied into the operation of computer, the first detection unit 81 is transmitted to computer by USB flash disk to data Duration detected.
The judging unit 82 for judging whether the transmission duration is more than preset duration threshold value, and generates one and sentences Disconnected result;Wherein, the duration threshold value can according to the data volume size of the data self-setting.
The third detection unit 87 when for detecting second event, triggers the third response unit 88;
The third response unit 88, for receiving the triggering and the judging result characterization transmission duration not When more than the duration threshold value, the second event is responded.
Here, the second event includes: that user clicks " unloading U to the unloading operation such as user of the data manually Disk ";When the third detection unit 87 detects the manual unloading operation of user, the third response unit 88, institute are triggered It states third response unit 88 and responds the operation, control the disconnection of data transmission link, execute the unloading to USB flash disk.
In a preferred embodiment of the invention, the electronic equipment includes: output unit 80;Executing unloading operation Later, the prompt that the output of output unit 80 unloading is completed, to remind user;Wherein, the output unit 80 is exportable Voice prompting, the visual prompts continuously display prompting interface such as within the preset time.
In the present embodiment, even if transmission duration is less than duration threshold value, as long as but detected second event, can also be with The link of turn-off data transmission, realization unload USB flash disk, embody the hommization of electronic equipment.
Above-mentioned electronic equipment first embodiment into fourth embodiment, the electronic equipment further include: setup unit (Fig. 5 is not illustrated into Fig. 8) is automatic unloading manner to the unloading manner of USB flash disk for presetting;In addition, described set Order member, is also used to set the unloading manner of USB flash disk as manual unloading manner.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (8)

1. a kind of information processing method is applied in the first electronic equipment, which is characterized in that first electronic equipment and second Electronic equipment carries out data transmission;The described method includes:
Detection data transmits duration;
Judge whether the transmission duration is more than preset duration threshold value, and generates a judging result;
When the judging result, which characterizes the transmission duration, is more than the duration threshold value, detection is within preset first time It is no to have first event, and generate a testing result;Wherein, the first event includes: operation of the user to data;
When the testing result is characterized in, and the first event has been not detected in the first time, the first instruction is generated, And first instruction is responded, the link for controlling transmission disconnects.
2. the method according to claim 1, wherein the method also includes:
When the testing result, which is characterized in, has detected the first event in the first time, the second instruction is generated, and Respond second instruction.
3. method according to claim 1 or 2, which is characterized in that the method also includes: when detect second event and When the judging result characterization transmission duration is less than the duration threshold value, the second event is responded;
Wherein, the second event includes: unloading operation of the user to data.
4. the method according to claim 1, wherein including: output the method also includes: the electronic equipment Unit;
After the link of control transmission disconnects, the output unit output prompt.
5. a kind of electronic equipment, the electronic equipment carries out data transmission with the second electronic equipment;It is characterized in that, the electronics Equipment includes: first detection unit, judging unit, generation unit, control unit and second detection unit;Wherein,
The first detection unit transmits duration for detection data;
The judging unit for judging whether the transmission duration is more than preset duration threshold value, and generates a judging result;
The generation unit, for when the judging result characterizes the transmission duration and is more than the duration threshold value, triggering the Two detection units;
Whether the second detection unit has first event for detecting within preset first time, and generates a detection knot Fruit;Wherein, the first event includes: operation of the user to data;
The generation unit is also used to that first thing has been not detected when the testing result was characterized in the first time When part, the first instruction is generated, and trigger described control unit;
Correspondingly, described control unit, for responding first instruction, the link for controlling transmission is disconnected.
6. electronic equipment according to claim 5, which is characterized in that the electronic equipment further include:
First response unit, for having detected the first event when the testing result was characterized in the first time When, the second instruction is generated, and respond second instruction.
7. electronic equipment according to claim 5 or 6, which is characterized in that the electronic equipment further include: third detection is single Member, third response unit;Wherein,
The third detection unit when for detecting second event, triggers the third response unit;
The third response unit, for receiving the triggering and the judging result characterizes the transmission duration and is less than institute When stating duration threshold value, the second event is responded;
Wherein, the second event includes: unloading operation of the user to data.
8. electronic equipment according to claim 5, which is characterized in that the electronic equipment further include: output unit is used for After the link of described control unit control transmission disconnects, output prompt.
CN201410055100.4A 2014-02-18 2014-02-18 A kind of information processing method and electronic equipment Active CN104850418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410055100.4A CN104850418B (en) 2014-02-18 2014-02-18 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410055100.4A CN104850418B (en) 2014-02-18 2014-02-18 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104850418A CN104850418A (en) 2015-08-19
CN104850418B true CN104850418B (en) 2019-02-05

Family

ID=53850079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410055100.4A Active CN104850418B (en) 2014-02-18 2014-02-18 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104850418B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452726B (en) * 2020-03-24 2024-02-20 中兴通讯股份有限公司 Data transmission method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510524B1 (en) * 1999-08-23 2003-01-21 Palm, Inc. System for managing power of peripheral communications by automatically closing communications channel immediately after finishing a communication with a peripheral device
CN101261607A (en) * 2008-01-24 2008-09-10 北京飞天诚信科技有限公司 Overtime self-closing portable USB device and method
CN201497982U (en) * 2009-06-01 2010-06-02 钟艳花 Data backup device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510524B1 (en) * 1999-08-23 2003-01-21 Palm, Inc. System for managing power of peripheral communications by automatically closing communications channel immediately after finishing a communication with a peripheral device
CN101261607A (en) * 2008-01-24 2008-09-10 北京飞天诚信科技有限公司 Overtime self-closing portable USB device and method
CN201497982U (en) * 2009-06-01 2010-06-02 钟艳花 Data backup device

Also Published As

Publication number Publication date
CN104850418A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
US11621568B2 (en) Electronic device fast charging method, apparatus, and device
CN110851387B (en) Interface function configuration method and electronic equipment
CN104216840B (en) The method and device that a kind of USB sets and operated to external equipment
CN106564391B (en) High voltage power battery contactor detection method, equipment, battery management system and automobile
CN105468466B (en) Processing method, the device and system of processor running frequency
CN104010077B (en) A kind of information processing method and electronic equipment
CN104809046B (en) A kind of application program networking control method and application program networking control device
CN108280000A (en) A kind of full-automatic test system of external equipment hot plug
CN103870319B (en) Information processing method, device and electronic equipment
CN104850418B (en) A kind of information processing method and electronic equipment
CN110492562B (en) Mobile power supply equipment, power supply control method and device thereof, and power supply equipment
CN104793520A (en) Start-stop control method and device of charging equipment
CN106532364B (en) A kind of the power consumption control method, apparatus and socket of socket
CN106612215A (en) Integrated remote detection device and method based on Ethernet
CN103997096A (en) Method and device for controlling charging current
CN106681625A (en) Method and device for preventing misoperations
CN104598173B (en) A kind of information processing method and electronic equipment
CN103677782B (en) Realize that heat inserts the method and electronic equipment with hot drawing
CN205811635U (en) Wireless charging system
CN104410750B (en) Screen brightness control method, device and terminal
CN103914423B (en) A kind of information processing method and electronic equipment
CN104793728B (en) A kind of information processing method and electronic equipment
CN103324186A (en) Automatic test system and control method for remote controller
CN114311571A (en) PVC material residual scene judging platform
CN104459422A (en) Power line interference test system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant