CN106598820B - Reminding method and suggestion device - Google Patents
Reminding method and suggestion device Download PDFInfo
- Publication number
- CN106598820B CN106598820B CN201611154782.XA CN201611154782A CN106598820B CN 106598820 B CN106598820 B CN 106598820B CN 201611154782 A CN201611154782 A CN 201611154782A CN 106598820 B CN106598820 B CN 106598820B
- Authority
- CN
- China
- Prior art keywords
- usb interface
- user
- trigger signal
- secondary usb
- interface
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
Abstract
The disclosure provides a kind of reminding method and device, reminding method includes: when detecting that the first USB interface and secondary USB interface are transmitting data, start prompt facility, first USB interface is set on computer, secondary USB interface is set on external equipment, and computer and external equipment are linked together by the first USB interface and secondary USB interface and carried out data transmission;When secondary USB interface is extracted outward relative to the first USB interface, trigger signal is generated, trigger signal is used to prompt the user with the state for keeping the first USB interface to connect with secondary USB interface;It is prompted the user with according to trigger signal.In user because generating trigger signal when maloperation extracts the first USB interface and secondary USB interface relatively, the state for prompting user that the first USB interface is kept to connect with secondary USB interface avoids user because maloperation leads to error in data.
Description
Technical field
This disclosure relates to electronic technology field more particularly to reminding method and suggestion device.
Background technique
Universal serial bus (English: Universal Serial Bus, abbreviation: USB) is connection computer system and outer
A kind of serial bus standard of portion's equipment and a kind of technical specification of input/output interface are widely used in personal electricity
The product such as brain and mobile device.Now, it is both provided with USB interface in most computers, for connecting with other equipment.For example,
USB data line, USB flash disk can be connected on computers by USB interface.But if pass through in computer and external equipment
It is disconnected when USB interface is carrying out data transmission, will lead to error in data.
Summary of the invention
The embodiment of the present disclosure provides a kind of reminding method and suggestion device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of reminding method is provided, suggestion device, this method packet are applied to
It includes:
When detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, starting prompt function
Can, the first USB interface is set on computer, and secondary USB interface is set on external equipment, and computer and external equipment pass through
First USB interface and secondary USB interface, which link together, to carry out data transmission;
When secondary USB interface is extracted outward relative to the first USB interface, generate trigger signal, trigger signal be used for
User prompts the state for keeping the first USB interface to connect with secondary USB interface;
It is prompted the user with according to trigger signal.
When computer and external equipment are carried out data transmission by the first USB interface and secondary USB interface, if user
Because generating trigger signal when maloperation extracts the first USB interface and secondary USB interface relatively, user is prompted to keep first
The state that USB interface is connected with secondary USB interface should not disconnect the connection of USB interface at this time, avoid user because maloperation is led
Cause error in data.But only prompted in user misoperation, there is no locked, if user will be because cause specific must will
First USB interface and secondary USB interface disconnect, and will not prevent user, leave the enough selection spaces of user for.
In one embodiment, this method further include:
When detecting that the first USB interface and secondary USB interface do not transmit data, prompt facility is closed.
If the first USB interface and secondary USB interface do not transmit data, prompt facility can be closed, is avoided the occurrence of
Miscue.
In one embodiment, it is prompted the user with according to trigger signal, comprising:
Prompt information is generated according to trigger signal, prompt information keeps the first USB interface and second for prompting the user with
The state of USB interface connection;
The display reminding information on computer screen curtain.
It can be prompted the user with by display reminding information on the display screen, prompt information can prompt user in detail,
Because carrying out data transmission, the connection of the first USB interface and secondary USB interface should not be disconnected at this time.
In one embodiment, it is prompted the user with according to trigger signal, comprising:
Preset prompt tone is played according to trigger signal.
If user does not pay attention to computer screen curtain, the mesh of prompt user may be cannot achieve using display screen
, playing alert tones just can more guarantee that user is prompted, and avoid user because maloperation leads to error in data.
According to the second aspect of an embodiment of the present disclosure, a kind of suggestion device is provided, comprising: detection module, trigger module and
Cue module;
Detection module, for detecting that the first USB Universal Serial Bus Interface and secondary USB interface link together,
And when transmitting data, start prompt facility, the first USB interface is set on computer, and secondary USB interface is set to outer
In portion's equipment, computer and external equipment are linked together by the first USB interface and secondary USB interface and are carried out data transmission;
Trigger module, for when secondary USB interface is extracted outward relative to the first USB interface, generating trigger signal, touching
It signals for triggering the state for prompting the user with and the first USB interface being kept to connect with secondary USB interface;
Cue module, for being prompted the user with according to trigger signal.
In one embodiment, suggestion device further include: closedown module;
Closedown module, for closing prompt when detecting that the first USB interface and secondary USB interface do not transmit data
Function.
In one embodiment, cue module includes message sub-module and display sub-module;
Message sub-module, for generating prompt information according to trigger signal, prompt information is for prompting the user with holding the
The state that one USB interface is connected with secondary USB interface;
Display sub-module, for the display reminding information on computer screen curtain.
In one embodiment, cue module includes playing submodule;
Submodule is played, for playing preset prompt tone according to trigger signal.
According to the third aspect of an embodiment of the present disclosure, a kind of suggestion device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
When detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, starting prompt function
Can, the first USB interface is set on computer, and secondary USB interface is set on external equipment, and computer and external equipment pass through
First USB interface and secondary USB interface, which link together, to carry out data transmission;
When secondary USB interface is extracted outward relative to the first USB interface, generate trigger signal, trigger signal be used for
User prompts the state for keeping the first USB interface to connect with secondary USB interface;
It is prompted the user with according to trigger signal.
In one embodiment, processor can be additionally configured to:
When detecting that the first USB interface and secondary USB interface do not transmit data, prompt facility is closed.
In one embodiment, processor can be additionally configured to:
Prompt information is generated according to trigger signal, prompt information keeps the first USB interface and second for prompting the user with
The state of USB interface connection;
The display reminding information on computer screen curtain.
In one embodiment, processor can be additionally configured to:
Preset prompt tone is played according to trigger signal.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart of reminding method shown according to an exemplary embodiment;
Fig. 2 is the schematic diagram of USB interface shown according to an exemplary embodiment;
Fig. 3 is the schematic diagram of USB interface shown according to an exemplary embodiment;
Fig. 4 is the block diagram of suggestion device shown according to an exemplary embodiment;
Fig. 5 is the block diagram of suggestion device shown according to an exemplary embodiment;
Fig. 6 is the block diagram of suggestion device shown according to an exemplary embodiment;
Fig. 7 is the block diagram of suggestion device shown according to an exemplary embodiment;
Fig. 8 is the block diagram of suggestion device shown according to an exemplary embodiment;
Fig. 9 is the block diagram of terminal device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Now, it is both provided with USB interface in most computers, for connecting with other equipment.If in computer and
External equipment disconnects when being carried out data transmission by USB interface, will lead to error in data.The embodiment of the present disclosure provides
Technical solution, when detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, starting is mentioned
Show function, the first USB interface is set on computer, and secondary USB interface is set on external equipment, computer and external equipment
It is linked together and is carried out data transmission by the first USB interface and secondary USB interface;In secondary USB interface relative to the first USB
When interface is extracted outward, trigger signal is generated, trigger signal keeps the first USB interface and the 2nd USB to connect for prompting the user with
The state of mouth connection;It is prompted the user with according to trigger signal.Pass through the first USB interface and second in computer and external equipment
When USB interface carries out data transmission, if user extracts the first USB interface and secondary USB interface because of maloperation relatively,
Trigger signal is generated, the state for prompting user that the first USB interface is kept to connect with secondary USB interface should not disconnect USB at this time and connect
The connection of mouth avoids user because maloperation leads to error in data.But only prompted in user misoperation, there is no lock
Extremely, if user will not prevent user, stay because cause specific must disconnect the first USB interface and secondary USB interface
Give user enough selection spaces.
Fig. 1 is a kind of flow chart of reminding method shown according to an exemplary embodiment, which is applied to mention
Showing device, the suggestion device can be a part of computer or computer, computer can be desktop computer, tablet computer,
Laptop, network computer etc..As shown in Figure 1, the reminding method includes step 101-103:
In a step 101, detecting that the first USB Universal Serial Bus Interface and secondary USB interface transmitting data
When, start prompt facility.
First USB interface and secondary USB interface are to be mutually matched, and can connect two USB interfaces together.First
USB interface is set on computer, and secondary USB interface is set on external equipment, and computer and external equipment pass through the first USB
Interface and secondary USB interface, which link together, to carry out data transmission.Prompt facility is used in secondary USB interface relative to first
When USB interface is extracted outward, the state for keeping the first USB interface to connect with secondary USB interface is prompted the user with.
In one embodiment, this method further include: detecting that the first USB interface and secondary USB interface do not transmit
When data, prompt facility is closed.If the first USB interface and secondary USB interface do not transmit data, prompt function can be closed
Can, avoid the occurrence of miscue.
In a step 102, when secondary USB interface is extracted outward relative to the first USB interface, trigger signal is generated.
Trigger signal is used to prompt the user with the state for keeping the first USB interface to connect with secondary USB interface.
In one embodiment, trigger signal is generated by trigger circuit, the trigger circuit is total in the first USB general serial
Unlatching when line interface and secondary USB interface are transmitting data.Herein, the generation that two kinds of concrete modes illustrate trigger signal is provided
Mode:
In the first way, trigger circuit includes two the first reeds and the second spring being set on the first USB interface
Piece when secondary USB interface is extracted outward relative to the first USB interface, lead by the first reed and the second switch jaw contact, trigger circuit
Lead to and sends trigger signal to instruction module.For example, as shown in Fig. 2, Fig. 2 is that USB shown according to an exemplary embodiment connects
Mouth schematic diagram.As shown in the part a in Fig. 2, there are two grooves on secondary USB interface, correspond to any one on the first USB interface
Two reeds, i.e. the first reed and the second reed is arranged in the position of groove;As shown in the part b in Fig. 2, the first USB interface and
When two USB interfaces link together, the first reed is stuck in the recessed grain of secondary USB interface, at this point, the first reed and the second reed
It does not contact, trigger circuit disconnects;As shown in the part c in Fig. 2, when secondary USB interface is extracted relative to the first USB interface,
First reed and groove deviate, so that the first reed is jacked up and the second switch jaw contact, at this point, trigger circuit is connected, generate touching
It signals.
In the second way, trigger circuit includes the power sensing element being set on the first USB interface, in the 2nd USB
When interface is extracted outward relative to the first USB interface, power sensing element generates electric signal, and triggers trigger circuit to instruction module
Send trigger signal.For example, power sensing element can be piezoelectric transducer, as shown in figure 3, Fig. 3 is according to an exemplary implementation
The schematic diagram of the USB interface exemplified.Damping layer is provided on first USB interface, damping layer is internally provided with piezoelectric transducer,
The damping layer generates larger resistance when secondary USB interface is extracted relative to the first USB interface, to secondary USB interface, and the resistance
Buddhist nun's layer because with the frictional force of secondary USB interface and generate deformation so that piezoelectric transducer is because deformation is conductive, so that triggering electricity
Road conducting, generates trigger signal.
Certainly, above it is all exemplary illustration, does not represent the disclosure and be confined to this.
In step 103, it is prompted the user with according to trigger signal.
The mode that two kinds of specific prompt users can be enumerated there are many mode, the present embodiment is prompted the user with, herein only
It is exemplary illustration, does not represent the disclosure and be confined to this.
In one embodiment, it is prompted the user with according to trigger signal, comprising: prompt information is generated according to trigger signal,
Prompt information is used to prompt the user with the state for keeping the first USB interface to connect with secondary USB interface;In computer screen
Display reminding information on curtain.
It can be prompted the user with by display reminding information on the display screen, prompt information can prompt user in detail,
Because carrying out data transmission, the connection of the first USB interface and secondary USB interface should not be disconnected at this time.
In another embodiment, it is prompted the user with according to trigger signal, comprising: preset according to trigger signal broadcasting
Prompt tone.
If user does not pay attention to computer screen curtain, the mesh of prompt user may be cannot achieve using display screen
, playing alert tones just can more guarantee that user is prompted, and avoid user because maloperation leads to error in data.
The reminding method that the embodiment of the present disclosure provides, when secondary USB interface is extracted outward relative to the first USB interface,
Trigger signal is generated, is prompted the user with according to trigger signal, prompts user that the first USB interface is kept to connect with secondary USB interface
State.In the first USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, otherwise will lead to data
Error, when secondary USB interface is extracted outward relative to the first USB interface, prompts the user with, and avoids user because maloperation is led
Cause error in data.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of suggestion device shown according to an exemplary embodiment, which can be by software, hard
Part or both is implemented in combination with as some or all of of suggestion device, and the suggestion device is corresponding for executing above-mentioned Fig. 1
Embodiment described in reminding method.As shown in figure 4, the suggestion device 40 includes: detection module 401, trigger module 402
With cue module 403;
Detection module 401, for detecting that the first USB Universal Serial Bus Interface and secondary USB interface be connected to one
When rising, and transmitting data, start prompt facility, the first USB interface is set on computer, secondary USB interface setting
In on external equipment, computer and external equipment are linked together by the first USB interface and secondary USB interface and carry out data biography
It is defeated;
Trigger module 402, for when secondary USB interface is extracted outward relative to the first USB interface, generating triggering letter
Number, trigger signal is used to trigger the state for prompting the user with and the first USB interface being kept to connect with secondary USB interface;
Cue module 403, for being prompted the user with according to trigger signal.
In one embodiment, as shown in figure 5, suggestion device 40 further include: closedown module 404;
Closedown module, for closing prompt when detecting that the first USB interface and secondary USB interface do not transmit data
Function.
In one embodiment, as shown in fig. 6, cue module 403 includes message sub-module 4031 and display sub-module
4032;
Message sub-module 4031, for generating prompt information according to trigger signal, prompt information is for prompting the user with guarantor
Hold the state that the first USB interface is connected with secondary USB interface;
Display sub-module 4032, for the display reminding information on computer screen curtain.
In one embodiment, as shown in fig. 7, cue module 403 includes playing submodule 4033;
Submodule 4033 is played, for playing preset prompt tone according to trigger signal.
The suggestion device that the embodiment of the present disclosure provides, when secondary USB interface is extracted outward relative to the first USB interface,
Trigger signal is generated, is prompted the user with according to trigger signal, prompts user that the first USB interface is kept to connect with secondary USB interface
State.In the first USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, otherwise will lead to data
Error, when secondary USB interface is extracted outward relative to the first USB interface, prompts the user with, and avoids user because maloperation is led
Cause error in data.
Fig. 8 is a kind of block diagram of suggestion device shown according to an exemplary embodiment, which can be by software, hard
Part or both is implemented in combination with as some or all of of suggestion device, and the suggestion device is corresponding for executing above-mentioned Fig. 1
Embodiment described in reminding method.As shown in figure 8, the suggestion device 80 includes:
Processor 801;
Memory 802 for 801 executable instruction of storage processor;
Wherein, processor 801 is configured as:
When detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, starting prompt function
Can, the first USB interface is set on computer, and secondary USB interface is set on external equipment, and computer and external equipment pass through
First USB interface and secondary USB interface, which link together, to carry out data transmission;
When secondary USB interface is extracted outward relative to the first USB interface, generate trigger signal, trigger signal be used for
User prompts the state for keeping the first USB interface to connect with secondary USB interface;
It is prompted the user with according to trigger signal.
In one embodiment, processor 801 can be additionally configured to:
When detecting that the first USB interface and secondary USB interface do not transmit data, prompt facility is closed.
In one embodiment, processor 801 can be additionally configured to:
Prompt information is generated according to trigger signal, prompt information keeps the first USB interface and second for prompting the user with
The state of USB interface connection;
The display reminding information on computer screen curtain.
In one embodiment, processor 801 can be additionally configured to:
Preset prompt tone is played according to trigger signal.
The suggestion device that the embodiment of the present disclosure provides, when secondary USB interface is extracted outward relative to the first USB interface,
Trigger signal is generated, is prompted the user with according to trigger signal, prompts user that the first USB interface is kept to connect with secondary USB interface
State.In the first USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, otherwise will lead to data
Error, when secondary USB interface is extracted outward relative to the first USB interface, prompts the user with, and avoids user because maloperation is led
Cause error in data.
The suggestion device that the embodiment of the present disclosure provides can be a terminal device as shown in Figure 9, and Fig. 9 is shown according to one
Example property implements a kind of block diagram of the terminal device exemplified, which can be smart phone, tablet computer etc., the end
End equipment 90 is for executing reminding method described in the corresponding embodiment of above-mentioned Fig. 1.
Terminal device 90 may include following one or more components: processing component 901, memory 902, power supply module
903, multimedia component 904, audio component 905, the interface 906 of input/output (I/O), sensor module 907, and communication
Component 908.
The integrated operation of the usual controlling terminal equipment 90 of processing component 901, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing component 901 may include one or more processors 9011 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 901 may include one or more modules,
Convenient for the interaction between processing component 901 and other assemblies.For example, processing component 901 may include multi-media module, with convenient
Interaction between multimedia component 904 and processing component 901.
Memory 902 is configured as storing various types of data to support the operation in terminal device 90.These data
Example include any application or method for being operated on terminal device 90 instruction, contact data, telephone directory
Data, message, picture, video etc..Memory 902 can by any kind of volatile or non-volatile memory devices or it
Combination realize that, such as static random access memory (English: Static Random Access Memory, SRAM), electricity can
Erasable programmable read-only memory (EPROM) (English: Electrically Erasable Programmable Read Only
Memory, EEPROM), Erasable Programmable Read Only Memory EPROM (English: Erasable Programmable Read Only
Memory, EPROM), programmable read only memory (English: Programmable Read Only Memory, PROM) is read-only
Memory (English: Read Only Memory, ROM), magnetic memory, flash memory, disk or CD.
Power supply module 903 provides electric power for the various assemblies of terminal device 90.Power supply module 903 may include power management
System, one or more power supplys and other with for terminal device 90 generate, manage, and distribute the associated component of electric power.
Multimedia component 904 includes the screen of one output interface of offer between terminal device 90 and user.One
In a little embodiments, screen may include liquid crystal display (English: Liquid Crystal Display, LCD) and touch panel
(English: Touch Panel, TP).If screen includes touch panel, screen may be implemented as touch screen, be come from receiving
The input signal of user.Touch panel includes one or more touch sensors to sense on touch, slide, and touch panel
Gesture.Touch sensor can not only sense the boundary of a touch or slide action, but also detect and touch or slide phase
The duration and pressure of pass.In some embodiments, multimedia component 904 includes that a front camera and/or postposition are taken the photograph
As head.When terminal device 90 is in operation mode, such as in a shooting mode or a video mode, front camera and/or postposition are imaged
Head can receive external multi-medium data.Each front camera and rear camera can be a fixed optical lens
System has focusing and optical zoom capabilities.
Audio component 905 is configured as output and/or input audio signal.For example, audio component 905 includes a Mike
Wind (English: Microphone, MIC), when terminal device 90 is in operation mode, as call model, logging mode and voice are known
When other mode, microphone is configured as receiving external audio signal.The received audio signal can be further stored in and deposit
Reservoir 902 is sent via communication component 908.In some embodiments, audio component 905 further includes a loudspeaker, is used for
Output audio signal.
I/O interface 906 provides interface between processing component 901 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 907 includes one or more sensors, for providing the state of various aspects for terminal device 90
Assessment.For example, sensor module 907 can detecte the state that opens/closes of terminal device 90, the relative positioning of component, example
Such as the display and keypad that the component is terminal device 90, sensor module 907 can also detect terminal device 90 or whole
The position change of 90 1 components of end equipment, the existence or non-existence that user contacts with terminal device 90,90 orientation of terminal device
Or the temperature change of acceleration/deceleration and terminal device 90.Sensor module 907 may include proximity sensor, be configured to
It detects the presence of nearby objects without any physical contact.Sensor module 907 can also include optical sensor, such as mutually
Mend metal-oxide semiconductor (MOS) (English: Complementary Metal Oxide Semiconductor, CMOS) or charge coupling
Element (English: Charge Coupled Device, CCD) imaging sensor is closed, for using in imaging applications.Some
In embodiment, which can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensing
Device or temperature sensor.
Communication component 908 is configured to facilitate the communication of wired or wireless way between terminal device 90 and other devices.
Terminal device 90 can access the wireless network based on communication standard, as Wireless Fidelity (English: Wireless-Fidelity,
WiFi), 2G or 3G or their combination.In one exemplary embodiment, communication component 908 comes via broadcast channel reception
From the broadcast singal or broadcast related information of external broadcasting management system.In one exemplary embodiment, communication component 908 is gone back
Including near-field communication (English: Near Field Communication, NFC) module, to promote short range communication.For example, in NFC
Module can be based on radio frequency identification (English: Radio Frequency Identification, RFID) technology, Infrared Data Association
(English: Infrared Data Association, IrDA) technology, ultra wide band (English: Ultra Wideband, UWB) skill
Art, bluetooth (English: Bluetooth, BT) technology and other technologies are realized.
In the exemplary embodiment, terminal device 90 can by one or more application specific integrated circuit (English:
Application Specific Integrated Circuit, ASIC), digital signal processor (English: Digital
Signal Processing, DSP), digital signal processing device (English: Digital Signal Processing
Device, DSPD), programmable logic device (English: Programmable Logic Device, PLD), field programmable gate
Array (English: Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor or other
Electronic component is realized, for executing reminding method described in the corresponding embodiment of above-mentioned Fig. 1.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 902 of instruction, above-metioned instruction can be executed by the processing component 901 of terminal device 90 to complete the above method.
For example, non-transitorycomputer readable storage medium can be ROM, random access memory (English: Random Access
Memory, RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..When the instruction in the storage medium is set by terminal
When standby 90 processing component 901 executes, mentioned so that terminal device 90 is able to carry out described in the corresponding embodiment of above-mentioned Fig. 1
Show method, this method comprises:
When detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, starting prompt function
Can, the first USB interface is set on computer, and secondary USB interface is set on external equipment, and computer and external equipment pass through
First USB interface and secondary USB interface, which link together, to carry out data transmission;
When secondary USB interface is extracted outward relative to the first USB interface, generate trigger signal, trigger signal be used for
User prompts the state for keeping the first USB interface to connect with secondary USB interface;
It is prompted the user with according to trigger signal.
In one embodiment, this method further include:
When detecting that the first USB interface and secondary USB interface do not transmit data, prompt facility is closed.
In one embodiment, it is prompted the user with according to trigger signal, comprising:
Prompt information is generated according to trigger signal, prompt information keeps the first USB interface and second for prompting the user with
The state of USB interface connection;
The display reminding information on computer screen curtain.
In one embodiment, it is prompted the user with according to trigger signal, comprising:
Preset prompt tone is played according to trigger signal.
The suggestion device that the embodiment of the present disclosure provides, when secondary USB interface is extracted outward relative to the first USB interface,
Trigger signal is generated, is prompted the user with according to trigger signal, prompts user that the first USB interface is kept to connect with secondary USB interface
State.In the first USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, otherwise will lead to data
Error, when secondary USB interface is extracted outward relative to the first USB interface, prompts the user with, and avoids user because maloperation is led
Cause error in data.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (10)
1. a kind of reminding method, which is characterized in that the described method includes:
When detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, start prompt facility,
First USB interface is set on computer, and the secondary USB interface is set on external equipment, the computer and institute
External equipment is stated to link together and carry out data transmission by first USB interface and the secondary USB interface;
When the secondary USB interface is extracted outward relative to first USB interface, triggering letter is generated by trigger circuit
Number, the trigger signal is used to prompt the user with the state for keeping first USB interface to connect with the secondary USB interface;
Trigger circuit unlatching when the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data;
It is prompted the user with according to the trigger signal.
2. the method according to claim 1, wherein the method also includes:
When detecting that first USB interface and the secondary USB interface do not transmit data, the prompt facility is closed.
3. the method according to claim 1, wherein being prompted the user with according to the trigger signal, comprising:
Prompt information is generated according to the trigger signal, the prompt information keeps the first USB to connect for prompting the user with
The state that mouth is connected with the secondary USB interface;
The prompt information is shown on the computer screen curtain.
4. method according to claim 1-3, which is characterized in that it is prompted the user with according to the trigger signal,
Include:
Preset prompt tone is played according to the trigger signal.
5. a kind of suggestion device, which is characterized in that the suggestion device includes: detection module, trigger module and cue module;
The detection module, for detecting that the first USB Universal Serial Bus Interface and secondary USB interface link together,
And when transmitting data, start prompt facility, first USB interface is set on computer, the secondary USB interface
It is set on external equipment, the computer and the external equipment pass through first USB interface and the secondary USB interface
It links together and carries out data transmission;
The trigger module, for passing through touching when the secondary USB interface is extracted outward relative to first USB interface
Power Generation Road generates trigger signal, and the trigger signal keeps first USB interface and described for triggering to prompt the user with
The state of two USB interfaces connection;The trigger circuit is being passed in the first USB Universal Serial Bus Interface and secondary USB interface
It is opened when transmission of data;
The cue module, for being prompted the user with according to the trigger signal.
6. device according to claim 5, which is characterized in that the suggestion device further include: closedown module;
The closedown module, for when detecting that first USB interface and the secondary USB interface do not transmit data,
Close the prompt facility.
7. device according to claim 5, which is characterized in that the cue module includes message sub-module and display submodule
Block;
The message sub-module, for generating prompt information according to the trigger signal, the prompt information to user for mentioning
Show the state for keeping first USB interface to connect with the secondary USB interface;
The display sub-module, for showing the prompt information on the computer screen curtain.
8. according to the described in any item devices of claim 5-7, which is characterized in that the cue module includes playing submodule;
The broadcasting submodule, for playing preset prompt tone according to the trigger signal.
9. a kind of suggestion device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When detecting that the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data, start prompt facility,
First USB interface is set on computer, and the secondary USB interface is set on external equipment, the computer and institute
External equipment is stated to link together and carry out data transmission by first USB interface and the secondary USB interface;
When the secondary USB interface is extracted outward relative to first USB interface, triggering letter is generated by trigger circuit
Number, the trigger signal is used to prompt the user with the state for keeping first USB interface to connect with the secondary USB interface;
Trigger circuit unlatching when the first USB Universal Serial Bus Interface and secondary USB interface are transmitting data;
It is prompted the user with according to the trigger signal.
10. a kind of computer readable storage medium, is stored with computer instruction, which is characterized in that the computer instruction is located
Manage the step realized in any one of Claims 1-4 the method when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611154782.XA CN106598820B (en) | 2016-12-14 | 2016-12-14 | Reminding method and suggestion device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611154782.XA CN106598820B (en) | 2016-12-14 | 2016-12-14 | Reminding method and suggestion device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106598820A CN106598820A (en) | 2017-04-26 |
CN106598820B true CN106598820B (en) | 2019-07-16 |
Family
ID=58802406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611154782.XA Active CN106598820B (en) | 2016-12-14 | 2016-12-14 | Reminding method and suggestion device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598820B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908110A (en) * | 2010-06-28 | 2010-12-08 | 韩燕� | Portable storage device and protection method |
CN102521064A (en) * | 2011-12-27 | 2012-06-27 | 上海中标凌巧软件科技有限公司 | Method for handling exception of accidentally unplugging operating system universal serial bus (USB) flash disk in computer system |
CN104808104A (en) * | 2014-01-28 | 2015-07-29 | 广东欧珀移动通信有限公司 | Interface plugging anomaly detection circuit and method |
CN105824736A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Method and device for detecting disconnection risk of external equipment |
-
2016
- 2016-12-14 CN CN201611154782.XA patent/CN106598820B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908110A (en) * | 2010-06-28 | 2010-12-08 | 韩燕� | Portable storage device and protection method |
CN102521064A (en) * | 2011-12-27 | 2012-06-27 | 上海中标凌巧软件科技有限公司 | Method for handling exception of accidentally unplugging operating system universal serial bus (USB) flash disk in computer system |
CN104808104A (en) * | 2014-01-28 | 2015-07-29 | 广东欧珀移动通信有限公司 | Interface plugging anomaly detection circuit and method |
CN105824736A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Method and device for detecting disconnection risk of external equipment |
Non-Patent Citations (1)
Title |
---|
"无法安全移除U盘的解决方法";陈海明;《计算机与网络》;20150812;第37页 |
Also Published As
Publication number | Publication date |
---|---|
CN106598820A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101884543B1 (en) | Method and device for warning | |
CN106487584B (en) | Management method, router and the mobile terminal of router | |
KR101571993B1 (en) | Method for voice calling method for voice playing, devices, program and storage medium thereof | |
WO2017031888A1 (en) | Fingerprint recognition method and device | |
CN104159218B (en) | Internetwork connection establishing method and device | |
KR101933642B1 (en) | Method and apparatus for triggering execution of operation instruction | |
CN105242828B (en) | The display methods and device of control on interface of mobile terminal | |
CN104065836A (en) | Method and device for monitoring calls | |
WO2017128718A1 (en) | Method and device for acquiring terminal information | |
CN105430625B (en) | Communication information transfer method, apparatus and system | |
CN104661176A (en) | Reminding method and device | |
CN105426060B (en) | application control method and device | |
KR20170038178A (en) | Method, apparatus, and mobile terminal for identificating fingerprint | |
CN105224171B (en) | Icon display method, device and terminal | |
CN105653236A (en) | Sound volume control method and device and mobile terminal | |
CN105530384A (en) | Method and device for power reminding based on alarm clock | |
CN105550568A (en) | Mobile terminal data protection method and apparatus | |
CN109284053A (en) | Comment information display methods and device, mobile terminal and storage medium | |
CN105516944A (en) | Short message canceling method and device | |
CN105282446A (en) | Camera management method and device | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
CN105554631B (en) | Audio switching method, device and electronic equipment | |
CN109903765A (en) | Sound control method and device | |
CN107818652A (en) | Information processing method and equipment | |
CN106534551B (en) | Information display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |