CN109753472B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN109753472B
CN109753472B CN201811512163.2A CN201811512163A CN109753472B CN 109753472 B CN109753472 B CN 109753472B CN 201811512163 A CN201811512163 A CN 201811512163A CN 109753472 B CN109753472 B CN 109753472B
Authority
CN
China
Prior art keywords
interface
external storage
module
control unit
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811512163.2A
Other languages
Chinese (zh)
Other versions
CN109753472A (en
Inventor
赵树新
赵伟
李博宇
高硕�
李宁
侯天龙
高志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811512163.2A priority Critical patent/CN109753472B/en
Publication of CN109753472A publication Critical patent/CN109753472A/en
Application granted granted Critical
Publication of CN109753472B publication Critical patent/CN109753472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present disclosure relates to a data processing method and apparatus, the apparatus comprising: the controller is respectively connected with the first interfaces and the third interfaces of the second interface expansion modules, each second interface is connected with the fourth interfaces through a switch module, and each fourth interface is used for being connected with an external storage device; when the switch module is in a closed state, a fourth interface connected with the switch module is electrified; and the controller is used for acquiring the connection state information of each fourth interface and the external storage equipment and controlling the switch module connected with any fourth interface connected with the external storage equipment to be closed according to the connection state information so as to access the external storage equipment.

Description

Data processing method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data processing method and apparatus.
Background
With the continuous development of society, storage devices such as USB devices have been increasingly paid attention to as important accessories of computers. However, in an actual application scenario, the storage devices are intelligently used on the local computer, each computer can only use its own USB interface, and cannot implement remote or offline USB interface services, so that resources cannot be shared and centrally used, and resource waste is caused.
In the prior art, a client-side host is generally connected with a server-side host connected with a USB device, the corresponding USB device is mapped according to USB device information sent by the server-side host, and an access request is sent to the server-side host according to the mapped USB device, so as to implement shared use of the USB device. However, since the USB interface of the server-side host is limited, the USB device needs to be replaced by manual work, the operation is very complicated, and the repeated plugging and unplugging of the USB device may affect the service life of the client-side host and the USB device.
Disclosure of Invention
In order to overcome the problems in the prior art, the present disclosure provides a data processing method and apparatus.
In order to achieve the above object, the present disclosure provides a data processing apparatus comprising: the controller is respectively connected with each first interface and a third interface of each second interface expansion module, each second interface is connected with a fourth interface through one switch module, and each fourth interface is used for connecting an external storage device;
the switch module has a closed state and an open state, and a fourth interface connected with the switch module is powered on in the closed state; in the disconnected state, a fourth interface connected with the switch module is powered down;
the controller is configured to acquire connection state information between each fourth interface and the external storage device, and control, according to the connection state information, the switch module connected to any fourth interface connected to the external storage device to be closed so as to access the external storage device.
Optionally, the controller includes a first control unit, one third interface of each second interface expansion module is connected to the first control unit, and any other third interface of each second interface expansion module is used to connect to an external control device;
the first control unit is further configured to receive a control instruction sent by an external control device, and control, according to an identification number of a target fourth interface included in the control instruction, a switch module connected to the target fourth interface to be closed, so as to access an external storage device connected to the target fourth interface.
Optionally, the controller further includes a second control unit, a serial communication module and a network communication module, the serial communication module is connected to the first control unit and the second control unit respectively, and the second control unit is connected to a third interface of each second interface extension module and the network communication module respectively;
the second control unit is configured to acquire connection state information between each fourth interface and an external storage device, send the connection state information to a client host through the network communication module, receive an access request returned by the client host according to the connection state information, and send an identification number of the fourth interface to be accessed, which is included in the access request, to the first control unit through the serial port communication module;
the first control unit is further configured to control the switch module connected to the fourth interface to be closed according to the identification number, so as to access the external storage device connected to the fourth interface.
Optionally, the apparatus further includes a third interface expansion module, where the third interface expansion module includes at least one fifth interface and a plurality of sixth interfaces, one of the fifth interfaces is connected to the controller, and each of the sixth interfaces is connected to one of the third interfaces of each of the second interface expansion modules.
Optionally, any remaining fifth interface is used for connecting an external control device.
Optionally, the apparatus further includes a power module, and the power module is connected to the controller and the third interface expansion module, respectively.
Optionally, the power supply module includes a DC-DC linear buck power supply chip.
The present disclosure also provides a data processing method, applied to a data processing apparatus, where the data processing apparatus includes at least one first interface expansion module, at least one second interface expansion module, and a plurality of switch modules, each first interface expansion module includes one first interface and a plurality of second interfaces, each second interface expansion module includes at least one third interface and a plurality of fourth interfaces, each second interface is connected to one fourth interface through one switch module, and each fourth interface is used to connect an external storage device;
the method comprises the following steps:
acquiring connection state information between each fourth interface and external storage equipment;
and controlling the switch module connected with any fourth interface connected with the external storage equipment to be closed according to the connection state information so as to access the external storage equipment.
Optionally, any third interface of each second interface expansion module is used for connecting an external control device, and the method further includes:
receiving a control instruction sent by external control equipment;
and controlling a switch module connected with the target fourth interface to be closed according to the identification number of the target fourth interface included in the control instruction so as to access the external storage equipment connected with the target fourth interface.
Optionally, the apparatus further comprises a network communication module, and the method further comprises:
establishing communication connection with a client host through the network communication module;
sending the connection state information to a client host through the communication connection and receiving an access request returned by the client host according to the connection state information;
and controlling the switch module connected with the fourth interface to be closed according to the identification number of the fourth interface to be accessed, which is included in the access request, so as to access the external storage device connected with the fourth interface.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the controller controls the on and off of the switch module by acquiring the connection state information of each fourth interface and the external storage device to control the on and off of each fourth interface, so that the time-sharing access to the connected external storage device can be realized, and the power consumption of the data processing device can be further reduced. Meanwhile, the control mechanism can simulate the action of repeatedly plugging and unplugging the external storage equipment by manpower, so that the man-made labor amount can be reduced on one hand, and the service lives of the data processing device and the external storage equipment can be prolonged on the other hand.
Secondly, one interface of the controller can be expanded into a plurality of interfaces through the first interface expansion module, so that the controller can be connected with more switch modules, the problem that the interfaces of the controller are not enough is solved, and the workload of PCB (printed circuit board) manufacturing personnel is saved.
In addition, one fourth interface can be expanded into a plurality of fourth interfaces through the second interface expansion module, so that the data processing device can support more external storage equipment, the problem that the number of the interfaces which can be connected with the external storage equipment is limited and the external storage equipment needs to be replaced continuously through manual work can be avoided, and the manual labor amount is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a block diagram illustrating a data processing apparatus according to an exemplary embodiment of the present disclosure;
FIG. 2 is a block diagram illustrating a data processing apparatus according to another exemplary embodiment of the present disclosure;
FIG. 3 shows a block diagram of a data processing apparatus according to another example embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a method of data processing according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating a method of data processing according to another exemplary embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a data processing method according to another exemplary embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
The embodiment of the present disclosure provides a data processing apparatus, and fig. 1 is a block diagram illustrating a data processing apparatus according to an exemplary embodiment of the present disclosure, and as shown in fig. 1, the apparatus 100 may include a controller 110, at least one first interface expansion module 120, a plurality of switch modules 130, and at least one second interface expansion module 140. The first interface expansion module 120 may include a first interface 121 and a plurality of second interfaces 122, the second interface expansion module 140 may include at least one third interface 141 and a plurality of fourth interfaces 142, the controller 110 is connected to each of the first interfaces 121 and the third interfaces 141 of each of the second interface expansion modules 140, each of the second interfaces 122 is connected to one of the fourth interfaces 142 through a switch module 130, and each of the fourth interfaces 142 is configured to connect to an external storage device.
The switch module 130 has a closed state and an open state, in the closed state, a circuit between the second interface 122 and the fourth interface 142 connected to the switch module 130 is turned on, the controller 110 may power on the fourth interface 142 connected to the switch module 130 through the first interface extension module 120, that is, the fourth interface 142 connected to the switch module 130 is powered on at this time, and the controller 110 may access the external storage device connected to the fourth interface 142 through the fourth interface 142, for example, read data stored in the external storage device; in the off state, the circuit between the second interface 122 connected to the switch module 130 and the fourth interface 142 is disconnected, and the fourth interface 142 connected to the switch module 130 is powered down.
The controller 110 may acquire connection state information of each fourth interface 142 and the external storage device (for example, including an identification number of the fourth interface 142 connected to the external storage device) through the second interface extension module 140, and control, according to the connection state information, that any switch module 130 connected to the fourth interface 142 connected to the external storage device is closed, at this time, the fourth interface 142 is powered on, and the controller 110 may access the external storage device connected to the fourth interface 142, for example, open or close the external storage device and read data stored in the external storage device.
In an embodiment of the present disclosure, the first interface expansion module 120 may be an I2C I/O interface expansion chip, and accordingly, the first interface may be an I2C interface, and the second interface may be an I/O interface. More specifically, the first expansion module 120 may be a PCA9555PW chip.
The second interface expansion module 140 may be a USB hub (USB hub) chip, and accordingly, the third interface and the fourth interface may be USB interfaces, and the external storage device connected to the fourth interface 142 may be a USB device. More specifically, the second interface expansion module 140 may be a USB2514HUB or USB2517HUB chip, and the fourth interface may be a USB type a female port. The USB2514HUB chip comprises 4 fourth interfaces, and the USB2517HUB chip comprises 7 fourth interfaces.
By adopting the data processing device, the switch module is connected with the controller and the fourth interfaces for connecting the external storage equipment, the controller controls the switch module to be switched on and switched off by acquiring the connection state information of the fourth interfaces and the external storage equipment so as to control the fourth interfaces to be powered on and powered off, the time-sharing access to the connected external storage equipment can be realized, and the power consumption of the data processing device can be further reduced. Meanwhile, the control mechanism can simulate the action of repeatedly plugging and unplugging the external storage equipment by manpower, so that the man-made labor amount can be reduced on one hand, and the service lives of the data processing device and the external storage equipment can be prolonged on the other hand.
Secondly, one interface of the controller can be expanded into a plurality of interfaces through the first interface expansion module, so that the controller can be connected with more switch modules, the problem that the interfaces of the controller are not enough is solved, and the workload of PCB (printed circuit board) manufacturing personnel is saved.
In addition, one fourth interface can be expanded into a plurality of fourth interfaces through the second interface expansion module, so that the data processing device can support more external storage equipment, the problem that the number of the interfaces which can be connected with the external storage equipment is limited and the external storage equipment needs to be replaced continuously through manual work can be avoided, and the manual labor amount is reduced.
In another embodiment of the present disclosure, as shown in fig. 2, any remaining third interface 141 of each second interface extension module 140 may be used to connect an external control device, where the external control device may be: computers, mobile terminals, tablet devices, consoles, personal digital assistants, and the like.
In this case, the external control device may obtain connection state information of each fourth interface 142 and the external storage device through each second interface extension module 140, determine the external storage device to be accessed according to the connection state information, and send a corresponding control instruction to the controller 110, where the control instruction includes an identification number of a fourth interface (a target fourth interface) to which the external storage device is connected. The controller 110 receives the control instruction and controls the switch module connected to the target fourth interface to be closed according to the control instruction, so that the target fourth interface is powered on, and further, the external storage device connected to the target fourth interface can be accessed, for example, required data is read from the external storage device.
In this embodiment, by connecting the data processing apparatus to an external control device on the local side, access to an external storage device connected to the data processing apparatus can be realized.
In one possible implementation, the controller 110 may include the first control unit 111, wherein the first control unit 111 may be connected to one third interface 141 of each second interface expansion module 140. Specifically, the first control unit 111 may be a single chip microcomputer of the MO core. More specifically, the first control unit 111 may be a Nano120LD3BN chip.
In this implementation manner, the first control unit 111 may obtain connection state information of each fourth interface 142 and the external storage device through each second interface extension module 140, and control, according to the connection state information, the switch module 130 connected to any fourth interface 142 connected to the external storage device to be closed, so as to access the external storage device connected to the fourth interface 142. In addition, the first control unit 111 may also receive a control instruction sent by the external control device, and control, according to the identification number of the target fourth interface included in the control instruction, the switch module connected to the target fourth interface to be closed, so as to access the external storage device connected to the target fourth interface.
In another possible implementation manner, the controller 110 may further include a second control unit 112, a serial communication module 113, and a network communication module 114, where the serial communication module 113 is connected to the first control unit 111 and the second control unit 112, respectively, and the second control unit 112 is connected to one third interface 141 of each second interface expansion module 140 and the network communication module 114, respectively. Specifically, the second control unit 111 may be an ARM9 series processor, and since there are many interfaces of the ARM9 series processor, it can meet the requirement of being connected to the plurality of first interfaces 121 and the plurality of third interfaces 141.
In this implementation manner, the second control unit 112 may obtain connection state information of each fourth interface 142 and the external storage device through each second interface extension module 140, send the connection state information to the client host through the network communication module 114, determine, by the client host, the external storage device to be accessed according to the connection state information, and send an access request including an identification number of the fourth interface (i.e., the fourth interface to be accessed) to which the external storage device is connected to the second control unit 112. The second control unit 112 receives the access request through the network communication module 114, and sends an identification number of a fourth interface to be accessed to the first control unit 111 through the serial communication module 113, and the first control unit 111 can control the switch module 130 connected to the fourth interface 142 to be closed according to the identification number, so as to access the external storage device connected to the fourth interface 142. Therefore, the client host can be accessed to the external storage device on the fourth interface in a network mode to perform normal work such as opening or closing the external storage device or reading data stored in the external storage device, and the like, just like the external storage device is directly inserted into the client host, so that the problem that the external storage device can only be connected to one client host and cannot be shared and used on a plurality of client hosts is solved.
It is worth mentioning that, in the embodiment of the present disclosure, the data processing apparatus and the client host may share the external storage device connected to the data processing apparatus in a transparent transmission manner, and specifically, the data processing apparatus connected to the external storage device establishes a communication connection with the client host through the internal network communication module and sends connection state information between each fourth interface and the external storage device to the client host. The client host maps out corresponding external storage equipment according to the received connection state information and loads a corresponding external storage equipment driver, and when the client host wants to access one of the external storage equipment, the client host sends an access request for the external storage equipment to the data processing device, wherein the access request comprises an identification number of a fourth interface connected with the external storage equipment. After receiving the access request, the data processing device analyzes the external storage device request block according to the identification number, thereby realizing the operation of the external storage device. The transparent transmission mode can lead the network sharing level to be deep from the file sharing mode to the device sharing mode, so that the user of the client host can share the external storage device connected on the remote data processing device like using the local external storage device.
In another embodiment of the present disclosure, the apparatus 100 may further include a third interface expansion module 150, wherein the third interface expansion module 150 may include at least one fifth interface 151 and a plurality of sixth interfaces 152, one fifth interface 151 may be connected to the controller 110, any remaining fifth interfaces 151 may be used to connect external control devices, and each sixth interface 152 may be connected to one third interface 141 of each second interface expansion module 140. Therefore, one interface of the controller 110 is expanded into a plurality of interfaces, on one hand, the problem that the interface of the controller 110, which can be connected with the second interface expansion module 140, is insufficient is solved, on the other hand, the controller 110 can be connected with more second interface expansion modules 140, and further, the number of the fourth interfaces 142 is increased, so that the controller 110 can support more external storage devices.
Specifically, one fifth interface 151 may be connected to the second control unit 112, the third interface extension module 150 may be a USB HUB (USB HUB) chip, and accordingly, both the fifth interface and the fourth interface may be USB interfaces. More specifically, the third interface extension module 150 may be a USB14HUB or USB2517HUB chip, and the fourth interface may be a USB type a female port. The USB2514HUB chip comprises 4 fourth interfaces, and the USB2517HUB chip comprises 7 fourth interfaces.
In another embodiment of the present disclosure, the apparatus 100 may further include a power supply module 160, wherein the power supply module 160 is connected to the controller 110 and the third interface expansion module 150, respectively, and is configured to supply power to the controller 110 and the third interface expansion module 150. Specifically, the power module 160 may be connected with the second control unit 112 of the controller 110, and the power module 160 may include a DC-DC linear buck power chip whose output current is high.
In another embodiment of the present disclosure, the apparatus 100 may further include a storage module 170, wherein the storage module 170 is connected to the controller 110, and can be used to store information such as an operating system, an application program, and the like. Specifically, the storage module 170 may be connected with the second control unit 112, which may be a NANDFLASH chip.
It should be noted that the data processing apparatus according to the above embodiments of the present disclosure may be applied to various application service scenarios, for example, when a large enterprise issues invoices, a large number of fiscal disks (i.e., external storage devices) with USB interfaces may be centrally managed, and then the enterprise may directly access each of the fiscal disks through a network to perform invoicing. For another example, for some occasions where USB devices (external storage devices) need to be shared in a local area network, for example, a conventional printer may be upgraded into a network printer through the data processing apparatus according to the embodiment of the present disclosure, and a plurality of USB keys (external storage devices) of a bank or an e-commerce may be shared to a client host in the local area network, so that the work efficiency may be improved.
The present disclosure also provides a data processing method, which can be applied to the data processing apparatus 300 shown in fig. 3, as shown in fig. 3, the apparatus 300 includes at least one first interface expansion module 310, at least one second interface expansion module 320, and a plurality of switch modules 330, where each first interface expansion module 310 includes one first interface 311 and a plurality of second interfaces 312, each second interface expansion module 320 includes at least one third interface 321 and a plurality of fourth interfaces 322, each second interface 312 is connected to one fourth interface 322 through one switch module 330, each fourth interface 322 is used for connecting one external storage device, and any third interface 321 of each second interface expansion module 320 can be used for connecting an external control device. The apparatus 300 may further include a network communication module 340.
Based on the apparatus 300, in one embodiment of the present disclosure, as shown in fig. 4, the method may include the following steps:
in step S41, connection state information between each fourth interface 322 and the external storage device is acquired.
The connection state information between each fourth interface 322 and the external storage device may be obtained by polling each fourth interface 322 through the second interface extension module 320. The connection state information may include, for example, an identification number of the fourth interface to which the external storage device has been connected.
In step S42, the switch module 330 connected to any fourth interface 322 connected to an external storage device is controlled to close according to the connection status information to access the external storage device.
According to the acquired connection state information, it may control any switch module 330 connected to the fourth interface 322 connected to the external storage device to be closed, at this time, the fourth interface 322 is powered on, and the external storage device connected to the fourth interface 322 may be accessed through the fourth interface 322, for example, the external storage device is turned on or off, data stored in the external storage device is read, and the like.
By adopting the method, the switch module is controlled to be switched on and switched off through the acquired connection state information of each fourth interface and the external storage device to control the power-on and power-off of each fourth interface, so that the time-interval access to the connected external storage device can be realized, and the power consumption of the data processing device can be further reduced. Meanwhile, the method can simulate the action of repeatedly plugging and unplugging the external storage equipment by manpower, so that the man-made labor amount can be reduced on one hand, and the service lives of the data processing device and the external storage equipment can be prolonged on the other hand.
As shown in fig. 5, in another embodiment of the present disclosure, the method includes:
in step S51, a control instruction transmitted by the external control apparatus is received.
The control instruction may be generated by the external control device according to the acquired connection state information between each fourth interface 322 and the external storage device, where the external storage device may acquire the connection state information through each second interface extension module 320, and the connection state information may include, but is not limited to, an identification number of the fourth interface to which the external storage device is connected, for example.
In step S52, the switch module connected to the target fourth interface is controlled to close according to the identification number of the target fourth interface included in the control instruction, so as to access the external storage device connected to the target fourth interface.
And controlling the switch module connected with the target fourth interface to be closed according to the identification number, and at this time, powering on the target fourth interface, so as to access the external storage device connected with the target fourth interface, for example, reading required data from the external storage device.
With this method, local access to an external storage device connected to the data processing apparatus 300 can be realized by an external control apparatus connected to the data processing apparatus 300.
As shown in fig. 6, in another embodiment of the present disclosure, the method includes:
in step S61, a communication connection is established with the client host through the network communication module 340.
In step S62, the connection state information between each fourth interface 322 and the external storage device is transmitted to the client host through the communication connection.
The connection state information may include, but is not limited to, an identification number of the fourth interface to which the external storage device is connected, for example.
In step S63, an access request returned by the client host according to the connection status information is received, where the access request includes an identification number of the fourth interface to be accessed.
In step S64, the switch module of the fourth interface connection is controlled to close according to the identification number, so as to access the external storage device of the fourth interface connection.
By adopting the method, the client host can be accessed to the external storage device on the fourth interface in a network mode to carry out normal work such as opening or closing the external storage device or reading data stored in the external storage device, and the like, just like the external storage device is directly inserted into the client host, thereby solving the problem that the external storage device can only be connected to one client host but can not be shared and used on a plurality of client hosts.
It is worth mentioning that, in the embodiment of the present disclosure, the data processing apparatus and the client host may share the external storage device connected to the data processing apparatus in a transparent transmission manner, and specifically, the data processing apparatus connected to the external storage device establishes a communication connection with the client host through the internal network communication module and sends connection state information between each fourth interface and the external storage device to the client host. The client host maps out corresponding external storage equipment according to the received connection state information and loads a corresponding external storage equipment driver, and when the client host wants to access one of the external storage equipment, the client host sends an access request for the external storage equipment to the data processing device, wherein the access request comprises an identification number of a fourth interface connected with the external storage equipment. After receiving the access request, the data processing device analyzes the external storage device request block according to the identification number, thereby realizing the operation of the external storage device. The transparent transmission mode can lead the network sharing level to be deep from the file sharing mode to the device sharing mode, so that the user of the client host can share the external storage device connected on the remote data processing device like using the local external storage device.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (6)

1. A data processing apparatus, comprising: the controller is respectively connected with each first interface and a third interface of each second interface expansion module, each second interface is connected with a fourth interface through one switch module, and each fourth interface is used for connecting an external storage device;
the switch module has a closed state and an open state, and a fourth interface connected with the switch module is powered on in the closed state; in the disconnected state, a fourth interface connected with the switch module is powered down;
the controller is used for acquiring the connection state information of each fourth interface and the external storage equipment, and controlling the switch module connected with any fourth interface connected with the external storage equipment to be closed according to the connection state information so as to access the external storage equipment;
the controller comprises a first control unit, one third interface of each second interface expansion module is connected with the first control unit, and any other third interface of each second interface expansion module is used for connecting external control equipment;
the first control unit is further configured to receive a control instruction sent by an external control device, and control, according to an identification number of a target fourth interface included in the control instruction, a switch module connected to the target fourth interface to be closed, so as to access an external storage device connected to the target fourth interface;
the controller also comprises a second control unit, a serial communication module and a network communication module, wherein the serial communication module is respectively connected with the first control unit and the second control unit, and the second control unit is respectively connected with a third interface of each second interface expansion module and the network communication module;
the second control unit is configured to acquire connection state information between each fourth interface and an external storage device, send the connection state information to a client host through the network communication module, receive an access request returned by the client host according to the connection state information, and send an identification number of the fourth interface to be accessed, which is included in the access request, to the first control unit through the serial port communication module;
the first control unit is further configured to control the switch module connected to the fourth interface to be closed according to the identification number, so as to access the external storage device connected to the fourth interface.
2. The apparatus of claim 1, further comprising a third interface expansion module, said third interface expansion module comprising at least a fifth interface and a plurality of sixth interfaces, one of said fifth interfaces being connected to said controller, and each of said sixth interfaces being connected to a third interface of each of said second interface expansion modules.
3. The apparatus according to claim 2, wherein any remaining fifth interface is used for connecting an external control device.
4. The apparatus of claim 2, further comprising a power module, the power module being connected to the controller and the third interface expansion module, respectively.
5. The apparatus of claim 4, wherein the power module comprises a DC-DC linear buck power chip.
6. A data processing method is applied to a data processing device, the data processing device comprises a controller, at least one first interface expansion module, at least one second interface expansion module and a plurality of switch modules, each first interface expansion module comprises a first interface and a plurality of second interfaces, each second interface expansion module comprises at least one third interface and a plurality of fourth interfaces, the controller is respectively connected with each first interface and one third interface of each second interface expansion module, each second interface is connected with one fourth interface through one switch module, and each fourth interface is used for connecting an external storage device; the switch module has a closed state and an open state, and a fourth interface connected with the switch module is powered on in the closed state; in the disconnected state, a fourth interface connected with the switch module is powered down;
the method comprises the following steps:
the controller acquires connection state information between each fourth interface and external storage equipment;
the controller controls the switch module connected with any fourth interface connected with the external storage equipment to be closed according to the connection state information so as to access the external storage equipment;
or, the controller includes a first control unit, one third interface of each second interface expansion module is connected to the first control unit, and any other third interface of each second interface expansion module is used to connect to an external control device, and the method further includes:
the first control unit receives a control instruction sent by external control equipment, and controls a switch module connected with a target fourth interface to be closed according to an identification number of the target fourth interface included in the control instruction so as to access the external storage equipment connected with the target fourth interface;
or, the controller includes a second control unit, a serial communication module and a network communication module, the serial communication module is respectively connected to the first control unit and the second control unit, the second control unit is respectively connected to a third interface of each second interface extension module and the network communication module, and the method further includes:
the second control unit acquires connection state information of each fourth interface and external storage equipment;
the second control unit establishes communication connection with the client host through the network communication module;
the second control unit sends the connection state information to a client host through the communication connection and receives an access request returned by the client host according to the connection state information;
the second control unit sends the identification number of the fourth interface to be accessed, which is included in the access request, to the first control unit through the serial port communication module;
and the first control unit controls the switch module connected with the fourth interface to be closed according to the identification number of the fourth interface to be accessed, which is included in the access request, so as to access the external storage equipment connected with the fourth interface.
CN201811512163.2A 2018-12-11 2018-12-11 Data processing method and device Active CN109753472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811512163.2A CN109753472B (en) 2018-12-11 2018-12-11 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811512163.2A CN109753472B (en) 2018-12-11 2018-12-11 Data processing method and device

Publications (2)

Publication Number Publication Date
CN109753472A CN109753472A (en) 2019-05-14
CN109753472B true CN109753472B (en) 2021-03-26

Family

ID=66403517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811512163.2A Active CN109753472B (en) 2018-12-11 2018-12-11 Data processing method and device

Country Status (1)

Country Link
CN (1) CN109753472B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179190B (en) * 2021-06-29 2022-01-07 深圳智造谷工业互联网创新中心有限公司 Edge controller, edge computing system and configuration method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391071A (en) * 2017-07-31 2017-11-24 苏州佳世达电通有限公司 Display device and the interface switching method for display device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013147860A1 (en) * 2012-03-30 2013-10-03 Intel Corporation Usb hub with automatic communication mode switching
CN105373507A (en) * 2015-09-25 2016-03-02 河南英飞网络技术股份有限公司 USB port function extension apparatus and method
CN106446654B (en) * 2016-10-21 2019-03-29 国网黑龙江省电力有限公司信息通信公司 Input output device of computer partition method based on fingerprint recognition

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391071A (en) * 2017-07-31 2017-11-24 苏州佳世达电通有限公司 Display device and the interface switching method for display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FPGA器件USB接口扩展方法;冒劼;《桂林电子科技大学学报》;20080225;第28卷(第1期);14-17 *

Also Published As

Publication number Publication date
CN109753472A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
RU2606876C2 (en) Cascaded power-over-internet system
US8217639B2 (en) System for supplying and receiving power, power supply device and method thereof
US20090172208A1 (en) Wibro USB modem device having storage device
KR20120096864A (en) Wireless charging of mobile device
EP1989787A2 (en) Hotspot power regulation
KR20120099582A (en) An electronic device with the function of supporting multiple cards
US20140136829A1 (en) Method, Network Card, and Hard Disk Card for Accessing Shut-Down Hard Disk
CN105095142A (en) System and method for controlling expander card
CN115167647B (en) Power supply method, system, equipment and medium for server
CN102480387A (en) Rack-mounted server device
CN109753472B (en) Data processing method and device
CN111756858A (en) Remote development processing system, method and device of embedded equipment
US20120144084A1 (en) Data management device and method thereof
CN108429623B (en) Data access method and first electronic equipment
US7050840B2 (en) Wireless transmission apparatus
US8086876B2 (en) Static and dynamic power management for a memory subsystem
CN205281471U (en) Printing terminal and system
US20050060464A1 (en) Memory card with a modular component
CN113625854B (en) Mainboard power-on control system, method and device and readable storage medium
CN103164178B (en) Display packing and electronic equipment
KR100494429B1 (en) Relay apparatus for pc remote driving and remote controlling method thereof
CN105224059A (en) The method of remote access data and local side device
CN107590087B (en) Electronic equipment and hard disk access method of electronic equipment
CN109120143B (en) Method, main controller and system for controlling power on and power off
CN214896428U (en) Intelligent mobile terminal group control equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant