[go: up one dir, main page]

CN116340225B - Connection control method, device, equipment and storage medium for external device - Google Patents

Connection control method, device, equipment and storage medium for external device

Info

Publication number
CN116340225B
CN116340225B CN202310335678.4A CN202310335678A CN116340225B CN 116340225 B CN116340225 B CN 116340225B CN 202310335678 A CN202310335678 A CN 202310335678A CN 116340225 B CN116340225 B CN 116340225B
Authority
CN
China
Prior art keywords
usb
interface
descriptor
external device
power supply
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
CN202310335678.4A
Other languages
Chinese (zh)
Other versions
CN116340225A (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.)
Beidou Zhilian Technology Co ltd
BDstar Intelligent and Connected Vehicle Technology Co Ltd
Original Assignee
Beidou Zhilian Technology Co ltd
BDstar Intelligent and Connected Vehicle Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beidou Zhilian Technology Co ltd, BDstar Intelligent and Connected Vehicle Technology Co Ltd filed Critical Beidou Zhilian Technology Co ltd
Priority to CN202310335678.4A priority Critical patent/CN116340225B/en
Publication of CN116340225A publication Critical patent/CN116340225A/en
Application granted granted Critical
Publication of CN116340225B publication Critical patent/CN116340225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • G06F13/4077Precharging or discharging
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)
  • Information Transfer Systems (AREA)

Abstract

本发明实施例提供了一种用于外部设备的连接控制方法、装置、设备及存储介质,方法包括:若USB集线器检测到外部设备的USB插接头插接至任一USB接口并建立USB连接,获取插入信号并延迟预设时长后发送至USB控制器;USB控制器根据插入信号发出对应的复位指令,并经USB集线器传输至目标USB接口,以使外部设备响应复位指令后执行复位操作;USB控制器为外部设备分配一个唯一的设备地址并经USB集线器发送至外部设备,以使外部设备转入编址状态;USB控制器通过目标USB接口从外部设备中读取配置信息,并确定与配置信息对应的供电配置参数发送至USB集线器;USB集线器根据供电配置参数对外部设备进行供电。本发明实施例在保证通信质量的同时提高了多外部设备连接的成功率。

An embodiment of the present invention provides a connection control method, apparatus, device, and storage medium for an external device. The method includes: if a USB hub detects that a USB plug connector of an external device is plugged into any USB interface and a USB connection is established, obtaining an insertion signal and sending it to a USB controller after a preset delay; the USB controller issues a corresponding reset instruction based on the insertion signal and transmits it to a target USB interface via the USB hub, so that the external device responds to the reset instruction and performs a reset operation; the USB controller assigns a unique device address to the external device and sends it to the external device via the USB hub, so that the external device enters an addressed state; the USB controller reads configuration information from the external device via the target USB interface, determines power supply configuration parameters corresponding to the configuration information, and sends them to the USB hub; the USB hub supplies power to the external device based on the power supply configuration parameters. This embodiment of the present invention improves the success rate of connecting multiple external devices while ensuring communication quality.

Description

Connection control method, device, equipment and storage medium for external equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a connection control method, apparatus, device, and storage medium for an external device.
Background
USB (universal serial bus) is an emerging and evolving data communication means that replaces other interface standards. The USB bus is used as a high-speed serial bus, has extremely high transmission speed, can meet the application environment requirement of high-speed data transmission, and is applied to a plurality of devices to realize the transmission of data information.
A USB hub is a device that can extend one USB interface to a plurality of USB interfaces and can make these interfaces simultaneously usable. However, in the actual use process, the more the connected external devices are, the less the electric quantity provided by the hub for the external devices is, and when the connected external devices reach a certain quantity, abnormal connection communication can be caused, so that smooth connection communication cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a connection control method, a device, equipment and a storage medium for external equipment, which aim to solve the problems that when the number of connected external equipment reaches a certain number, abnormal connection communication is caused and smooth connection communication cannot be realized in the existing USB connection equipment.
In a first aspect, an embodiment of the present invention provides a connection control method for an external device, where the method is applied to a USB connection device, where the USB connection device includes a USB controller, a USB hub, and a plurality of USB interfaces, where the plurality of USB interfaces are respectively connected to the USB hub, and the USB controller is in communication connection with the USB hub to implement transmission of data information, and the method includes:
If the USB hub detects that the USB plug of the external equipment is plugged into any USB interface and establishes USB connection, an inserting signal is obtained, and the inserting signal is sent to the USB controller after delay for a preset time length;
The USB controller sends out a corresponding reset instruction according to the insertion signal and transmits the reset instruction to a target USB interface through the USB hub so that the external equipment responds to the reset instruction and then executes reset operation, wherein the target USB interface is a USB interface plugged with the external equipment;
the USB controller allocates a unique device address for the external device and sends the unique device address to the external device through the USB hub so as to enable the external device to be in an addressing state;
The USB controller reads configuration information from the external equipment through the target USB interface, determines power supply configuration parameters corresponding to the configuration information and sends the power supply configuration parameters to the USB hub;
And the USB hub supplies power to the external equipment according to the received power supply configuration parameters.
In a second aspect, an embodiment of the present invention further provides a connection control device for an external device, where the device is configured in a USB connection device, where the USB connection device includes a USB controller, a USB hub, and a plurality of USB interfaces, where the plurality of USB interfaces are respectively connected to the USB hub, and the USB controller is in communication connection with the USB hub to implement transmission of data information, where the device includes:
The first processing unit is used for acquiring an insertion signal and delaying a preset time length and then sending the insertion signal to the USB controller if the USB hub detects that a USB plug of external equipment is plugged into any USB interface and establishes USB connection;
The second processing unit is used for sending a corresponding reset instruction by the USB controller according to the insertion signal, and transmitting the reset instruction to a target USB interface through the USB hub so that the external equipment can execute reset operation after responding to the reset instruction, wherein the target USB interface is a USB interface plugged with the external equipment;
The third processing unit is used for distributing a unique device address for the external device by the USB controller and sending the unique device address to the external device through the USB hub so as to enable the external device to be in an addressing state;
The fourth processing unit is used for reading configuration information from the external equipment through the target USB interface by the USB controller, determining power supply configuration parameters corresponding to the configuration information and sending the power supply configuration parameters to the USB hub;
and the fifth processing unit is used for supplying power to the external equipment by the USB hub according to the received power supply configuration parameters.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the method of the first aspect.
The embodiment of the invention provides a connection control method, a device, equipment and a storage medium for external equipment, which are used for USB connection equipment, wherein the USB connection equipment comprises a USB controller, a USB hub and a plurality of USB interfaces, the USB interfaces are respectively connected with the USB hub, and the USB controller is in communication connection with the USB hub to realize data information transmission. The method comprises the steps that if the USB hub detects that a USB plug of an external device is plugged into any USB interface and establishes USB connection, an inserting signal is obtained, the inserting signal is delayed for a preset time period and then sent to the USB controller, the USB controller sends a corresponding reset instruction according to the inserting signal and transmits the corresponding reset instruction to a target USB interface through the USB hub, so that the external device responds to the reset instruction and then reset operation is carried out, the target USB interface is the USB interface plugged with the external device, the USB controller allocates a unique device address for the external device and sends the unique device address to the external device through the USB hub, so that the external device is in an addressing state, the USB controller reads configuration information from the external device through the target USB interface and determines power supply configuration parameters corresponding to the configuration information to send to the USB hub, and the USB controller supplies power to the external device according to the received power supply configuration parameters. In the embodiment of the invention, the equipment information is read in the process of connecting with the external equipment, and the external equipment is configured according to the read equipment information, so that the success rate of connecting multiple external equipment is improved while the communication quality is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a connection control method for an external device according to an embodiment of the present invention;
fig. 2 is a schematic sub-flowchart of a connection control method for an external device according to an embodiment of the present invention;
Fig. 3 is another schematic sub-flowchart of a connection control method for an external device according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a connection control apparatus for an external device according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a flowchart illustrating a connection control method for an external device according to an embodiment of the invention. The connection control method for the external equipment is applied to USB connection equipment, wherein the USB connection equipment comprises a USB controller, a USB hub and a plurality of USB interfaces, the USB interfaces are respectively connected with the USB hub, and the USB controller is in communication connection with the USB hub to realize data information transmission.
Fig. 1 is a flow chart of a connection control method for an external device according to an embodiment of the present invention. As shown in fig. 1, the method includes the following steps S110 to S150.
S110, if the US B hub detects that the USB plug of the external device is plugged into any USB interface and establishes USB connection, an inserting signal is obtained, and the inserting signal is sent to the USB controller after delay for a preset time length.
In this embodiment, the external device may be plugged into any one of the USB interfaces by using a USB cable, and a connection relationship is established between the USB interfaces and the USB connection device, where the USB interfaces are respectively connected to the USB hub, and the USB hub may supply power to the external device through the USB interfaces. If the USB hub obtains the insertion signal, the delay is required to be 0.1 seconds, so that after the insertion operation is completed and the USB hub is in a normal working state, the insertion signal is sent to the USB controller, and the delay time length can be set according to the use requirement and is required to be greater than 0.1 seconds.
In one embodiment, after step S110, the method further includes:
and if the USB hub detects that the USB plug of the external equipment is disconnected with the USB connection equipment, acquiring a disconnection signal and sending the disconnection signal to the USB controller, and the USB controller receives the disconnection signal and updates topology information according to the disconnection signal.
In this embodiment, the plurality of USB interfaces are connected to the USB hub, and if the USB plug of the external device is disconnected from the USB connection device, the USB hub obtains a disconnection signal, at this time, the USB hub stops supplying power to the USB interface disconnected from the external device, and sends the disconnection signal to the USB controller, and the USB controller may update topology information according to the received disconnection signal, so that loss of electric energy may be effectively avoided.
S120, the USB controller sends out a corresponding reset instruction according to the insertion signal and transmits the reset instruction to a target USB interface through the USB hub so that the external device can execute reset operation after responding to the reset instruction, wherein the target USB interface is a USB interface plugged with the external device.
In this embodiment, the USB controller sends a corresponding reset instruction according to the insertion signal, and sends the reset instruction to the USB hub, where the USB hub receives the reset instruction and transmits the reset instruction to a target USB interface, and the reset signal transmitted to the target USB interface lasts for 0.01 seconds, so that the external device can successfully respond to the reset instruction and then successfully execute the reset operation, and the target USB interface is a USB interface plugged with the external device. If the external device successfully executes the reset operation, the external device is shifted to a default state, and the external device can respond to the default address. Before the external device responds to the reset instruction and executes the reset operation, the USB hub can supply power to the external device through the USB interface, but the supplied power is smaller than 100mA, and at the moment, the external device is in a power-on state.
In one embodiment, after step S120, the method further includes:
The USB controller monitors a reset result after the external device executes the reset operation through the target USB interface, and judges whether the external device needs to execute the reset operation again according to the reset result.
In this embodiment, the USB controller monitors, through the target USB interface, a reset result after the external device performs the reset operation, and if the USB controller detects that the external device does not successfully perform the reset operation, the USB controller reissues a corresponding reset instruction and transmits the reset instruction to the target USB interface through the USB hub, where the USB hub continues the reset signal transmitted to the target USB interface for 0.01 seconds, so that the external device can smoothly respond to the reset instruction and then perform the reset operation.
S130, the USB controller allocates a unique device address for the external device and sends the unique device address to the external device through the USB hub so as to enable the external device to be in an addressing state.
In this embodiment, the USB controller sends a reset instruction, and transmits the reset instruction to the target USB interface through the USB hub, so that the external device performs a reset operation after responding to the reset instruction, and if the external device successfully performs the reset operation, the default state is shifted, and at this time, the USB controller may assign a unique device address to the external device, so that the external device shifts to the addressing state.
And S140, the USB controller reads configuration information from the external equipment through the target USB interface, determines power supply configuration parameters corresponding to the configuration information and sends the power supply configuration parameters to the USB hub.
In this embodiment, the external device is turned into an addressing state, the USB controller may read configuration information from the external device through the target USB interface, and when the number of configurations is n, the configuration information is read from configuration 0 to configuration n-1, and the power supply configuration parameters required by the external device are determined by analyzing the read configuration information, and the power supply configuration parameters are sent to the USB hub.
In one embodiment, the configuration information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor, as shown in fig. 2, step S140 includes:
s1401, the USB controller reads a device descriptor from the external device, wherein the device descriptor defines various configurations;
S1402, the USB controller reads a configuration descriptor from the device descriptor, wherein the configuration descriptor defines a plurality of interfaces;
S1403, the USB controller reads an interface descriptor from the configuration descriptor, wherein the interface descriptor defines a plurality of endpoints in an interface;
S1404, the USB controller reads an endpoint descriptor from the interface descriptor.
In this embodiment, the configuration information includes a device descriptor, a configuration descriptor, an interface descriptor and an endpoint descriptor, where the device descriptor describes overall information of the external device, corresponds to the external device itself one by one, and one external device can only have one device descriptor, one external device can have multiple configurations, different configurations correspond to different working states, each configuration must have one configuration descriptor, the interface descriptor is used to describe an interface, and includes characteristics of the interface, such as endpoint number, etc., the endpoint descriptor is used to describe endpoint number, direction, endpoint transmission type, etc., reading of the device descriptor in the device information is layer by layer, the configuration descriptor can be known through the device descriptor, the interface descriptor can be known through the configuration descriptor, and the endpoint descriptor can be known through the interface descriptor.
In one embodiment, as shown in fig. 3, step S140 further includes:
S1411, determining that the target USB interface corresponds to an actual net data load according to the device descriptor;
s1412, determining power supply matching information corresponding to the target USB interface according to the parameters in the configuration descriptor;
s1413, determining endpoint transmission information corresponding to the target USB interface according to the interface descriptor;
s1414, obtaining matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
In this embodiment, the configuration information includes a device descriptor, a configuration descriptor, an interface descriptor and an endpoint descriptor, where the device descriptor describes overall information of the external device, corresponds to the external device itself one by one, and one external device can only have one device descriptor, one external device can have multiple configurations, different configurations correspond to different working states, each configuration must have one configuration descriptor, the interface descriptor is used to describe an interface, and includes characteristics of the interface, such as endpoint number, etc., the endpoint descriptor is used to describe endpoint number, direction, endpoint transmission type, etc., reading of the descriptor is layer by layer, the configuration descriptor can be known through the device descriptor, the interface descriptor can be known through the configuration descriptor, and the endpoint descriptor can be known through the interface descriptor.
The USB controller reads a device descriptor from the external device, determines that the target USB interface corresponds to an actual net data load according to the device descriptor, reads a configuration descriptor from the device descriptor, and determines power supply matching information corresponding to the target USB interface according to parameters in the configuration descriptor, wherein the power supply matching information comprises a power supply mode and a current demand of the external device, the USB controller reads an interface descriptor from the configuration descriptor, and determines endpoint transmission information corresponding to the target USB interface according to the interface descriptor, namely reads the endpoint descriptor from the interface descriptor.
In an embodiment, the power supply configuration parameter further includes an interface type, and after step S1411, further includes:
And the USB controller determines the corresponding interface type of the target USB interface according to the actual net data load.
In this embodiment, the external device may be connected to the USB controller through the USB interface to implement data information transmission, where the USB interface types include USB 1.0, USB 2.0, and USB 3.0, the USB 1.0 data information transmission rate is 12mbps, the USB 2.0 data information transmission rate is 480mbps, and the USB 3.0 data information transmission rate is 5.0Gbps, and the USB controller reads the device descriptor from the external device, and determines that the target USB interface corresponds to an actual payload according to the device descriptor, and because the USB 1.0, USB 2.0, and USB 3.0 data information transmission rates are different, the USB controller may determine that the target USB interface corresponds to the interface type according to the actual payload.
In one embodiment, after step S1413, further comprising:
and acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information, the interface type and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
In this embodiment, the interface types are different, the current requirements corresponding to the interface types are different, and according to the actual net data load, the power supply matching information, the interface types, and the endpoint transmission information, matched power supply configuration parameters can be obtained from a preset power supply policy table, for example, the power supply mode of the external device is self-powered, the interface type is USB2.0, the endpoint transmission type is isochronous, and the power supply configuration parameters obtained by matching from the power supply policy table are 4v and 350ma.
And S150, the USB hub supplies power to the external equipment according to the received power supply configuration parameters.
In this embodiment, the USB controller obtains the power supply configuration parameters by reading the configuration information, and sends the power supply parameters to the USB hub, where the USB hub may supply power to the external device according to the received power supply configuration parameters, and the USB controller may monitor the external device through the USB interface, and if a problem in communication of the external device is detected, the USB controller may stop supplying power to the external device by sending an instruction to the USB hub, thereby achieving an avoidance effect, effectively avoiding loss of electric energy, and improving a success rate of connection between multiple external devices while ensuring communication quality.
In summary, in the connection process with the external device, the embodiment of the invention can ensure the communication quality and improve the success rate of the connection of multiple external devices by reading the device information and configuring the external device according to the read device information.
Fig. 4 is a schematic block diagram of a connection control apparatus for an external device according to an embodiment of the present invention. As shown in fig. 4, the present invention also provides a connection control apparatus for an external device, corresponding to the above connection control method for an external device. The connection control device for the external equipment comprises a unit for executing the connection control method for the external equipment, and the device can be configured in USB connection equipment, wherein the USB connection equipment comprises a USB controller, a USB hub and a plurality of USB interfaces, the USB interfaces are respectively connected with the USB hub, and the USB controller is in communication connection with the USB hub to realize data information transmission. Specifically, referring to fig. 4, the connection control apparatus 700 for an external device includes a first processing unit 701, a second processing unit 702, a third processing unit 703, a fourth processing unit 704, and a fifth processing unit 705.
The first processing unit 701 is configured to, if the USB hub detects that a USB plug of an external device is plugged into any one of the USB interfaces and establishes a USB connection, obtain an insertion signal, delay a preset duration, and send the insertion signal to the USB controller;
The second processing unit 702 is configured to send a corresponding reset instruction according to the insertion signal by using the USB controller, and transmit the reset instruction to a target USB interface through the USB hub, so that the external device executes a reset operation after responding to the reset instruction, where the target USB interface is a USB interface plugged with the external device;
A third processing unit 703, configured to allocate a unique device address to the external device by using the USB controller and send the unique device address to the external device through the USB hub, so that the external device is turned into an addressed state;
A fourth processing unit 704, configured to read, by the USB controller, configuration information from the external device through the target USB interface, and determine a power supply configuration parameter corresponding to the configuration information, and send the power supply configuration parameter to the USB hub;
And a fifth processing unit 705, configured to power the external device according to the received power supply configuration parameter by using the USB hub.
In some embodiments, after executing the step of obtaining the insertion signal and delaying the preset time period and then sending the insertion signal to the USB controller if the USB hub detects that the USB plug of the external device is plugged into any one of the USB interfaces and establishes the USB connection, the first determining unit 701 is further configured to:
and if the USB hub detects that the USB plug of the external equipment is disconnected with the USB connection equipment, acquiring a disconnection signal and sending the disconnection signal to the USB controller, and the USB controller receives the disconnection signal and updates topology information according to the disconnection signal.
In some embodiments, after executing the step that the USB controller sends a corresponding reset instruction according to the insert signal and transmits the reset instruction to the target USB interface through the USB hub, the second processing unit 702 is further configured to:
The USB controller monitors a reset result after the external device executes the reset operation through the target USB interface, and judges whether the external device needs to execute the reset operation again according to the reset result.
In some embodiments, the configuration information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor, and the fourth processing unit 704 is specifically configured to, when executing the step of reading, by the USB controller, the configuration information from the external device through the target USB interface:
The USB controller reads device descriptors from the external device, wherein the device descriptors define various configurations, the USB controller reads configuration descriptors from the device descriptors, wherein the configuration descriptors define various interfaces, the USB controller reads interface descriptors from the configuration descriptors, wherein the interface descriptors define a plurality of endpoints in the interface, and the USB controller reads endpoint descriptors from the interface descriptors.
In some embodiments, the fourth processing unit 704 is specifically configured to, when performing the step of determining the power supply configuration parameter corresponding to the configuration information:
The method comprises the steps of determining an actual net data load corresponding to a target USB interface according to a device descriptor, determining power supply matching information corresponding to the target USB interface according to parameters in a configuration descriptor, determining endpoint transmission information corresponding to the target USB interface according to the interface descriptor, obtaining matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information and the endpoint transmission information, and sending the matched power supply configuration parameters to a USB hub.
In some embodiments, the power supply configuration parameters further include an interface type, and the fourth processing unit 704 is further configured to, after performing the step of determining that the target USB interface corresponds to an actual net data load according to the configuration descriptor:
And the USB controller determines the corresponding interface type of the target USB interface according to the actual net data load.
In some embodiments, after performing the step of determining, according to the interface descriptor, an endpoint transmission information corresponding to the target USB interface, the fourth processing unit 704 is further configured to:
and acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information, the interface type and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the connection control device and each unit for the external device may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the detailed description is omitted herein.
The connection control apparatus for an external device described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present invention. The electronic device 800 may be a USB connection device, where the USB connection device includes a USB controller, a USB hub, and a plurality of USB interfaces, where the USB interfaces are respectively connected to the USB hub, and the USB controller is in communication connection with the USB hub to implement transmission of data information.
With reference to fig. 5, the electronic device 800 includes a processor 802, a memory, and a network interface 805, which are connected by a system bus 801, wherein the memory may include a non-volatile storage medium 803 and an internal memory 804.
The nonvolatile storage medium 803 may store an operating system 8031 and a computer program 8032. The computer program 8032 comprises program instructions which, when executed, cause the processor 802 to perform a connection control method for an external device.
The processor 802 is operable to provide computing and control capabilities to support the operation of the overall electronic device 800.
The internal memory 804 provides an environment for the execution of the computer program 8032 in the non-volatile storage medium 803, which computer program 8032, when executed by the processor 802, causes the processor 802 to perform a connection control method for an external device.
The network interface 805 is used for network communication with other devices. It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the electronic device 800 to which the present inventive arrangements are applied, and that a particular electronic device 800 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 802 is configured to execute a computer program 8032 stored in the memory, so as to implement the following steps:
If the USB hub detects that the USB plug of the external equipment is plugged into any USB interface and establishes USB connection, an inserting signal is obtained, and the inserting signal is sent to the USB controller after delay for a preset time length; the USB controller sends a corresponding reset instruction according to the insertion signal and transmits the reset instruction to a target USB interface through the USB hub so that the external device responds to the reset instruction and then executes reset operation, wherein the target USB interface is a USB interface plugged with the external device, the USB controller distributes a unique device address for the external device and transmits the unique device address to the external device through the USB hub so that the external device is in an addressing state, the USB controller reads configuration information from the external device through the target USB interface and determines power supply configuration parameters corresponding to the configuration information to transmit the configuration information to the USB hub, and the USB hub supplies power to the external device according to the received power supply configuration parameters.
In some embodiments, after implementing the step of obtaining the insertion signal and delaying the preset time period and then sending the signal to the USB controller if the USB hub detects that the USB plug of the external device is plugged into any one of the USB interfaces and establishes the USB connection, the processor 802 further implements the following steps:
and if the USB hub detects that the USB plug of the external equipment is disconnected with the USB connection equipment, acquiring a disconnection signal and sending the disconnection signal to the USB controller, and the USB controller receives the disconnection signal and updates topology information according to the disconnection signal.
In some embodiments, after implementing the step of transmitting the corresponding reset instruction by the USB controller according to the insert signal and transmitting the reset instruction to the target USB interface through the USB hub, the processor 802 further implements the following steps:
The USB controller monitors a reset result after the external device executes the reset operation through the target USB interface, and judges whether the external device needs to execute the reset operation again according to the reset result.
In some embodiments, the configuration information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor, and when implementing the step of reading, by the USB controller, the configuration information from the external device through the target USB interface, the processor 802 specifically implements the following steps:
The USB controller reads device descriptors from the external device, wherein the device descriptors define various configurations, the USB controller reads configuration descriptors from the device descriptors, wherein the configuration descriptors define various interfaces, the USB controller reads interface descriptors from the configuration descriptors, wherein the interface descriptors define a plurality of endpoints in the interface, and the USB controller reads endpoint descriptors from the interface descriptors.
In some embodiments, when implementing the step of determining the power supply configuration parameters corresponding to the configuration information, the processor 802 specifically implements the following steps:
The method comprises the steps of determining an actual net data load corresponding to a target USB interface according to a device descriptor, determining power supply matching information corresponding to the target USB interface according to parameters in a configuration descriptor, determining endpoint transmission information corresponding to the target USB interface according to the interface descriptor, obtaining matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information and the endpoint transmission information, and sending the matched power supply configuration parameters to a USB hub.
In some embodiments, the power configuration parameters further include an interface type, and the processor 802 further implements the following steps after implementing the step of determining that the target USB interface corresponds to an actual net data load according to the configuration descriptor:
And the USB controller determines the corresponding interface type of the target USB interface according to the actual net data load.
In some embodiments, after implementing the step of determining, according to the interface descriptor, that the endpoint corresponding to the target USB interface transmits information, the processor 802 further implements the following steps:
and acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information, the interface type and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
It should be appreciated that in embodiments of the present invention, the Processor 802 may be a central processing unit (Central Processing Unit, CPU), the Processor 802 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by the processor, cause the processor to perform the steps of:
If the USB hub detects that the USB plug of the external equipment is plugged into any USB interface and establishes USB connection, an inserting signal is obtained, and the inserting signal is sent to the USB controller after delay for a preset time length; the USB controller sends a corresponding reset instruction according to the insertion signal and transmits the reset instruction to a target USB interface through the USB hub so that the external device responds to the reset instruction and then executes reset operation, wherein the target USB interface is a USB interface plugged with the external device, the USB controller distributes a unique device address for the external device and transmits the unique device address to the external device through the USB hub so that the external device is in an addressing state, the USB controller reads configuration information from the external device through the target USB interface and determines power supply configuration parameters corresponding to the configuration information to transmit the configuration information to the USB hub, and the USB hub supplies power to the external device according to the received power supply configuration parameters.
In an embodiment, after executing the program instruction to implement the step of obtaining an insertion signal and delaying a preset time period and then sending the insertion signal to the USB controller if the USB hub detects that the USB plug of the external device is plugged into any one of the USB interfaces and establishes a USB connection, the processor further implements the following steps:
and if the USB hub detects that the USB plug of the external equipment is disconnected with the USB connection equipment, acquiring a disconnection signal and sending the disconnection signal to the USB controller, and the USB controller receives the disconnection signal and updates topology information according to the disconnection signal.
In one embodiment, after executing the program instructions to implement the step of sending, by the USB controller, a corresponding reset instruction according to the insert signal and transmitting the reset instruction to the target USB interface through the USB hub, the processor further implements the following steps:
The USB controller monitors a reset result after the external device executes the reset operation through the target USB interface, and judges whether the external device needs to execute the reset operation again according to the reset result.
In an embodiment, the configuration information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor, and when the processor executes the program instructions to implement the step of reading, by the USB controller, the configuration information from the external device through the target USB interface, the following steps are specifically implemented:
The USB controller reads device descriptors from the external device, wherein the device descriptors define various configurations, the USB controller reads configuration descriptors from the device descriptors, wherein the configuration descriptors define various interfaces, the USB controller reads interface descriptors from the configuration descriptors, wherein the interface descriptors define a plurality of endpoints in the interface, and the USB controller reads endpoint descriptors from the interface descriptors.
In one embodiment, the processor, when executing the step of determining the power supply configuration parameter corresponding to the configuration information, specifically implements the following steps:
The method comprises the steps of determining an actual net data load corresponding to a target USB interface according to a device descriptor, determining power supply matching information corresponding to the target USB interface according to parameters in a configuration descriptor, determining endpoint transmission information corresponding to the target USB interface according to the interface descriptor, obtaining matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information and the endpoint transmission information, and sending the matched power supply configuration parameters to a USB hub.
In an embodiment, the power supply configuration parameters further include an interface type, and the processor further implements the following steps after executing the program instructions to implement the step of determining that the target USB interface corresponds to an actual net data load according to the configuration descriptor:
And the USB controller determines the corresponding interface type of the target USB interface according to the actual net data load.
In an embodiment, after executing the step of determining, according to the interface descriptor, the endpoint transmission information corresponding to the target USB interface, the processor further implements the following steps:
and acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information, the interface type and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. The connection control method for the external equipment is applied to USB connection equipment, the USB connection equipment comprises a USB controller, a USB hub and a plurality of USB interfaces, the USB interfaces are respectively connected with the USB hub, and the USB controller is in communication connection with the USB hub to realize data information transmission, and the method is characterized by comprising the following steps of:
If the USB hub detects that the USB plug of the external equipment is plugged into any USB interface and establishes USB connection, an inserting signal is obtained, and the inserting signal is sent to the USB controller after delay for a preset time length;
The USB controller sends out a corresponding reset instruction according to the insertion signal and transmits the reset instruction to a target USB interface through the USB hub so that the external equipment responds to the reset instruction and then executes reset operation, wherein the target USB interface is a USB interface plugged with the external equipment;
the USB controller allocates a unique device address for the external device and sends the unique device address to the external device through the USB hub so as to enable the external device to be in an addressing state;
The USB controller reads configuration information from the external equipment through the target USB interface, determines power supply configuration parameters corresponding to the configuration information and sends the power supply configuration parameters to the USB hub;
the USB hub supplies power to the external equipment according to the received power supply configuration parameters;
the configuration information comprises a device descriptor, a configuration descriptor, an interface descriptor and an endpoint descriptor, and the USB controller reads the configuration information from the external device through the target USB interface, and the configuration information comprises:
the USB controller reads a device descriptor from the external device, wherein the device descriptor defines a plurality of configurations;
The USB controller reads a configuration descriptor from the device descriptor, wherein the configuration descriptor defines a plurality of interfaces;
The USB controller reads an interface descriptor from the configuration descriptor, wherein the interface descriptor defines a plurality of endpoints in an interface;
the USB controller reads an endpoint descriptor from the interface descriptor;
the determining the power supply configuration parameters corresponding to the configuration information comprises the following steps:
determining that the target USB interface corresponds to an actual net data load according to the device descriptor;
determining power supply matching information corresponding to the target USB interface according to the parameters in the configuration descriptor;
Determining endpoint transmission information corresponding to the target USB interface according to the interface descriptor;
And acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
2. The connection control method for an external device according to claim 1, wherein if the USB hub detects that a USB plug of the external device is plugged into any one of the USB interfaces and establishes a USB connection, after obtaining an insertion signal and delaying for a preset period of time, the method further comprises:
If the USB hub detects that the USB plug of the external device is disconnected with the USB connection device, acquiring a disconnection signal and sending the disconnection signal to the USB controller;
The USB controller receives the disconnection signal and updates topology information according to the disconnection signal.
3. The connection control method for an external device according to claim 1, wherein after the USB controller issues a corresponding reset instruction according to the insert signal and transmits the reset instruction to a target USB interface via the USB hub, the method further comprises:
The USB controller monitors a reset result after the external device executes the reset operation through the target USB interface, and judges whether the external device needs to execute the reset operation again according to the reset result.
4. The connection control method for an external device according to claim 1, wherein the power supply configuration parameter further includes an interface type, and after determining that the target USB interface corresponds to an actual net data load according to the configuration descriptor, further includes:
And the USB controller determines the corresponding interface type of the target USB interface according to the actual net data load.
5. The connection control method for an external device according to claim 4, wherein after determining, according to the interface descriptor, endpoint transmission information corresponding to the target USB interface, further comprising:
and acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information, the interface type and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
6. The device is configured in USB connection equipment, the USB connection equipment comprises a USB controller, a USB hub and a plurality of USB interfaces, the USB interfaces are respectively connected with the USB hub, and the USB controller is in communication connection with the USB hub to realize data information transmission, and the device is characterized by comprising:
The first processing unit is used for acquiring an insertion signal and delaying a preset time length and then sending the insertion signal to the USB controller if the USB hub detects that a USB plug of external equipment is plugged into any USB interface and establishes USB connection;
The second processing unit is used for sending a corresponding reset instruction by the USB controller according to the insertion signal, and transmitting the reset instruction to a target USB interface through the USB hub so that the external equipment can execute reset operation after responding to the reset instruction, wherein the target USB interface is a USB interface plugged with the external equipment;
The third processing unit is used for distributing a unique device address for the external device by the USB controller and sending the unique device address to the external device through the USB hub so as to enable the external device to be in an addressing state;
The fourth processing unit is used for reading configuration information from the external equipment through the target USB interface by the USB controller, determining power supply configuration parameters corresponding to the configuration information and sending the power supply configuration parameters to the USB hub;
The fifth processing unit is used for supplying power to the external equipment according to the received power supply configuration parameters by the USB hub;
The configuration information comprises a device descriptor, a configuration descriptor, an interface descriptor and an endpoint descriptor, and the fourth processing unit is further used for reading the device descriptor from the external device by the USB controller, wherein the device descriptor defines various configurations;
The USB controller reads a configuration descriptor from the device descriptor, wherein the configuration descriptor defines a plurality of interfaces;
The USB controller reads an interface descriptor from the configuration descriptor, wherein the interface descriptor defines a plurality of endpoints in an interface;
the USB controller reads an endpoint descriptor from the interface descriptor;
the fourth processing unit is further configured to determine, according to the device descriptor, that the target USB interface corresponds to an actual net data load;
determining power supply matching information corresponding to the target USB interface according to the parameters in the configuration descriptor;
Determining endpoint transmission information corresponding to the target USB interface according to the interface descriptor;
And acquiring matched power supply configuration parameters from a preset power supply strategy table according to the actual net data load, the power supply matching information and the endpoint transmission information, and sending the matched power supply configuration parameters to the USB hub.
7. An electronic device comprising a memory and a processor, the memory having a computer program stored thereon, the processor implementing the method of any of claims 1-5 when executing the computer program.
8. A computer readable storage medium, characterized in that the storage medium stores a computer program comprising program instructions which, when executed by a processor, can implement the method of any of claims 1-5.
CN202310335678.4A 2023-03-29 2023-03-29 Connection control method, device, equipment and storage medium for external device Active CN116340225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310335678.4A CN116340225B (en) 2023-03-29 2023-03-29 Connection control method, device, equipment and storage medium for external device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310335678.4A CN116340225B (en) 2023-03-29 2023-03-29 Connection control method, device, equipment and storage medium for external device

Publications (2)

Publication Number Publication Date
CN116340225A CN116340225A (en) 2023-06-27
CN116340225B true CN116340225B (en) 2025-08-26

Family

ID=86885560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310335678.4A Active CN116340225B (en) 2023-03-29 2023-03-29 Connection control method, device, equipment and storage medium for external device

Country Status (1)

Country Link
CN (1) CN116340225B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3213351A1 (en) * 2016-04-01 2017-10-05 Enel X North America, Inc. Two-stage control systems and methods for economical optimization of an electrical system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10268627B2 (en) * 2016-08-23 2019-04-23 Dell Products L.P. Automatically configuring a universal serial bus (USB) type-C port of a computing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3213351A1 (en) * 2016-04-01 2017-10-05 Enel X North America, Inc. Two-stage control systems and methods for economical optimization of an electrical system

Also Published As

Publication number Publication date
CN116340225A (en) 2023-06-27

Similar Documents

Publication Publication Date Title
JP5420690B2 (en) Enhanced wireless USB protocol and hub
US11921660B2 (en) Equalization time configuration method, chip, and communications system
US9009373B2 (en) Method for implementing audio transmission and mobile terminal
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
US20180131182A1 (en) Power-over-ethernet power method and system
CN117251039A (en) Equipment reset method, device, storage medium and electronic equipment
CN116166434A (en) Processor allocation method and system, device, storage medium and electronic equipment
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN116401189A (en) Multi-chip communication method, equipment and storage medium based on PCIE controller
CN105591817B (en) A kind of negotiation mode processing method and Intelligent Network Element
CN116340225B (en) Connection control method, device, equipment and storage medium for external device
US20120042179A1 (en) Server Machine, Power-Consumption Control Method, and Network System
US20150242353A1 (en) Data transfer apparatus, host apparatus, data transfer system, and communication mode setting method
CN112615739A (en) Method and system for adapting OCP3.0 network card in multi-host application environment
US20250265213A1 (en) Pcie device management method, device, and server
US10169281B2 (en) Switch system and operation method thereof
US6732262B1 (en) Method and system for controlling reset of IEEE 1394 network
CN118819647A (en) Universal serial bus interface driving method, device, electronic device, storage medium and computer program product
CN119254717A (en) Adaptive USB network sharing method and device, MIFI device
JP5743484B2 (en) COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
CN113721995B (en) Method and device for loading smart daughter card and storage medium
US9542356B2 (en) Determining, at least in part, one or more respective amounts of buffer memory
CN114040036B (en) Data processing method, device and storage medium
CN118260221B (en) Communication method, device, equipment and storage medium based on CAN bus
CN113934606B (en) Configuration method and device of expansion card, electronic equipment and medium

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
CB02 Change of applicant information

Country or region after: China

Address after: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing

Applicant after: Beidou Zhilian Technology Co.,Ltd.

Address before: No. 3 Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing City

Applicant before: Beidou Xingtong Zhilian Technology Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant