CN112905117A - Data storage method with double-interface memory - Google Patents
Data storage method with double-interface memory Download PDFInfo
- Publication number
- CN112905117A CN112905117A CN202110183757.9A CN202110183757A CN112905117A CN 112905117 A CN112905117 A CN 112905117A CN 202110183757 A CN202110183757 A CN 202110183757A CN 112905117 A CN112905117 A CN 112905117A
- Authority
- CN
- China
- Prior art keywords
- interface
- shell
- memory
- state
- switch
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0634—Configuration or reconfiguration of storage systems by changing the state or mode of one or more devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0635—Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0653—Monitoring storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0658—Controller construction arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Abstract
The invention relates to a data storage method with a double-interface memory, which comprises the following steps: the connection interface is applied to the removable memory and comprises: the multi-mode comprises a first mode, a second mode and a third mode, the first mode is that the second shell slides to the tail end from the first interface, the second interface can be connected with the external equipment independently at the moment, the second mode is that the second shell slides to the tail end from the first interface, the first interface can be connected with the external equipment independently at the moment, the third mode is that the second shell slides to the tail end from the first interface, the clamping switch is switched, the second interface is separated from the first shell and connected with the second shell, the first interface and the second interface are connected with the external equipment simultaneously, when the first interface and the second interface are connected with the external equipment simultaneously, the time-sharing controller controls the first interface and the second interface to be conducted with the memory in a time-sharing mode, and the first interface and the second interface are prevented from being stored simultaneously.
Description
Technical Field
The invention belongs to the technical field of memories, and particularly relates to a data storage method with a dual-interface memory.
Background
In the prior art, a memory is generally used in life for data storage, data transfer and the like, such as a common USB disk, as a common data storage device, generally has only one USB interface for connecting to a computer, and with the continuous development of mobile phones, a memory capable of connecting to a mobile phone also appears, which is provided with one USB interface and one type C interface, and data transfer between a mobile phone and a computer is facilitated by providing two interfaces at two ends of the memory, such as a dual-interface flash memory device disclosed in patent application CN2013102959704, a sliding tray is provided by providing two interfaces and a sliding tray, so that two interfaces can be prevented from being connected at the same time, and the sliding tray is provided, so that two interfaces cannot be connected at the same time, and because the two interfaces are fixedly connected, the distance between the two interfaces is fixed and short, the simultaneous connection of the two interfaces cannot be realized; for example, patent application CN201210379794 discloses an electronic device with dual USB interfaces, which can modify data simultaneously and save time, but it cannot perform automatic intelligent analysis to determine the storage result when the data is stored. Then, in daily life, it is possible to meet the need of frequently exchanging data between two devices, for example, when a notebook computer and a desktop computer cannot be connected to an external network due to secret concerns, there is a need of frequently transmitting data between the notebook computer and the desktop computer through a memory, and then the memory in the prior art is used, so that the memory needs to be frequently plugged and unplugged, which brings great inconvenience.
Disclosure of Invention
The invention discloses a data storage method with a double-interface memory, wherein the double interfaces are respectively a first interface and a second interface, and the method comprises the following steps:
step S1, setting the first interface as the main interface, setting the initial state of the switch module as the conduction of the first interface and the memory, and connecting the first interface with the first electronic device;
step S2, the controller is powered on, the time-sharing controller identifies the first electronic device as a main device, and the storage controller adopts the main device to supply power;
step S3, connecting the second interface with the second electronic device, and identifying the second electronic device as a slave device by the time-sharing controller;
step S4, the controller reads the state of the second input device on the slave device, determines whether the state of the second input device on the slave device has changed, if yes, the controller reads whether the first input device on the master device is still in the input state, if yes, the current connection state is saved, that is, the memory is connected to the master device, and if no, the controller controls the switch module to switch on the second interface and the memory, that is, to switch to the memory to connect to the slave device.
The method for storing data with a dual-interface memory specifically includes the following steps of: detecting whether a cursor of a mouse connected with the slave equipment moves, if so, controlling a memory to automatically store a file currently operated by the master equipment by a controller, judging whether the mouse is clicked by a left key or not, if so, indicating that the mouse is changed, or detecting whether input information exists in a keyboard connected with the slave equipment or not, and if so, indicating that the mouse is changed;
the method includes that a controller reads whether a first input device on a main device is still in an input state, and if yes, the method specifically includes: judging whether the mouse of the main equipment is still moved or clicked or whether the keyboard is still input, if so, indicating that the result is yes;
if not, the controller controls the switch module to switch on the second interface and the memory, namely, to switch to a state that the memory is connected with the slave device, specifically including: the controller controls the switch module to switch to the second interface to connect with the memory, and simultaneously closes the file which is operated by the master device and is saved in the memory, automatically opens the file saved in the memory in the slave device, and updates and replaces the previous file version.
In the data storage method with dual-interface memory, after the step S4, the method further includes: the controller reads the state of the first input device on the master device, judges whether the state of the first input device on the master device is changed or not, if so, the controller reads whether the second input device on the slave device is still in the input state or not, if so, the current connection state is stored, namely the state that the storage is connected with the slave device, and if not, the controller controls the switch module to be switched to conduct the first interface and the storage, namely the state that the storage is connected with the master device.
In the data storage method with a dual-interface memory, before the step S1, the method further includes: control first interface and second interface separation to first interface and second interface conveniently connect first equipment and second equipment respectively, specifically include:
sliding the second shell to move towards the second interface direction, so that the second shell moves to the tail end in the second interface direction, and the position of the concave structure on the first guide rail supporting structure and the position of the clamping changeover switch on the first shell are on the same straight line;
when the recessed structure and the clamping change-over switch are positioned on the same straight line, the clamping change-over switch on the first shell is shifted, and the clamping change-over switch drives the first movable end to enter the recessed structure, so that the second shell and the first shell are fixed and can not slide relatively; the first movable end is driven by the clamping switch and simultaneously drives the second movable end, and the second interface is driven to be separated from the first shell by the second movable end;
when the second interface is separated from the first shell, the first shell detects that the second interface is separated from the first shell, and the switching state of a connecting line contact at the bottom of the first shell is triggered to be an extending state, so that the connecting line contact is connected with the first connecting point of the connecting line; then, the second interface is moved to slide to the tail end along a sliding rail on the upper surface of a second part of the second shell, the tail end is provided with a groove, the second interface is pressed downwards, a base part of the second interface enters the groove, at the moment, a contact on the base is in matched connection with a second connecting contact of a connecting line in the groove due to the fact that the contact enters the groove, and the second interface is connected with a component in the first shell through the connecting line in the second part; and one end of the connecting rod positioned on the side edge of the groove is extruded to move downwards, one end of the connecting rod drives the other end of the connecting rod to move upwards in an extruded state, so that the buckle of the clamping interface is loosened, the second part can be separated from the first part at the moment, and the second interface can still be connected with a memory through the switch module.
The data storage method with the dual-interface memory comprises the following steps:
the memory is arranged in the first shell, a clamping switch is arranged on the first shell, and the clamping switch comprises a first movable end and a second movable end;
the second shell is arranged outside the first shell, the second shell allows the first shell to slide in the second shell, the second shell comprises a first part and a second part, the first part and the second part are separated through the control of the clamping change-over switch, the first part comprises a flat plate structure and a guide rail supporting structure vertical to the flat plate structure, the guide rail supporting structure comprises a first guide rail supporting structure and a second guide rail supporting structure, the first guide rail supporting structure and the second guide rail supporting structure are arranged on two sides of the flat plate structure, a concave structure is arranged on the first guide rail supporting structure, when the second shell slides to be close to the tail end of a second interface, the concave structure and the clamping change-over switch are positioned on the same straight line, when the concave structure and the clamping change-over switch are positioned on the same straight line, toggle on the first shell the joint change over switch, joint change over switch drives first moving end and gets into sunk structure, so that the second shell with first shell is fixed can not the relative slip, and joint change over switch drives the second moves the end, so that the second interface with first shell separation will the second interface along the second part slides to the end, presses down the second interface, the drive first part and second part separation to make first interface and second interface can connect two different equipment simultaneously.
The data storage method with the dual-interface memory comprises a second interface and a second interface, wherein the second interface comprises an interface component and a base component, the interface component is fixed at one end of the base component, a buckle component which is detachable from the first shell is arranged on the base component and is matched with the second movable end to be buckled and separated, a third guide rail capable of sliding along the second component is arranged at the bottom of the base component, and a contact is arranged at the other end of the base component and is used for being electrically connected with a component in the first shell.
The data storage method with the dual-interface memory comprises the steps that the second component comprises a bendable connecting wire arranged inside, a fourth guide rail on the upper surface, a groove at the first end, a clamping interface at the second end and a connecting rod of a driving card interface in the groove, the fourth guide rail is matched with the third guide rail, when the second interface slides from the second end of the second component to the groove at the first end, the base component of the second interface enters the groove, the connecting rod is extruded, the connecting rod drives a buckle of the clamping interface to be loosened in the extrusion state, the second component is separated from the first component, and meanwhile, a contact of the base component is connected with a second connecting contact of the bendable connecting wire arranged inside; a connecting wire contact is arranged at the bottom of the first shell, and when the first part and the second part are separated, the connecting wire contact is connected with the connecting wire; the connecting wire contact is in a telescopic state, the initial state is a telescopic state, and when the second interface is separated from the first shell, the first shell detects that the second interface leaves the first shell, the connecting wire contact is triggered to be in an extending state, so that the connecting wire contact is connected with the first connecting point of the connecting wire.
The data storage method with the double-interface memory comprises a driving module, wherein the driving module is used for receiving a control signal of the controller and driving the switching module to switch, the first switching unit and the second switching unit are connected between a first interface and the memory, the second switching unit is connected between a second interface and the memory, the driving module comprises a first reverser and a second reverser, the input end of the first reverser is connected with the output end of the controller, the output end of the first reverser is respectively connected with the input end of the second reverser and the control end of the first switching unit, and the output end of the second reverser is connected with the control end of the second switching unit.
The invention provides a data storage method with a dual-interface memory, which is characterized in that two external devices are simultaneously connected through one memory, and the first interface and the second interface of the memory are respectively controlled by a controller to be connected in a time-sharing manner, so that the external devices can conveniently and quickly access the memory. One of the improvements of the present invention is that by detecting the state of the input device of the external device, the control of two external devices to automatically access the connection memory can be quickly realized, the way of quick access is improved, automatic judgment and analysis are performed according to the state of the input device, and the inexistence of connecting devices through mechanical switches or artificial control in the prior art is avoided, and intelligent analysis is realized to realize that the memory is connected to the corresponding device. The two devices can be prevented from accessing the memory at the same time when the two interfaces are connected; as a further improvement of the present invention, the second interface can slide along the second part of the second housing into the groove at the end after the first housing is separated, the second part is separated from the first part by the link rod in the groove, and the second interface can be reconnected with the first housing by the connection line in the second part, the two devices can be simultaneously connected to a memory by bending and stretching the connection line in the second part and matching with the second interface, and the stability and intelligence of the memory connecting the two external devices can be improved and the intelligence of data storage can be realized by the mechanical separation of the memory interface and the intelligent analysis input device.
Drawings
FIG. 1 is a diagram illustrating a data storage method with a dual-interface memory according to the present invention.
FIG. 2 is a diagram of a dual interface memory according to the present invention.
FIG. 3 is a top view of the second housing of the present invention.
Detailed Description
The present application will now be described in further detail with reference to the drawings, it should be noted that the following detailed description is given for illustrative purposes only and is not to be construed as limiting the scope of the present application, as those skilled in the art will be able to make numerous insubstantial modifications and adaptations to the present application based on the above disclosure.
Fig. 1 is a schematic diagram of a data storage method with a dual-interface memory according to the present invention.
FIG. 2 is a diagram of a dual interface memory according to the present invention. The connector comprises a first interface 1, a first shell 2, a first guide rail supporting structure 3, a concave structure 4, a first movable end 5, a second movable end 6, a buckle structure 7 between the second interface and the first shell, a fourth guide rail 8, a second interface 9, a second guide rail supporting structure 10, a clamping switch 11, a second shell 12 and a groove 13;
fig. 3 is a schematic top view of the second housing according to the present invention. Comprising a first connection point 14, a second part 15, a connection line 16, a second connection contact 17, a connecting rod 18.
The double interfaces are respectively a first interface and a second interface, and the method comprises the following steps:
step S1, setting the first interface as the main interface, setting the initial state of the switch module as the conduction of the first interface and the memory, and connecting the first interface with the first electronic device;
step S2, the controller is powered on, the time-sharing controller identifies the first electronic device as a main device, and the storage controller adopts the main device to supply power;
step S3, connecting the second interface with the second electronic device, and identifying the second electronic device as a slave device by the time-sharing controller;
step S4, the controller reads the state of the second input device on the slave device, determines whether the state of the second input device on the slave device has changed, if yes, the controller reads whether the first input device on the master device is still in the input state, if yes, the current connection state is saved, that is, the memory is connected to the master device, and if no, the controller controls the switch module to switch on the second interface and the memory, that is, to switch to the memory to connect to the slave device.
The method for storing data with a dual-interface memory specifically includes the following steps of: detecting whether a cursor of a mouse connected with the slave equipment moves, if so, controlling a memory to automatically store a file currently operated by the master equipment by a controller, judging whether the mouse is clicked by a left key or not, if so, indicating that the mouse is changed, or detecting whether input information exists in a keyboard connected with the slave equipment or not, and if so, indicating that the mouse is changed;
the method includes that a controller reads whether a first input device on a main device is still in an input state, and if yes, the method specifically includes: judging whether the mouse of the main equipment is still moved or clicked or whether the keyboard is still input, if so, indicating that the result is yes;
if not, the controller controls the switch module to switch on the second interface and the memory, namely, to switch to a state that the memory is connected with the slave device, specifically including: the controller controls the switch module to switch to the second interface to connect with the memory, and simultaneously closes the file which is operated by the master device and is saved in the memory, automatically opens the file saved in the memory in the slave device, and updates and replaces the previous file version.
In the data storage method with dual-interface memory, after the step S4, the method further includes: the controller reads the state of the first input device on the master device, judges whether the state of the first input device on the master device is changed or not, if so, the controller reads whether the second input device on the slave device is still in the input state or not, if so, the current connection state is stored, namely the state that the storage is connected with the slave device, and if not, the controller controls the switch module to be switched to conduct the first interface and the storage, namely the state that the storage is connected with the master device.
The memory is a memory for data storage, such as a flash memory, a storage medium, the first interface is preferably a USB connector, the second interface is preferably a type-C interface, the first interface and the second interface can be interchanged, the connecting line 16 is flexibly arranged in the second part to support rapid data transmission, and the memory is arranged in the first shell.
In the data storage method with a dual-interface memory, before the step S1, the method further includes: control first interface and second interface separation to first interface and second interface conveniently connect first equipment and second equipment respectively, specifically include:
sliding the second shell to move towards the second interface direction, so that the second shell moves to the tail end in the second interface direction, and the position of the concave structure on the first guide rail supporting structure and the position of the clamping changeover switch on the first shell are on the same straight line;
when the recessed structure and the clamping change-over switch are positioned on the same straight line, the clamping change-over switch on the first shell is shifted, and the clamping change-over switch drives the first movable end to enter the recessed structure, so that the second shell and the first shell are fixed and can not slide relatively; the first movable end is driven by the clamping switch and simultaneously drives the second movable end, and the second interface is driven to be separated from the first shell by the second movable end;
when the second interface is separated from the first shell, the first shell detects that the second interface is separated from the first shell, and the switching state of a connecting line contact at the bottom of the first shell is triggered to be an extending state, so that the connecting line contact is connected with the first connecting point of the connecting line; then, the second interface is moved to slide to the tail end along a sliding rail on the upper surface of a second part of the second shell, the tail end is provided with a groove, the second interface is pressed downwards, a base part of the second interface enters the groove, at the moment, a contact on the base is in matched connection with a second connecting contact of a connecting line in the groove due to the fact that the contact enters the groove, and the second interface is connected with a component in the first shell through the connecting line in the second part; and one end of the connecting rod positioned on the side edge of the groove is extruded to move downwards, one end of the connecting rod drives the other end of the connecting rod to move upwards in an extruded state, so that the buckle of the clamping interface is loosened, the second part can be separated from the first part at the moment, and the second interface can still be connected with a memory through the switch module.
The data storage method with the dual-interface memory comprises the following steps:
the memory is arranged in the first shell, a clamping switch is arranged on the first shell, and the clamping switch comprises a first movable end and a second movable end;
the second shell is arranged outside the first shell, the second shell allows the first shell to slide in the second shell, the second shell comprises a first part and a second part, the first part and the second part are separated through the control of the clamping change-over switch, the first part comprises a flat plate structure and a guide rail supporting structure vertical to the flat plate structure, the guide rail supporting structure comprises a first guide rail supporting structure and a second guide rail supporting structure, the first guide rail supporting structure and the second guide rail supporting structure are arranged on two sides of the flat plate structure, a concave structure is arranged on the first guide rail supporting structure, when the second shell slides to be close to the tail end of a second interface, the concave structure and the clamping change-over switch are positioned on the same straight line, when the concave structure and the clamping change-over switch are positioned on the same straight line, toggle on the first shell the joint change over switch, joint change over switch drives first moving end and gets into sunk structure, so that the second shell with first shell is fixed can not the relative slip, and joint change over switch drives the second moves the end, so that the second interface with first shell separation will the second interface along the second part slides to the end, presses down the second interface, the drive first part and second part separation to make first interface and second interface can connect two different equipment simultaneously.
The data storage method with the dual-interface memory comprises a second interface and a second interface, wherein the second interface comprises an interface component and a base component, the interface component is fixed at one end of the base component, a buckle component which is detachable from the first shell is arranged on the base component and is matched with the second movable end to be buckled and separated, a third guide rail capable of sliding along the second component is arranged at the bottom of the base component, and a contact is arranged at the other end of the base component and is used for being electrically connected with a component in the first shell.
The data storage method with the dual-interface memory comprises the steps that the second component comprises a bendable connecting wire arranged inside, a fourth guide rail on the upper surface, a groove at the first end, a clamping interface at the second end and a connecting rod of a driving card interface in the groove, the fourth guide rail is matched with the third guide rail, when the second interface slides from the second end of the second component to the groove at the first end, the base component of the second interface enters the groove, the connecting rod is extruded, the connecting rod drives a buckle of the clamping interface to be loosened in the extrusion state, the second component is separated from the first component, and meanwhile, a contact of the base component is connected with a second connecting contact of the bendable connecting wire arranged inside; a connecting wire contact is arranged at the bottom of the first shell, and when the first part and the second part are separated, the connecting wire contact is connected with the connecting wire; the connecting wire contact is in a telescopic state, the initial state is a telescopic state, and when the second interface is separated from the first shell, the first shell detects that the second interface leaves the first shell, the connecting wire contact is triggered to be in an extending state, so that the connecting wire contact is connected with the first connecting point of the connecting wire.
The data storage method with the double-interface memory comprises a driving module, wherein the driving module is used for receiving a control signal of the controller and driving the switching module to switch, the first switching unit and the second switching unit are connected between a first interface and the memory, the second switching unit is connected between a second interface and the memory, the driving module comprises a first reverser and a second reverser, the input end of the first reverser is connected with the output end of the controller, the output end of the first reverser is respectively connected with the input end of the second reverser and the control end of the first switching unit, and the output end of the second reverser is connected with the control end of the second switching unit.
The invention provides a data storage method with a dual-interface memory, which is characterized in that two external devices are simultaneously connected through one memory, and the first interface and the second interface of the memory are respectively controlled by a controller to be connected in a time-sharing manner, so that the external devices can conveniently and quickly access the memory. One of the improvements of the present invention is that by detecting the state of the input device of the external device, the control of two external devices to automatically access the connection memory can be quickly realized, the way of quick access is improved, automatic judgment and analysis are performed according to the state of the input device, and the inexistence of connecting devices through mechanical switches or artificial control in the prior art is avoided, and intelligent analysis is realized to realize that the memory is connected to the corresponding device. The two devices can be prevented from accessing the memory at the same time when the two interfaces are connected; as a further improvement of the present invention, the second interface can slide along the second part of the second housing into the groove at the end after the first housing is separated, the second part is separated from the first part by the link rod in the groove, and the second interface can be reconnected with the first housing by the connection line in the second part, the two devices can be simultaneously connected to a memory by bending and stretching the connection line in the second part and matching with the second interface, and the stability and intelligence of the memory connecting the two external devices can be improved and the intelligence of data storage can be realized by the mechanical separation of the memory interface and the intelligent analysis input device.
The clamping buckle and the like can use the prior art in the field, for example, clamping modes such as a door bolt or a protruding matching groove are used, the connecting rod is used according to the principle that if a seesaw mode is adopted, a fulcrum exists in the middle, one end tilts up and the other end descends, and the clamping modes can be realized by the existing mechanical clamping modes.
The invention is provided with a controller and a driving module driving a switch module, the driving module realizes the mutual exclusion of control signals to conduct the same control level conduction of a first switch unit and a second switch unit of the switch module, two devices can be simultaneously connected through two interfaces, the frequent plugging and unplugging of storage equipment are avoided, when the two devices are simultaneously connected with a memory, an on-off switch or an on-off device is arranged in the memory, the logic error caused by the simultaneous access of the two devices to the memory is avoided, namely although the two devices can be simultaneously connected with the memory, the electric connection between the memory and the second interface is disconnected through the on-off control when data reading and writing are carried out through the first interface, the electric connection between the memory and the first interface is disconnected when the data reading and writing are carried out through the second interface, only one device can access the memory to carry out the reading and writing operation at the same time, the device is improved through the memory, the convenience of the memory connection device is improved.
Claims (8)
1. A data storage method with a dual-interface memory is characterized in that the dual interfaces are a first interface and a second interface respectively, and the method comprises the following steps:
step S1, setting the first interface as the main interface, setting the initial state of the switch module as the conduction of the first interface and the memory, and connecting the first interface with the first electronic device;
step S2, the controller is powered on, the time-sharing controller identifies the first electronic device as a main device, and the storage controller adopts the main device to supply power;
step S3, connecting the second interface with the second electronic device, and identifying the second electronic device as a slave device by the time-sharing controller;
step S4, the controller reads the state of the second input device on the slave device, determines whether the state of the second input device on the slave device has changed, if yes, the controller reads whether the first input device on the master device is still in the input state, if yes, the current connection state is saved, that is, the memory is connected to the master device, and if no, the controller controls the switch module to switch on the second interface and the memory, that is, to switch to the memory to connect to the slave device.
2. The method as claimed in claim 1, wherein said determining whether the state of the second input device on the slave device has changed specifically comprises: detecting whether a cursor of a mouse connected with the slave equipment moves, if so, controlling a memory to automatically store a file currently operated by the master equipment by a controller, judging whether the mouse is clicked by a left key or not, if so, indicating that the mouse is changed, or detecting whether input information exists in a keyboard connected with the slave equipment or not, and if so, indicating that the mouse is changed;
the method includes that a controller reads whether a first input device on a main device is still in an input state, and if yes, the method specifically includes: judging whether the mouse of the main equipment is still moved or clicked or whether the keyboard is still input, if so, indicating that the result is yes;
if not, the controller controls the switch module to switch on the second interface and the memory, namely, to switch to a state that the memory is connected with the slave device, specifically including: the controller controls the switch module to switch to the second interface to connect with the memory, and simultaneously closes the file which is operated by the master device and is saved in the memory, automatically opens the file saved in the memory in the slave device, and updates and replaces the previous file version.
3. A data storage method with dual interface memory as claimed in claim 2, wherein said step S4 is followed by further comprising: the controller reads the state of the first input device on the master device, judges whether the state of the first input device on the master device is changed or not, if so, the controller reads whether the second input device on the slave device is still in the input state or not, if so, the current connection state is stored, namely the state that the storage is connected with the slave device, and if not, the controller controls the switch module to be switched to conduct the first interface and the storage, namely the state that the storage is connected with the master device.
4. A data storage method with dual interface memory as claimed in claim 3, wherein said step S1 is preceded by the steps of: control first interface and second interface separation to first interface and second interface conveniently connect first equipment and second equipment respectively, specifically include:
sliding the second shell to move towards the second interface direction, so that the position of the concave structure on the first guide rail supporting structure and the position of the clamping changeover switch on the first shell are on the same straight line after the second shell moves to the tail end in the second interface direction;
when the recessed structure and the clamping change-over switch are positioned on the same straight line, the clamping change-over switch on the first shell is shifted, and the clamping change-over switch drives the first movable end to enter the recessed structure, so that the second shell and the first shell are fixed and can not slide relatively; the first movable end is driven by the clamping switch and simultaneously drives the second movable end, and the second interface is driven to be separated from the first shell by the second movable end;
when the second interface is separated from the first shell, the first shell triggers the switching state of a connecting line contact at the bottom of the first shell to be an extending state when detecting that the second interface is separated from the first shell, so that the connecting line contact is connected with the first connecting point of the connecting line; then moving the second interface to slide to the tail end along a sliding rail on the upper surface of a second part of the second shell, wherein the tail end is provided with a groove, pressing the second interface downwards, and a base part of the second interface enters the groove; and one end of the connecting rod positioned on the side edge of the groove is extruded to move downwards, one end of the connecting rod drives the other end of the connecting rod to move upwards in an extruded state, so that the buckle of the clamping interface is loosened, the second part can be separated from the first part at the moment, and the second interface can still be connected with a memory through the switch module.
5. A method for data storage having a dual interface memory as claimed in claim 4, wherein said memory comprises:
the memory is arranged in the first shell, a clamping switch is arranged on the first shell, and the clamping switch comprises a first movable end and a second movable end;
the second shell is arranged outside the first shell, the second shell allows the first shell to slide in the second shell, the second shell comprises a first part and a second part, the first part and the second part are separated through the control of the clamping change-over switch, the first part comprises a flat plate structure and a guide rail supporting structure vertical to the flat plate structure, the guide rail supporting structure comprises a first guide rail supporting structure and a second guide rail supporting structure, the first guide rail supporting structure and the second guide rail supporting structure are arranged on two sides of the flat plate structure, a concave structure is arranged on the first guide rail supporting structure, when the second shell slides to be close to the tail end of a second interface, the concave structure and the clamping change-over switch are positioned on the same straight line, when the concave structure and the clamping change-over switch are positioned on the same straight line, toggle on the first shell the joint change over switch, joint change over switch drives first moving end and gets into sunk structure, so that the second shell with first shell is fixed can not the relative slip, and joint change over switch drives the second moves the end, so that the second interface with first shell separation will the second interface along the second part slides to the end, presses down the second interface, the drive first part and second part separation to make first interface and second interface can connect two different equipment simultaneously.
6. The data storage method with the dual-interface memory as claimed in claim 5, wherein the second interface comprises an interface component and a base component, the interface component is fixed at one end of the base component, a fastening component which is detachable from the first housing is fastened and detached by being matched with the second movable end, a third guide rail which can slide along the second component is arranged at the bottom of the base component, and a contact is arranged at the other end of the base component and is used for electrically connecting with a component in the first housing.
7. The data storage method with the dual-interface memory according to claim 6, wherein the second component comprises a bendable connecting wire arranged inside, a fourth guide rail on the upper surface, a groove on the first end, a card interface on the second end, and a connecting rod driving the card interface in the groove, the fourth guide rail is matched with the third guide rail, when the second interface slides from the second end of the second component to the groove on the first end, the base component of the second interface enters the groove, the connecting rod is pressed, the connecting rod drives the buckle of the card interface to release under the pressing state, the second component is separated from the first component, and meanwhile, the contact of the base component is connected with the second connecting contact of the bendable connecting wire arranged inside; a connecting wire contact is arranged at the bottom of the first shell, and when the first part and the second part are separated, the connecting wire contact is connected with the connecting wire; the connecting wire contact is in a telescopic state, the initial state is a telescopic state, and when the second interface is separated from the first shell, the first shell detects that the second interface leaves the first shell, the connecting wire contact is triggered to be in an extending state, so that the connecting wire contact is connected with the first connecting point of the connecting wire.
8. The data storage method with the dual-interface memory as claimed in claim 7, comprising a driving module, wherein the driving module is configured to receive a control signal from the controller and drive the switching module to switch, the light-on module includes a first switching unit and a second switching unit, the first switching unit is connected between the first interface and the memory, the second switching unit is connected between the second interface and the memory, the driving module includes a first inverter and a second inverter, an input end of the first inverter is connected to an output end of the controller, an output end of the first inverter is respectively connected to an input end of the second inverter and a control end of the first switching unit, and an output end of the second inverter is connected to a control end of the second switching unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110183757.9A CN112905117A (en) | 2021-02-08 | 2021-02-08 | Data storage method with double-interface memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110183757.9A CN112905117A (en) | 2021-02-08 | 2021-02-08 | Data storage method with double-interface memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112905117A true CN112905117A (en) | 2021-06-04 |
Family
ID=76123459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110183757.9A Withdrawn CN112905117A (en) | 2021-02-08 | 2021-02-08 | Data storage method with double-interface memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112905117A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5694615A (en) * | 1995-06-26 | 1997-12-02 | Hewlett Packard Company | Storage system having storage units interconnected to form multiple loops to provide simultaneous access from multiple hosts |
CN1625730A (en) * | 2002-01-31 | 2005-06-08 | 佳能株式会社 | Storage apparatus and control method |
CN102567238A (en) * | 2010-12-13 | 2012-07-11 | 联想(北京)有限公司 | Interface switching control method, portable terminal, portable mobile equipment, and input equipment |
CN203300228U (en) * | 2013-07-03 | 2013-11-20 | 朱赛 | USB (Universal Serial Bus) disk with data switching function |
CN104050995A (en) * | 2013-03-15 | 2014-09-17 | 雷夫有限公司 | Dual-interface Flash Drive |
CN206931107U (en) * | 2017-06-22 | 2018-01-26 | 深圳市双龙飞科技有限公司 | Pocket memory |
CN210776692U (en) * | 2019-09-24 | 2020-06-16 | 南京神易网络科技有限公司 | Isolation device supporting notebook computer network and mobile storage |
CN111787446A (en) * | 2020-06-30 | 2020-10-16 | 联想(北京)有限公司 | Electronic equipment, data processing method and device |
-
2021
- 2021-02-08 CN CN202110183757.9A patent/CN112905117A/en not_active Withdrawn
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5694615A (en) * | 1995-06-26 | 1997-12-02 | Hewlett Packard Company | Storage system having storage units interconnected to form multiple loops to provide simultaneous access from multiple hosts |
CN1625730A (en) * | 2002-01-31 | 2005-06-08 | 佳能株式会社 | Storage apparatus and control method |
CN102567238A (en) * | 2010-12-13 | 2012-07-11 | 联想(北京)有限公司 | Interface switching control method, portable terminal, portable mobile equipment, and input equipment |
CN104050995A (en) * | 2013-03-15 | 2014-09-17 | 雷夫有限公司 | Dual-interface Flash Drive |
CN203300228U (en) * | 2013-07-03 | 2013-11-20 | 朱赛 | USB (Universal Serial Bus) disk with data switching function |
CN206931107U (en) * | 2017-06-22 | 2018-01-26 | 深圳市双龙飞科技有限公司 | Pocket memory |
CN210776692U (en) * | 2019-09-24 | 2020-06-16 | 南京神易网络科技有限公司 | Isolation device supporting notebook computer network and mobile storage |
CN111787446A (en) * | 2020-06-30 | 2020-10-16 | 联想(北京)有限公司 | Electronic equipment, data processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6056573A (en) | IC card connector | |
US7114030B2 (en) | System, apparatus and method for sharing media | |
CN101822030B (en) | Holder and information processing system | |
CN102565667A (en) | Testing device | |
CN112905117A (en) | Data storage method with double-interface memory | |
CN110488980B (en) | Human-computer interaction system of projection system | |
CN112905116B (en) | Data storage method of memory comprising bidirectional split interface | |
CN112952486A (en) | Multi-mode connection interface and control method thereof | |
CN113448390A (en) | Portable terminal equipment | |
KR102329568B1 (en) | mobile payment device | |
CN112993702A (en) | Connection interface of intelligent bidirectional memory and control method thereof | |
CN210962049U (en) | Ultrasonic probe docking station | |
CN112905115A (en) | Intelligent connection interface capable of being split bidirectionally of memory and control method thereof | |
CN216145811U (en) | Computer cell-phone double-purpose USB flash disk with adapter | |
KR100312242B1 (en) | Detachable supplementary apparatus for portable communication device | |
CN113515174A (en) | Double-screen notebook computer | |
CN219322774U (en) | Multichannel switch control device of intelligent storage cabinet | |
CN214664062U (en) | Tool lamp | |
CN101094464A (en) | Device and method for handset to manage files in U disk | |
CN201550380U (en) | Telescopic USB pocket drive with hook portion | |
CN208506748U (en) | A kind of translator with WIFI hot spot | |
KR101197843B1 (en) | Apparatus of Controlling Portable Computer Supporting MP3 Player and Method thereof | |
CN117148919A (en) | Expansion device and automatic connection control method | |
CN219876146U (en) | Multifunctional intelligent CPE device | |
CN214409769U (en) | Portable two-in-one 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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210604 |
|
WW01 | Invention patent application withdrawn after publication |