Device, identification method and electronic equipment
By designing a device that can detect chip voltage signals in electronic devices, the connection problem of burning equipment caused by reverse connection of consumable chips is solved, and chip safety identification is achieved without power supply, avoiding data and hardware damage.
Patent Information
- Application Number
- CN202410891197.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-11-01
AI Technical Summary
In image forming equipment, the reverse connection problem of the consumable chip causes the burning device to fail to connect to the chip normally, which may lead to data corruption and hardware circuit damage.
By designing a device in an electronic device, the device can detect whether the chip is inverted without power supply, use voltage signals of different levels to determine the connection status of the chip, and send a prompt to the display device or electronic device through the identification signal Information to avoid data and hardware damage caused by reverse connection.
Effectively identify the reverse connection of the chip, prevent data damage and hardware circuit damage during the identification process, and ensure the safety and correctness of the chip during the burning process.
Smart Images

Figure CN118884301A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic computer technology, and to a device, an identification method and an electronic device. Background Art
[0002] Image forming devices include but are not limited to printers, copiers, fax machines, scanners, and multifunction machines that integrate printing, copying, faxing, scanning and other functions, and their function is to print images or texts on imaging media.
[0003] When using an image forming device, it is usually necessary to install a consumable box on the image forming device. The consumable box includes a detachable consumable chip. When the consumable box is installed in the image forming device, the consumable chip in the consumable box establishes an electrical connection with the image forming device and performs data communication with the image forming device. For example, the consumable chip can be used to control the authentication and data matching between the consumable box and the image forming device, and provide imaging auxiliary information to the image forming device in the subsequent imaging process of the image forming device. Specifically, the consumable chip on the consumable box can be electrically connected to the image forming device through corresponding contacts. The data in the consumable chip that communicates with the image forming device needs to be updated or burned by the burning device. The contacts of some consumable chips are in a row and have the same spacing, which makes it easy to reverse the direction of the consumable chip when the burning device burns the consumable chip, so that when the burning device burns the data, its pins cannot be connected to the contacts corresponding to its function, and the consumable chip cannot be burned normally.
[0004] Therefore, a method for identifying chip reverse connection is needed to ensure that the chip can be burned normally. Summary of the invention
[0005] In order to solve the problem of how to identify chip reverse connection, the present application provides a device, an identification method and an electronic device.
[0006] The present application embodiment adopts the following technical solutions:
[0007] In a first aspect, the present application provides a device, which is applied to an electronic device, and the electronic device is used to update or burn data for a first chip, and the first chip can be installed in a consumable box, wherein:
[0008] The first chip at least comprises: a first interface for connecting to a first device interface of the device; a second interface for connecting to a second device interface of the device; a third interface for connecting to a third device interface of the device;
[0009] The device can be used to detect whether the first chip is reversely connected. In the detection state, the first device interface does not output voltage, and the second device interface outputs a first level. When the input voltage of the third device interface is a second level, it is determined that the first chip is reversely connected.
[0010] In an implementation of the first aspect, if it is determined that the first chip is reversely connected, the apparatus sends a first identification signal to a display device connected to the apparatus, wherein the first identification signal is used to instruct the display device to display prompt information.
[0011] In an implementation manner of the first aspect, if it is determined that the first chip is not reversely connected, the apparatus sends a second identification signal to the electronic device, wherein the second identification signal is used to indicate that the first chip is normally connected.
[0012] In an implementation of the first aspect:
[0013] A first resistor is connected between the first device interface and the second device interface;
[0014] A second resistor is connected between the first device interface and the third device interface.
[0015] In an implementation manner of the first aspect, the second device interface outputs a data signal.
[0016] In an implementation manner of the first aspect, the second device interface outputs a clock signal.
[0017] In an implementation manner of the first aspect, the first level and the second level are different levels.
[0018] In a second aspect, the present application provides an identification method, the method is applied to a device, the device is applied to an electronic device, the electronic device is used to update or burn data for a first chip, the first chip can be installed in a consumable box, wherein:
[0019] The first chip at least comprises: a first interface for connecting to a first device interface of the device; a second interface for connecting to a second device interface of the device; a third interface for connecting to a third device interface of the device;
[0020] The method comprises:
[0021] In the detection state, the first device interface does not output a voltage, and the second device interface outputs a first level;
[0022] An input voltage of the third device interface is identified, and when the input voltage of the third device interface is at a second level, it is determined that the first chip is reversely connected.
[0023] In an implementation of the second aspect, the method further includes:
[0024] If it is determined that the first chip is reversely connected, a first identification signal is sent to a display device, wherein the first identification signal is used to instruct the display device to display prompt information.
[0025] In an implementation of the second aspect, the method further includes:
[0026] If it is determined that the first chip is reversely connected, a second identification signal is sent to the electronic device, wherein the second identification signal is used to indicate that the first chip is normally connected.
[0027] In an implementation of the second aspect:
[0028] A first resistor is connected between the first device interface and the second device interface;
[0029] A second resistor is connected between the first device interface and the third device interface.
[0030] In an implementation manner of the second aspect, the second device interface outputs a data signal, and the third device interface outputs a clock signal.
[0031] In an implementation manner of the second aspect, the second device interface outputs a clock signal, and the third device interface outputs a data signal.
[0032] In an implementation manner of the second aspect: the first level and the second level are different levels.
[0033] In a third aspect, the present application provides an electronic device, wherein the electronic device comprises the apparatus of the first aspect or the method of the second aspect.
[0034] According to the device, identification method and electronic device provided in the present application, it is possible to identify whether the first chip is reversely connected without powering the first chip, thereby avoiding damage to the chip data and chip hardware circuit caused by the reverse connection during the identification process while identifying the chip is reversely connected. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a simplified diagram of the structure of a device according to an embodiment of the present application;
[0036] Figure 2 is a simplified diagram of the structure of a device according to an embodiment of the present application;
[0037] Figure 3 is a simplified diagram of the structure of a device according to an embodiment of the present application;
[0038] Figure 4is a simplified diagram of the structure of a device according to an embodiment of the present application;
[0039] Figure 5 A schematic diagram of the device structure according to an embodiment of the present application
[0040] Figure 6 Shown is a schematic diagram of the interface arrangement of a first chip of the first category;
[0041] Figure 7 Shown is a wiring schematic diagram of a first chip of the first category without reverse connection;
[0042] Figure 8 Shown is a wiring schematic diagram of the reverse connection of the first chip of the first category;
[0043] Fig. 9 Shown is a schematic diagram of the interface arrangement of the first chip of the second category;
[0044] Fig.10 Shown is a wiring schematic diagram of the first chip of the second category without reverse connection;
[0045] Fig.11 Shown is a wiring diagram of the reverse connection of the first chip of the second category;
[0046] Fig.12 Shown is a schematic diagram of the interface arrangement of the first chip of the third category;
[0047] Fig.13 Shown is a wiring schematic diagram of the first chip of the third category without reverse connection;
[0048] Fig.14 Shown is a wiring diagram of the reverse connection of the first chip of the third category;
[0049] Fig.15 Shown is a flow chart of an identification method according to an embodiment of the present application;
[0050] Fig.16 Shown is a flow chart of an identification method according to an embodiment of the present application;
[0051] Fig.17 Shown is a schematic structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0053] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0054] Regarding the problem of how to identify the reverse connection of the chip, a feasible solution is to test whether the device can communicate with the chip normally after aligning the device's pins with the chip's interface. If normal communication is not possible, the chip may be reversed. However, to test whether the device can communicate with the chip normally, the chip needs to be powered on. In the case of reverse connection of the chip, powering on the chip may apply a driving voltage VCC to the chip's ground line (GND), which may cause damage to the chip hardware and data errors.
[0055] An embodiment of the present application provides a device for identifying chip reverse connection and a method for identifying chip reverse connection based on the device, which can avoid chip data damage and chip hardware circuit damage caused by the reverse connection during the identification process while identifying the chip reverse connection.
[0056] An embodiment of the present application provides a device for detecting whether a first chip whose data is updated by an electronic device is reversely connected.
[0057] The present application embodiment does not specifically limit the application scenario of the device. That is, the present application embodiment does not specifically limit the electronic device for burning and updating data for the first chip and the first chip. Those skilled in the art can apply the device to electronic devices that need to detect whether the chip is reversely connected according to actual needs.
[0058] For example, in one embodiment, the device is applied to an electronic device (the device is installed on the electronic device). The electronic device is used to update data for the first chip, that is, the electronic device is a device for burning data to the first chip (the device can be a host + burning head or the host and the burning head are integrated together). The first chip can be installed in a consumable box, and the consumable box can be installed in an image forming device. The first chip is a chip that has no data yet, and can be an old chip or a blank chip.
[0059] In the embodiments of the present specification, the image forming device is a device having at least one function related to image formation. The above-mentioned functions related to image formation may include but are not limited to: printing function, scanning function, copying function, and fax function. For example: a single-function printer (an image forming device with only a printing function); a multi-function printer (an image forming device with printing, copying, scanning and / or faxing functions, and the number of paper boxes can also be selectively set); a digital multifunction machine (based on the copying function, with standard or optional printing, scanning, and faxing functions, using digital principles, and outputting files in the form of laser printing, and can edit images and texts as needed, with a large-capacity paper tray, high memory, a large hard disk, strong network support, and multi-task parallel processing capabilities).
[0060] In one embodiment, the first chip includes at least a first interface, a second interface, and a third interface. The device for identifying chip reverse connection includes at least a first device interface, a second device interface, and a third device interface.
[0061] In the detection state, the electronic device is connected to the first chip, and the first device interface, the second device interface and the third device interface of the device are respectively connected to the first interface, the second interface and the third interface of the first chip.
[0062] In the detection state, the first device interface does not output the power supply voltage, the second device interface outputs the first level, and when the input voltage of the third device interface is the second level, it is determined that the first chip is reversely connected.
[0063] For example, Figure 1 Schematic diagram of a device structure according to an embodiment of the present application.
[0064] like Figure 1 As shown, the device 104 provided in an embodiment of the present application at least includes a first device interface 105 , a second device interface 106 , and a third device interface 107 .
[0065] The device 104 further includes an output module 108 and an identification module 109 .
[0066] The output module 108 is connected to the second device interface 106. The output module 108 is used to output voltage through the second device interface 102 after the electronic device is connected to the first chip.
[0067] The identification module 120 is connected to the third device interface 103. The identification module 120 is used to identify the input voltage of the third device interface 103 after the output module 110 outputs the first level, and determine whether the first chip is reversely connected according to the identified voltage.
[0068] Specifically, in the detection state, the first device interface 105 does not output the power supply voltage, the second device interface 106 outputs the first level, and when the input voltage of the third device interface 107 is the second level, it is determined that the first chip is reversely connected. The first level and the second level are different levels.
[0069] According to the device of the embodiment of the present application, it is possible to identify whether the first chip is reversely connected without powering the first chip, thereby avoiding damage to the chip data and chip hardware circuit caused by the reverse connection during the identification process.
[0070] Optionally, in one embodiment, if it is determined that the first chip is reversely connected, the device sends a first identification signal to a display device connected to the device. The first identification signal is used to instruct the display device to display a prompt message, and the prompt message is used to prompt the user that the chip is reversely connected.
[0071] Optionally, in one embodiment, if it is determined that the first chip is not reversely connected, the device sends a second identification signal to the electronic device, wherein the second identification signal is used to indicate that the first chip is normally connected.
[0072] For example, Figure 2 Schematic diagram of a device structure according to an embodiment of the present application.
[0073] In one embodiment, if Figure 2 As shown, the device 130 provided in an embodiment of the present application includes at least a first device interface 131 , a second device interface 132 , and a third device interface 133 .
[0074] The device 104 further includes an output module 134 , an identification module 135 , and a signal sending module 136 .
[0075] The output module 134 is connected to the second device interface 132 .
[0076] The identification module 135 is connected to the third device interface 133 and the signal sending module 136 .
[0077] In the detection state, the first device interface 131 does not output the power supply voltage, the output module 134 outputs the first level through the second device interface 132, and when the identification module 135 identifies that the input voltage of the third device interface 133 is the second level, the identification module 135 determines that the first chip is reversely connected. The identification module 135 instructs the signal sending module 136 to send the first identification signal to the display device connected to the device 130. When the identification module 135 identifies that the input voltage of the third device interface 133 is the third level, the identification module 135 determines that the first chip is not reversely connected. The identification module 135 instructs the signal sending module 136 to send the second identification signal to the electronic device.
[0078] Further, in one embodiment, the interface of the first chip at least includes a driving voltage (VCC) interface, a serial clock line (SCL) interface, a serial data line (SDA) interface, and a ground line (GND) interface.
[0079] The first device interface, the second device interface and the third device interface of the device are connected to each other.
[0080] When the first chip is correctly connected, the first interface, the second interface and the third interface of the first chip include a driving voltage (VCC) interface, a serial clock line (SCL) interface, and a serial data line (SDA) interface, that is, the first interface, the second interface and the third interface do not include a ground line (GND) interface.
[0081] In the detection state, the first chip does not work, so the driving voltage (VCC) interface, serial clock line (SCL) interface, and serial data line (SDA) interface of the first chip are suspended (the first interface, the second interface, and the third interface are suspended).
[0082] In the detection state, when the second device interface outputs a first level, since the first device interface, the second device interface and the third device interface are connected to each other, and the first interface, the second interface and the third interface connected to the first device interface, the second device interface and the third device interface are suspended, the first level output by the second device interface will be input to the third device interface, and the third level consistent with the first level will be recognized at the third device interface.
[0083] In the case where the first chip is reversely connected, one of the first interface, the second interface and the third interface is a ground (GND) interface. When one of the first interface, the second interface and the third interface is a ground (GND) interface, since the first interface, the second interface and the third interface are respectively connected to the first device interface, the second device interface and the third device interface, one of the first device interface, the second device interface and the third device interface is connected to the ground (GND) interface of the first chip. Since the first device interface, the second device interface and the third device interface are connected to each other, it is equivalent to that the first device interface, the second device interface and the third device interface are all connected to the ground (GND) interface of the first chip.
[0084] In the detection state, when the second device interface outputs a first level, since the first device interface, the second device interface and the third device interface are connected to the ground (GND) interface of the first chip, the first level output by the second device interface will not be input to the third device interface, and the third device interface will recognize a second level inconsistent with the first level (for example, the input voltage of the third device interface is 0).
[0085] Based on the above state, in one embodiment, in the detection state, when the identification module 120 can identify the second level corresponding to the ground (GND) interface, it can be determined that the first chip is reversely connected.
[0086] Specifically, in one embodiment, the first device interface, the second device interface, and the third device interface of the device may be interconnected in any manner.
[0087] For example, in one embodiment, a first resistor is connected between the first device interface and the second device interface, and a second resistor is connected between the first device interface and the third device interface.
[0088] For another example, in one embodiment, a third resistor is connected between the first device interface and the second device interface, and a fourth resistor is connected between the second device interface and the third device interface.
[0089] For example, Figure 3 Schematic diagram of a device structure according to an embodiment of the present application.
[0090] like Figure 3 As shown, the device 100 provided in one embodiment of the present application includes at least a first device interface 101, a second device interface 102, and a third device interface 103. A first resistor R121 is connected between the first device interface 101 and the second device interface 102, and a second resistor R122 is connected between the first device interface 101 and the third device interface 103. The resistance values of the first resistor R121 and the second resistor R122 can be set according to actual needs, for example, 3K to 5K ohms.
[0091] The device 100 is designed such that when the first chip is connected to the electronic device, the first device interface 101 , the second device interface 102 and the third device interface 103 of the device 100 are connected one by one to the first interface, the second interface and the third interface of the first chip.
[0092] Specifically, in one embodiment, when the first chip is normally connected to the electronic device, the first interface, the second interface, and the third interface of the first chip are respectively a VCC interface, an SCL interface, and an SDA interface.
[0093] The device 100 is designed such that when the first chip is normally connected to the electronic device, the first device interface 101 is connected to the VCC interface of the first chip, the second device interface 102 is connected to the SDA interface of the first chip, and the third device interface 103 is connected to the first SCL interface of the first chip.
[0094] like Figure 3 As shown, the device 100 includes an output module 110 and an identification module 120. The output module 110 is connected to the second device interface 102. The identification module 120 is connected to the third device interface 103.
[0095] During the detection process, the output module 110 outputs a first level, and the identification module 120 identifies the input voltage.
[0096] In the embodiment of the present application, the first level can be any non-zero voltage, for example, a high level of 3.3 V. Optionally, the output module 110 outputs a data signal to achieve the first level with the data signal. Alternatively, the output module 110 outputs a clock signal to achieve the first level with the clock signal.
[0097] When the first chip is normally connected to the electronic device, since the first device interface 101 is connected to the VCC interface of the first chip, the second device interface 102 is connected to the SDA interface of the first chip, and the third device interface 103 is connected to the first SCL interface of the first chip; the first level output by the output module 110 is input to the identification module 120 via the first resistor R121 and the second resistor R122, and the identification module 120 identifies a third level based on the first level. The identification module 120 determines that the first chip is normally connected based on the third level.
[0098] Optionally, when the identification module 120 determines that the first chip is normally connected, the identification module 120 outputs a second identification signal, and the second identification signal is used to indicate that the first chip is normally connected.
[0099] When the first chip is reversely connected, one of the first device interface 101, the second device interface 102, and the third device interface 103 is connected to the GND interface of the first chip. The identification module 120 identifies a second level based on the GND interface (for example, the identification module 120 identifies that the input voltage is 0). The identification module 120 determines that the first chip is reversely connected based on the second level.
[0100] Optionally, when the identification module 120 determines that the first chip is reversely connected, the identification module 120 outputs a first identification signal to a display device connected to the apparatus, wherein the first identification signal is used to instruct the display device to display prompt information.
[0101] Optionally, in one embodiment, the device is constructed based on a chip independent of the electronic device.
[0102] Figure 4 Schematic diagram of a device structure according to an embodiment of the present application.
[0103] like Figure 4 As shown, the device 200 includes a chip 210 (second chip). The chip 210 (second chip) includes at least a first chip interface 211 , a second chip interface 212 , and a third chip interface 213 .
[0104] The first chip interface 211 is connected to the first device interface 201 , the second chip interface 212 is connected to the second device interface 202 , and the third chip interface 213 is connected to the third device interface 203 .
[0105] A first resistor R221 is connected between the first device interface 201 and the second device interface 202 , and a second resistor R222 is connected between the first device interface 201 and the third device interface 203 .
[0106] The second chip interface 212 is used to output a high level (first level) after the first chip is connected to the electronic device. The first level can be any non-zero voltage, for example, a 3.3V high level. Optionally, the second chip interface 212 outputs a data signal to achieve the first level with the data signal. Alternatively, the second chip interface 212 outputs a clock signal to achieve the first level with the clock signal.
[0107] The third chip interface 213 is used to identify the third device interface input voltage after the first chip is connected to the electronic device, and determine whether the first chip is reversely connected according to the identified voltage. Specifically, when there is a voltage input (third level) to the third device interface 203, it is determined that the first chip is not reversely connected; when the input voltage of the third device interface 203 is almost 0 (second level), it is determined that the first chip is reversely connected.
[0108] Optionally, when the chip 210 determines that the first chip is normally connected according to the third level of the input of the third chip interface 213, the chip 210 outputs a second identification signal, and the second identification signal is used to indicate that the first chip is normally connected. When the chip 210 determines that the first chip is reversely connected according to the second level of the input of the third chip interface 213, the chip 210 outputs a first identification signal to a display device connected to the apparatus, wherein the first identification signal is used to instruct the display device to display prompt information.
[0109] According to the device of the embodiment of the present application, based on a chip construction device independent of the electronic device, the device can be added to the electronic device on the premise of modifying the original structure of the electronic device, thereby improving the implementation flexibility of chip reverse connection identification.
[0110] The embodiment of the present application does not impose any specific limitation on the chip 210 (second chip). Those skilled in the art can use a suitable electronic chip as the chip 210 (second chip) according to actual needs.
[0111] For example, in one embodiment, the chip 210 (second chip) is a microcontroller (MCU).
[0112] Optionally, in one embodiment, the second chip interface 212 is a data (SDA) interface of the second chip 210, and the second chip 210 can achieve the first level through a data signal. That is, during the detection process, the second device interface 202 of the device 200 outputs a data signal.
[0113] Optionally, in another embodiment, the second chip interface 212 is a serial clock line (SCL) interface of the second chip 210, and the second chip 210 can achieve the first level through a clock signal. That is, during the detection process, the second device interface 202 of the device 200 outputs a clock signal.
[0114] In another embodiment, a device is constructed based on a chip on an electronic device for communicating and interacting with a first chip.
[0115] Figure 5 Schematic diagram of a device structure according to an embodiment of the present application.
[0116] like Figure 3 As shown, chip 310 (second chip) is a chip on the electronic device used for communicating and interacting with the first chip.
[0117] The chip 310 (second chip) at least includes a driving voltage (VCC) interface 311 , a serial data line (SDA) interface 312 , and a serial clock line (SCL) interface 313 . Optionally, the chip 310 (second chip) further includes a ground line (GND) interface 314 .
[0118] The driving voltage (VCC) interface 311, the serial data line (SDA) interface 312, and the serial clock line (SCL) interface 313 of the chip 310 (second chip) are used as the first device interface, the second device interface, and the third device interface of the device, respectively.
[0119] When the first chip is correctly connected to the electronic device, the driving voltage (VCC) interface of the first chip is connected to the driving voltage (VCC) interface 311 of the chip 310, the serial data line (SDA) interface of the first chip is connected to the serial data line (SDA) interface 312 of the chip 310 (the second chip), and the serial clock line (SCL) interface of the first chip is connected to the serial clock line (SCL) interface 313 of the chip 310 (the second chip). Thus, the chip 310 (the second chip) can update or burn data for the first chip to realize communication data interaction.
[0120] like Figure 5 As shown, a first resistor R321 is set between the driving voltage (VCC) interface 311 of the chip 310 (second chip) and the serial data line (SDA) interface 312 of the chip 310 (second chip), and a second resistor R322 is set between the driving voltage (VCC) interface 311 of the chip 310 (second chip) and the serial clock line (SCL) interface 313 of the chip 310 (second chip).
[0121] When the first chip is connected to an electronic device, chip 310 (second chip) does not immediately output a driving voltage through a driving voltage (VCC) interface 311 to drive the first chip, but configures a serial data line (SDA) interface 312 as an output interface and a serial clock line (SCL) interface 313 as an input interface.
[0122] Chip 310 (second chip) outputs a high level (first level) through a serial data line (SDA) interface 312. For example, chip 310 (second chip) outputs a data signal through a serial data line (SDA) interface 312, and implements a high level (first level) output through the data signal.
[0123] The chip 310 identifies the input voltage of the serial clock line (SCL) interface 313. The chip 310 (second chip) determines whether the first chip is reversely connected based on the identified voltage. Specifically, when there is an input voltage (third level) at the serial clock line (SCL) interface 313, it is determined that the first chip is not reversely connected, wherein the third level and the first level are the same type of level; when the input voltage of the serial clock line (SCL) interface 313 is 0 (second level), it is determined that the first chip is reversely connected.
[0124] Optionally, when the chip 310 recognizes that the input of the serial clock line (SCL) interface 313 is the third level and determines that the first chip is normally connected, the chip 310 outputs a second identification signal, and the second identification signal is used to indicate that the first chip is normally connected. When the chip 310 recognizes that the input of the serial clock line (SCL) interface 313 is the second level and determines that the first chip is reversely connected, the chip 310 outputs a first identification signal to a display device connected to the device, wherein the first identification signal is used to instruct the display device to display prompt information.
[0125] According to the device of the embodiment of the present application, based on the original chip construction device of the electronic device, the hardware cost of realizing chip reverse connection identification can be reduced.
[0126] Furthermore, for different types of first chips, there are different interface arrangements. In one embodiment of the present application, the interface arrangement of the device is designed according to the interface arrangement of the first chip.
[0127] The following describes in detail the usage scenarios of the device according to an embodiment of the present application with respect to first chips with different interface arrangements.
[0128] Application scenario (I)
[0129] Figure 6 Shown is a schematic diagram of the interface arrangement of the first chip of the first type.
[0130] like Figure 4 As shown, the interface contacts of the first chip of the first category are, from A4 to B4, a driving voltage (VCC) interface 401, a serial clock line (SCL) interface 403, a ground line (GND) interface 404 and a serial data line (SDA) interface 402.
[0131] In one embodiment, the device is constructed using a chip (second chip) on an electronic device for communicating with the first chip.
[0132] Figure 7 Shown is a wiring schematic diagram of the first chip of the first category without reverse connection.
[0133] like Figure 7 As shown, chip 510 is a chip (second chip) on an electronic device used for communicating and interacting with chip 500 (first chip).
[0134] The chip 510 at least includes a driving voltage (VCC) interface 511 , a serial data line (SDA) interface 512 , a serial clock line (SCL) interface 513 , and a ground line (GND) interface 514 .
[0135] A first resistor R521 is set between the driving voltage (VCC) interface 511 of the chip 510 and the serial data line (SDA) interface 512 of the chip 510, and a second resistor R522 is set between the driving voltage (VCC) interface 511 of the chip 510 and the serial clock line (SCL) interface 513 of the chip 510.
[0136] The ground line (GND) interface 514 is grounded.
[0137] Assuming that chip 500 is connected to chip 510 along the interface contacts from A5 to B5 (drive voltage (VCC) interface 501, serial clock line (SCL) interface 503, ground line (GND) interface 504 and serial data line (SDA) interface 502 in sequence), chip 500 is correctly connected.
[0138] like Figure 7 As shown, the driving voltage (VCC) interface 501 of chip 500 is connected to the driving voltage (VCC) interface 511 of chip 510, the serial data line (SDA) interface 502 of chip 500 is connected to the serial data line (SDA) interface 512 of chip 510, the serial clock line (SCL) interface 503 of chip 500 is connected to the serial clock line (SCL) interface 513 of chip 510, and the ground line (GND) interface 504 of chip 500 is grounded.
[0139] like Figure 7 As shown, when the driving voltage (VCC) interface 511 does not input the driving voltage (floating), a closed loop is formed between the serial data line (SDA) interface 512 and the serial clock line (SCL) interface 513 through the first resistor R521 and the second resistor R522. When the serial data line (SDA) interface 512 outputs a high level (first level), the input of the serial clock line (SCL) interface 513 should be a high level (third level).
[0140] Specifically, the serial data line (SDA) interface 512 outputs a data signal, and a high level (first level) output is achieved through the data signal.
[0141] Optional, in Figure 7 In the chip connection state shown, the chip 510 outputs a second identification signal, and the second identification signal is used to indicate that the chip 500 is normally connected.
[0142] Figure 8 Shown is a wiring diagram of the reverse connection of the first chip of the first category.
[0143] Figure 8 The chip 610 (second chip) in Figure 7 Chip 510 shown in .
[0144] A first resistor R621 is provided between the driving voltage (VCC) interface 611 and the serial data line (SDA) interface 612, and a second resistor R622 is provided between the driving voltage (VCC) interface 611 and the serial clock line (SCL) interface 613. The ground line (GND) interface 614 is grounded.
[0145] Assume that chip 600 (the first chip) is connected to chip 610 along the interface contacts from B6 to A6 (serial data line (SDA) interface 602, ground line (GND) interface 604, serial clock line (SCL) interface 603 and drive voltage (VCC) interface 601 respectively), and chip 600 is reversely connected at this time.
[0146] like Figure 8 As shown, the driving voltage (VCC) interface 601 of chip 600 is connected to the serial data line (SDA) interface 612 of chip 610, the serial data line (SDA) interface 602 of chip 600 is connected to the driving voltage (VCC) interface 611 of chip 610, the serial clock line (SCL) interface 603 of chip 600 is grounded, and the ground line (GND) interface 604 of chip 600 is connected to the serial clock line (SCL) interface 613 of chip 610.
[0147] like Figure 8 As shown, when the driving voltage (VCC) interface 611 does not input the driving voltage (floating), since the serial clock line (SCL) interface 613 is connected to the ground line (GND) interface 604 of the chip 600, when the serial data line (SDA) interface 612 outputs a high level (first level), the input of the serial clock line (SCL) interface 613 is a low level (second level).
[0148] Specifically, the serial data line (SDA) interface 612 outputs a data signal, and a high level (first level) output is achieved through the data signal.
[0149] Optional, in Figure 8 In the chip connection state shown, the chip 610 outputs a first identification signal to the display device, wherein the first identification signal is used to instruct the display device to display prompt information, and the prompt information is used to indicate that the chip 600 is reversely connected.
[0150] Application scenario (II)
[0151] Fig. 9 Shown is a schematic diagram of the interface arrangement of the first chip of the second type.
[0152] like Fig. 9 As shown, the interface contacts of the first chip of the second category are, from A7 to B7, a driving voltage (VCC) interface 701, a serial data line (SDA) interface 702, a serial clock line (SCL) interface 703, and a ground line (GND) interface 704.
[0153] In one embodiment, the device is constructed using a chip (second chip) on an electronic device for communicating with the first chip.
[0154] Fig.10 Shown is a wiring schematic diagram of the first chip of the second type without reverse connection.
[0155] like Fig.10 As shown, chip 810 is a chip (second chip) on an electronic device used for communicating and interacting with chip 800 (first chip).
[0156] The chip 810 at least includes a driving voltage (VCC) interface 811 , a serial data line (SDA) interface 812 , a serial clock line (SCL) interface 813 , and a ground line (GND) interface 814 .
[0157] A first resistor R821 is set between the driving voltage (VCC) interface 811 of the chip 810 and the serial data line (SDA) interface 812 of the chip 810, and a second resistor R822 is set between the driving voltage (VCC) interface 811 of the chip 810 and the serial clock line (SCL) interface 813 of the chip 810.
[0158] The ground line (GND) interface 814 is grounded.
[0159] Assuming that chip 800 is connected to chip 810 along the interface contacts from A8 to B8 (drive voltage (VCC) interface 801, serial data line (SDA) interface 802, serial clock line (SCL) interface 803, ground line (GND) interface 804), chip 800 is correctly connected.
[0160] like Fig.10As shown, the driving voltage (VCC) interface 801 of chip 800 is connected to the driving voltage (VCC) interface 811 of chip 810, the serial data line (SDA) interface 802 of chip 800 is connected to the serial data line (SDA) interface 812 of chip 810, the serial clock line (SCL) interface 803 of chip 800 is connected to the serial clock line (SCL) interface 813 of chip 810, and the ground line (GND) interface 804 of chip 800 is grounded.
[0161] like Fig.10 As shown, when the driving voltage (VCC) interface 811 does not input the driving voltage (floating), a closed loop is formed between the serial data line (SDA) interface 812 and the serial clock line (SCL) interface 813 through the first resistor R821 and the second resistor R822. When the serial data line (SDA) interface 812 outputs a high level (first level), the input of the serial clock line (SCL) interface 813 should be a high level (third level).
[0162] Specifically, the serial data line (SDA) interface 812 outputs a data signal, and a high level (first level) output is achieved through the data signal.
[0163] Optional, in Fig.10 In the chip connection state shown, the chip 810 outputs a second identification signal, and the second identification signal is used to indicate that the chip 800 is normally connected.
[0164] Fig.11 Shown is a wiring diagram of the reverse connection of the first chip of the second type.
[0165] Fig.11 The chip 910 (second chip) in Fig.10 The chip 810 is shown in FIG.
[0166] A first resistor R921 is provided between the driving voltage (VCC) interface 911 and the serial data line (SDA) interface 912, and a second resistor R922 is provided between the driving voltage (VCC) interface 911 and the serial clock line (SCL) interface 913. The ground line (GND) interface 914 is grounded.
[0167] Assume that chip 900 (the first chip) is connected to chip 910 along the interface contacts from B9 to A9 (ground line (GND) interface 904, serial clock line (SCL) interface 903, serial data line (SDA) interface 902, and drive voltage (VCC) interface 901, respectively), and chip 900 is reversely connected at this time.
[0168] like Fig.11As shown, the driving voltage (VCC) interface 901 of chip 900 is grounded, the serial data line (SDA) interface 902 of chip 900 is connected to the serial clock line (SCL) interface 913 of chip 910, the serial clock line (SCL) interface 903 of chip 900 is connected to the serial data line (SDA) interface 912 of chip 910, and the ground line (GND) interface 904 of chip 900 is connected to the driving voltage (VCC) interface 911 of chip 910.
[0169] like Fig.11 As shown, when the driving voltage (VCC) interface 911 does not input the driving voltage (floating), since the driving voltage (VCC) interface 911 is connected to the ground (GND) interface 904 of the chip 900, and because there is a resistor R922 between the interface 911 and the interface 913, the level received by the interface 911 will affect the level of the interface 913. Therefore, when the serial data line (SDA) interface 912 outputs a high level (first level), the input of the serial clock line (SCL) interface 913 is affected by the interface 911 connected to the ground (GND) interface 904, and therefore the input of the serial clock line (SCL) interface 913 is a low level (second level).
[0170] Specifically, the serial data line (SDA) interface 912 outputs a data signal, and a high level (first level) output is achieved through the data signal.
[0171] Optional, in Fig.11 In the chip connection state shown, the chip 910 outputs a first identification signal to the display device, wherein the first identification signal is used to instruct the display device to display a prompt message, and the prompt message is used to indicate that the chip 900 is reversely connected.
[0172] Application scenario (III)
[0173] Fig.12 FIG. 1 is a schematic diagram showing the interface arrangement of the first chip of the third type.
[0174] like Fig.12 As shown, the interface contacts of the first chip of the third category are serial data line (SDA) interface 1002, drive voltage (VCC) interface 1001, ground line (GND) interface 1004, and serial clock line (SCL) interface 1003 from A10 to B10.
[0175] In one embodiment, the device is constructed using a chip (second chip) on an electronic device for communicating with the first chip.
[0176] Fig.13 Shown is a wiring diagram of the first chip of the third category without reverse connection.
[0177] like Fig.13As shown, chip 1110 is a chip (second chip) on an electronic device used for communicating and interacting with chip 1100 (first chip).
[0178] The chip 1110 at least includes a driving voltage (VCC) interface 1111 , a serial data line (SDA) interface 1112 , a serial clock line (SCL) interface 1113 , and a ground line (GND) interface 1114 .
[0179] A first resistor R1121 is set between the driving voltage (VCC) interface 1111 of chip 1110 and the serial data line (SDA) interface 1112 of chip 1110, and a second resistor R1122 is set between the driving voltage (VCC) interface 1111 of chip 1110 and the serial clock line (SCL) interface 1113 of chip 1110.
[0180] The ground line (GND) interface 1114 is grounded.
[0181] Assume that chip 1100 (the first chip) is connected to chip 1110 along the interface contacts from A11 to B11 (serial data line (SDA) interface 1002, drive voltage (VCC) interface 1001, ground line (GND) interface 1004, and serial clock line (SCL) interface 1003 in sequence), and chip 1100 is correctly connected.
[0182] like Fig.13 As shown, the driving voltage (VCC) interface 1101 of chip 1100 is connected to the driving voltage (VCC) interface 1111 of chip 1110, the serial data line (SDA) interface 1102 of chip 1100 is connected to the serial data line (SDA) interface 1112 of chip 1110, the serial clock line (SCL) interface 1103 of chip 1100 is connected to the serial clock line (SCL) interface 1113 of chip 1110, and the ground line (GND) interface 1104 of chip 1100 is grounded.
[0183] like Fig.13 As shown, when the driving voltage (VCC) interface 1111 does not input the driving voltage (floating), a closed loop is formed between the serial data line (SDA) interface 1112 and the serial clock line (SCL) interface 1113 through the first resistor R1121 and the second resistor R1122. When the serial data line (SDA) interface 1112 outputs a high level (first level), the input of the serial clock line (SCL) interface 1113 should be a high level (third level).
[0184] Specifically, the serial data line (SDA) interface 1112 outputs a data signal, and a high level (first level) output is achieved through the data signal.
[0185] Optional, in Fig.13 In the chip connection state shown, the chip 1110 outputs a second identification signal, and the second identification signal is used to indicate that the chip 1100 is normally connected.
[0186] Fig.14 Shown is a wiring diagram of the reverse connection of the first chip of the third category.
[0187] Fig.14 The chip 1210 (second chip) in Fig.13 Chip 1110 shown in .
[0188] A first resistor R1221 is provided between the driving voltage (VCC) interface 1211 and the serial data line (SDA) interface 1212, and a second resistor R1222 is provided between the driving voltage (VCC) interface 1211 and the serial clock line (SCL) interface 1213. The ground line (GND) interface 1214 is grounded.
[0189] Assume that chip 1200 (the first chip) is reversely connected, that is, it is connected to chip 1210 along the direction of interface contacts from B12 to A12 (serial clock line (SCL) interface 1203, ground line (GND) interface 1204, drive voltage (VCC) interface 1201, and serial data line (SDA) interface 1202, respectively).
[0190] like Fig.14 As shown, the driving voltage (VCC) interface 1201 of chip 1200 is grounded, the serial data line (SDA) interface 1202 of chip 1200 is connected to the serial clock line (SCL) interface 1213 of chip 910, the serial clock line (SCL) interface 1203 of chip 1200 is connected to the driving voltage (VCC) interface 1211 of chip 1210, and the ground line (GND) interface 1204 of chip 1200 is connected to the serial data line (SDA) interface 1212 of chip 1210.
[0191] like Fig.14 As shown, when the driving voltage (VCC) interface 1211 does not input the driving voltage (floating), since the driving voltage (VCC) interface 1211 is connected to the ground (GND) interface 1204 of the chip 1200, and because there is a resistor R1222 between the interface 1211 and the interface 1213, the level received by the interface 1211 will affect the level of the interface 1213. Therefore, when the serial data line (SDA) interface 1212 outputs a high level (first level), the input of the serial clock line (SCL) interface 1213 is affected by the interface 1211 connected to the ground (GND) interface 1204, and therefore the input of the serial clock line (SCL) interface 1213 is a low level (second level).
[0192] Specifically, the serial data line (SDA) interface 1212 outputs a data signal, and a high level (first level) output is achieved through the data signal.
[0193] Optional, in Fig.14 In the chip connection state shown, the chip 1210 outputs a first identification signal to the display device, wherein the first identification signal is used to instruct the display device to display prompt information, and the prompt information is used to indicate that the chip 1200 is reversely connected.
[0194] Based on the device provided in an embodiment of the present application, an embodiment of the present application also provides an identification method.
[0195] Fig.15 Shown is a flow chart of an identification method according to an embodiment of the present application.
[0196] After the first chip is connected to the electronic device, execute Fig.15 The following process is shown.
[0197] S1300: Do not supply power to the first chip.
[0198] S1310, outputting a first level (eg, a high level) through a second device interface of the device, wherein the device refers to Figure 1 The device of the embodiment shown.
[0199] S1320, identifying an input voltage of a third device interface of the device.
[0200] S1330, judging whether the first chip is reverse connected according to the input voltage of the third device interface of the device, wherein when the input voltage of the third device interface is a third level (a high level based on the first level), it is judged that the first chip is not reverse connected; when the input voltage of the third device interface is a second level (based on the level of the chip ground line, for example, the input voltage is 0), it is judged that the first chip is reverse connected.
[0201] S1340: When the first chip is not reversely connected, power the first chip.
[0202] Alternatively, when the first chip is not reversely connected, the first chip is powered and a second identification signal is output.
[0203] The second identification signal is used to notify other components of the electronic device to start the burning process.
[0204] S1350, when the first chip is reversely connected, output a first identification signal.
[0205] For example, a first identification signal is sent to a display device connected to the apparatus, wherein the first identification signal is used to instruct the display device to display prompt information.
[0206] Fig.16Shown is a flow chart of an identification method according to an embodiment of the present application.
[0207] In one embodiment, the device is constructed using a chip (second chip) on an electronic device for communicating with the first chip.
[0208] After the first chip is connected to the electronic device, execute Fig.16 The following process is shown.
[0209] S1400, do not supply power to the first chip, set the serial data line (SDA) interface of the second chip as an output interface, and set the serial clock line (SCL) interface of the second chip as an input interface.
[0210] S1410, output a high level (first level) through the serial data line (SDA) interface of the second chip.
[0211] S1420, identifying an input voltage of a serial clock line (SCL) interface of the second chip.
[0212] S1430, determine whether the first chip is reverse connected based on the input voltage of the serial clock line (SCL) interface of the second chip, wherein when there is an input voltage (third level) at the serial clock line (SCL) interface of the second chip, it is determined that the first chip is not reverse connected; when the input voltage of the serial clock line (SCL) interface of the second chip is 0 (second level), it is determined that the first chip is reverse connected.
[0213] S1440, when the first chip is not reversely connected, power the first chip, set the serial data line (SDA) interface of the second chip as a serial data interface, and set the serial clock line (SCL) interface of the second chip as a serial clock interface.
[0214] Alternatively, when the first chip is not reversely connected, the first chip is powered and a second identification signal is output.
[0215] The second identification signal is used to notify other components of the electronic device to start the burning process.
[0216] S1450, when the first chip is reversely connected, output a first identification signal.
[0217] For example, a first identification signal is sent to a display device connected to the apparatus, wherein the first identification signal is used to instruct the display device to display prompt information.
[0218] In the description of the embodiments of the present application, for the convenience of description, the functions are divided into various modules and described separately. The division of each module is only a division of logical functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or one or more software and / or hardware.
[0219] Specifically, the device proposed in the embodiment of the present application can be fully or partially integrated into a physical entity during actual implementation, or it can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.
[0220] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0221] An embodiment of the present application also provides an electronic device. The electronic device includes the device and method described in the embodiment of the present application. The electronic device is installed with the device provided in the embodiment of the present application. The electronic device can be an electronic device used to update or burn data for the first chip in the embodiment of the present application.
[0222] Fig.17 Shown is a schematic structural diagram of an electronic device according to an embodiment of the present application.
[0223] like Fig.17 As shown, the electronic device 1500 includes a memory 1510 for storing computer program instructions and a processor 1520 for executing the program instructions, wherein when the computer program instructions are executed by the processor 1520, the electronic device 1500 is triggered to execute the method steps performed by the device in the embodiment of the present application.
[0224] Specifically, in one embodiment of the present application, the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.
[0225] Specifically, in one embodiment of the present application, the processor of the electronic device may be a SOC device on a chip, which may include a central processing unit (CPU), and may further include other types of processors. Specifically, in one embodiment of the present application, the processor of the electronic device may be a PWM control chip.
[0226] Specifically, in an embodiment of the present application, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0227] Specifically, in one embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or may be any computer-readable medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer.
[0228] Specifically, in an embodiment of the present application, the processor and the memory can be combined into a processing device, more commonly, they are independent components, and the processor is used to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In specific implementation, the memory can also be integrated into the processor, or independent of the processor.
[0229] Furthermore, the devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.
[0230] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0231] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0232] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.
[0233] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.
[0234] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0235] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0236] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0237] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0238] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0239] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0240] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0241] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0242] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0243] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A device, characterized in that: The device is applied to an electronic device, and the electronic device is used to update or burn data for a first chip, and the first chip can be installed in a consumable box, wherein: The first chip at least comprises: a first interface for connecting to a first device interface of the device; a second interface for connecting to a second device interface of the device; a third interface for connecting to a third device interface of the device; The device can be used to detect whether the first chip is reversely connected. In the detection state, the first device interface does not output voltage, and the second device interface outputs a first level. When the input voltage of the third device interface is a second level, it is determined that the first chip is reversely connected.
2. The device according to claim 1, if it is determined that the first chip is reversely connected, the device sends a first identification signal to a display device connected to the device, wherein: The first identification signal is used to instruct the display device to display prompt information.
3. The device according to claim 1, if it is determined that the first chip is not reversely connected, the device sends a second identification signal to the electronic device, wherein: The second identification signal is used to indicate that the first chip is normally connected.
4. The device according to claim 1, characterized in that: A first resistor is connected between the first device interface and the second device interface; A second resistor is connected between the first device interface and the third device interface.
5. The device according to claim 3, characterized in that The second device interface outputs a data signal, or the second device interface outputs a clock signal.
6. The device according to claim 1, characterized in that The first level and the second level are different levels.
7. A recognition method, characterized in that: The method is applied to a device, and the device is applied to an electronic device, and the electronic device is used to update or burn data for a first chip, and the first chip can be installed in a consumable box, wherein: The first chip at least comprises: a first interface for connecting to a first device interface of the device; a second interface for connecting to a second device interface of the device; a third interface for connecting to a third device interface of the device; The method comprises: In the detection state, the first device interface does not output a voltage, and the second device interface outputs a first level; An input voltage of the third device interface is identified, and when the input voltage of the third device interface is at a second level, it is determined that the first chip is reversely connected.
8. The method according to claim 7, characterized in that The method further comprises: If it is determined that the first chip is reversely connected, a first identification signal is sent to a display device, wherein the first identification signal is used to instruct the display device to display prompt information.
9. The device according to claim 7, characterized in that The method further comprises: If it is determined that the first chip is reversely connected, a second identification signal is sent to the electronic device, wherein the second identification signal is used to indicate that the first chip is normally connected.
10. An electronic device, characterized in that: Includes the above-mentioned device or method.
