[go: up one dir, main page]

CN120316047A - Function switching method and device - Google Patents

Function switching method and device

Info

Publication number
CN120316047A
CN120316047A CN202510273311.3A CN202510273311A CN120316047A CN 120316047 A CN120316047 A CN 120316047A CN 202510273311 A CN202510273311 A CN 202510273311A CN 120316047 A CN120316047 A CN 120316047A
Authority
CN
China
Prior art keywords
function
interface
value
type
detection device
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
CN202510273311.3A
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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202510273311.3A priority Critical patent/CN120316047A/en
Publication of CN120316047A publication Critical patent/CN120316047A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

本发明实施例公开了一种功能切换方法及装置。该功能切换方法包括获取来自检测器件的总线数据,该总线数据指示所述第一设备的type‑c接口的连接状态。在第一设备的type‑c接口的连接状态为与第二设备断开连接的情况下,将第一设备的物理层PHY寄存器的值从第一值修改为第二值,上述第二设备是具有显示接口DP功能的设备,上述第一值使得第一设备支持DP功能,上述第二值使得第一设备支持第三代通用串行总线USB3.0功能。本申请实施例可以实现设备从支持DP功能切换到支持USB3.0功能。

The embodiment of the present invention discloses a function switching method and device. The function switching method includes obtaining bus data from a detection device, and the bus data indicates the connection state of the type-c interface of the first device. When the connection state of the type-c interface of the first device is disconnected from the second device, the value of the physical layer PHY register of the first device is modified from a first value to a second value, and the second device is a device with a display interface DP function. The first value enables the first device to support the DP function, and the second value enables the first device to support the third-generation universal serial bus USB3.0 function. The embodiment of the present application can realize the device switching from supporting the DP function to supporting the USB3.0 function.

Description

Function switching method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for switching functions.
Background
The device accesses the high-pass platform through the type-c interface, but the high-pass partial platform does not support the configuration channel (configuration channel, CC) detection protocol when accessing the display interface (DP) device. To solve the above problem, a strategy is generally adopted in which (1) the speed of the universal serial bus (universal serial bus, USB) is limited to the second generation universal serial bus (universal serial bus 2.0, USB 2.0) when the DP function is used, in which case the system limits the speed of the USB interface to USB2.0 when the DP function is required to be used. This ensures the transmission of DP signals, but sacrifices the high-speed data transmission capability of the third generation universal serial bus (universal serial bus.0, usb 3.0). (2) The DP function is masked when USB3.0 function is used, which allows the user to take advantage of the high speed data transfer capabilities of USB3.0, but is not possible when DP display output is required.
The policy has the defect that the high-pass part platform cannot be switched from supporting the DP function to supporting the USB3.0 function, and the defect can cause the problems of mutual exclusion of the device functions, limited user experience, compromise of the device performance and the like.
Therefore, it is necessary to study a method of implementing switching from supporting the DP function to supporting the USB3.0 function.
Disclosure of Invention
The embodiment of the invention provides a function switching method, which realizes the switching of equipment from supporting a DP function to supporting a USB3.0 function.
In a first aspect, an embodiment of the present invention provides a method for switching functions, where the method is applied to a first device, such as a high-pass part platform, and the method includes:
And modifying a value of a Physical (PHY) register of the first device from a first value to a second value in a case that the connection state of the type-c interface of the first device is disconnected from a second device, wherein the second device is a device with a display interface DP function, the first value enables the first device to support the DP function, and the second value enables the first device to support a third generation universal serial bus USB3.0 function.
In the embodiment of the application, the first device can identify the connection state of the type-c interface and the second device by applying the detection device. When the first device is disconnected from the second device, the value of the PHY register is modified from the first value to the second value, that is, the value of the PHY register modified by the first device in the initialization process of the DP function is restored back (namely, the register is restored), so that the problem of configuration errors of the USB3.0 port caused by incorrect release of PHY resources is solved. The first device is enabled to support the USB3.0 function in the event of a disconnection from the second device, thereby enabling the first device to switch from supporting the DP function to supporting the USB3.0 function. And the first equipment can provide more comprehensive functions and higher performance on the premise of not affecting the beauty of the equipment and the standardization of the interface, and meanwhile, the overall stability and the user experience of the system are improved.
In one possible implementation, in a case that a connection state of a type-c interface of the first device is a connection with the second device, a value of a PHY register of the first device is modified to a first value.
The above procedure, i.e., the initialization procedure of the DP function, in which the first device modifies the value of the PHY register to configure the PHY. Optionally, when the first device obtains that the type of the device connected to the type-c interface is a device supporting the DP function, the first device may read, through an Auxiliary (AUX) channel, information such as extended display identification data (extended display identification data, EDID) of the external device supporting the DP function from the type-c interface.
In this implementation, modifying the value of the PHY register to the first value can enable the first device to support DP functionality, optionally when the first device does not support USB3.0 functionality. Furthermore, the first device can be switched from supporting the DP function to supporting the USB3.0 function, and the first device can be switched from supporting the USB3.0 function to supporting the DP function.
In a possible implementation manner, before the bus data from the detecting device is acquired, the method further comprises the steps of receiving an interrupt signal from the detecting device, wherein the interrupt signal is used for triggering the first device to enter an interrupt, and executing the step of acquiring the bus data from the detecting device after the first device enters the interrupt.
In this implementation manner, in view of processing efficiency of the first device and accuracy of data transmission, when the detecting device detects that the connection state of the type-c port changes, the first device is notified by triggering the first device to enter an interrupt mode, and after the first device enters the interrupt, the first device begins to acquire bus data from the detecting device. The flow can ensure that the first equipment is informed of the first equipment in time when the connection state of the type-c port changes, and the first equipment can acquire the equipment type of the connection or disconnection of the type-c port in time, so that the first equipment can perform corresponding function switching, and the timely response of the port state change is ensured.
In one possible implementation manner, a first configuration channel CC1 pin and a second configuration channel CC2 pin of the type-c interface are respectively connected with two detection pins of the detection device, the detection device is used for detecting a device type accessed by the type-c interface through the levels of the CC1 pin and the CC2 pin, when the device type is the device type supporting the DP function and the device type supporting the USB3.0 function, the values of registers of the detection device are different, and the detection device is further used for sending the interrupt signal to the first device when the levels of the CC1 pin and the CC2 pin change.
Optionally, a VBUS pin for supplying power to the type-c interface is connected to another detection pin of the detection device, and the device accessed to the type-c interface can be detected by the level of the VBUS pin to be a master device or a slave device, where the master device can be a computer, and the slave device can be a mouse, a keyboard, and the like, and is not exemplified here.
In the implementation manner, the detection device is respectively connected with the CC1 pin and the CC2 pin of the type-c interface through two detection pins to detect the connection state of the type-c interface of the first device and the type of the external device. In the embodiment of the application, the detection device determines that the connection state of the type-c interface is changed through the level change of the CC1 pin and the CC2 pin, for example, the connection state of different type-c interfaces can change the level signals on the CC1 pin and the CC2 pin, so that the first device can determine whether the type-c interface is disconnected or connected with the external device according to the level signal change, and timely send an interrupt signal to the first device. The detection device also identifies the type of the device accessed by the type-c interface through the level change rule of the CC1 pin and the CC2 pin, for example, different external device types can enable the time sequences of the level signals on the CC1 pin and the CC2 pin to be different, so that the first device can identify the external device type according to the level signals with different time sequences. Optionally, the detecting device stores the identified type of the external device in a register, for example, a value of the register of the detecting device corresponding to the external device supporting the DP function is different from a value of the detecting device corresponding to the external device supporting the USB3.0 function.
In one possible implementation, the two data transmission pins of the first device are connected to the two data transmission pins of the detection device, and the interrupt pin of the first device is connected to the interrupt pin of the detection device;
The obtaining the bus data from the detection device comprises obtaining the bus data from the detection device through two data transmission pins of the first equipment;
The receiving of the interrupt signal from the detection device comprises the step of acquiring the interrupt signal from the detection device through an interrupt pin of the first equipment.
In this implementation, the first device is connected to the two data transmission pins of the detection device through the two data transmission pins, respectively, to obtain bus data of the detection device. That is, the first device acquires the type of the external device stored in the register of the detection device through the two data transmission pins, so that the first device can perform corresponding function switching according to the type of the device connected or disconnected by the type-c interface. For example, if the disconnected external device is a device supporting the DP function, the first device modifies the value of the PHY register from the first value to the second value, thereby switching from supporting the DP function to supporting the USB3.0 function. The first device is also connected to an interrupt pin of the detection device via the interrupt pin to receive an interrupt signal. That is, when the detecting device detects that the connection state of the type-c interface changes, the first device receives an interrupt signal from the detecting device through the interrupt pin, so that the first device enters into interrupt, and then obtains the type of the external device causing the connection state change of the type-c interface from the detecting device, so that the first device can realize corresponding function switching.
In one possible implementation, the modifying the value of the PHY register from a first value to a second value includes configuring a restore interface for modifying the value of the PHY register and modifying the value of the PHY register from the first value to the second value by invoking the restore interface.
Alternatively, the restoration interface is implemented in software, and may be a function for changing the value of the PHY register.
In this implementation, when the first device needs to modify the value of the PHY register from the first value to the second value, the first device may be implemented in a manner that configures and invokes the restore interface. Optionally, when the type-c interface of the first device accesses the DP device, the value of the PHY register needs to be modified to the first value, and this may also be implemented by configuring and calling the restore interface.
In one possible implementation, the first value causes the first device to support the DP function, further comprising the first value causing the first device to support the DP function and a second generation universal serial bus USB2.0 function.
In this implementation, when the type-c interface of the first device accesses the DP device, the value of the PHY register needs to be modified to the first value, at which time the first device does not support the USB3.0 function, but supports the USB2.0 function. That is, the first device can support the DP function and the USB2.0 function at the same time, so that not only is the function switching of the first device realized, but also the function of data transmission of the first device is reserved to a certain extent, and the user experience can be improved.
In the embodiment of the application, the first device realizes the detection of the connection state and the connected or disconnected device type of the type-c interface of the first device by applying the detection device. When the connection state changes, the first device acquires the type of the external device causing the change of the connection state from the detection device, so that the correct identification of the device type and the switching of the corresponding mode are ensured. Illustratively, when the DP function enabled device is disconnected, the first device modifies the value of the PHY register from the first value to the second value such that the first device supports the USB3.0 function, thereby enabling a switch from supporting the DP function to supporting the USB3.0 function. The embodiment of the application not only solves the problem that the USB3.0 function and the DP function can not be switched, but also improves the overall stability and the user experience of the system.
In a second aspect, an embodiment of the present application provides a communication device, the communication device including a transceiver for receiving and transmitting signals, a processor and a memory for storing a computer program, the computer program including program instructions, the processor being configured to execute some or all of the steps described in the first aspect of the present embodiment when the processor is configured to invoke the program instructions.
In a third aspect, an embodiment of the present application provides a chip, the chip including logic circuitry and an interface, the logic circuitry and the interface being coupled, the logic circuitry being configured to cause the chip to perform some or all of the steps described in the first aspect of the present embodiment.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program comprising program instructions which, when executed by an application processor, perform some or all of the method steps described in the first aspect of the present embodiment.
Drawings
In order to more clearly describe the embodiments of the present invention or the technical solutions in the background art, the following description will describe the drawings that are required to be used in the embodiments of the present invention or the background art.
Fig. 1 is a schematic flow chart of a function switching method according to an embodiment of the present application;
fig. 2 is a schematic connection diagram between devices involved in a function switching method according to an embodiment of the present application;
fig. 3 is a flow chart of another function switching method according to an embodiment of the present application;
Fig. 4 is a flow chart of another function switching method according to an embodiment of the present application;
Fig. 5 is a flow chart of another function switching method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another communication device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the application may be combined with other embodiments.
In the present application, "indication" may include direct indication, indirect indication, display indication, implicit indication. When a certain indication information is described for indicating a, it can be understood that the indication information carries a, directly indicates a, or indirectly indicates a.
The following describes the functions of the device according to the embodiment of the present application.
The first device may be a series of chips manufactured by a high-pass company. These chips may be used in cell phones, smart devices, and other mobile communication devices. Optionally, the first device is a mobile baseband processor (mobile station modem, MSM) family of system chips manufactured by high-pass corporation that integrates a number of functions including processors, modems, graphics processing units, wireless communications (e.g., 3G, 4G, wi-Fi, etc.), and other necessary hardware.
The second device may be a DP capable device, i.e. a device supporting high definition video output, such as a display, projector, etc. DP is a high definition video interface standard for the connection between a computer and a display. It supports high resolution and refresh rates, and multi-channel audio transmission. The DP interface can provide video output up to 8K resolution and support high-speed data and display stream Compression techniques, such as image Compression transmission (DSC), to improve bandwidth efficiency. The DP interface is widely used in devices such as high-end displays, televisions, notebook computers, and desktop computers. The DP function mentioned in the embodiment of the present application refers to a function corresponding to a DP protocol, which realizes high-definition video data transmission, and supports multiple resolutions and refresh rates, including but not limited to 4K, 5K, 8K, 16K, etc., and refresh rates of 60Hz, 120Hz, etc. And are not illustrated here.
The detection means may be a device capable of identifying the type of the external device, for example, a device capable of identifying whether the external device is a USB 3.0-capable device or a DP-capable device. In addition, the above-mentioned detection device needs to be able to recognize the direction of the type-c data transmission, recognize the connection state of the type-c interface, control the general purpose input output (general purpose input output, GPIO) pin, and the like. Illustratively, the test device is a model number TPS65987 device manufactured by Texas instruments.
The USB3.0 function is a function corresponding to the third generation standard of the USB technology, and is significantly improved in terms of data transmission rate, power management, compatibility, and the like compared with the USB 2.0. In the embodiment of the application, the USB3.0 function particularly refers to a function capable of realizing ultrahigh data transmission rate, and in theory, the transmission rate of the USB3.0 can reach 5Gbps and is more than 10 times of that of the USB 2.0. By way of example, the USB3.0 enabled device may be a USB disk, a smart phone, or the like.
The following describes methods according to embodiments of the present application.
When the type-c interface of the high-pass part platform (namely, a serial system chip produced by a high-pass company) is accessed into equipment with a DP function, the problem that the CC detection protocol is not supported exists. That is, the high-pass part platform cannot identify whether the DP-capable device is accessed or the USB-capable device is accessed, and, illustratively, the high-pass part platform cannot identify whether the projector is accessed or the USB-capable device is accessed.
In order to solve the above problems, two strategies are generally adopted, namely (1) the speed of USB is limited to the second generation universal serial bus USB2.0 when the DP function is used, in this scheme, the system limits the speed of the USB interface to USB2.0 when the DP function is required to be used. This ensures the transmission of DP signals but sacrifices the high-speed data transmission capability of the third generation universal serial bus USB 3.0. (2) The DP function is masked when USB3.0 function is used, which allows the user to take advantage of the high speed data transfer capabilities of USB3.0, but is not possible when DP display output is required.
The method has the obvious defect that the high-pass part platform cannot be switched from supporting the DP function to supporting the USB3.0 function, and the problem of type-c interface configuration errors can occur when the high-pass part platform is switched to the USB3.0 function after the DP function is used. Thereby causing problems of mutual exclusion of the first device function, limited user experience, compromised device performance, and the like.
Based on the above-mentioned problems, the embodiment of the present application provides a function switching method, which can implement switching from supporting a DP function to supporting a USB3.0 function in a first device. The method provided by the embodiment of the application is specifically described below.
Referring to fig. 1, fig. 1 is a flow chart of a function switching method according to an embodiment of the application. The first device 101, the second device and the detection means 102 are described in relation to the method with reference to the above and will not be described in detail here. As shown in fig. 1, the flow chart is a flow chart in which the first device detects that the connection state of the type-c interface is changed by the application detection device, and then performs function switching. The steps involved in the above-described flow will be described in detail below.
1001. The detection device sends an interrupt signal to the first device. Correspondingly, the first device receives an interrupt signal from the detection device.
Optionally, a CC detection interrupt pin and a Hot Plug Detect (HPD) pin of the detection device are respectively connected to two interrupt pins of the first device, and the detection device sends an interrupt signal to the first device through the CC pin or the HPD pin. An HPD is a signal line for connection between a display and a computer. The HPD signal is used to indicate whether a device connected to the display port has been plugged in or plugged out. Through an HPD mechanism, dynamic switching between the USB 3.0 and the DP on the tenth-generation Android operating system (Android 10) and thirteenth-generation Android operating system (Android 13) platforms is realized, and flexibility and user experience of the system are improved.
In the embodiment of the application, when the detection device detects that the connection state of the type-c interface is changed, an interrupt signal is sent to the first device. For example, when the type-c interface connects or disconnects the external device, the detecting means detects the change and then sends an interrupt signal to the first device.
1002. The first device enters an interrupt.
The first device triggers the first device to enter the interrupt after receiving the interrupt signal from the detection device. The interrupt mechanism can improve the working efficiency of the first device, when no interrupt signal is received, the first device can execute other tasks, and when the interrupt signal is received, the first device can respond in time. In addition, the interrupt mechanism enables the first device to not need to continuously inquire the connection state of the external device, and resources of the first device are saved.
1003. The first device acquires bus data from the detection device.
In the embodiment of the application, the bus data is a value in a register of the detection device, and the value is a type of external equipment which causes the connection state of the type-c interface to change. Optionally, the first device reads the bus data from the detection device through the data transmission pin, for example, the first device reads the type of the external device stored in the register of the detection device through an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) bus (i.e., a serial data line and a serial clock line).
Under the condition of interrupt entering, the first device acquires bus data from the detector, so that the type of external device with the type-c interface disconnected or connected is known, and then corresponding function switching is performed, thereby ensuring timely response of port state change.
1004. Whether the first device is connected to the second device is determined, if yes, step 1007 is executed, and if no, step 1005 is executed.
In the embodiment of the application, the second device is a device with a DP function, and whether the second device is connected or disconnected needs to be judged to cause the change of the connection state of the type-c interface. If the second device is connected, the first device needs to initialize the DP function so as to be capable of supporting the DP function, and if the second device is disconnected, the first device needs to switch from supporting the DP function to supporting the USB3.0 function. The correct identification of the device type and the switching of the corresponding mode is ensured.
1005. The first device modifies the value of the physical layer register from a first value to a second value.
In the event that the type-c interface connection state of the first device is disconnected from the second device, the first device modifies the value of the PHY register from a first value to a second value.
In the embodiment of the application, the modification of the value of the PHY register is realized by adopting a method for configuring and calling a restoring interface. Alternatively, the restore interface is implemented in software, and may be a function for modifying the value of the PHY register.
1006. The first device switches from supporting the DP function to supporting the USB3.0 function.
When the second device is accessed, the first device performs DP function initialization, and modifies the values of the PHY registers to the first value in the DP function initialization flow, but when the DP function is released, the first device does not restore the values of the PHY registers. Since the same PHY is used in both the case of supporting the DP function and the case of supporting the USB3.0 function in the first device, a problem of an interface configuration error occurs when the first device switches from supporting the DP function to supporting the USB3.0 function.
Therefore, in the case where the value of the PHY register is modified from the first value to the second value, no configuration error occurs when the first device switches from supporting the DP function to supporting the USB3.0 function.
1007. The first device modifies the value of the physical layer register to a first value.
In the case where the type-c interface connection state of the first device is connected with the second device, the value of the PHY register is modified to the first value. Optionally, when the first device obtains that the type of the device connected to the type-c interface is a device supporting the DP function, the first device may read, through the AUX channel, information such as EDID of the external device supporting the DP function from the type-c interface.
EDID information is a communication protocol between a display device (e.g., display, television, projector, etc.) and a computer graphics card for communicating basic information of the display device. With EDID, the display device can report its capabilities and characteristics to a connected computer or other graphical output device, thereby enabling the computer to automatically identify the display device and adjust output parameters (e.g., resolution, refresh rate, color depth, etc.) to obtain optimal display results.
In the embodiment of the present application, this step is the initialization of the DP function of the first device, and in this initialization process, the first device modifies the value of the PHY register to the first value to configure the PHY.
1008. The first device switches to support the DP function.
In the embodiment of the application, the first device does not support the DP function when supporting the USB3.0 function, and when the first device is accessed to the DP device, the initialization of the DP function is executed, so that the first device is switched to support the DP function.
1009. The first device completes the function switch.
According to the embodiment of the application, the function switching is performed according to the connection state of the type-c interface and the type of the external device causing the change of the connection state, so that the data interaction between the first device and the external device is ensured.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating connection between devices related to a function switching method according to an embodiment of the present application. Reference is made to the above for a description of the detection means involved in the connection method, which is not described in detail here. The naming of the pins in fig. 2 is not fixed, and may be named according to the functions of the pins, which is not a limitation of the embodiments of the present application. When the first device in the embodiment of the present application is an MSM system chip, the detection device and the type-c interface are connected by a method as shown in fig. 2. The connection method provided by the connection schematic will be described in detail below.
As shown in fig. 2, a first receive data (receive 1, RX 1) pin and a second receive data (receive 2, RX 2) pin of the type-c interface are respectively connected to two transmit data pins of the MSM system chip, and a first transmit data (transmit 1, tx 1) pin and a second transmit data (transmit 2, tx 2) pin of the type-c interface are respectively connected to two receive data pins of the MSM system chip. The TX1, RX1, TX2 and RX2 pins are used for transmitting data between the external device accessed by the type-c interface and the MSM system chip, including but not limited to video data and text data. the Data Positive (DP) pin and the data negative (DM) pin of the type-c interface are respectively connected to two universal input/output pins of the MSM system chip. The DP pin and the DM pin are used together, and bidirectional transmission of data is realized through differential signal transmission. The auxiliary switch (AUX-switch) in fig. 2 is used to switch the direction of the AUX channel, and the direction of the AUX channel is the same as the data transmission direction of the type-c interface. As illustrated, the first auxiliary positive (auxiliary positive, auxp 1) pin and the first auxiliary negative (auxiliary negative, auxn 1) pin of the auxiliary switch are respectively connected with two input-output pins of the type-c interface. And the second auxiliary positive electrode (auxiliary positive, AUXP2) pin and the second auxiliary negative electrode (auxiliary negative, AUXN 2) pin of the auxiliary switch are respectively connected with two input and output pins of the MSM series system chip. A general purpose input/output (GPIO) pin of the auxiliary switch is connected with a GPIO pin of the MSM system chip. In the embodiment of the application, the MSM system chip acquires information such as EDID of equipment with DP function accessed by the type-c interface through an AUXP2 pin and a AUXN pin. The control input/output pins of the MSM system chip are connected with the control pins of the auxiliary switch, and are used for controlling the direction of the auxiliary switch to be switched by the MSM system chip.
As shown in fig. 2, two detection pins of the CC detection device are respectively connected with a CC1 pin and a CC2 pin of the type-c interface, and the other detection pin of the CC detection device is connected with a VBUS pin of the type-c interface. The serial data (SERIAL DATA, SDA) pin and Serial Clock (SCL) pin of the MSM system chip are respectively connected to two data transmission pins of the detection device. Two interrupt pins (i2c_irq pin and hpd_irq pin) of the MSM series system chip are connected to two interrupt pins of the detection device, respectively. In the embodiment of the application, the detection device determines that the connection state of the type-C interface is changed (external equipment is disconnected or connected) through the level change of the CC1 pin and the CC2 pin, then the detection device sends an interrupt signal to the MSM series system chip, and the corresponding I2C_IRQ pin of the MSM series system chip receives the interrupt signal. When the detecting device detects the plug of the equipment with the DP function, then an interrupt signal is sent to the MSM series system chip, and the HPD_IRQ pin of the MSM series system chip receives the interrupt signal. Under the condition that the MSM series system chip enters into the interrupt, the type of the external equipment is read from the register of the detection device through the SDA pin and the SCL pin. Optionally, the MSM system chip further obtains EDID and other information of the external device supporting the DP function through the AUX channel.
In the embodiment of the application, when the type-c interface is disconnected from the device with the DP function, the MSM series system chip modifies the value of the PHY register from the first value to the second value, so that the MSM series system chip can support the USB3.0 function under the condition of being disconnected from the DP device. When the type-c interface is connected with a device having a DP function, the MSM series system chip modifies the value of the PHY register to a first value so that the MSM series system chip can support the DP function in a case of being connected with the DP device.
Referring to fig. 3, fig. 3 is a flow chart of another function switching method according to an embodiment of the application. The first device, the second device and the detection means to which the method relates are described above with reference to which no further details are given here. As shown in fig. 3, the flowchart is a flow from the generation of an interrupt to the completion of the function switching by the first device. The steps involved in the above-described flow will be described in detail below.
3000. The first device generates an interrupt.
In the embodiment of the application, the first equipment receives the interrupt signal sent by the detection device and then enters the interrupt, and under the condition that the interrupt is generated, the bus data in the detection device is acquired.
3001. And judging whether the type-c interface is connected with external equipment or not. If yes, go to step 3002, if not, go to step 3006.
When the detection device detects that the connection state of the type-c interface changes, for example, the type-e interface is connected or disconnected with the external device, the detection device can send an interrupt signal to the first device. That is, the type-c interface connects or disconnects the external device, and the first device receives the interrupt signal and enters the interrupt. The operations to be executed by the first device in the connected state and the disconnected state are different, so that it is necessary to determine whether the first device is disconnected or connected to the external device, which causes the first device to enter into an interruption.
3002. And judging whether the external device connected with the type-c interface is a second device. If yes, go to step 3005, if no, go to step 3003.
Under the condition that the first device enters an interrupt, bus data is read from the detection device, wherein the bus data is the type of external device which is stored in a register of the detection device and causes the connection state of the type-c interface to change. The embodiment of the application needs to judge whether the type-c interface is accessed by the second device so as to facilitate the corresponding function switching of the first device. Thereby ensuring correct identification of the device type and switching of the corresponding mode.
3003. And judging whether the external device connected with the type-c interface is a device with a USB3.0 function. If yes, go to step 3004, if not, go to step 3005.
If the device accessed by the type-c interface is not the second device, it is also required to determine whether the external device is a device with a USB3.0 function, so that the first device performs corresponding function switching.
3004. The first device switches to a data transfer direction supporting the USB3.0 function and sets the type-c interface.
When the device accessed by the type-c interface is a device with a USB3.0 function, the first device switches to support the USB3.0 function, e.g., turns on the overspeed PHY of USB. And the data transmission direction of type-c needs to be set in order to ensure the correct transmission of data.
3005. The first device switches to a corresponding USB mode.
When the type-c interface is connected with the second device or the device without the USB3.0 function, the first device is switched to support the DP function, and the first device supports the USB2.0 function. When the type-c interface is a USB3.0 enabled device, the first device switches to support the USB3.0 function.
3006. It is determined whether the device with the type-c interface disconnected is a device having a USB3.0 function.
Optionally, when the type-c interface disconnects the external device to trigger an interrupt, the first device determines whether the external device is a device with a USB3.0 function.
3007. The first device turns off the USB3.0 function.
Alternatively, when the first device disconnects from the USB3.0 capable device, the first device shuts down the USB3.0 function, e.g., shuts down the USB overspeed PHY.
3008. The first device switches USB mode to idle mode (i.e., NONE).
Alternatively, when the type-c interface disconnected device is not a USB3.0 capable device, or after the first device turns off the USB3.0 function, the first device switches the USB mode to the idle mode. When the first device is in the USB idle mode, the first device cannot identify the external device and cannot be identified by the main device.
3009. The first device function switch is successful.
Reference is made to the description of step 1009 in fig. 1 above for a description of this step, which is not described in detail here.
Referring to fig. 4, fig. 4 is a flowchart of another function switching method according to an embodiment of the application. The description of the DP device 402 (i.e., the second device) and the MSM family system chip 404 (i.e., the first device) to which the method relates may be referred to above and will not be described in detail herein. As shown in fig. 4, the flowchart is a process of establishing a connection between the first device and the DP-capable device. Optionally, in the embodiment of the present application, the type of USB interface 401 is a type-c interface. A user space (user space) 403 is a memory area that is accessible to normal user processes. The steps involved in the above-described flow will be described in detail below.
4001. The USB interface is connected to the DP device by a hot plug mechanism.
Alternatively, the USB interface (type-c interface type is used) uses the CC detection protocol to access the DP device.
4002. The USB interface establishes a connection with the DP device and informs the user space.
In this step, the first device is prohibited from supporting the USB3.0 function, the direction of data transmission of the DP function is acquired, and EDID and display interface configuration data (display port configuration data, DPCD) of the DP device are read. Connection training is started to establish a stable communication connection between the devices. And after the connection training is successful, informing the user space.
DPCD is a data structure associated with the DP video interface protocol for conveying configuration information about the display and the connection link. It is mainly used in the display interface standard of DP1.2 and above. The DPCD data structures contain information about the characteristics supported by the display, bandwidth requirements, transmission modes, etc. The present embodiment uses version DP 1.4.
Optionally, the first device modifies the value of the PHY register to a first value to switch to support the DP function.
4003. The user space sends a request to the MSM family system chip.
This step is that the user space sends data or requests to the MSM series system chip. Correspondingly, the MSM series system chip obtains data from the user space. The specific process includes the user space acquiring the display mode supported by the DP device, selecting the preferred display mode and then submitting the selection (i.e. sending data to the MSM system chip).
4004. The MSM family system chip initiates the bridging device.
The bridging device is enabled, which typically involves initializing hardware or opening a signal path, among other operations. And the MSM series system chip is connected with the DP to perform data transmission. In the embodiment of the application, the first device modifies the value of the PHY register into the first value, can support the DP function and realizes the data transmission with the DP device.
Referring to fig. 5, fig. 5 is a flowchart of another function switching method according to an embodiment of the application. The USB interface 501, the DP device 502 (i.e. the second device), the user space 503 and the MSM system chip 504 related to this method are described above with reference to fig. 4, and will not be described in detail here. As shown in fig. 4, the flowchart is a process in which the first device and the DP-capable device are disconnected. The steps involved in the above-described flow will be described in detail below.
5001. The USB interface applies a hot plug mechanism to disconnect from the DP device.
Optionally, the USB interface (type-c interface type is used) disconnects from the DP device using the CC detection protocol.
5002. The USB interface is disconnected from the DP device and notifies the user space.
In this step, the first device is allowed to support USB3.0 functionality. Reference is made to the above description of fig. 4 for a detailed description of this step, which is not described in detail here.
In the embodiment of the application, the first device modifies the value of the PHY register from the first value to the second value to realize the switch from the DP supporting function to the USB3.0 function.
5003. The user space sends a request to the MSM family system chip.
For a detailed description of this step, reference is made to the description of step 4003 of fig. 4 above, which is not described in detail herein.
5004. The MSM family system chip disables the bridge DP device.
5005. The MSM family system on chip process disables the bridge DP device.
And disabling the bridge DP device for closing signal output, releasing resources and the like.
5006. The MSM series system chip turns on the USB3.0 function.
In the embodiment of the application, when the device with the DP function is disconnected, the first device changes the value of the PHY register from the first value to the second value, and the device is switched to support the USB3.0 function.
The device provided by the embodiment of the application will be described below.
According to the method embodiment, the device is divided into the functional modules, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, the division of the modules in the present application is illustrative, and is merely a logic function division, and other division manners may be implemented in practice. The apparatus according to the embodiment of the present application will be described in detail with reference to fig. 6 to 8.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the application. As shown in fig. 6, the communication device 600 includes a transceiver module 601 and a processing module 602. The transceiver module 601 may implement a function of receiving and transmitting signals during network searching, and the processing module 602 is configured to implement a corresponding processing function. Such as transceiver module 601 may also be referred to as an interface, communication interface, or communication module, etc.
In some embodiments of the present application, the apparatus may be used to perform the actions performed by the first device in the above method embodiments, where the apparatus may be the device itself or a chip or a functional module that may be configured in the device, etc. The transceiver module 601 is configured to perform operations related to data transceiving of the first device in the above method embodiment, and the processing module 602 is configured to perform operations related to processing of the first device in the above method embodiment.
For example, the transceiver module 601 may be an input/output module. Optionally, in the foregoing embodiments, the foregoing apparatus may further include a storage module, where the storage module may be configured to store instructions and/or data, and the processing module 602 may read the instructions and/or data in the storage module, so that the apparatus implements the foregoing method embodiments. Such as the memory module, may be used to store the configuration of PHY registers, etc.
In a possible implementation, in the apparatus shown in fig. 6, the processing module 602 may be one or more processors, the transceiver module 601 may be a transceiver, or the transceiver module 601 may also be a transmitting module and a receiving module, the transmitting module may be a transmitter, and the receiving module may be a receiver, where the transmitting module and the receiving module are integrated into one device, such as a transceiver. In the embodiment of the present application, the processor and the transceiver may be coupled, etc., and the embodiment of the present application is not limited to the connection manner of the processor and the transceiver. In the process of executing the above method, the process related to the data transmission in the above method may be a process of outputting the above data by a processor. When outputting the data, the processor outputs the data to the transceiver for transmission by the transceiver. The data may also need to be processed further after being output by the processor before reaching the transceiver. Similarly, the process of receiving data in the above method may be a process of receiving input data by a processor. When the processor receives the input data, the transceiver receives the data and inputs the data to the processor. Further, after the transceiver receives the data, the data may need to be processed and then input to the processor.
The specific descriptions of the transceiver module and the processing module shown in the foregoing embodiments are merely examples, and reference may be made to the foregoing method embodiments for specific functions or steps performed by the transceiver module and the processing module, which are not described in detail herein.
It should be understood that the division of the modules in the above apparatus is merely a division of logic functions, and each function may correspond to one functional module, or two or more functions may be integrated into one functional module. In actual implementation, all or part of the modules may be integrated into one physical entity, or may be distributed in different physical entities. In addition, the functional modules can be realized in a form of hardware, a form of software or a form of combining hardware with software.
Referring to fig. 7, fig. 7 is a schematic diagram of another structure of a communication device according to an embodiment of the application. As shown in fig. 7, the apparatus includes one or more processors 702 and a transceiver 701.
In some embodiments of the present application, the apparatus may be configured to perform a step or a method or a function performed by the first device, for example, the processor 702 may be configured to perform a function or a step implemented by the processing module 602 shown in fig. 6, and the transceiver 701 may be configured to perform a function or a step implemented by the transceiver module 601 shown in fig. 6. Specific description of the processor 702 and transceiver 701 may refer to fig. 6 or the method embodiment shown above and will not be described in detail herein.
The following description will take the device shown in fig. 7 as an example of a communication device.
In various implementations of the communication device shown in fig. 7, the transceiver may include a receiver to perform the functions (or operations) of receiving and a transmitter to perform the functions (or operations) of transmitting. And transceivers are used to communicate with other devices/means via transmission media.
Optionally, the communication device 700 may further comprise one or more memories 703 for storing program instructions and/or data. The memory 703 is coupled to the processor 702. The coupling in the embodiments of the present application is an indirect coupling or communication connection between communication devices, units or modules, which may be in electrical, mechanical or other forms for information interaction between the communication devices, units or modules. The processor 702 may operate in conjunction with the memory 703. The processor 702 may execute program instructions stored in the memory 703. In the alternative, at least one of the one or more memories may be included in the processor.
The specific connection medium between the transceiver 701, the processor 702, and the memory 703 is not limited in the embodiments of the present application. In the embodiment of the present application, the transceiver 701, the processor 702 and the memory 703 are connected by a bus 704 in fig. 7, and the bus is shown by a thick line in fig. 7, and the connection manner between other components is only schematically illustrated, but not limited thereto. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 7, but not only one bus or one type of bus.
In the embodiment of the present application, the processor may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiment of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution, etc.
In an embodiment of the present application, the Memory may include, but is not limited to, nonvolatile Memory such as a hard disk (HARD DISK DRIVE, HDD) or Solid State Disk (SSD), random access Memory (Random Access Memory, RAM), erasable programmable Read-Only Memory (Erasable Programmable ROM, EPROM), read-Only Memory (ROM), or portable Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), etc. The memory is any storage medium that can be used to carry or store program code in the form of instructions or data structures and that can be read and/or written by a computer (e.g., a communication device, etc., as illustrated by the present application), but is not limited thereto. The memory in embodiments of the present application may also be circuitry or any other device capable of performing memory functions for storing program instructions and/or data.
The processor 702 is mainly used for processing communication protocols and communication data, controlling the whole communication device, executing software programs and processing data of the software programs. The memory 703 is mainly used for storing software programs and data. The transceiver 701 may include control circuitry for converting baseband signals to radio frequency signals and processing the radio frequency signals, and an antenna. The antenna is mainly used for receiving and transmitting radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are mainly used for receiving data input by a user and outputting data to the user.
When the communication device is powered on, the processor 702 may read the software program in the memory 703, interpret and execute instructions of the software program, and process data of the software program. When data needs to be transmitted wirelessly, the processor 702 performs baseband processing on the data to be transmitted, and then outputs a baseband signal to the radio frequency circuit, and the radio frequency circuit performs radio frequency processing on the baseband signal and then transmits the radio frequency signal outwards in the form of electromagnetic waves through the antenna. When data is transmitted to the communication device, the radio frequency circuit receives a radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 702, and the processor 702 converts the baseband signal into data and processes the data.
In another implementation, the radio frequency circuitry and antenna may be provided separately from the processor performing the baseband processing, e.g., in a distributed scenario, the radio frequency circuitry and antenna may be in a remote arrangement from the communication device.
The communication device shown in the embodiment of the present application may also have more components and the like than those shown in fig. 7, which is not limited thereto. The methods performed by the processors and transceivers shown above are merely examples, and reference is made to the methods described above for specific steps performed by the processors and transceivers.
In another possible implementation, in the communications apparatus shown in fig. 6, the processing module 602 may be one or more logic circuits, and the transceiver module 601 may be an input-output interface, which is also referred to as a communications interface, or an interface circuit, or an interface, or the like. Alternatively, the transceiver module 601 may be a transmitting module and a receiving module, the transmitting module may be an output interface, and the receiving module may be an input interface, where the transmitting module and the receiving module are integrated into one module, for example, an input/output interface.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a chip according to an embodiment of the application. As shown in fig. 8, the chip shown in fig. 8 includes a logic circuit 801 and an interface 802. That is, the processing module 602 may be implemented by the logic circuit 801, and the transceiver module 601 may be implemented by the interface 802. The logic circuit 801 may be a chip, a processing circuit, an integrated circuit, or a system on chip (SoC) chip, and the interface 802 may be a communication interface, an input/output interface, a pin, or the like. Fig. 8 illustrates an exemplary device as a chip including a logic circuit 801 and an interface 802.
In the embodiment of the application, the logic circuit and the interface can be coupled with each other. The embodiment of the present application is not limited to the specific connection manner of the logic circuit and the interface. By way of example, logic 801 may be used to perform functions or steps implemented by processing module 602 as shown in fig. 6 and interface 802 may be used to perform functions or steps implemented by transceiver module 601 as shown in fig. 6. Specific description of logic 801 and interface 802 may refer to fig. 6 or the method embodiment shown above and will not be described in detail herein.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, and the computer program makes a computer execute part or all of the steps of any one of the methods for realizing the key function as described in the above method embodiment.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software program modules.
The integrated units, if implemented in the form of software program modules, may be stored in a computer-readable memory for sale or use as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. The memory includes a U disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, etc. which can store program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable memory, the memory may include a flash disk, a read only memory, a random access memory, a magnetic or optical disk, etc.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A method of function switching, the method being applied to a first device, the method comprising:
Acquiring bus data from a detection device, wherein the bus data indicates the connection state of a type-c interface of the first equipment;
and in the case that the connection state of the type-c interface of the first device is disconnected with the second device, modifying the value of the physical layer PHY register of the first device from a first value to a second value, wherein the second device is a device with a display interface DP function, the first value enables the first device to support the DP function, and the second value enables the first device to support a third-generation universal serial bus USB3.0 function.
2. The method according to claim 1, wherein the method further comprises:
and modifying the value of the PHY register of the first device to a first value under the condition that the connection state of the type-c interface of the first device is that the first device is connected with the second device.
3. The method according to claim 1 or 2, wherein prior to said obtaining bus data from the detection device, the method further comprises:
receiving an interrupt signal from the detection device, wherein the interrupt signal is used for triggering the first equipment to enter an interrupt;
After the first device enters an interrupt, the step of acquiring bus data from the detection device is performed.
4. A method according to any one of claims 1 to 3, wherein the first configuration channel CC1 pin and the second configuration channel CC2 pin of the type-c interface are respectively connected to two detection pins of the detection device;
The detection device is used for detecting the type of equipment accessed by the type-c interface through the levels of the CC1 and the CC2 pins, and the values of registers of the detection device are different when the type of equipment is the one supporting the DP function and the one supporting the USB3.0 function;
The detection device is further configured to send the interrupt signal to the first device in a case where levels of the CC1 and the CC2 pins change.
5. The method according to any of claims 1 to 4, wherein two data transfer pins of the first device are connected to two data transfer pins of the detection device, and wherein an interrupt pin of the first device is connected to an interrupt pin of the detection device;
The acquiring bus data from the detection device includes:
Acquiring the bus data from the detection device through two data transmission pins of the first equipment;
the receiving the interrupt signal from the detecting device includes:
and acquiring the interrupt signal from the detection device through an interrupt pin of the first equipment.
6. The method of any of claims 1 to 5, wherein modifying the value of the PHY register from a first value to a second value comprises:
configuring a restore interface for modifying values of the PHY registers;
modifying the value of the PHY register from a first value to the second value by invoking the restore interface.
7. The method of any of claims 1-6, wherein the first value causes the first device to support the DP function, further comprising:
The first value causes the first device to support the DP function and a second generation universal serial bus USB2.0 function.
8. A communication device comprising a transceiver for receiving and transmitting data, a processor and a memory for storing a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1 to 7.
9. A chip comprising logic circuitry and an interface, the logic circuitry and the interface being coupled, the logic circuitry to cause the chip to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by an application processor, perform the method of any of claims 1 to 7.
CN202510273311.3A 2025-03-07 2025-03-07 Function switching method and device Pending CN120316047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510273311.3A CN120316047A (en) 2025-03-07 2025-03-07 Function switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510273311.3A CN120316047A (en) 2025-03-07 2025-03-07 Function switching method and device

Publications (1)

Publication Number Publication Date
CN120316047A true CN120316047A (en) 2025-07-15

Family

ID=96322293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510273311.3A Pending CN120316047A (en) 2025-03-07 2025-03-07 Function switching method and device

Country Status (1)

Country Link
CN (1) CN120316047A (en)

Similar Documents

Publication Publication Date Title
US10127181B2 (en) Port disconnect charging function for USB hub
US8195852B2 (en) Configurable connector for system-level communication
KR101695712B1 (en) Leveraging an enumeration and/or configuration mechanism of one interconnect protocol for a different interconnect protocol
CN101551693B (en) Electronic device, computer system, and communication control method
WO2019015681A1 (en) Terminal device and control method therefor
EP3089165A1 (en) Electronic device, adapter device, and video data processing method thereof
US20250165427A1 (en) Pcie network card and interface mode switching method therefor, electronic device, and storage medium
US20060143310A1 (en) Electronic device, electronic device system and communication method
TWI515577B (en) Method and interface for communications between units in a device
US11703910B2 (en) Docking station, electrical device, and method for configuring basic input output system
US20220269326A1 (en) Electronic device, interface control method of electronic device, and system
CN107111564B (en) Adapter for connecting connectors in series
US11403245B2 (en) Terminal, terminal peripheral, signal transmission system and signal sending and receiving method
US20060160569A1 (en) Cellular phone and portable storage device using the same
US20120102251A1 (en) Serial attached small computer system interface (sas) domain access through a universal serial bus interface of a data processing device
CN113641611B (en) I2C interface circuit, control method thereof and electronic equipment
WO2023082622A1 (en) Method for designing communication module having master and slave devices compatible, and apparatus
KR20130003645A (en) Method for establishing connection between external device and mobile terminal docking thereat
CN120316047A (en) Function switching method and device
CN102810054B (en) Display device and method for controlling display device
CN116431546A (en) Parameter configuration method, electronic device, storage medium, and program product
WO2022170861A1 (en) Data transmission method of electronic device, electronic device, and interface circuit
US20140289393A1 (en) Network apparatus and connection detecting method thereof
CN111711460A (en) Method, device, storage medium and electronic device for processing USB working mode
US12417300B2 (en) Data control method and data control system capable of providing high data transmission security

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