CN115878412A - Method and system for managing USB connection equipment and USB connection equipment - Google Patents

Method and system for managing USB connection equipment and USB connection equipment Download PDF

Info

Publication number
CN115878412A
CN115878412A CN202211213026.5A CN202211213026A CN115878412A CN 115878412 A CN115878412 A CN 115878412A CN 202211213026 A CN202211213026 A CN 202211213026A CN 115878412 A CN115878412 A CN 115878412A
Authority
CN
China
Prior art keywords
usb
control unit
usb connection
connection
reset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211213026.5A
Other languages
Chinese (zh)
Inventor
邓召凯
温亚远
兰小秋
陈振兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jusheng Technology Co Ltd
Original Assignee
Shanghai Jusheng 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 Shanghai Jusheng Technology Co Ltd filed Critical Shanghai Jusheng Technology Co Ltd
Priority to CN202211213026.5A priority Critical patent/CN115878412A/en
Publication of CN115878412A publication Critical patent/CN115878412A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

According to embodiments of the present disclosure, a method, system, USB connection device, electronic device, computer storage medium and computer program product for managing a universal serial bus USB connection device are provided. The method includes receiving, by the vehicle-mounted control device, a status message from the USB connection device, the status message being generated by the USB connection device in response to detecting connection of the external device; determining, by the in-vehicle control device, that a fault associated with the USB connection device occurred based on the status message; and activating, by the in-vehicle control apparatus, a reset control unit in the USB connection apparatus to generate a reset signal for resetting the connection control unit in the USB connection apparatus. In this manner, embodiments of the present disclosure are able to automatically reset a USB connected device (e.g., a USB HUB) in the event of a detected related failure, thereby improving the stability of the USB system.

Description

Method and system for managing USB connection equipment and USB connection equipment
Technical Field
Example embodiments of the present disclosure relate generally to the field of computers, and in particular, to methods, systems, USB connected devices, electronic devices, computer readable storage media, and computer program products for managing USB connected devices.
Background
Along with the development of automobile intellectualization, the intelligent Cabin (CDP) is applied more and more, and the intelligent cabin is a vehicle-mounted product equipped with intellectualization and networking, so that the intelligent cabin can be intelligently interacted with people, roads and vehicles. The intelligent cabin can provide a Universal Serial Bus (USB) interface to connect with various vehicle-mounted products to control the vehicle-mounted products. However, when the intelligent cabin needs to be connected with a plurality of devices at the same time, one USB interface is very important. Therefore, more and more intelligent cars are connected with the USB HUB (HUB) at the USB interface of the intelligent cabin, and one USB uplink interface can be expanded into a plurality of downlink interfaces, that is, the USB HUB (HUB) enables the intelligent cabin to be connected with a plurality of devices simultaneously.
Disclosure of Invention
In a first aspect of the disclosure, a method for managing a universal serial bus USB connection device is provided, the USB connection device being used for connecting an external device, the USB connection device being in communication connection with an onboard control device. The method comprises the following steps: receiving, by the onboard control device, a status message from the USB connection device, the status message generated by the USB connection device in response to detecting connection of the external device; determining, by the in-vehicle control device, based on the status message, that a fault associated with the USB connection device occurred; and activating, by the on-board control device, a reset control unit in the USB connection device to generate a reset signal for resetting the connection control unit in the USB connection device.
In a second aspect of the present disclosure, there is provided a universal serial bus USB management system comprising a USB connection device and an in-vehicle control device communicatively connected to the USB connection device, wherein: the in-vehicle control apparatus is configured to: receiving a status message from the USB connection device, the status message generated by the USB connection device in response to detecting connection of an external device; determining, based on the status message, that a fault associated with the USB connected device occurred; and activating, by the on-board control device, a reset control unit in the USB connection device; and the USB connection device includes a reset control unit and a connection control unit, the reset control unit being configured to: generating a reset signal for resetting the connection control unit in response to activation by the in-vehicle control device.
In a third aspect of the present disclosure, there is provided a communication serial bus USB connection device including a reset control unit and a connection control unit, wherein: the reset control unit is configured to generate a reset signal for resetting the connection control unit in response to an activation signal from the in-vehicle control device, wherein the activation signal is generated by the in-vehicle control device based on a determination that a failure associated with the USB connection device has occurred, the failure being determined based on a status message from the USB connection device, the status message being generated by the USB connection device in response to detection of connection of an external device.
In a fourth aspect of the present disclosure, an electronic device is provided. The apparatus comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the apparatus to perform the method of the first aspect.
In a fifth aspect of the disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon a computer program executable by a processor to implement the method of the first aspect.
In a sixth aspect of the disclosure, a computer program product is provided. The computer program product comprises computer executable instructions which, when executed by a processor, implement the method of the first aspect.
It should be understood that the statements herein set forth in this summary are not intended to limit the essential or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters denote like or similar elements, and wherein:
FIG. 1 illustrates an example USB management system of an embodiment of the present disclosure;
FIG. 2 illustrates a schematic diagram of a communication process of an onboard control device and a USB connection device in accordance with some embodiments of the present disclosure;
FIG. 3 illustrates a flow diagram of a process to manage a Universal Serial Bus (USB) connected device, according to some embodiments of the disclosure; and
fig. 4 illustrates a block diagram of a device capable of implementing multiple embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are illustrated in the accompanying drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more complete and thorough understanding of the disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
In describing embodiments of the present disclosure, the terms "include" and its derivatives should be interpreted as being inclusive, i.e., "including but not limited to. The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions are also possible below. The terms "first," "second," and the like may refer to different or the same objects. Other explicit and implicit definitions are also possible below.
The term "in response to" means that a corresponding event occurrence or condition is satisfied. It will be appreciated that the timing of the performance of the subsequent action performed in response to the event or condition, and the time at which the event occurred or the condition was satisfied, are not necessarily strongly correlated. In some cases, follow-up actions may be performed immediately upon the occurrence of an event or the satisfaction of a condition; in other cases, the follow-up action may be performed after a period of time has elapsed since the event occurred or the condition was satisfied.
Embodiments of the present disclosure may relate to a user's data, the acquisition and/or use of data, and/or the like. These aspects are in accordance with the relevant legal and legal regulations. In the embodiment of the present disclosure, all data collection, acquisition, processing, forwarding, usage, etc. are performed under the premise that the user knows and confirms. Accordingly, in implementing the embodiments of the present disclosure, the user should be informed of the type, usage scope, usage scenario, etc. of the data or information that may be involved and authorized by the user in a suitable manner according to the relevant laws and regulations. The particular manner of notification and/or authorization may vary depending on the circumstances and the application scenario, and the scope of the present disclosure is not limited in this respect.
It will be appreciated that the data referred to in this disclosure, including but not limited to the data itself, the data obtained or used, should comply with applicable legal regulations and related requirements.
As mentioned briefly above, in the smart car, the USB HUB provided by the smart car cabin can be connected to a plurality of external devices at the same time, for example, a certain external device may be a USB flash disk storing music files. When the external equipment is connected with the USB HUB, the intelligent cabin can not read the data of the external equipment or can read errors, so that the function of the external equipment can not be normally realized by the intelligent cabin. For example, music files in the U disk cannot be normally played through the intelligent cockpit. The reasons may be various, for example, in a possible situation, the external device is not detected in the whole process, and whether the external device is normal or not cannot be confirmed. In another possible situation, if the chip of the USB HUB fails due to static electricity or EMC (Electro Magnetic Compatibility), the smart car may also fail to read the data of the external device or read the data incorrectly.
Since the USB HUB may be powered by a power supply, for example, VBAT (Battery voltage). When external device connects USB HUB, the unable data that read external device of intelligence passenger cabin, perhaps when reading the error, common solution is to the power supply outage of USB HUB, then restarts USB HUB, and USB HUB is reset for the data that external device was normally read to the intelligence passenger cabin, perhaps reads correctly. However, the data of the external device normally read by the intelligent cabin cannot be timely recovered by the method, and on the other hand, the power supply of the USB HUB needs to be manually turned off by a user, so that the user experience is poor.
Embodiments of the present disclosure provide a solution for managing USB connection devices. According to various embodiments of the present disclosure, first, a fault associated with a USB connection device (e.g., a USB HUB) is detected by an onboard control device (e.g., a smart cabin). For example, when the USB connected device detects connection of the external device to generate a status message, the in-vehicle control may determine a failure associated with the USB connected device (e.g., USB HUB) based on the status message. Further, when the in-vehicle control apparatus detects a failure associated with the USB connection apparatus, the reset control unit in the USB connection apparatus is activated to generate the reset signal. The reset control unit sends the reset signal to the connection control unit in the USB connection device, so that the connection control unit is reset based on the reset signal, that is, the USB connection device is reset, so that the vehicle-mounted control device can read data of the external device through the USB connection device.
In this way, the in-vehicle control device in the embodiment of the present disclosure generates the reset signal by activating the reset control unit in the USB connection device, which is used by the connection control unit in the USB connection device to reset the USB connection device, instead of directly controlling the connection control unit in the USB connection device by the in-vehicle control device to reset the USB device. On the one hand, the stability of normal work of the USB connection equipment is improved, and the USB connection equipment is recovered to be used under the condition that the user side does not sense the USB connection equipment. On the other hand, the power supply of the USB HUB is turned off without manual operation of a user, so that the operation of the user is reduced, and the user experience is better.
Example USB management System
FIG. 1 illustrates an example USB management system 100 of an embodiment of the present disclosure. As shown in FIG. 1, in the USB management system 100, the USB connection device 110 may be configured to connect the external device 130, and the USB connection device 110 is communicatively connected to the in-vehicle control device 120.
Illustratively, the USB connection device 110 may include, for example, a USB HUB, a USB network converter, a USB audio converter, or the like.
For example, the in-vehicle control device 120 may include a control Chip involved in a smart cabin, an automatic driving, and the like, such as an SoC (System on Chip) or an MCU (micro controller Unit), including but not limited to a display control System, a sound control System, a navigation control System, an air conditioning control System, a voice assistant System, a communication System, a seat control System, an interactive System, a perception System, and the like.
Illustratively, the plurality of external devices 130 are respectively connected to the USB connection device 110, and the external device 130 may be any type of external device, such as a USB disk, a tablet computer, a car recorder, an on-board ETC (Electronic Toll Collection), a media computer, a multimedia tablet, a game device, a wearable device, a Personal Communication System (PCS) device, a personal navigation device, a Personal Digital Assistant (PDA), an audio/video player, a digital camera/camcorder, a positioning device, a television receiver, a radio broadcast receiver, an Electronic book device, or any combination thereof.
In some embodiments, the in-vehicle control device 120 may be configured to detect that a failure associated with the USB connection device 110 occurs when the external device 130 is connected to the USB connection device 110, and to control the USB connection device 110 to reset, that is, to cause the USB connection device 110 to be reset, when a failure associated with the USB connection device 110 is detected.
In some embodiments, further, the USB connection device 110 may include a reset control unit 111 and a connection control unit 112, and the reset control unit 111 and the connection control unit 112 are communicatively connected. The reset control unit 111 may be configured to generate a reset signal for resetting the connection control unit 112 in response to being activated by the in-vehicle control device 120. The connection control unit 112 may be configured to automatically reset based on the received reset signal.
In some embodiments, the reset control unit 111 and the connection control unit 112 are two separate chips integrated inside the USB connection device 110.
Specific procedures for managing universal serial bus USB connected devices are described in further detail below.
Managing USB connected device examples
Fig. 2 shows a schematic diagram of an in-vehicle control device, a reset control unit in a USB connected device, and a connection control unit inter-communication process 200 in which embodiments of the present disclosure can be implemented.
Fig. 3 illustrates a flow diagram of a process 300 for managing a universal serial bus USB connected device according to various embodiments of the disclosure. Process 300 may be implemented by in-vehicle control device 110 as shown in fig. 1.
The process 300 for managing USB connected devices is described in detail below in conjunction with FIG. 2.
As shown in fig. 3, at block 310, a status message from the USB connection device 110 is received by the in-vehicle control device 120, the status message being generated by the USB connection device 110 in response to detecting the connection of the external device 130.
Referring to fig. 2, if the USB connection device 110 detects that the external device 130 is connected to the USB connection device 110, the USB connection device 110 generates a status message and transmits 210 the status message to the in-vehicle control device 120.
In some embodiments, the status message may indicate an operational status of the USB connection device 110. For example, whether the USB connection device 110 is in a state of connecting the in-vehicle control device 120 and the external device 130. After the vehicle-mounted control device 120 receives the status message, the vehicle-mounted control device 120 may detect whether a communication connection is established between the vehicle-mounted control device 120 and the external device 130 based on the check bits of the USB data.
For example, if the status message indicates that the USB connection device 110 is not in a state of connecting the vehicle control device 120 and the external device 130, the vehicle control device 120 detects that no communication connection is established between the vehicle control device 120 and the external device 130 based on the check bits of the USB data.
For example, if the status message indicates that the USB connection device 110 is in a state of connecting the in-vehicle control device 120 and the external device 130. It is detected by the in-vehicle control apparatus 120 that a communication connection is established between the in-vehicle control apparatus 120 and the external apparatus 130 based on the check bits of the USB data.
In some embodiments, the status message may also indicate the identity of the external device 130. For example, the status message may indicate that an identifier of the external device 130, such as an Identifier (ID) of the external device 130, can be detected, and different types of external devices correspond to different IDs. Alternatively, the status message may indicate that the identification of the external device 130 is detected to be correct.
For example, the status message may indicate, for example, that the ID of the external device 130 cannot be detected or that an identification error of the external device 130 is detected.
At block 320, a determination is made by in-vehicle control device 120 that a fault associated with USB connected device 110 has occurred based on the status message.
In some embodiments, one possible failure situation, the in-vehicle control apparatus 120 determines that the USB connection apparatus 110 itself has failed based on the operation state of the USB connection apparatus 110 indicated in the status message. For example, in a case that the status message received by the vehicle-mounted control device 120 indicates that the USB connection device 110 is not in a state of connecting the vehicle-mounted control device 120 and the external device 130, that is, the vehicle-mounted control device 120 and the external device 130 do not establish communication connection, it is determined that the USB connection device 110 has a fault, and the vehicle-mounted control device 120 cannot read data of the external device 130 through the USB connection device 110.
For example, the reason why the in-vehicle control device 120 is not successfully connected to the external device 130 may be various reasons, for example, the USB interface of the external device 130 is damaged, or the USB interface of the USB connection device is damaged.
In some embodiments, in another possible failure scenario, in-vehicle control device 120 determines that external device 110 failed to recognize based on the identification of external device 110 indicated in the status message. For example, the status message may indicate that the ID of the external device 130 cannot be detected or that the identification of the external device 130 is incorrect, and it is determined that the external device 110 fails to recognize, so that the vehicle-mounted control device 120 cannot read the data of the external device 130.
In block 330, the reset control unit 111 in the USB connection device 110 is activated by the in-vehicle control device 120 to generate the reset signal 240 for resetting the connection control unit 112 in the USB connection device 110.
As discussed with reference to fig. 1, after the in-vehicle control device 120 detects a fault associated with the USB connected device, an activation signal may be sent 230 to the USB connected device 110 to activate the reset control unit 111, with a reset signal 240 being generated by the activated reset control unit 111.
In some embodiments, the reset control unit 111 and the connection control unit 112 in the USB connection device 110 may be powered by a common power supply for the USB connection device 110. The reset control unit 111 and the connection control unit 112 are always in the power-on state. The reset control unit 111 is not in an operating state until it is not activated, but in an operating state until it is activated, and generates a reset signal 240. The reset signal 240 is used to restart the connection control unit 112, and the connection control unit 112 is automatically reset based on the reset signal 240.
The in-vehicle control device 120 sends the activation signal to activate the reset control unit 111, and different activation modes can be selected according to different failure reasons.
In some embodiments, if the USB connection device 110 itself malfunctions, the reset control unit 111 is activated by the in-vehicle control device 120 through the pin electrical connection with the reset control unit 111, for example, an electrical signal is provided by the in-vehicle control device 120 to a predetermined pin of the reset control unit 111 based on the pin electrical connection to activate the reset control unit 111. The activation signal may be a power supply signal provided by a predetermined pin. For example, the in-vehicle control apparatus 120 provides a predetermined pin USB VBUS to the USB HUB, and the in-vehicle control apparatus 120 transmits a power supply signal through the pin USB VBUS to activate the reset control unit 111. The activation signal may be a power supply signal at this time.
In some embodiments, in the case where the communication connection is established between the in-vehicle control apparatus 120 and the external device 130 if the failure is the recognition failure of the external device 130, the reset control unit 111 is activated by the in-vehicle control apparatus 120 based on the data communication with the USB connection device 110.
Preferably, the vehicle control device 120 may select the data communication of the USB connection device to be activated with priority higher than that activated by supplying power through a predetermined pin, so as to improve the effectiveness of the activation.
In some embodiments, if the USB connected device 110 is automatically reset multiple times, a fault associated with the USB connected device 110 can still be detected by the in-vehicle control device 120, generating a reminder for manual service.
In some embodiments, if the in-vehicle control apparatus 110 determines that a malfunction associated with the USB connection apparatus 110 does not occur based on the status message, the in-vehicle control apparatus 110 may recognize and read data of the external apparatus 130 through the USB connection apparatus 120. For example, the status message received by the in-vehicle control device 120 indicates that the in-vehicle control device 120 successfully detects the ID of the external device 130, or that the detected ID is correct. Alternatively, the status message received by the vehicle-mounted control device 120 indicates that the USB connection device 110 is in a state of connecting the vehicle-mounted control device 120 and the external device 130, that is, the vehicle-mounted control device 120 and the external device 130 are connected in a communication manner.
Illustratively, the USB connection device 110 is a USB HUB, the external device 130 is a USB flash disk, in which music files are stored, and the vehicle-mounted control device 120 is a smart car. After the intelligent cabin is inserted into the USB flash disk through the USB HUB, music in the USB flash disk can be played. After the USB HUB is inserted into the USB flash disk, if the intelligent cockpit detects that the fault associated with the USB flash disk does not occur, the intelligent cockpit plays music in the USB flash disk. However, after the USB HUB is plugged into the USB flash disk, if the intelligent cockpit does not play music immediately, the intelligent cockpit detects a failure associated with the USB flash disk. For example, the USB HUB generates a status message in response to detecting the USB flash disk. The USB HUB sends the status message to the intelligent cockpit, and the intelligent cockpit reports the fault associated with the USB HUB based on the status message. For example, the failure associated with the USB HUB may be a failure of the USB HUB itself, or the failure of the smart car to recognize the USB disk. If USB HUB breaks down, the intelligence passenger cabin sends the signal of telecommunication to USB HUB through predetermined pin, activates the reset control unit among the USB HUB. If the intelligent cockpit cannot recognize the fault of the USB flash disk, the intelligent cockpit activates a reset control unit in the USB HUB through data communication based on the USB HUB. The reset control unit generates a reset signal for resetting the connection control unit in the USB HUB after being activated. The connection control unit is automatically reset based on the reset signal, that is, the USB HUB is reset.
Example apparatus
FIG. 4 illustrates a block diagram that shows a computing device 400 in which one or more embodiments of the disclosure may be implemented. It should be understood that the computing device 400 illustrated in FIG. 4 is merely exemplary and should not be construed as limiting in any way the functionality and scope of the embodiments described herein.
As shown in fig. 4, computing device 400 is in the form of a general purpose computing device. Components of computing device 400 may include, but are not limited to, one or more processors or processing units 410, memory 420, storage devices 430, one or more communication units 440, one or more input devices 450, and one or more output devices 460. The processing unit 410 may be a real or virtual processor and may be capable of performing various processes according to programs stored in the memory 420. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capabilities of computing device 400.
Computing device 400 typically includes a number of computer storage media. Such media may be any available media that is accessible by computing device 400 and includes, but is not limited to, volatile and non-volatile media, removable and non-removable media. Memory 420 may be volatile memory (e.g., registers, cache, random Access Memory (RAM)), non-volatile memory (e.g., read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory), or some combination thereof. Storage device 430 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a magnetic disk, or any other medium that may be capable of being used to store information and/or data (e.g., training data for training) and that may be accessed within computing device 400.
The computing device 400 may further include additional removable/non-removable, volatile/nonvolatile storage media. Although not shown in FIG. 4, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. Memory 420 may include a computer program product 425 having one or more program modules configured to perform the various methods or acts of the various embodiments of the disclosure.
The communication unit 440 enables communication with other computing devices over a communication medium. Additionally, the functionality of the components of computing device 400 may be implemented in a single computing cluster or multiple computing machines, which are capable of communicating over a communications connection. Thus, computing device 400 may operate in a networked environment using logical connections to one or more other servers, network Personal Computers (PCs), or another network node.
Input device 450 may be one or more input devices such as a mouse, keyboard, trackball, or the like. Output device 460 may be one or more output devices such as a display, speakers, printer, etc. Computing device 400 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., communicating with one or more devices that enable a user to interact with computing device 400, or communicating with any devices (e.g., network cards, modems, etc.) that enable computing device 400 to communicate with one or more other computing devices, as desired, via communication unit 440. Such communication may be performed via input/output (I/O) interfaces (not shown).
According to an exemplary implementation of the present disclosure, a computer-readable storage medium having stored thereon computer-executable instructions is provided, wherein the computer-executable instructions are executed by a processor to implement the above-described method. According to an exemplary implementation of the present disclosure, there is also provided a computer program product, tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions that are executed by a processor to implement the method described above.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices and computer program products implemented in accordance with the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing has described implementations of the present disclosure, and the above description is illustrative, not exhaustive, and is not limited to the implementations disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The terminology used herein was chosen in order to best explain the principles of the implementations, the practical application, or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various implementations disclosed herein.

Claims (13)

1. A method for managing a Universal Serial Bus (USB) connection device, wherein the USB connection device is used for connecting an external device and is in communication connection with a vehicle-mounted control device, and the method comprises the following steps:
receiving, by the onboard control device, a status message from the USB connection device, the status message generated by the USB connection device in response to detecting connection of the external device;
determining, by the in-vehicle control device, based on the status message, that a fault associated with the USB connection device occurred; and
activating, by the onboard control device, a reset control unit in the USB connection device to generate a reset signal for resetting the connection control unit in the USB connection device.
2. The method of claim 1, wherein determining, by the in-vehicle control device based on the status message, that a fault associated with the USB connection device occurred comprises:
determining that the USB connection device has a fault based on the operation state of the USB connection device indicated in the status message; or
And determining that the external equipment fails to identify based on the identifier of the external equipment indicated in the status message.
3. The method of claim 2, wherein activating the reset control unit by the on-board control device comprises:
activating, by the in-vehicle control apparatus, the reset control unit through the pin electrical connection with the reset control unit if the in-vehicle control apparatus determines that the USB connection apparatus itself malfunctions based on the status message.
4. The method of claim 3, wherein activating the reset control unit by the onboard control device through a pin electrical connection with the reset control unit comprises:
providing, by the in-vehicle control apparatus, an electrical signal to a predetermined pin of the reset control unit based on the pin electrical connection to activate the reset control unit.
5. The method of claim 2, wherein activating the reset control unit by the on-board control device comprises:
and if the vehicle-mounted control equipment determines that the external equipment fails to be identified based on the state information, the vehicle-mounted control equipment activates the reset control unit based on data communication with the USB connection equipment.
6. The method of claim 1, wherein the reset control unit and the connection control unit are two separate chips integrated inside the USB connection device.
7. The method of claim 6, wherein the reset control unit and the connection control unit are powered by a common power supply for the USB connection device.
8. The method of claim 1, further comprising:
if the USB connecting equipment is automatically reset for multiple times, the vehicle-mounted control equipment can still detect the fault, and a prompt for manual maintenance is generated.
9. A Universal Serial Bus (USB) management system comprises a USB connecting device and an on-board control device in communication connection with the USB connecting device, wherein:
the in-vehicle control apparatus is configured to: receiving a status message from the USB connection device, the status message generated by the USB connection device in response to detecting connection of an external device; determining, based on the status message, that a fault associated with the USB connected device has occurred; and activating, by the on-board control device, a reset control unit in the USB connection device; and is
The USB connection device includes a reset control unit and a connection control unit, the reset control unit configured to: generating a reset signal for resetting the connection control unit in response to activation by the in-vehicle control device.
10. A communication serial bus USB connection device comprising a reset control unit and a connection control unit, wherein:
the reset control unit is configured to generate a reset signal for resetting the connection control unit in response to an activation signal from the in-vehicle control device, wherein the activation signal is generated by the in-vehicle control device based on a determination that a failure associated with the USB connection device has occurred, the failure being determined based on a status message from the USB connection device, the status message being generated by the USB connection device in response to detection of connection of an external device.
11. An electronic device, comprising:
at least one processing unit; and
at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions when executed by the at least one processing unit causing the electronic device to perform the method of any of claims 1-8.
12. A computer-readable storage medium, on which a computer program is stored, the computer program being executable by a processor to implement the method according to any one of claims 1 to 8.
13. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method of any one of claims 1 to 8.
CN202211213026.5A 2022-09-29 2022-09-29 Method and system for managing USB connection equipment and USB connection equipment Pending CN115878412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211213026.5A CN115878412A (en) 2022-09-29 2022-09-29 Method and system for managing USB connection equipment and USB connection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211213026.5A CN115878412A (en) 2022-09-29 2022-09-29 Method and system for managing USB connection equipment and USB connection equipment

Publications (1)

Publication Number Publication Date
CN115878412A true CN115878412A (en) 2023-03-31

Family

ID=85770207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211213026.5A Pending CN115878412A (en) 2022-09-29 2022-09-29 Method and system for managing USB connection equipment and USB connection equipment

Country Status (1)

Country Link
CN (1) CN115878412A (en)

Similar Documents

Publication Publication Date Title
US8452465B1 (en) Systems and methods for ECU task reconfiguration
US9515906B2 (en) Transceiver integrated circuit device and method of operation thereof
US10630538B2 (en) Software update method and apparatus for vehicle
KR102015719B1 (en) Method for protecting configuration data from a data bus transceiver, data bus transceiver and data bus system
CN107404337B (en) First communication node in a vehicle network and method of operating the same
CN103616830A (en) Car controller flash control method and device and car bus system
US10861258B2 (en) Method for preventing diagnostic errors in vehicle network and apparatus therefor
CN103870305A (en) Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface
CN105703991B (en) Local interconnect network system and method
US10216550B2 (en) Technologies for fast boot with adaptive memory pre-training
CN113282072A (en) Vehicle remote diagnosis method, device, storage medium and system
CN102890636A (en) Firmware upgrade method and system under Android system
US20190009740A1 (en) Temporary power management for a telematics control unit
CN113064748A (en) Process succession method, device, electronic equipment and storage medium
CN114385421A (en) Data storage method and device, electronic equipment and storage medium
CN111319630A (en) Intelligent vehicle system
US9952994B2 (en) Integrated multimedia terminal system and control method thereof
CN113626056A (en) Vehicle remote upgrading method and device, electronic equipment, vehicle-mounted terminal and storage medium
CN115878412A (en) Method and system for managing USB connection equipment and USB connection equipment
CN102890797A (en) Method and system for monitoring school bus
CN111142502A (en) Processing method, device and equipment for ECU detection and storage medium
CN113050976B (en) FPGA parallel upgrading method and device based on PCIe bus, medium and electronic equipment
US11726853B2 (en) Electronic control device
CN109032643A (en) The method and apparatus of software upgrading
CN114026537A (en) Method for carrying out a dialogue with a computer on a vehicle bus of a vehicle

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