CN108768706A - The mode selecting method of storage device interface and selection system on a kind of router - Google Patents

The mode selecting method of storage device interface and selection system on a kind of router Download PDF

Info

Publication number
CN108768706A
CN108768706A CN201810466790.0A CN201810466790A CN108768706A CN 108768706 A CN108768706 A CN 108768706A CN 201810466790 A CN201810466790 A CN 201810466790A CN 108768706 A CN108768706 A CN 108768706A
Authority
CN
China
Prior art keywords
interface
storage device
router
device interface
interference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810466790.0A
Other languages
Chinese (zh)
Inventor
葛世飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Feixun Information Technology Co Ltd
Original Assignee
Sichuan Feixun Information Technology 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 Sichuan Feixun Information Technology Co Ltd filed Critical Sichuan Feixun Information Technology Co Ltd
Priority to CN201810466790.0A priority Critical patent/CN108768706A/en
Publication of CN108768706A publication Critical patent/CN108768706A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • H04B15/02Reducing interference from electric apparatus by means located at or near the interfering apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values

Abstract

The invention discloses a kind of mode selecting methods of storage device interface on router and selection system, are related to wireless communication field.Including:Detect the grafting or pull action that whether there is external interface on the storage device interface of router;When detecting that the grafting on the storage device interface there are external interface acts, detection is plugged on the interface type of external interface on the storage device interface;When it is first interface type to detect the interface type for being plugged on external interface on the storage device interface, the relationship between the current interference value of router and default interference value is judged;According to the relationship between the current interference value and default interference value of router, the change operation of the memory module of the corresponding storage device interface is executed.The present invention reduces the wrong data packets generated when wireless networking, then reduce the possibility that the intelligent terminal network speed of connection on the router declines, increase the online experience of user.

Description

The mode selecting method of storage device interface and selection system on a kind of router
Technical field
The present invention relates to wireless communication field, the mode selecting method of storage device interface and choosing on espespecially a kind of router Select system.
Background technology
With the fast development of internet, network comes into every family, and router is as each office in connection internet The appearance of the equipment of domain net, wide area network, router has been also convenient for daily life, becomes in people's daily life ratio not The part that can lack.
Existing router has provided wireless 2G signals to the user by the setting of 2G modules;When user needs by depositing Store up equipment, i.e., when USB flash disk and router carry out data transmission, and the technology of USB2.0 that uses;But with the development of technology, The data transmission bauds between storage device and router under USB2.0 technologies is slower, and the data for being difficult to meet user pass Defeated demand, therefore, storage device begin to use USB3.0 technologies to carry out data transmission with router.
But with the development of technology, the volume of router is also more done smaller, simultaneously because the benchmark frequency under USB3.0 technologies Rate and the wireless 2G frequency ranges of China are closer to, therefore are carried out data transmission using USB3.0 technologies in smaller router When, it can interfere with each other between the 2G signals that the data transmission and router itself between storage device and router are sent out, to Wrong data packet increases when 2G being caused to surf the Internet, and the intelligent terminal network speed for then causing to connect on the router declines, and reduces use The online experience at family.
Invention content
The object of the present invention is to provide a kind of mode selecting methods of storage device interface on router and selection system, originally Invention reduces the wrong data packet generated when wireless networking, then reduces under the intelligent terminal network speed of connection on the router The possibility of drop increases the online experience of user.
Technical solution provided by the invention is as follows:
The mode selecting method of storage device interface on a kind of router, including:S10, the storage device for detecting router It whether there is the grafting or pull action of external interface on interface;S20, when detecting that there are external on the storage device interface When the grafting action of interface, detection is plugged on the interface type of external interface on the storage device interface;S30, when detecting When the interface type for being plugged on external interface on the storage device interface is first interface type, the current dry of router is judged Disturb the relationship between value and default interference value;S40, according to router current interference value and default interference value between relationship, Execute the change operation of the memory module of the corresponding storage device interface.
Further, further include after step S10:S21, when detecting that there are external interfaces on the storage device interface When pull action, the memory module of the storage device interface is changed to default storage pattern.
Further, further include after step S20:S31, external interface on the storage device interface is plugged on when detecting Interface type when being second interface type, the memory module of the storage device interface is without change.
Further, S30 is specifically included:S301, connecing for external interface on the storage device interface is plugged on when detecting When mouth type is first interface type, the networking speeds of the intelligent terminal of all connections on the router are obtained;S302, school is obtained Quasi- coefficient, and according to the current interference value and the calibration factor, the current interference value of router is calculated;S303, sentence Whether the current interference value of disconnected router is less than default interference value.
Further, S40 is specifically included:S401, when judging that obtaining the current interference value is less than default interference value, by institute The memory module for stating storage device interface is changed to high speed storing pattern;S402, it is more than when judgement obtains the current interference value Or when equal to default interference value, the memory module of the storage device interface is changed to default storage pattern.
An object of the present invention also resides in the selection system of storage device interface on a kind of router of offer, including:It is dynamic Make detection module, for detecting the grafting or pull action that whether there is external interface on storage device interface;Interface detects mould Block, when motion detection module detects that the grafting on the storage device interface there are external interface acts, the interface inspection Survey the interface type that module detection is plugged on external interface on storage device interface;Judgment module is interfered, when the interface detects When module detects that the interface type for being plugged on external interface on the storage device interface is first interface type, the interference Judgment module judges the relationship between the current interference value of router and default interference value;Pattern changes module, for according to road By the relationship between the current interference value and default interference value of device, the memory module of the corresponding storage device interface is executed Change operation.
Further, when the motion detection module detects that the extraction on the storage device interface there are external interface is dynamic When making, the memory module of storage device interface is changed to default storage pattern by the pattern change module.
Further, when the interface detection module detects that the interface type of the external interface is second interface type When, the pattern change module does not change the memory module of the storage device interface.
Further, further include:Wire-speed detection module is plugged on the storage device when the interface detection module detects When the interface type of external interface is first interface type on interface, the wire-speed detection module acquisition is all to be connected to router On intelligent terminal networking speed;Interference calculation module, for obtaining calibration factor, and according to the current interference value and institute Calibration factor is stated, the current interference value of router is calculated;The interference judgment module judges the current interference value of router Whether default interference value is less than.
Further, described when the interference judgment module judges to obtain the current interference value less than default interference value The memory module of the storage device interface is changed to high speed storing pattern by pattern change module;When the interference judgment module When judgement obtains the current interference value more than or equal to default interference value, the pattern change module connects the storage device The memory module of mouth is changed to default storage pattern.
Compared with prior art, the mode selecting method of storage device interface and choosing on a kind of router provided by the invention The system of selecting has the advantages that:
1, the relationship between more current interference value and default interference value, you can the storage for obtaining connecting on the router is set When for using high speed data transfer pattern, if the use of wireless signal can be influenced;The current interference value of learning router with After relationship between default interference value, router can carry out corresponding change so that router can be operated in corresponding Operating mode, to ensure the high-speed transfer of the data between router and storage device or the normal use of wireless signal, to Reduce the wrong data packet generated when wireless networking, then reduces what the intelligent terminal network speed of connection on the router declined May, increase the online experience of user.
2, when the storage device for carrying first interface style interface is again coupled on the router, the advanced trade is needed Preceding interference value judges, can carry out the change of memory module later, reduce the storage device and be directly connected on the router, And directly carry out data transmission under high speed data transfer pattern, to affect the use of wireless signal, increase user's Experience.
3, since under default conditions, the memory module of storage device interface is default storage pattern, and second interface type Interface be difficult to be operated under high speed storing pattern, therefore, detect interface type be second interface type when, router The current operating mode of storage device interface has been default storage pattern, and therefore, the memory module of storage device interface is not It is modified.
4, when it is first interface type to detect the interface type for being plugged on external interface on the storage device interface, It needs to obtain all networking speeds for connecting intelligent terminal on the router, which is calculate current interference value one A independent variable, and calibration factor is then used as a coefficient, current interference value that can be used as dependent variable, current interference value being capable of foundation Networking speed and calibration factor are calculated.
Description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, is set to being stored on a kind of router The mode selecting method of standby interface and above-mentioned characteristic, technical characteristic, advantage and its realization method of selection system give further Explanation.
Fig. 1 is the flow diagram of the mode selecting method of storage device interface on a kind of router of the present invention;
Fig. 2 is the flow diagram of the mode selecting method of storage device interface on another router of the invention;
Fig. 3 is the flow diagram of the mode selecting method of storage device interface on another router of the invention;
Fig. 4 is the structural schematic diagram of the model selection system of storage device interface on a kind of router of the present invention;
Fig. 5 is the structural schematic diagram of the model selection system of storage device interface on another router of the invention.
Drawing reference numeral explanation:10. motion detection module, 20. interface detection modules, 30. interference judgment modules, 40. patterns Change module, 50. wire-speed detection modules, 60. interference calculation modules.
Specific implementation mode
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, control is illustrated below The specific implementation mode of the present invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, so that simplified form is easy to understand, there is identical structure or function in some figures Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
According to a kind of embodiment provided by the invention, as shown in Figure 1, the pattern of storage device interface is selected on a kind of router Selection method, including:
S10, the grafting or pull action that whether there is external interface on the storage device interface of router are detected.
S20, when detecting on the storage device interface grafting action there are external interface, detection is plugged on described The interface type of external interface on storage device interface.
Optionally, S21, when detecting on the storage device interface pull action there are external interface, will be described The memory module of storage device interface is changed to default storage pattern.
S30, when detect be plugged on external interface on the storage device interface interface type be first interface type When, judge the relationship between the current interference value of router and default interference value.
Optionally, S31, when detecting that the interface type for being plugged on external interface on the storage device interface is second to connect When mouth type, the memory module of the storage device interface is without change.
S40, according to router current interference value and default interference value between relationship, execute it is corresponding it is described storage set The change operation of the memory module of standby interface.It redirects and executes step S30.
Specifically, in the present embodiment, it on the basis of existing router, is also at least wrapped on the router in the present invention A storage device interface, i.e. USB interface are included, storage device can be connected on storage device interface by user, storage device USB flash disk is referred mainly to, when storage device is USB flash disk, storage device can be directly plugged on storage device interface;Or storage device is When mobile phone etc. carries the intelligent terminal in space, storage device can be also connected to by data line on storage device interface.
External interface also refers mainly to the interface of the interface of USB flash disk or the data line by intelligent terminal connection on the router.Cause This, needs to detect on router whether be connected with storage device, it is only necessary to detect whether the connection status of external interface.
Router needs the storage detected first on router to set before the pattern memory module of change storage device interface Whether the action of external interface extraction or grafting is had on standby interface, and whether in the present embodiment, detecting has on storage device interface The action of extraction or the grafting of external interface is primarily referred to as whether having the storage newly connected to set on the storage device interface of router It is standby, or whether have the storage device just pulled up.In the present invention, it detects on the storage device interface of router with the presence or absence of external The grafting or pull action of interface, continuous service during router is opened, and will not stop.
When detecting that the grafting on the storage device interface there are external interface acts, that is, detecting has on router When the storage device newly connected, the interface type of external interface is detected, be primarily referred to as the interface type of detection USB flash disk, is i.e. USB flash disk connects Mouth is USB2.0 or USB3.0, and first interface type is USB3.0, and second interface type is USB2.0;Judge whether USB flash disk is deposited In higher data-transmission mode, as judge whether the interface of USB flash disk is USB3.0, so that router can be with USB flash disk high speed number According to transmission.Default storage pattern refers mainly to USB2.0 patterns, router and storage device can slow data transmission, high speed storing Pattern refers mainly to USB3.0 patterns, refers mainly to router and storage device being capable of high speed data transfer.
When it is first interface type to detect the interface type for being plugged on external interface on the storage device interface, i.e., When grafting USB flash disk on the router or data line are USB3.0, illustrate intelligent terminal or USB flash disk, it can be with router high-speed data Transmission, but since the major function of router is to provide wireless signal.
Therefore, it is necessary first to the service condition for judging wireless signal, by judge current interference value and default interference value it Between relationship, you can obtain the service condition of wireless signal, current interference value can represent the service condition of current radio signal, And default interference value does not influence wireless signal data transmit-receive when then referring to router and being that storage device carries out high speed data transfer Highest service condition, therefore, the relationship between more current interference value and default interference value, you can obtain being connected to routing When storage device on device uses high speed data transfer pattern, if the use of wireless signal can be influenced.
After learning the relationship between the current interference value of router and default interference value, router can be corresponded to Change so that router can be operated in corresponding operating mode, to ensure the data between router and storage device The normal use of high-speed transfer or wireless signal, the wrong data packet generated when to reduce wireless networking, then reduces The possibility that the intelligent terminal network speed of connection on the router declines, increases the online experience of user.
Preferably, when detecting on the storage device interface pull action there are external interface, the storage is set The memory module of standby interface is changed to default storage pattern, at this point, when the storage device for carrying USB3.0 interfaces is again coupled to When on the router, interference value judges before needing the advanced trade, can carry out the change of memory module later, reduce this and deposit Storage equipment is directly connected on the router, and is directly carried out data transmission under high speed data transfer pattern, to affect nothing The use of line signal increases the experience of user.
Preferably due under default conditions, the memory module of storage device interface is default storage pattern, and second interface The interface of type is difficult to be operated under high speed storing pattern, therefore, when it is second interface type to detect interface type, routing The current operating mode of the storage device interface of device has been default storage pattern, therefore, the storage mould of storage device interface Formula is without change.
According to another embodiment provided by the invention, as shown in Fig. 2, on a kind of router storage device interface pattern Selection method, including:
S10, the grafting or pull action that whether there is external interface on the storage device interface of router are detected.
S20, when detecting on the storage device interface grafting action there are external interface, detection is plugged on described The interface type of external interface on storage device interface.
S21, when detecting on the storage device interface pull action there are external interface, by the storage device The memory module of interface is changed to default storage pattern.
S301, when detect be plugged on external interface on the storage device interface interface type be first interface type When, obtain the networking speed of the intelligent terminal of all connections on the router.
S302, calibration factor is obtained, and according to the current interference value and the calibration factor, router is calculated Current interference value.
S303, judge whether the current interference value of router is less than default interference value.
S31, when detect be plugged on external interface on the storage device interface interface type be second interface type When, the memory module of the storage device interface is without change.
S40, according to router current interference value and default interference value between relationship, execute it is corresponding it is described storage set The change operation of the memory module of standby interface.It redirects and executes step S301.
Specifically, the present embodiment is mainly used for embodying the pass judged between the current interference value of router and default interference value The specific steps of system.When detect be plugged on external interface on the storage device interface interface type be first interface type When, i.e., when grafting USB flash disk on the router or data line are USB3.0, need to obtain the intelligence of all connections on the router The networking speed of terminal, the networking speed are to calculate an independent variable of current interference value, and calibration factor is then as one Number, current interference value can be used as dependent variable, current interference value that can be calculated according to networking speed and calibration factor.
Due to presetting the limit value that interference value is router and storage device high speed data transfer, only need to sentence Whether the current interference value that breaks is less than the limit value, you can knows whether current wireless service condition.
In the present embodiment, due to the router of different model, wireless module is different from the distance between storage device interface, Therefore the interference between wireless signal and data transfer signal also differs;Therefore, manufacturer needs before the router that dispatches from the factory The router of different model is tested, the default interference value of the router of different model and corresponding calibration are tested out Coefficient.
According to another embodiment provided by the invention, as shown in figure 3, on a kind of router storage device interface pattern Selection method, including:
S10, the grafting or pull action that whether there is external interface on the storage device interface of router are detected.
S20, when detecting on the storage device interface grafting action there are external interface, detection is plugged on described The interface type of external interface on storage device interface.
S21, when detecting on the storage device interface pull action there are external interface, by the storage device The memory module of interface is changed to default storage pattern.
S301, when detect be plugged on external interface on the storage device interface interface type be first interface type When, obtain the networking speed of the intelligent terminal of all connections on the router.
S302, calibration factor is obtained, and according to the current interference value and the calibration factor, router is calculated Current interference value.
S303, judge whether the current interference value of router is less than default interference value.
S31, when detect be plugged on external interface on the storage device interface interface type be second interface type When, the memory module of the storage device interface is without change.
S401, when judging that obtaining the current interference value is less than default interference value, by depositing for the storage device interface Storage pattern is changed to high speed storing pattern.It redirects and executes step S301.
S402, when judging that obtaining the current interference value is greater than or equal to default interference value, the storage device is connect The memory module of mouth is changed to default storage pattern.It redirects and executes step S301.
Specifically, in the present embodiment, when judging that obtaining the current interference value is less than default interference value, i.e. router Wireless signal it is more idle, therefore, the memory module of the storage device interface can be changed to high speed storing by router Pattern, i.e. router can use USB3.0 patterns and storage device to carry out data interaction.
And when judging that obtaining the current interference value is greater than or equal to default interference value, i.e., the wireless signal of router compared with To be busy, therefore, the memory module of the storage device interface can be changed to default storage pattern, i.e. router by router USB2.0 patterns and storage device can be used to carry out data interaction.
Since data-transmission mode needs to consume longer time, in data transmission procedure, router can be examined The current interference value of itself is surveyed, and according to current interference value, changes the memory module of storage device interface in real time.
According to a kind of embodiment provided by the invention, as shown in figure 4, the pattern of storage device interface is selected on a kind of router System is selected, including:
Motion detection module 10, for detecting the grafting on storage device interface with the presence or absence of external interface or extracting dynamic Make.And in the operational process of router, motion detection module 10 can continue to carry out motion detection.
Interface detection module 20, when motion detection module 10 detects that there are external interfaces on the storage device interface When grafting acts, the interface detection module 20 detects the interface type for being plugged on external interface on storage device interface.
Interfere judgment module 30, when the interface detection module 20 detect be plugged on it is external on the storage device interface When the interface type of interface is first interface type, the interference judgment module 30 judge the current interference value of router in advance If the relationship between interference value.
Pattern changes module 40, for according to the relationship between the current interference value and default interference value of router, executing The change of the memory module of the corresponding storage device interface operates.
When the motion detection module 10 detects on the storage device interface pull action there are external interface, The memory module of storage device interface is changed to default storage pattern by the pattern change module 40.
It is described when the interface detection module 20 detects that the interface type of the external interface is second interface type Pattern change module 40 does not change the memory module of the storage device interface.
Specifically, pass through the setting of above-mentioned module, you can realize the motion detection of external interface, interface type on router Detection, the judgement of interference value and the change action of pattern, specific action is shown in corresponding embodiment of the method.
According to another embodiment provided by the invention, as shown in figure 5, on a kind of router storage device interface pattern Selection system, including:
Motion detection module 10, for detecting the grafting on storage device interface with the presence or absence of external interface or extracting dynamic Make.And in the operational process of router, motion detection module 10 can continue to carry out motion detection.
Interface detection module 20, when motion detection module 10 detects that there are external interfaces on the storage device interface When grafting acts, the interface detection module 20 detects the interface type for being plugged on external interface on storage device interface.
Interfere judgment module 30, when the interface detection module 20 detect be plugged on it is external on the storage device interface When the interface type of interface is first interface type, the interference judgment module 30 judge the current interference value of router in advance If the relationship between interference value.
Pattern changes module 40, for according to the relationship between the current interference value and default interference value of router, executing The change of the memory module of the corresponding storage device interface operates.
When the motion detection module 10 detects on the storage device interface pull action there are external interface, The memory module of storage device interface is changed to default storage pattern by the pattern change module 40.
It is described when the interface detection module 20 detects that the interface type of the external interface is second interface type Pattern change module 40 does not change the memory module of the storage device interface.
Wire-speed detection module 50, when the interface detection module 20 detect be plugged on it is external on the storage device interface When the interface type of interface is first interface type, the wire-speed detection module 50 obtains the intelligence of all connections on the router The networking speed of energy terminal.
Interference calculation module 60, for according to calibration factor, the current interference value of router to be calculated.
The interference judgment module 30 judges whether the current interference value of router is less than default interference value.
Specifically, pass through the setting of above-mentioned module, you can realize the motion detection of external interface, interface type on router Detection, interference value calculating and judgement, the change of pattern action, specific action see corresponding embodiment of the method.
According to another embodiment provided by the invention, the model selection system of storage device interface on a kind of router, Including:
Motion detection module 10, for detecting the grafting on storage device interface with the presence or absence of external interface or extracting dynamic Make.And in the operational process of router, motion detection module 10 can continue to carry out motion detection.
Interface detection module 20, when motion detection module 10 detects that there are external interfaces on the storage device interface When grafting acts, the interface detection module 20 detects the interface type for being plugged on external interface on storage device interface.
Interfere judgment module 30, when the interface detection module 20 detect be plugged on it is external on the storage device interface When the interface type of interface is first interface type, the interference judgment module 30 judge the current interference value of router in advance If the relationship between interference value.
Pattern changes module 40, for according to the relationship between the current interference value and default interference value of router, executing The change of the memory module of the corresponding storage device interface operates.
When the motion detection module 10 detects on the storage device interface pull action there are external interface, The memory module of storage device interface is changed to default storage pattern by the pattern change module 40.
It is described when the interface detection module 20 detects that the interface type of the external interface is second interface type Pattern change module 40 does not change the memory module of the storage device interface.
Wire-speed detection module 50, when the interface detection module 20 detect be plugged on it is external on the storage device interface When the interface type of interface is first interface type, the wire-speed detection module 50 obtains the intelligence of all connections on the router The networking speed of energy terminal.
Interference calculation module 60, for according to calibration factor, the current interference value of router to be calculated.
The interference judgment module 30 judges whether the current interference value of router is less than default interference value.
When the interference judgment module 30 judgement, which obtains the current interference value, is less than default interference value, the pattern is more Change module 40 and the memory module of the storage device interface is changed to high speed storing pattern.
It is described when the interference judgment module 30 judgement, which obtains the current interference value, is greater than or equal to default interference value The memory module of the storage device interface is changed to default storage pattern by pattern change module 40.
Specifically, pass through the setting of above-mentioned module, you can realize the motion detection of external interface, interface type on router Detection, interference value calculating and judgement, pattern change detailed action, specific action is shown in corresponding embodiment of the method.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

1. the mode selecting method of storage device interface on a kind of router, which is characterized in that including:
S10, the grafting or pull action that whether there is external interface on the storage device interface of router are detected;
S20, when detecting on the storage device interface grafting action there are external interface, detection is plugged on the storage The interface type of external interface on equipment interface;
S30, when detect the interface type for being plugged on external interface on the storage device interface be first interface type when, sentence Relationship between the current interference value and default interference value of disconnected router;
S40, according to the relationship between the current interference value and default interference value of router, execute the corresponding storage device and connect The change operation of the memory module of mouth.
2. the mode selecting method of storage device interface on a kind of router according to claim 1, which is characterized in that step Further include after rapid S10:
S21, when detecting on the storage device interface pull action there are external interface, by the storage device interface Memory module be changed to default storage pattern.
3. the mode selecting method of storage device interface on a kind of router according to claim 1, which is characterized in that step Further include after rapid S20:
S31, when detect the interface type for being plugged on external interface on the storage device interface be second interface type when, institute The memory module of storage device interface is stated without change.
4. the mode selecting method of storage device interface on a kind of router according to any one of claim 1-3, It is characterized in that, S30 is specifically included:
S301, when detect the interface type for being plugged on external interface on the storage device interface be first interface type when, Obtain the networking speed of the intelligent terminal of all connections on the router;
S302, calibration factor is obtained, and according to the current interference value and the calibration factor, the current of router is calculated Interference value;
S303, judge whether the current interference value of router is less than default interference value.
5. the mode selecting method of storage device interface on a kind of router according to any one of claim 1-3, It is characterized in that, S40 is specifically included:
S401, when judging that obtaining the current interference value is less than default interference value, by the storage mould of the storage device interface Formula is changed to high speed storing pattern;
S402, when judging that obtaining the current interference value is greater than or equal to default interference value, by the storage device interface Memory module is changed to default storage pattern.
6. the selection system of storage device interface on a kind of router, which is characterized in that including:
Motion detection module, for detecting the grafting or pull action that whether there is external interface on storage device interface;
Interface detection module, when motion detection module detects the grafting action on the storage device interface there are external interface When, the interface detection module detection is plugged on the interface type of external interface on storage device interface;
Judgment module is interfered, connecing for external interface on the storage device interface is plugged on when the interface detection module detects When mouth type is first interface type, the interference judgment module judges between the current interference value of router and default interference value Relationship;
Pattern changes module, for according to the relationship between the current interference value and default interference value of router, executing corresponding The change of the memory module of the storage device interface operates.
7. the selection system of storage device interface on a kind of router according to claim 6, it is characterised in that:
When the motion detection module detects on the storage device interface pull action there are external interface, the mould The memory module of storage device interface is changed to default storage pattern by formula change module.
8. the selection system of storage device interface on a kind of router according to claim 6, it is characterised in that:
When the interface detection module detects that the interface type of the external interface is second interface type, the pattern is more Change the memory module that module does not change the storage device interface.
9. the selection system of storage device interface on a kind of router according to any one in claim 6-8, special Sign is, further includes:
Wire-speed detection module is plugged on connecing for external interface on the storage device interface when the interface detection module detects When mouth type is first interface type, the wire-speed detection module obtains the online of the intelligent terminal of all connections on the router Speed;
Interference calculation module for obtaining calibration factor, and according to the current interference value and the calibration factor, is calculated The current interference value of router;
The interference judgment module judges whether the current interference value of router is less than default interference value.
10. the selection system of storage device interface on a kind of router according to any one in claim 6-8, special Sign is:
When the interference judgment module judges to obtain the current interference value less than default interference value, the pattern changes module The memory module of the storage device interface is changed to high speed storing pattern;
When the interference judgment module judges to obtain the current interference value more than or equal to default interference value, the pattern is more Change module and the memory module of the storage device interface is changed to default storage pattern.
CN201810466790.0A 2018-05-16 2018-05-16 The mode selecting method of storage device interface and selection system on a kind of router Pending CN108768706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810466790.0A CN108768706A (en) 2018-05-16 2018-05-16 The mode selecting method of storage device interface and selection system on a kind of router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810466790.0A CN108768706A (en) 2018-05-16 2018-05-16 The mode selecting method of storage device interface and selection system on a kind of router

Publications (1)

Publication Number Publication Date
CN108768706A true CN108768706A (en) 2018-11-06

Family

ID=64008091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810466790.0A Pending CN108768706A (en) 2018-05-16 2018-05-16 The mode selecting method of storage device interface and selection system on a kind of router

Country Status (1)

Country Link
CN (1) CN108768706A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150134863A1 (en) * 2012-04-26 2015-05-14 Changcheng Hsieh Decreasing USB Interference to Adjacent Wireless Device
CN107070727A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 The USB mode switching method and system of a kind of router
CN107402893A (en) * 2016-05-19 2017-11-28 中兴通讯股份有限公司 USB switching method and device, system
CN107517132A (en) * 2017-09-01 2017-12-26 上海斐讯数据通信技术有限公司 Switching method, storage medium and the router of router USB mode
CN108009059A (en) * 2017-11-27 2018-05-08 上海斐讯数据通信技术有限公司 The USB function detecting methods and system of a kind of router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150134863A1 (en) * 2012-04-26 2015-05-14 Changcheng Hsieh Decreasing USB Interference to Adjacent Wireless Device
CN107402893A (en) * 2016-05-19 2017-11-28 中兴通讯股份有限公司 USB switching method and device, system
CN107070727A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 The USB mode switching method and system of a kind of router
CN107517132A (en) * 2017-09-01 2017-12-26 上海斐讯数据通信技术有限公司 Switching method, storage medium and the router of router USB mode
CN108009059A (en) * 2017-11-27 2018-05-08 上海斐讯数据通信技术有限公司 The USB function detecting methods and system of a kind of router

Similar Documents

Publication Publication Date Title
CN101795332B (en) Communication method and system
CN101908909B (en) Far end crosstalk channel estimation method and device
CN102318267A (en) Data communication method, communication equipment and communication system
CN103490906B (en) Power supply processing method and device and power supply system
CN101478607A (en) Electric power management apparatus and method for mobile terminal based on dual processor
CN103095367A (en) Optical-fiber interface speed self-adapting method and optical-fiber network device
CN105263155A (en) Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner
CN108964789A (en) Radio frequency interference processing method, device, storage medium and electronic equipment
CN108513344A (en) Suspension reconnection method, device, wearable device and the medium of wearable device
CN208424392U (en) A kind of the serial ports design circuit and active Ethernet equipment of active Ethernet equipment
CN101360050B (en) Method and apparatus setting flow control mode
CN106685773A (en) Intelligent network type PPPoE (point-to-point protocol over Ethernet) and DHCP (dynamic host configuration protocol) access method and system
CN108768706A (en) The mode selecting method of storage device interface and selection system on a kind of router
CN109121042A (en) Voice data processing method and Related product
CN106612303A (en) Data processing method and data processing device
CN102244528B (en) Channel extension method, equipment and system
CN105682160B (en) A kind of selection method and device of communication network
CN102143020A (en) Transmission method and device
CN108712759A (en) Method, apparatus, terminal and the storage medium of terminal communication
CN101969332B (en) GSM digital repeater traffic statistic method
CN102480301B (en) Electricity-saving mechanism and the mechanism and the method thereof that prevent false wake-up of control circuit
CN106598476A (en) Disk state detection and acquisition method, controller, expander, and control system
CN105516010B (en) A kind of information processing method and electronic equipment
CN102307117A (en) Port configuration method and device
CN103888171A (en) Internet access control method and system for terminal with PLC modem module arranged inside and terminal

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181106