CN106598820A - Prompting method and prompting device - Google Patents

Prompting method and prompting device Download PDF

Info

Publication number
CN106598820A
CN106598820A CN201611154782.XA CN201611154782A CN106598820A CN 106598820 A CN106598820 A CN 106598820A CN 201611154782 A CN201611154782 A CN 201611154782A CN 106598820 A CN106598820 A CN 106598820A
Authority
CN
China
Prior art keywords
usb interface
trigger
user
secondary usb
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.)
Granted
Application number
CN201611154782.XA
Other languages
Chinese (zh)
Other versions
CN106598820B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611154782.XA priority Critical patent/CN106598820B/en
Publication of CN106598820A publication Critical patent/CN106598820A/en
Application granted granted Critical
Publication of CN106598820B publication Critical patent/CN106598820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a prompting method and a prompting device. The prompting method comprises the following steps: when detecting that a first USB (Universal Serial Bus) interface and a second USB interface are in data transmission, starting a prompting function, the first USB interface being formed on a computer, the second USB interface being formed on external equipment, and the computer and the external equipment being connected together for data transmission through the first USB interface and the second USB interface; when the second USB interface is outwards pulled relative to the first USB interface, generating a triggering signal which is used for prompting a user to keep a connection state of the first USB interface and the second USB interface; and prompting the user according to the triggering signal. The triggering signal is generated when the user relatively pulls out the first USB interface and the second USB interface by mistake, so as to prompt the user to keep the connection state of the first USB interface and the second USB interface; and therefore, a data error caused by mis-operation of the user is avoided.

Description

Reminding method and suggestion device
Technical field
It relates to electronic technology field, more particularly to reminding method and suggestion device.
Background technology
USB (universal serial bus) (English:Universal Serial Bus, abbreviation:USB) be connection computer system with it is outer A kind of serial bus standard of portion's equipment, is also a kind of technical specification of input/output interface, is widely used in personal electricity The product such as brain and mobile device.Now, USB interface is both provided with 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 passed through in computer and external equipment Disconnect when USB interface carries out data transmission, error in data can be caused.
The content of the invention
The embodiment of the present disclosure provides a kind of reminding method and suggestion device.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of reminding method, suggestion device, the method bag are applied to Include:
When a USB USBs and secondary USB interface being detected just in transmission data, start prompting work( Can, the first USB interface is arranged on computer, and secondary USB interface is arranged on external equipment, and computer and external equipment pass through First USB interface and secondary USB interface link together and carry out data transmission;
When secondary USB interface is outwards extracted relative to the first USB interface, generate trigger, trigger for User's prompting keeps the state of the first USB interface and secondary USB interface connection;
Prompted the user with according to trigger.
When computer and external equipment are carried out data transmission by the first USB interface and secondary USB interface, if user Because when maloperation is by the first USB interface and secondary USB interface relative extracting, generating trigger, pointing out user to keep first USB interface and the state of secondary USB interface connection, should not now disconnect the connection of USB interface, it is to avoid user is because maloperation is led Cause error in data.But, simply point out in user misoperation, it is not locked, if user is because cause specific must be by First USB interface and secondary USB interface are disconnected, and will not prevent user, leave the enough selection spaces of user for.
In one embodiment, the method also includes:
When the first USB interface is detected and secondary USB interface does not have transmission data, prompt facility is closed.
If the first USB interface and secondary USB interface do not have transmission data, prompt facility can be closed, it is to avoid occur Miscue.
In one embodiment, prompted the user with according to trigger, including:
Information is generated according to trigger, information is used to prompt the user with holding the first USB interface and second The state of USB interface connection;
The display reminding information on computer screen curtain.
Can be prompted the user with by display reminding information on the display screen, information can point out user in detail, Because carrying out data transmission, the connection of the first USB interface and secondary USB interface should not be now disconnected.
In one embodiment, prompted the user with according to trigger, including:
Prompt tone set in advance is played according to trigger.
If user does not note computer screen curtain, possibly cannot realize pointing out the mesh of user using display screen , playing alert tones just more ensure that user is prompted, it is to avoid user is because maloperation causes error in data.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of suggestion device, including:Detection module, trigger module and Reminding module;
Detection module, for detecting a USB USBs and secondary USB interface links together, And just in transmission data, start prompt facility, the first USB interface is arranged on computer, secondary USB interface is arranged at outer On 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 outwards extracted relative to the first USB interface, generating trigger, touches Signal and the state for keeping the first USB interface and secondary USB interface connection is prompted the user with for triggering;
Reminding module, for being prompted the user with according to trigger.
In one embodiment, suggestion device also includes:Closedown module;
Closedown module, for when the first USB interface is detected and secondary USB interface does not have transmission data, closing prompting Function.
In one embodiment, reminding module includes message sub-module and display sub-module;
Message sub-module, for generating information according to trigger, information is used to prompt the user with holding the One USB interface and the state of secondary USB interface connection;
Display sub-module, for the display reminding information on computer screen curtain.
In one embodiment, reminding module includes playing submodule;
Submodule is played, for prompt tone set in advance being played according to trigger.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of suggestion device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
When a USB USBs and secondary USB interface being detected just in transmission data, start prompting work( Can, the first USB interface is arranged on computer, and secondary USB interface is arranged on external equipment, and computer and external equipment pass through First USB interface and secondary USB interface link together and carry out data transmission;
When secondary USB interface is outwards extracted relative to the first USB interface, generate trigger, trigger for User's prompting keeps the state of the first USB interface and secondary USB interface connection;
Prompted the user with according to trigger.
In one embodiment, processor can be additionally configured to:
When the first USB interface is detected and secondary USB interface does not have transmission data, prompt facility is closed.
In one embodiment, processor can be additionally configured to:
Information is generated according to trigger, information is used to prompt the user with holding the first USB interface and second The state of USB interface connection;
The display reminding information on computer screen curtain.
In one embodiment, processor can be additionally configured to:
Prompt tone set in advance is played according to trigger.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of the reminding method according to an exemplary embodiment;
Fig. 2 is the schematic diagram of the USB interface according to an exemplary embodiment;
Fig. 3 is the schematic diagram of the USB interface according to an exemplary embodiment;
Fig. 4 is the block diagram of the suggestion device according to an exemplary embodiment;
Fig. 5 is the block diagram of the suggestion device according to an exemplary embodiment;
Fig. 6 is the block diagram of the suggestion device according to an exemplary embodiment;
Fig. 7 is the block diagram of the suggestion device according to an exemplary embodiment;
Fig. 8 is the block diagram of the suggestion device according to an exemplary embodiment;
Fig. 9 is the block diagram of the terminal unit according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
Now, USB interface is both provided with most computers, for connecting with other equipment.If in computer and External equipment is disconnected when being carried out data transmission by USB interface, can cause error in data.The embodiment of the present disclosure is provided Technical scheme, when a USB USBs and secondary USB interface is detected just in transmission data, startup is carried Show function, the first USB interface is arranged on computer, and secondary USB interface is arranged on external equipment, computer and external equipment Linked together by the first USB interface and secondary USB interface and carried out data transmission;In secondary USB interface relative to a USB When interface is outwards extracted, trigger is generated, trigger is used to prompt the user with the first USB interface of holding and the 2nd USB connects The state of mouth connection;Prompted the user with according to trigger.Pass through the first USB interface and second in computer and external equipment When USB interface carries out data transmission, if the first USB interface and secondary USB interface are extracted relatively by user because of maloperation, Trigger is generated, is pointed out user to keep the state of the first USB interface and secondary USB interface connection, should not now be disconnected USB and connect The connection of mouth, it is to avoid user is because maloperation causes error in data.But, simply point out in user misoperation, do not lock Extremely, if user will not prevent user, stay because the first USB interface and secondary USB interface must be disconnected by cause specific To the selection space that user is enough.
Fig. 1 is a kind of flow chart of the reminding method according to an exemplary embodiment, and the reminding method is applied to carry Showing device, the suggestion device can be a part for computer or computer, computer can be desktop computer, panel computer, Notebook computer, network computer etc..As shown in figure 1, the reminding method includes step 101-103:
In a step 101, a USB USBs and secondary USB interface are being detected just in transmission data When, start prompt facility.
First USB interface and secondary USB interface are to be mutually matched, two for can linking together USB interface.First USB interface is arranged on computer, and secondary USB interface is arranged on external equipment, and computer and external equipment pass through a USB Interface and secondary USB interface link together and carry out data transmission.Prompt facility in secondary USB interface relative to first When USB interface is outwards extracted, the state for keeping the first USB interface and secondary USB interface connection is prompted the user with.
In one embodiment, the method also includes:Detecting the first USB interface and secondary USB interface is not transmitted During data, prompt facility is closed.If the first USB interface and secondary USB interface do not have transmission data, prompting work(can be closed Can, it is to avoid miscue occur.
In a step 102, when secondary USB interface is outwards extracted relative to the first USB interface, generate trigger.
Trigger is used to prompt the user with the state for keeping the first USB interface and secondary USB interface connection.
In one embodiment, trigger is generated by triggers circuit, the triggers circuit is total in a USB general serials Line interface and secondary USB interface are opened just in transmission data.Herein, there is provided two kinds of concrete modes illustrate the generation of trigger Mode:
In first kind of way, triggers circuit includes two the first reeds being arranged in the first USB interface and the second spring Piece when secondary USB interface is outwards extracted relative to the first USB interface, lead by the first reed and the second switch jaw contact, triggers circuit Lead to and trigger is sent to instruction module.For example, as shown in Fig. 2 Fig. 2 is the USB according to an exemplary embodiment connects Mouth schematic diagram.As shown in a parts in Fig. 2, on secondary USB interface, there are two grooves, any one is corresponded in the first USB interface The position of groove arranges two reeds, i.e. the first reed and the second reed;As shown in b parts in Fig. 2, the first USB interface and When two USB interface link together, the first reed is stuck in the recessed grain of secondary USB interface, now, the first reed and the second reed It is not in contact with, triggers circuit disconnects;As shown in c parts in Fig. 2, when secondary USB interface is extracted relative to the first USB interface, First reed is deviateed with groove so that the first reed is by jack-up, and the second switch jaw contact, and now, triggers circuit conducting is generated and touched Signal.
In the second way, triggers circuit includes the power sensing element being arranged in the first USB interface, in the 2nd USB When interface is outwards extracted relative to the first USB interface, power sensing element produces the signal of telecommunication, and triggers triggers circuit to instruction module Send trigger.For example, power sensing element can be piezoelectric transducer, as shown in figure 3, Fig. 3 is according to an exemplary enforcement The schematic diagram of the USB interface for exemplifying.Damping layer is provided with first USB interface, damping layer is internally provided with piezoelectric transducer, The damping layer produces 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 produce deformation so that piezoelectric transducer is because deformation is conductive so that triggering electricity Road turns on, and generates trigger.
Certainly, exemplary illustration is more than all, does not represent the disclosure and be confined to this.
In step 103, prompted the user with according to trigger.
Prompting the user with to have various ways, and the present embodiment enumerates the mode of two kinds of specific prompting users, herein only It is exemplary illustration, does not represent the disclosure and be confined to this.
In one embodiment, prompted the user with according to trigger, including:Information is generated according to trigger, Information is used to prompt the user with the state for keeping the first USB interface and secondary USB interface connection;In computer screen Display reminding information on curtain.
Can be prompted the user with by display reminding information on the display screen, information can point out user in detail, Because carrying out data transmission, the connection of the first USB interface and secondary USB interface should not be now disconnected.
In another embodiment, prompted the user with according to trigger, including:Played according to trigger and preset Prompt tone.
If user does not note computer screen curtain, possibly cannot realize pointing out the mesh of user using display screen , playing alert tones just more ensure that user is prompted, it is to avoid user is because maloperation causes error in data.
The reminding method that the embodiment of the present disclosure is provided, when secondary USB interface is outwards extracted relative to the first USB interface, Trigger is generated, is prompted the user with according to trigger, point out user to keep the first USB interface and secondary USB interface connection State.In a USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, can otherwise cause data Error, when secondary USB interface is outwards extracted relative to the first USB interface, prompts the user with, it is to avoid user is because maloperation is led Cause error in data.
It is following for disclosure device embodiment, can be used for performing method of disclosure embodiment.
Fig. 4 is a kind of block diagram of the suggestion device according to an exemplary embodiment, and the device can be by software, hard Being implemented in combination with of part or both becomes some or all of of suggestion device, and the suggestion device is used to perform above-mentioned Fig. 1 correspondences Embodiment described in reminding method.As shown in figure 4, the suggestion device 40 includes:Detection module 401, trigger module 402 With reminding module 403;
Detection module 401, for detecting a USB USBs and secondary USB interface is connected to one Rise, and just in transmission data, start prompt facility, the first USB interface is arranged on computer, and secondary USB interface is arranged 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 outwards extracted relative to the first USB interface, generating triggering letter Number, trigger prompts the user with the state for keeping the first USB interface and secondary USB interface connection for triggering;
Reminding module 403, for being prompted the user with according to trigger.
In one embodiment, as shown in figure 5, suggestion device 40 also includes:Closedown module 404;
Closedown module, for when the first USB interface is detected and secondary USB interface does not have transmission data, closing prompting Function.
In one embodiment, as shown in fig. 6, reminding module 403 includes message sub-module 4031 and display sub-module 4032;
Message sub-module 4031, for generating information according to trigger, information is used to prompt the user with guarantor Hold the state of the first USB interface and secondary USB interface connection;
Display sub-module 4032, for the display reminding information on computer screen curtain.
In one embodiment, as shown in fig. 7, reminding module 403 includes playing submodule 4033;
Submodule 4033 is played, for prompt tone set in advance being played according to trigger.
The suggestion device that the embodiment of the present disclosure is provided, when secondary USB interface is outwards extracted relative to the first USB interface, Trigger is generated, is prompted the user with according to trigger, point out user to keep the first USB interface and secondary USB interface connection State.In a USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, can otherwise cause data Error, when secondary USB interface is outwards extracted relative to the first USB interface, prompts the user with, it is to avoid user is because maloperation is led Cause error in data.
Fig. 8 is a kind of block diagram of the suggestion device according to an exemplary embodiment, and the device can be by software, hard Being implemented in combination with of part or both becomes some or all of of suggestion device, and the suggestion device is used to perform above-mentioned Fig. 1 correspondences Embodiment described in reminding method.As shown in figure 8, the suggestion device 80 includes:
Processor 801;
For storing the memorizer 802 of 801 executable instruction of processor;
Wherein, processor 801 is configured to:
When a USB USBs and secondary USB interface being detected just in transmission data, start prompting work( Can, the first USB interface is arranged on computer, and secondary USB interface is arranged on external equipment, and computer and external equipment pass through First USB interface and secondary USB interface link together and carry out data transmission;
When secondary USB interface is outwards extracted relative to the first USB interface, generate trigger, trigger for User's prompting keeps the state of the first USB interface and secondary USB interface connection;
Prompted the user with according to trigger.
In one embodiment, processor 801 can be additionally configured to:
When the first USB interface is detected and secondary USB interface does not have transmission data, prompt facility is closed.
In one embodiment, processor 801 can be additionally configured to:
Information is generated according to trigger, information is used to prompt the user with holding the first USB interface and second The state of USB interface connection;
The display reminding information on computer screen curtain.
In one embodiment, processor 801 can be additionally configured to:
Prompt tone set in advance is played according to trigger.
The suggestion device that the embodiment of the present disclosure is provided, when secondary USB interface is outwards extracted relative to the first USB interface, Trigger is generated, is prompted the user with according to trigger, point out user to keep the first USB interface and secondary USB interface connection State.In a USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, can otherwise cause data Error, when secondary USB interface is outwards extracted relative to the first USB interface, prompts the user with, it is to avoid user is because maloperation is led Cause error in data.
The suggestion device that the embodiment of the present disclosure is provided can be a terminal unit as shown in Figure 9, and Fig. 9 is shown according to one Example property implements the block diagram of a kind of terminal unit for exemplifying, and the terminal unit 90 can be smart mobile phone, panel computer etc., the end End equipment 90 is used to perform the reminding method described in the corresponding embodiments of above-mentioned Fig. 1.
Terminal unit 90 can include following one or more assemblies:Process assembly 901, memorizer 902, power supply module 903, multimedia groupware 904, audio-frequency assembly 905, the interface 906 of input/output (I/O), sensor cluster 907, and communication Component 908.
The integrated operation of 901 usual control terminal equipment 90 of process assembly, such as with display, call, data communication, The associated operation of camera operation and record operation.Process assembly 901 can include one or more processors 9011 to perform Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 901 can include one or more modules, The interaction being easy between process assembly 901 and other assemblies.For example, process assembly 901 can include multi-media module, with convenient Interaction between multimedia groupware 904 and process assembly 901.
Memorizer 902 is configured to store various types of data to support the operation in terminal unit 90.These data Example include the instruction of any application program or method for operating on terminal unit 90, contact data, telephone directory Data, message, picture, video etc..Memorizer 902 can by any kind of volatibility or Nonvolatile memory devices or it Combination realize, such as static RAM (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), it is read-only Memorizer (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 unit 90.Power supply module 903 can include power management System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for terminal unit 90.
Multimedia groupware 904 is included in the screen of one output interface of offer between terminal unit 90 and user.One In a little embodiments, screen can 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, with receive from The input signal of user.Touch panel includes one or more touch sensors with sensing touch, slip and touch panel Gesture.Touch sensor can not only sensing touch or sliding action border, but also detect and touch or slide phase The persistent period of pass and pressure.In certain embodiments, multimedia groupware 904 includes a front-facing camera and/or rearmounted takes the photograph As head.When terminal unit 90 is in operator scheme, such as screening-mode or during video mode, front-facing camera and/or rearmounted shooting Head can receive the multi-medium data of outside.Each front-facing camera and post-positioned pick-up head can be a fixed optical lenses System has focusing and optical zoom capabilities.
Audio-frequency assembly 905 is configured to output and/or input audio signal.For example, audio-frequency assembly 905 includes a Mike Wind (English:Microphone, MIC), when terminal unit 90 is in operator scheme, such as call model, logging mode and voice is known During other pattern, mike is configured to receive external audio signal.The audio signal for being received can be further stored is depositing Reservoir 902 is sent via communication component 908.In certain embodiments, audio-frequency assembly 905 also includes a speaker, is used for Exports audio signal.
, for interface is provided between process assembly 901 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 906 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 907 includes one or more sensors, for the state of various aspects is provided for terminal unit 90 Assessment.For example, sensor cluster 907 can detect the opening/closed mode of terminal unit 90, the relative localization of component, example If the component is the display and keypad of terminal unit 90, sensor cluster 907 can be with detection terminal equipment 90 or whole The position change of 90 1 components of end equipment, user are presence or absence of with what terminal unit 90 was contacted, 90 orientation of terminal unit Or the temperature change of acceleration/deceleration and terminal unit 90.Sensor cluster 907 can include proximity transducer, be configured to The presence of object near detecting when not having any physical contact.Sensor cluster 907 can also include optical sensor, such as mutually Mend metal-oxide semiconductor (MOS) (English:Complementary Metal Oxide Semiconductor, CMOS) or electric charge coupling Close element (English:Charge Coupled Device, CCD) imageing sensor, for used in imaging applications.At some In embodiment, the sensor cluster 907 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 unit 90 and other devices. Terminal unit 90 can access the wireless network based on communication standard, such as Wireless Fidelity (English:Wireless-Fidelity, WiFi), 2G or 3G, or combinations thereof.In one exemplary embodiment, communication component 908 receives to come via broadcast channel 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 junction service.For example, in NFC Module can be based on RF identification (English:Radio Frequency Identification, RFID) technology, Infrared Data Association (English:Infrared Data Association, IrDA) technology, ultra broadband (English:Ultra Wideband, UWB) skill Art, bluetooth (English:Bluetooth, BT) technology and other technologies to be realizing.
In the exemplary embodiment, terminal unit 90 can be by one or more application specific integrated circuits (English: Application Specific Integrated Circuit, ASIC), digital signal processor (English:Digital Signal Processing, DSP), digital signal processing device (English:Digital Signal Processing Device, DSPD), PLD (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 performing the reminding method described in the corresponding embodiments of above-mentioned Fig. 1.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 902 of instruction, above-mentioned instruction can be performed to complete said method by the process assembly 901 of terminal unit 90. 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 process assembly 901 is performed so that terminal unit 90 is able to carry out carrying described in the corresponding embodiments of above-mentioned Fig. 1 Show method, the method includes:
When a USB USBs and secondary USB interface being detected just in transmission data, start prompting work( Can, the first USB interface is arranged on computer, and secondary USB interface is arranged on external equipment, and computer and external equipment pass through First USB interface and secondary USB interface link together and carry out data transmission;
When secondary USB interface is outwards extracted relative to the first USB interface, generate trigger, trigger for User's prompting keeps the state of the first USB interface and secondary USB interface connection;
Prompted the user with according to trigger.
In one embodiment, the method also includes:
When the first USB interface is detected and secondary USB interface does not have transmission data, prompt facility is closed.
In one embodiment, prompted the user with according to trigger, including:
Information is generated according to trigger, information is used to prompt the user with holding the first USB interface and second The state of USB interface connection;
The display reminding information on computer screen curtain.
In one embodiment, prompted the user with according to trigger, including:
Prompt tone set in advance is played according to trigger.
The suggestion device that the embodiment of the present disclosure is provided, when secondary USB interface is outwards extracted relative to the first USB interface, Trigger is generated, is prompted the user with according to trigger, point out user to keep the first USB interface and secondary USB interface connection State.In a USB and secondary USB interface transmission data, the connection of USB interface should not be disconnected, can otherwise cause data Error, when secondary USB interface is outwards extracted relative to the first USB interface, prompts the user with, it is to avoid user is because maloperation is led Cause error in data.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appended claim.

Claims (9)

1. a kind of reminding method, it is characterised in that methods described includes:
When a USB USBs and secondary USB interface being detected just in transmission data, start prompt facility, First USB interface is arranged on computer, and the secondary USB interface is arranged on external equipment, the computer and institute State external equipment to link together and carry out data transmission by first USB interface and the secondary USB interface;
When the secondary USB interface is outwards extracted relative to first USB interface, trigger, the triggering letter are generated Number for prompt the user with keep first USB interface and the secondary USB interface connection state;
Prompted the user with according to the trigger.
2. method according to claim 1, it is characterised in that methods described also includes:
When first USB interface is detected and the secondary USB interface does not have transmission data, the prompt facility is closed.
3. method according to claim 1, it is characterised in that prompted the user with according to the trigger, including:
Information is generated according to the trigger, the information is connect for prompting the user with holding the first USB Mouth and the state of secondary USB interface connection;
The information is shown on the computer screen curtain.
4. the method according to any one of claim 1-3, it is characterised in that prompted the user with according to the trigger, Including:
Prompt tone set in advance is played according to the trigger.
5. a kind of suggestion device, it is characterised in that the suggestion device includes:Detection module, trigger module and reminding module;
The detection module, for detecting a USB USBs and secondary USB interface links together, And just in transmission data, start prompt facility, first USB interface is arranged on computer, the secondary USB interface It is arranged on external equipment, the computer and the external equipment are by first USB interface and the secondary USB interface Link together and carry out data transmission;
The trigger module, for when the secondary USB interface is outwards extracted relative to first USB interface, generating and touching Signal, the trigger prompts the user with holding first USB interface and secondary USB interface connection for triggering State;
The reminding module, for being prompted the user with according to the trigger.
6. device according to claim 5, it is characterised in that the suggestion device also includes:Closedown module;
The closedown module, for when first USB interface is detected and the secondary USB interface does not have transmission data, Close the prompt facility.
7. device according to claim 5, it is characterised in that the reminding module includes message sub-module and shows submodule Block;
Described information submodule, for generating information according to the trigger, the information is for carrying to user Show the state for keeping first USB interface and secondary USB interface connection;
The display sub-module, for showing the information on the computer screen curtain.
8. the device according to any one of claim 5-7, it is characterised in that the reminding module includes playing submodule;
The broadcasting submodule, for playing prompt tone set in advance according to the trigger.
9. a kind of suggestion device, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
When a USB USBs and secondary USB interface being detected just in transmission data, start prompt facility, First USB interface is arranged on computer, and the secondary USB interface is arranged on external equipment, the computer and institute State external equipment to link together and carry out data transmission by first USB interface and the secondary USB interface;
When the secondary USB interface is outwards extracted relative to first USB interface, trigger, the triggering letter are generated Number for prompt the user with keep first USB interface and the secondary USB interface connection state;
Prompted the user with according to the trigger.
CN201611154782.XA 2016-12-14 2016-12-14 Reminding method and suggestion device Active CN106598820B (en)

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 true CN106598820A (en) 2017-04-26
CN106598820B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
陈海明: ""无法安全移除U盘的解决方法"", 《计算机与网络》 *

Also Published As

Publication number Publication date
CN106598820B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN104732380A (en) Method and device for conducting account transfer processing
CN105549849A (en) Method and device for processing misoperation instruction
CN104793846A (en) Displaying method and device for interface of application program
CN105472303A (en) Privacy protection method and apparatus for video chatting
CN104732201A (en) Touch key press and fingerprint identification implementation device and method, and terminal device
CN105117033A (en) Connection method and device of external equipment
CN105242828A (en) Method and apparatus for displaying control on interface of mobile terminal
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN105242942A (en) Application control method and apparatus
CN104331228A (en) Screen locking method and device
CN105516944A (en) Short message canceling method and device
CN104461236A (en) Method and device for displaying application icons
CN105808996A (en) Method and device for unlocking screen of terminal
CN105224171A (en) icon display method, device and terminal
CN105426060B (en) application control method and device
CN105549960A (en) Camera control method and apparatus
CN105323152A (en) Message processing method, device and equipment
CN105187671A (en) Recording method and device
CN105677513A (en) Method and device for restoring backup data
CN104636064A (en) Gesture generating method and device
CN106912090A (en) New information reminding method and equipment
CN104503762A (en) Device and method for identifying electronic accessory
CN104615931A (en) Prompt dialog box display control method and device
CN105975283A (en) Starting method and device for operating system

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