Equipment connection method and device, equipment, storage medium and vehicle

By installing the preset software on the Android vehicle and forwarding the target address, the problem of waste and cost of high resource and high cost when the vehicle equipment connection is solved, and the efficiency and economy of equipment connection are realized.

CN119383027APending Publication Date: 2025-01-28BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310922487.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-25
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In the prior art, multiple on-board Ethernet to ordinary Ethernet devices are required to be used when connecting vehicle equipment, resulting in waste of resources and high economic costs.

Method used

Install the preset software on the Android vehicle, receive the target address and forward the address through the software, including the address of the vehicle -based controller and the autonomous driver domain controller, connect to the target port corresponding to the default port and the target address to complete the vehicle equipment to complete the vehicle equipment connect.

Benefits of technology

It has reduced the use of the car Ethernet to ordinary Ethernet equipment, saves resources, reduces costs, and has built a set of equipment with a global environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383027A_ABST
    Figure CN119383027A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment connection method and device, equipment, a storage medium and a vehicle, and the method comprises the steps: responding to a user operation, and installing preset software in an Android vehicle machine; a target address is received, the target address is forwarded through the preset software, and the target address comprises an address of a vehicle-mounted domain controller and an address of an automatic driving domain controller; and connecting a preset port with a target port corresponding to the target address to complete connection of the vehicle equipment. According to the invention, the preset software is installed in the Android vehicle machine; a target address is received, the target address is forwarded through the preset software, and the target address comprises an address of a vehicle-mounted domain controller and an address of an automatic driving domain controller; and connecting the preset port with the target port corresponding to the target address so as to complete the connection of the vehicle equipment, so that a set of equipment in a global environment is established, the use of equipment for converting the vehicle-mounted Ethernet into the common Ethernet is reduced, resources are saved, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a device connection method, apparatus, device, storage medium and vehicle. Background Art

[0002] In the prior art, the vehicle's computer at least includes an Android car computer HU, a vehicle domain controller XCU, and an autonomous driving domain controller FSD, wherein the autonomous driving domain controller includes two independent devices, Orin1 and Orin2. When testing, two methods are usually used to connect the devices, such as using a Universal Serial Bus (USB) cable to connect the HU, and using a network cable to connect the XCU or FSD through a vehicle Ethernet to ordinary Ethernet device. The above connection method requires the use of three vehicle Ethernet to ordinary Ethernet devices, which not only wastes resources, but also has high economic costs. Summary of the invention

[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a device connection method, apparatus, equipment, storage medium and vehicle to reduce the use of vehicle-mounted Ethernet to ordinary Ethernet equipment, save resources and reduce costs.

[0004] In a first aspect, an embodiment of the present disclosure provides a device connection method, including:

[0005] In response to user operations, installing preset software on the Android vehicle computer;

[0006] Receiving a target address, and forwarding the target address through the preset software, wherein the target address includes an address of an onboard domain controller and an address of an autonomous driving domain controller;

[0007] Connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment.

[0008] In a second aspect, an embodiment of the present disclosure provides a device connection apparatus, including:

[0009] An installation module, in response to user operation, installs preset software on the Android car machine;

[0010] A forwarding module, used to receive a target address and forward the target address through the preset software, wherein the target address includes an address of an on-board domain controller and an address of an autonomous driving domain controller;

[0011] The connection module is used to connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment.

[0012] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0013] Memory;

[0014] Processor; and

[0015] Computer programs;

[0016] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.

[0018] In a fifth aspect, an embodiment of the present disclosure further provides a vehicle, comprising: the device connection apparatus as described in the second aspect; or, the electronic device as described in the third aspect; or, the computer-readable storage medium as described in the fourth aspect.

[0019] The device connection method, apparatus, equipment, storage medium and vehicle provided by the embodiments of the present disclosure install preset software on the Android car machine; receive the target address, and forward the target address through the preset software, wherein the target address includes the address of the vehicle domain controller and the address of the autonomous driving domain controller; connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment, build a set of equipment for the global environment, reduce the use of vehicle Ethernet to ordinary Ethernet equipment, save resources and reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0022] Figure 1 A flow chart of a device connection method provided in an embodiment of the present disclosure;

[0023] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0024] Figure 3 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0025] Figure 4 A flow chart of a device connection method provided in an embodiment of the present disclosure;

[0026] Figure 5 A schematic diagram of the structure of a device connection device provided in an embodiment of the present disclosure;

[0027] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0029] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0030] The present disclosure provides a device connection method, which is described below in conjunction with a specific embodiment.

[0031] Figure 1 This is a flow chart of the device connection method provided by the embodiment of the present disclosure. The method can be executed by a device connection device, which can be implemented in software and / or hardware. The device connection device can be configured in an electronic device, such as a server or a terminal, wherein the terminal specifically includes an electric vehicle, a fuel vehicle, a hybrid vehicle, etc. In addition, the method can be applied to Figure 2 The application scenario shown includes an Android vehicle unit (HU) 21, a vehicle domain controller (XCU) 22, an autonomous driving domain controller (FSD) 23, and a preset software 24, wherein the preset software 24 is installed on the Android vehicle unit (HU) 21. It can be understood that the device connection method provided in the embodiment of the present disclosure can also be applied in other scenarios.

[0032] Combine the following Figure 2 The application scenario shown is Figure 1 The device connection method shown in the figure is introduced, and the specific steps of the method are as follows:

[0033] S101. In response to a user operation, a preset software is installed on the Android vehicle computer.

[0034] In response to user interactive operations such as clicking or sliding, a preset software 24 is installed on the Android vehicle unit (HU) 21. Specifically, the preset software 24 may be an Android system port forwarding software, which runs as a service on the Android platform and supports forwarding multiple ports simultaneously.

[0035] Exemplarily, the script of the Android system port forwarding software connected to the vehicle domain controller (XCU) 22 is as follows:

[0036]

[0037]

[0038] Among them, the script of the Android system port forwarding software is named proxy.js, copied to the hu / sdcard directory, and run using node / sdcard / proxy.js&. It can be understood that the script of the Android system port forwarding software connected to the autonomous driving domain controller (FSD) 23 is similar to the script of the Android system port forwarding software connected to the vehicle domain controller (XCU) 22, and this embodiment will not be described again.

[0039] S102, receiving a target address, and forwarding the target address through the preset software, wherein the target address includes an address of an on-board domain controller and an address of an autonomous driving domain controller.

[0040] Receive a target address, which includes the address of the vehicle domain controller (XCU) 22 and the address of the autonomous driving domain controller (FSD) 23, wherein the autonomous driving domain controller (FSD) 23 includes two independent devices, Orin1 and Orin2, namely, the address of FSD Orin1 and the address of FSD Orin2. Exemplarily, the address of the vehicle domain controller (FSD) 23 can be 172.31.30.32:5555, the address of FSD Orin1 can be 172.31.30.80:22, and the address of FSD Orin2 can be 172.31.30.81:22.

[0041] The target address is forwarded through the preset software, that is, the target address is forwarded through the Android system port forwarding software. The forwarding can be bidirectional forwarding, and the Android system port forwarding software supports forwarding multiple ports at the same time.

[0042] Exemplarily, the forwarding rules can be set as follows: 172.31.30.32: The port 172.31.30.32 IP 5555 port corresponding to the address 5555 represents the port through which the Android car unit (HU) 21 is connected to the vehicle domain controller (XCU) 22, which can be forwarded to the HU device local 60001; 172.31.30.80: The port 172.31.30.80 IP22 port corresponding to the address 22 represents the port through which the Android car unit (HU) 21 is connected to the FSD Orin1, which can be forwarded to the HU device local 60002; 172.31.30.81: The port 172.31.30.81 IP 22 port corresponding to the address 22 represents the port through which the Android car unit (HU) 21 is connected to the FSD Orin2, which can be forwarded to the HU device local 60003.

[0043] S103: Connecting a preset port to a target port corresponding to the target address to complete the connection of the vehicle device.

[0044] The preset port is connected to the target port corresponding to the target address to complete the connection of the vehicle device. It can be understood that the preset port is the Android car unit (HU) 21 port.

[0045] The disclosed embodiment installs preset software on an Android vehicle computer; receives a target address, and forwards the target address through the preset software, wherein the target address includes an address of an on-board domain controller and an address of an autonomous driving domain controller; connects a preset port and a target port corresponding to the target address to complete the connection of vehicle equipment, thereby building a set of equipment for a global environment, reducing the use of on-board Ethernet to ordinary Ethernet equipment, saving resources, and reducing costs.

[0046] On the basis of the above embodiment, receiving the target address includes: in response to user operation, connecting the personal computer and the Android car machine, setting the target address and the target port; receiving the target address forwarded by the personal computer through the Android debug bridge.

[0047] like Figure 3As shown, in response to user operation, the personal computer (PC) 31 and the Android car unit (HU) 21 are connected, and the above-mentioned target address and target port are set. Specifically, the port corresponding to the address 172.31.30.32:5555 is 172.31.30.32IP5555 port, the port corresponding to the address 172.31.30.80:22 is 172.31.30.80 IP 22 port, and the port corresponding to the address 172.31.30.81:22 is 172.31.30.81 IP 22 port; the above-mentioned target address forwarded by the personal computer (PC) 31 through the Android Debug Bridge (ADB) is received, and on the personal computer (PC) 31, the ADB native command is used to forward the addresses of XCU 22, FSD Orin1 231, and FSD Orin2 232 to the personal computer (PC) 31 adb forward <local> <remote>.

[0048] Among them, the ADB native specific commands are as follows:

[0049] The address of XCU 22 is adb forward tcp:60001 tcp:60001

[0050] FSD Orin1 231 address is adb forward tcp:60002 tcp:60002

[0051] The FSD Orin2 232 address is adb forward tcp:60003 tcp:60003.

[0052] Optionally, connecting the personal computer and the vehicle computer includes: connecting the personal computer and the Android vehicle computer via a universal serial bus.

[0053] Specifically, Figure 3 As shown, a personal computer (PC) 31 and an Android car unit (HU) 21 are connected via a Universal Serial Bus (USB) 32 .

[0054] The disclosed embodiment responds to user operations, connects a personal computer and an Android car machine via a universal serial bus, sets the target address and the target port; receives the target address forwarded by the personal computer via the Android debug bridge, clarifies the association between the target address, the target port, and the controller device, reduces the use of network cards, saves resources, and reduces costs.

[0055] In some embodiments, connecting the preset port and the target port corresponding to the target address includes: connecting the preset port and the target port corresponding to the target address through an in-vehicle Ethernet switch.

[0056] The preset port and the target port corresponding to the target address are connected through the vehicle Ethernet switch 33.

[0057] Exemplarily, the port 172.31.30.32 IP 5555 port corresponding to the address 172.31.30.32:5555 is an ADB port; the port 172.31.30.80 IP 22 port corresponding to the address 172.31.30.80:22 and the port 172.31.30.81 IP 22 port corresponding to the address 172.31.30.81:22 are SSH ports.

[0058] Optionally, after connecting the preset port and the target port corresponding to the target address through the vehicle Ethernet switch, the method further includes: logging into the device corresponding to the target port through a personal computer to perform vehicle control operations.

[0059] Specifically, the system can log in to the device corresponding to the target port through a personal computer (PC) 31 to perform vehicle control operations. Exemplarily, the system is connected to the Android car unit (HU) 21 through a universal serial bus (USB) 32 cable, logs in to the back end from the personal computer (PC) 31, and performs various vehicle control operations, such as opening windows, turning on air conditioning, automatic driving, etc.

[0060] Optionally, logging into the device corresponding to the target port through the personal computer to perform vehicle control operations includes: when the device corresponding to the target port is an Android car machine, searching for the serial number of the Android car machine, logging in to the serial number of the Android car machine on the personal computer through the Android debug bridge, and performing vehicle control operations; when the device corresponding to the target port is a vehicle-mounted domain controller, logging in to the vehicle-mounted domain controller through the target address forwarded by the Android debug bridge, and performing vehicle control operations; when the device corresponding to the target port is an autonomous driving domain controller, logging in to the autonomous driving domain controller through the target address forwarded by the Android debug bridge, and performing vehicle control operations.

[0061] Specifically, when the device corresponding to the target port is an Android car machine, the serial number of the Android car machine is looked up, and the serial number of the Android car machine is logged in on the personal computer through the Android debug bridge to perform vehicle control operations; when the device corresponding to the target port is a vehicle-mounted domain controller, the vehicle-mounted domain controller is logged in through the target address forwarded by the Android debug bridge to perform vehicle control operations; when the device corresponding to the target port is an autonomous driving domain controller, the autonomous driving domain controller is logged in through the target address forwarded by the Android debug bridge to perform vehicle control operations.

[0062] For example, log in to the Android vehicle unit (HU) 21: first use adb device to find the device sn number, enter the Android vehicle unit (HU) 21 through adb -s snshell, and perform vehicle control operations;

[0063] Log in to the vehicle domain controller (XCU) 22: First use adb connect 127.0.0.1:60001 to mount it to the personal computer (PC) 31 in xcu connection mode, then use adb -s 127.0.0.1:60001 shell to enter xcu and execute various commands to perform vehicle control operations;

[0064] Log in to FSD Orin1 231:SSH port username@127.0.0.1:60002, enter the password, and enter FSDOrin1;

[0065] Log in to FSD Orin2 232:SSH port username@127.0.0.1:60003, enter the password, and enter FSDOrin2.

[0066] The disclosed embodiment specifically describes that a car controller is connected to an in-vehicle Ethernet switch, and a user connects to an Android car machine via a USB cable, logs into the back end, and performs vehicle control operations. This reduces the use of in-vehicle Ethernet to ordinary Ethernet devices when developing and testing a vehicle or platform global environment bench, saves resources, and reduces costs.

[0067] Figure 4 A flow chart of a device connection method provided in an embodiment of the present disclosure, such as Figure 4 As shown, the method includes the following steps:

[0068] S401. In response to user operation, install preset software on the Android car machine.

[0069] Specifically, the implementation process and principle of S401 and S101 are the same, and will not be repeated here.

[0070] S402, in response to user operation, connecting the personal computer and the Android car machine via a universal serial bus, and setting the target address and the target port.

[0071] like Figure 3 As shown, in response to user operation, a personal computer (PC) 31 and an Android car unit (HU) 21 are connected via a Universal Serial Bus (USB) 32, and the above-mentioned target address and target port are set. Specifically, the port corresponding to the address 172.31.30.32:5555 is 172.31.30.32 IP 5555 port, the port corresponding to the address 172.31.30.80:22 is 172.31.30.80 IP 22 port, and the port corresponding to the address 172.31.30.81:22 is 172.31.30.81 IP 22 port.

[0072] S403, receiving the target address forwarded by the personal computer through the Android debug bridge, and forwarding the target address through the preset software, wherein the target address includes the address of the vehicle domain controller and the address of the autonomous driving domain controller.

[0073] Receive the above-mentioned target address forwarded by a personal computer (PC) 31 through the Android Debug Bridge (ADB), the target address including the address of the vehicle domain controller (XCU) 22 and the address of the autonomous driving domain controller (FSD) 23, wherein the autonomous driving domain controller (FSD) 23 includes two independent devices, Orin1 and Orin2, namely the address of FSD Orin1 and the address of FSD Orin2. Exemplarily, the address of the vehicle domain controller (FSD) 23 can be 172.31.30.32:5555, the address of FSD Orin1 can be 172.31.30.80:22, and the address of FSD Orin2 can be 172.31.30.81:22. On the personal computer (PC) 31, use the ADB native command to forward the addresses of XCU 22, FSD Orin1 231, and FSD Orin2 232 to the personal computer (PC) 31 respectively: adb forward <local> <remote>.

[0074] Among them, the ADB native specific commands are as follows:

[0075] The address of XCU 22 is adb forward tcp:60001 tcp:60001

[0076] FSD Orin1 231 address is adb forward tcp:60002 tcp:60002

[0077] The FSD Orin2 232 address is adb forward tcp:60003 tcp:60003.

[0078] The target address is forwarded through the preset software, that is, the target address is forwarded through the Android system port forwarding software. The forwarding can be bidirectional forwarding, and the Android system port forwarding software supports forwarding multiple ports at the same time.

[0079] Exemplarily, the forwarding rules can be set as follows: port 172.31.30.32IP 5555 port corresponding to the address 172.31.30.32:5555 represents the port through which the Android car unit (HU) 21 is connected to the vehicle domain controller (XCU) 22, which can be forwarded to the HU device local 60001; port 172.31.30.80:22 corresponds to port 172.31.30.80 IP22 port represents the port through which the Android car unit (HU) 21 is connected to FSD Orin1, which can be forwarded to the HU device local60002; port 172.31.30.81 IP 22 port corresponding to the address 172.31.30.81:22 represents the port through which the Android car unit (HU) 21 is connected to FSD Orin2, which can be forwarded to the HU device local 60003.

[0080] S404: Connect the preset port and the target port corresponding to the target address through the vehicle Ethernet switch to complete the connection of the vehicle equipment.

[0081] The vehicle device connection is completed by connecting the preset port and the target port corresponding to the target address through the vehicle Ethernet switch 33. It can be understood that the preset port is the Android car unit (HU) 21 port.

[0082] S405, logging into the device corresponding to the target port through a personal computer to perform vehicle control operations.

[0083] Specifically, the system can log in to the device corresponding to the target port through a personal computer (PC) 31 to perform vehicle control operations. Exemplarily, the system is connected to the Android car unit (HU) 21 through a universal serial bus (USB) 32 cable, logs in to the back end from the personal computer (PC) 31, and performs various vehicle control operations, such as opening windows, turning on air conditioning, automatic driving, etc.

[0084] Optionally, logging into the device corresponding to the target port through the personal computer to perform vehicle control operations includes: when the device corresponding to the target port is an Android car machine, searching for the serial number of the Android car machine, logging in to the serial number of the Android car machine on the personal computer through the Android debug bridge, and performing vehicle control operations; when the device corresponding to the target port is a vehicle-mounted domain controller, logging in to the vehicle-mounted domain controller through the target address forwarded by the Android debug bridge, and performing vehicle control operations; when the device corresponding to the target port is an autonomous driving domain controller, logging in to the autonomous driving domain controller through the target address forwarded by the Android debug bridge, and performing vehicle control operations.

[0085] Specifically, when the device corresponding to the target port is an Android car machine, the serial number of the Android car machine is looked up, and the serial number of the Android car machine is logged in on the personal computer through the Android debug bridge to perform vehicle control operations; when the device corresponding to the target port is a vehicle-mounted domain controller, the vehicle-mounted domain controller is logged in through the target address forwarded by the Android debug bridge to perform vehicle control operations; when the device corresponding to the target port is an autonomous driving domain controller, the autonomous driving domain controller is logged in through the target address forwarded by the Android debug bridge to perform vehicle control operations.

[0086] For example, log in to the Android vehicle unit (HU) 21: first use adb device to find the device sn number, enter the Android vehicle unit (HU) 21 through adb -s snshell, and perform vehicle control operations;

[0087] Log in to the vehicle domain controller (XCU) 22: First use adb connect 127.0.0.1:60001 to mount it to the personal computer (PC) 31 in xcu connection mode, then use adb -s 127.0.0.1:60001 shell to enter xcu and execute various commands to perform vehicle control operations;

[0088] Log in to FSD Orin1 231:SSH port username@127.0.0.1:60002, enter the password, and enter FSDOrin1;

[0089] Log in to FSD Orin2 232:SSH port username@127.0.0.1:60003, enter the password, and enter FSDOrin2.

[0090] The disclosed embodiment installs preset software on an Android vehicle computer; receives a target address, and forwards the target address through the preset software, wherein the target address includes an address of an on-board domain controller and an address of an autonomous driving domain controller; connects a preset port and a target port corresponding to the target address to complete the connection of vehicle equipment, thereby building a set of equipment for a global environment, reducing the use of on-board Ethernet to ordinary Ethernet equipment, saving resources, and reducing costs.

[0091] Figure 5 The schematic diagram of the structure of the device connection device provided in the embodiment of the present disclosure. The device connection device may be a terminal as described in the above embodiment, or the device connection device may be a component or assembly in the terminal. The device connection device provided in the embodiment of the present disclosure may execute the processing flow provided in the device connection method embodiment, such as Figure 5 As shown, the device connection device 50 includes: an installation module 51, a forwarding module 52, and a connection module 53; wherein the installation module 51 installs preset software on the Android car machine in response to user operation; the forwarding module 52 is used to receive a target address and forward the target address through the preset software, wherein the target address includes the address of the vehicle domain controller and the address of the autonomous driving domain controller; the connection module 53 is used to connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment.

[0092] Optionally, the forwarding module 52 is further used to connect the personal computer and the Android car machine in response to user operations, set the target address and the target port; and receive the target address forwarded by the personal computer through the Android debug bridge.

[0093] Optionally, the forwarding module 52 is also used to connect the personal computer and the Android car machine via a universal serial bus.

[0094] Optionally, the connection module 53 is further used to connect the preset port and the target port corresponding to the target address through the vehicle-mounted Ethernet switch.

[0095] Optionally, the device connection apparatus 50 further includes: an execution module 54, which is used to log in to the device corresponding to the target port through a personal computer to execute a vehicle control operation.

[0096] Optionally, the execution module 54 is also used to, when the device corresponding to the target port is an Android car machine, search for the serial number of the Android car machine, log in the serial number of the Android car machine on the personal computer through the Android debug bridge, and perform vehicle control operations; when the device corresponding to the target port is an on-board domain controller, log in the on-board domain controller through the target address forwarded by the Android debug bridge, and perform vehicle control operations; when the device corresponding to the target port is an autonomous driving domain controller, log in the autonomous driving domain controller through the target address forwarded by the Android debug bridge, and perform vehicle control operations.

[0097] Figure 5 The device connection apparatus of the illustrated embodiment can be used to implement the technical solution of the above-mentioned device connection method embodiment, and its implementation principle and technical effect are similar and will not be repeated here.

[0098] Figure 6 Schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device may be a terminal as described in the above embodiment. The electronic device provided in an embodiment of the present disclosure may execute the processing flow provided in the device connection method embodiment, such as Figure 6 As shown, the electronic device 60 includes: a memory 61, a processor 62, a computer program and a communication interface 63; wherein the computer program is stored in the memory 61 and is configured so that the processor 62 executes the device connection method as described above.

[0099] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the device connection method described in the above embodiment.

[0100] In addition, an embodiment of the present disclosure further provides a vehicle, which includes the device connection device as described in the above embodiment; or the electronic device as described in the above embodiment; or the computer-readable storage medium as described in the above embodiment.

[0101] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0102] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0103] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0104] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0105] In response to user operations, installing preset software on the Android vehicle computer;

[0106] Receiving a target address, and forwarding the target address through the preset software, wherein the target address includes an address of an onboard domain controller and an address of an autonomous driving domain controller;

[0107] Connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment.

[0108] In addition, the electronic device may also execute other steps in the device connection method described above.

[0109] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0110] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0111] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0112] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0113] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0114] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0115] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.< / remote> < / local> < / remote> < / local>

Claims

1. A device connection method, characterized in that: The method comprises: In response to user operations, installing preset software on the Android vehicle computer; Receiving a target address, and forwarding the target address through the preset software, wherein the target address includes an address of an onboard domain controller and an address of an autonomous driving domain controller; Connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment.

2. The method according to claim 1, characterized in that The receiving target address includes: In response to a user operation, connecting the personal computer and the Android car machine, and setting the target address and the target port; The receiving personal computer forwards the target address through the Android Debug Bridge.

3. The method according to claim 2, characterized in that The connecting of the personal computer and the Android vehicle machine includes: Connect PC and Android car machine via Universal Serial Bus.

4. The method according to claim 1, characterized in that: The connecting preset port and the target port corresponding to the target address include: The preset port and the target port corresponding to the target address are connected through the vehicle Ethernet switch.

5. The method according to claim 4, characterized in that After the preset port and the target port corresponding to the target address are connected through the vehicle Ethernet switch, the method further includes: Log in to the device corresponding to the target port through a personal computer to perform vehicle control operations.

6. The method according to claim 5, characterized in that The step of logging into the device corresponding to the target port through the personal computer to perform the vehicle control operation includes: When the device corresponding to the target port is an Android vehicle machine, searching for the serial number of the Android vehicle machine, logging the serial number of the Android vehicle machine on the personal computer through the Android debugging bridge, and performing vehicle control operations; When the device corresponding to the target port is a vehicle-mounted domain controller, log in to the vehicle-mounted domain controller through the target address forwarded by the Android debug bridge to perform vehicle control operations; When the device corresponding to the target port is an autonomous driving domain controller, the autonomous driving domain controller is logged in through the target address forwarded by the Android debug bridge to perform vehicle control operations.

7. A device connection device, characterized in that: The device comprises: An installation module, in response to user operation, installs preset software on the Android car machine; A forwarding module, used to receive a target address and forward the target address through the preset software, wherein the target address includes an address of an on-board domain controller and an address of an autonomous driving domain controller; The connection module is used to connect the preset port and the target port corresponding to the target address to complete the connection of the vehicle equipment.

8. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A vehicle, characterized in that: include: The device connection device as claimed in claim 7; Or, the electronic device as claimed in claim 8; Or, the computer readable storage medium of claim 9.