Production line upgrading method and device of vehicle-mounted equipment, electronic equipment and storage medium

Through virtual network identification and virtual LAN card technology, the problem of high hardware cost in the upgrade of on-board equipment production lines is solved, efficient communication with multiple devices at the same time is realized, and hardware costs are reduced.

CN118972807APending Publication Date: 2024-11-15CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411129226.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

During the production line upgrade of vehicle equipment, due to the same network address of the same batch of equipment, the hardware cost is high, and it is necessary to continuously increase the Ethernet physical card to support the expansion of the number of devices.

Method used

By obtaining the virtual network identity of the device, binding it to the target switching port of the managed switch, and establishing a virtual LAN card based on the virtual network identity, realizing communication between a single upgrade server and multiple on-board devices, reducing the use of Ethernet physical cards hardware dependencies.

Benefits of technology

It effectively reduces the hardware dependence of Ethernet physical cards, saves the hardware cost of network links, and supports simultaneous upgrades of multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972807A_ABST
    Figure CN118972807A_ABST
Patent Text Reader

Abstract

The invention provides a production line upgrading method and device for vehicle-mounted equipment, electronic equipment and a storage medium, and the method comprises the steps: obtaining equipment upgrading information, enabling the equipment upgrading information to comprise virtual network identifiers of a plurality of pieces of vehicle-mounted equipment, binding each virtual network identifier with a target switching port of a management switch, and carrying out the upgrading of the production line of the vehicle-mounted equipment, the management type switch comprises an uplink switching port and a plurality of downlink switching ports, the target switching port is used for representing the downlink switching port for performing first communication connection between the vehicle-mounted equipment and the management type switch, and a network label range allowed to pass through in the uplink switching port is configured according to each virtual network identifier; a plurality of virtual local area network cards are established on an upgrading server according to the virtual network identifiers, so that the upgrading server upgrades the corresponding vehicle-mounted equipment through the virtual local area network cards, and the upgrading server is in second communication connection with the uplink switching port; through the virtual local area network card and the management switch, the hardware dependence of the Ethernet physical card can be reduced, and the hardware cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle upgrade technology, and in particular to a production line upgrade method, device, electronic device and storage medium for vehicle-mounted equipment. Background Art

[0002] The vehicle-mounted networking terminal (Telematics BOX, TBOX) device of the car is a new module derived from the functions and architecture of traditional vehicles, and is widely configured on new energy vehicles. Therefore, the hardware form and function definition of TBOX devices have strong network architecture characteristics, and network functions are basically reflected in TBOX devices, such as remote control, over-the-air download (OTA), emergency call (ECALL) and other functions. Since TBOX devices integrate a large number of functions, the upgrade software of TBOX devices is generally large, and the upgrade firmware generally has a data size of tens of MB or even hundreds of MB. There are many communication solutions integrated in TBOX devices, such as mobile cellular networks, positioning systems, satellite communications and other wide area network communications, as well as controller area networks (CAN), Ethernet, Bluetooth and other local area network communication methods. Among these communication solutions, the solutions that can achieve high-speed data transmission are mobile cellular networks, Bluetooth networks, and Ethernet. Cellular mobile networks and Bluetooth are wireless networks, and their networking is more complicated. Cellular networks require the purchase of communication services from operators, which is costly. Bluetooth networks are short-range wireless communications, and the use environment cannot be too complex. A large number of devices working at the same time will cause signal interference and low reliability. Ethernet does not require the purchase of additional data packages and can be used directly. Its link networking is simple. In summary, Ethernet is a practical and efficient data transmission solution for upgrading TBOX software on production lines.

[0003] In the Ethernet data transmission scheme for upgrading TBOX software on the production line, since the network addresses corresponding to the same batch of TBOX devices are the same, a dedicated Ethernet link is established between the TBOX server and the TBOX device to prevent IP address conflicts. However, in this TBOX production line upgrade system, when expanding the number of TBOX devices, each new TBOX device requires an additional Ethernet link, and the TBOX server needs to add a new first Ethernet port. Correspondingly, a new Ethernet physical card needs to be added to the hardware device, and the TBOX device itself already has a second Ethernet port. This solution requires adding an Ethernet physical network card to the TBOX server each time the number of TBOX devices is expanded, which increases the corresponding hardware cost. Summary of the invention

[0004] The present application provides a production line upgrade method, device, electronic device and storage medium for vehicle-mounted equipment to solve the technical problem of high hardware cost caused by the same network address when upgrading the same batch of vehicle-mounted equipment.

[0005] In one embodiment of the present application, the present application provides a production line upgrade method for vehicle-mounted equipment, including: obtaining equipment upgrade information, the equipment upgrade information including virtual network identifiers of multiple vehicle-mounted equipment; binding each of the virtual network identifiers to a target switching port of a managed switch, the managed switch including an uplink switching port and multiple downlink switching ports, the target switching port being used to represent a downlink switching port when a vehicle-mounted equipment establishes a first communication connection with the managed switch; configuring a range of network labels allowed to pass through the uplink switching port according to each of the virtual network identifiers; establishing multiple virtual LAN cards on an upgrade server according to each of the virtual network identifiers, so that the upgrade server upgrades the corresponding vehicle-mounted equipment through each of the virtual LAN cards, and the upgrade server establishes a second communication connection with the uplink switching port.

[0006] In one embodiment of the present application, the upgrade server upgrades the corresponding vehicle-mounted device through each of the virtual LAN cards, including: adding a virtual network label to at least one initial upgrade package according to the virtual network identifier corresponding to each of the virtual LAN cards to obtain multiple intermediate upgrade packages; transmitting each of the intermediate upgrade packages to the managed switch; forwarding each of the intermediate upgrade packages to the corresponding vehicle-mounted device through the managed switch to upgrade the corresponding vehicle-mounted device; wherein the device upgrade information also includes the at least one initial upgrade package.

[0007] In one embodiment of the present application, each intermediate upgrade package is forwarded to the corresponding vehicle-mounted device through the managed switch, including: receiving each intermediate upgrade package through the upstream switching port and forwarding it to the corresponding downstream switching port; if a downstream switching port receives an intermediate upgrade package, and the virtual network identifier of the virtual network label in the intermediate upgrade package is the same as the virtual network identifier bound to the downstream switching port, then the virtual label of the intermediate upgrade package is stripped through the downstream switching port to obtain the target upgrade package, and forwarded to the corresponding vehicle-mounted device.

[0008] In one embodiment of the present application, the vehicle-mounted device is connected to the downstream switching port via a vehicle-mounted Ethernet card, and the vehicle-mounted device and the vehicle-mounted Ethernet card are connected via a serial gigabit media independent interface; the first communication connection is a single-pair Ethernet connection.

[0009] In one embodiment of the present application, the upgrade server is connected to the uplink switching port via an Ethernet physical network card, and the upgrade server and the Ethernet physical network card are connected via a high-speed serial computer expansion bus standard interface; the second communication connection is a twisted pair or optical fiber connection.

[0010] In one embodiment of the present application, the present application provides a production line upgrade device for vehicle-mounted equipment, including: an information acquisition module, used to obtain equipment upgrade information, the equipment upgrade information includes virtual network identifiers of multiple vehicle-mounted equipment; an identifier binding module, used to bind each of the virtual network identifiers to a target switching port of a managed switch, the managed switch includes an uplink switching port and multiple downlink switching ports, and the target switching port is used to represent the downlink switching port when a vehicle-mounted equipment is connected to the managed switch for a first communication; a range configuration module, used to configure the range of network labels allowed to pass through the uplink switching port according to each of the virtual network identifiers; a network card establishment module, used to establish multiple virtual local area network cards on an upgrade server according to each of the virtual network identifiers, so that the upgrade server upgrades the corresponding vehicle-mounted equipment through each of the virtual local area network cards, and the upgrade server establishes a second communication connection with the uplink switching port.

[0011] In one embodiment of the present application, the device also includes: an upgrade server, which is used to add a virtual network label to the initial upgrade package in the device upgrade information according to the virtual network identifier corresponding to each of the virtual LAN cards, and obtain multiple intermediate upgrade packages to upgrade each of the vehicle-mounted devices; a managed switch, which is used to strip the label of each of the intermediate upgrade packages, obtain multiple target upgrade packages, and forward them to the corresponding vehicle-mounted devices; an Ethernet physical network card, which is used to provide the first Ethernet port of the upgrade server to the outside, so as to forward each of the intermediate upgrade packages to the managed switch; an on-board Ethernet card, which is used to provide the second Ethernet port of the on-board device to the outside, so as to receive the corresponding target upgrade package, and there is a corresponding relationship between the number of the on-board Ethernet cards and the number of the on-board devices.

[0012] In one embodiment of the present application, the upgrade server is connected to the Ethernet physical network card via a high-speed serial computer expansion bus standard interface, and the managed switch is connected to the Ethernet physical network card via a twisted pair or optical fiber; the vehicle-mounted device is connected to the vehicle-mounted Ethernet card via a serial gigabit media independent interface, and the vehicle-mounted Ethernet card is connected to the managed switch via a single-pair Ethernet connection.

[0013] In one embodiment of the present application, the present application provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the production line upgrade method of the vehicle-mounted equipment as described in any of the above embodiments.

[0014] In one embodiment of the present application, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the production line upgrade method of the vehicle-mounted equipment described in any one of the above embodiments.

[0015] Beneficial effects of the embodiments of the present application: The present application provides a production line upgrade method, device, electronic device and storage medium for vehicle-mounted equipment. The embodiments of the present application bind and range the virtual network identifiers corresponding to each vehicle-mounted equipment to the managed switch, and establish multiple virtual LAN cards on the upgrade server according to each virtual network identifier. Through the managed switch, a single upgrade server can communicate with multiple vehicle-mounted equipment, which can effectively reduce the hardware dependence of Ethernet physical cards and save the hardware cost of network links.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0018] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;

[0019] Figure 2 A schematic diagram showing a process of a production line upgrade method for an on-vehicle device according to an embodiment of the present application is shown;

[0020] Figure 3 A schematic diagram of link connection for production line upgrade of an on-board device according to an embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram of the configuration of a production line upgrade of an in-vehicle device according to an embodiment of the present application is shown;

[0022] Figure 5A block diagram of a production line upgrade device for an on-vehicle device according to an embodiment of the present application is shown;

[0023] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0025] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0026] First of all, it should be noted that the existing technology of the communication link connection between a single TBOX device and a TBOX server is to communicate directly through an Ethernet link, and Ethernet communication does not include a virtual local area network card (VLAN) protocol. The method for expanding the Ethernet link of the TBOX server is as follows: on the TBOX server side, the number of Ethernet physical cards is increased to achieve the purpose of increasing the first Ethernet port, so that Ethernet links can be established with more TBOX devices at the same time, so as to achieve the goal of transmitting data and upgrading TBOX devices.

[0027] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0028] See also Figure 1 , Figure 1 A schematic diagram of an exemplary system architecture to which the technical solution of the embodiment of the present application can be applied is shown. Figure 1 As shown, the system architecture may include an upgrade server 101, a managed switch 102, and an in-vehicle device 103. There may be a plurality of in-vehicle devices 103.

[0029] Exemplarily, device upgrade information is obtained, the device upgrade information includes virtual network identifiers of multiple vehicle-mounted devices; each virtual network identifier is respectively bound to a target switching port of a managed switch 102, the managed switch 102 includes an uplink switching port and multiple downlink switching ports, and the target switching port is used to represent a downlink switching port when a vehicle-mounted device and the managed switch establish a first communication connection; a range of network labels allowed to pass through the uplink switching port is configured according to each virtual network identifier; multiple virtual LAN cards are established on an upgrade server according to each virtual network identifier, so that the upgrade server upgrades the corresponding vehicle-mounted device through each virtual LAN card, and the upgrade server establishes a second communication connection with the uplink switching port.

[0030] In the related art, a dedicated Ethernet link is established between the TBOX server and the TBOX device to prevent IP address conflicts. Each time a new TBOX device is added, an Ethernet link needs to be added, and the TBOX server needs to add a first Ethernet port. Correspondingly, on the hardware device, the TBOX server needs to add a new Ethernet physical card. The TBOX end already has a second Ethernet port, which increases the corresponding hardware cost.

[0031] In order to solve the above technical problems, the present application provides a production line upgrade method, device, electronic device and storage medium for vehicle-mounted equipment. The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.

[0032] See also Figure 2 , Figure 2 FIG. 1 is a flow chart showing a method for upgrading a production line of an on-board device according to an embodiment of the present application. Figure 2 As shown, in an exemplary embodiment, the production line upgrade method of the vehicle-mounted device includes at least steps S210 to S240, which are described in detail as follows:

[0033] Step S210, obtaining device upgrade information.

[0034] The device upgrade information includes virtual network identifiers of multiple vehicle-mounted devices.

[0035] In one embodiment of the present application, each vehicle-mounted device is a device from the same batch and has the same network address.

[0036] In one embodiment of the present application, the vehicle-mounted device includes a TBOX device and a vehicle-mounted gateway.

[0037] In one embodiment of the present application, there is a corresponding relationship between the virtual network identifier of each vehicle-mounted device and the device identity identifier of each vehicle-mounted device.

[0038] In one embodiment of the present application, the upgrade server is connected to the uplink switching port through an Ethernet physical network card, and the upgrade server and the Ethernet physical network card are connected through a high-speed serial computer expansion bus standard interface; the second communication connection is a twisted pair or optical fiber connection.

[0039] In one embodiment of the present application, in order to optimize the Ethernet link, only one Ethernet physical network card is needed, which is connected to the upgrade server using a high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIE) interface, and a first Ethernet port is provided to the outside. The first Ethernet port can use a twisted pair (Twisted Pair, TP) or optical fiber for physical link connection, and the other end is connected to the uplink switching port of the managed switch.

[0040] In one embodiment of the present application, the vehicle-mounted device is connected to the downlink switching port via a vehicle-mounted Ethernet card, and the vehicle-mounted device and the vehicle-mounted Ethernet card are connected via a serial gigabit media independent interface; the first communication connection is a single-pair Ethernet connection.

[0041] In one embodiment of the present application, each TBOX device to be upgraded uses an in-vehicle Ethernet, and the in-vehicle Ethernet card and the TBOX device are connected to the TBOX using a serial gigabit media independent interface (Serial Gigabit Media Independent Interface, SGMII), and the external Ethernet port uses a single pair Ethernet (Single Pair Ethernet, SPE) line to communicate, and the other end is connected to the downstream switching port of the managed switch. At this time, the physical connection between the TBOX server and the TBOX device has been established.

[0042] In one embodiment of the present application, see Figure 3 , Figure 3 FIG. 1 shows a schematic diagram of link connection for production line upgrade of vehicle-mounted equipment according to an embodiment of the present application. Figure 3 As shown, the vehicle-mounted device is a TBOX device, the upgrade server provides a first Ethernet port through an Ethernet physical card, the upgrade server is connected to the Ethernet physical card through a PCIE interface, the first Ethernet port is connected to the uplink switching port of the managed switch through a twisted pair cable, the TBOX device increases the second Ethernet port through the vehicle-mounted Ethernet card, the vehicle-mounted Ethernet card and the TBOX device are connected through SGMII, the second Ethernet port is connected to the downlink switching port of the managed switch through SPE, and the managed switch includes multiple downlink switching ports, such as PORT 1 to PORTN, so as to upgrade multiple TBOX devices.

[0043] Step S220: Bind each virtual network identifier to a target switch port of the managed switch.

[0044] The managed switch includes an uplink switch port and multiple downlink switch ports, and the target switch port is used to represent the downlink switch port when a vehicle-mounted device performs a first communication connection with the managed switch.

[0045] In one embodiment of the present application, the virtual network identifier includes a VLAN number. The VLAN number can be selected from the range of VLAN2, VLAN3, VLAN4...VLAN4094. Among them, VLAN1 and VLAN4095 are generally not used.

[0046] In one embodiment of the present application, when TBOX devices are produced, all TBOX devices will use the same IP configuration and be placed in the same local area network. Since the network addresses are the same, IP conflicts will occur, resulting in network anomalies. At this time, it is necessary to configure the managed switch to solve the problem of the same IP address conflict in the local area network.

[0047] In one embodiment of the present application, the downlink switch port is set as an access port, and the characteristics of the access port are used: the access port can only belong to one VLAN and can only transmit data of the VLAN. The TBOX device is connected to the access port of the corresponding management switch, and the VLAN number passed by the corresponding access port is matched with the TBOX device one by one.

[0048] Step S230: configuring a range of network labels allowed to pass through the uplink switching port according to each virtual network identifier.

[0049] In one embodiment of the present application, the uplink port of the switch is configured as a trunk port. By utilizing the characteristics of the trunk port, one trunk port can support data transmission of multiple VLANs, and the VLANs allowed to pass through the trunk port are matched with the range of each virtual network identifier.

[0050] Step S240 , establishing multiple virtual local area network cards on the upgrade server according to each virtual network identifier, so that the upgrade server upgrades the corresponding vehicle-mounted device through each virtual local area network card.

[0051] The upgrade server establishes a second communication connection with the uplink switching port.

[0052] In one embodiment of the present application, the VLAN feature of IEEE 802.1q is used to establish multiple VLAN virtual network cards corresponding to the virtual network identifiers on one Ethernet physical card.

[0053] In one embodiment of the present application, the upgrade server upgrades the corresponding vehicle-mounted devices through each virtual LAN card, including: adding a virtual network label to at least one initial upgrade package according to the virtual network identifier corresponding to each virtual LAN card to obtain multiple intermediate upgrade packages; transmitting each intermediate upgrade package to a managed switch; forwarding each intermediate upgrade package to the corresponding vehicle-mounted device through the managed switch to upgrade the corresponding vehicle-mounted device; wherein the device upgrade information also includes at least one initial upgrade package.

[0054] In one embodiment of the present application, if the current versions of the various in-vehicle devices are the same and the target versions are the same, then the various in-vehicle devices are upgraded to the target version according to an initial upgrade package.

[0055] In one embodiment of the present application, if the current versions of the various in-vehicle devices are different and the target versions are the same, the various in-vehicle devices are upgraded to the target version according to a plurality of different initial upgrade packages.

[0056] In one embodiment of the present application, if the target versions of the various in-vehicle devices are different, the various in-vehicle devices are upgraded to different target versions according to a plurality of different initial upgrade packages.

[0057] In one embodiment of the present application, each intermediate upgrade package is forwarded to the corresponding vehicle-mounted device through a managed switch, including: receiving each intermediate upgrade package through the upstream switching port and forwarding it to the corresponding downstream switching port; if a downstream switching port receives an intermediate upgrade package, and the virtual network identifier of the virtual network label in the intermediate upgrade package is the same as the virtual network identifier bound to the downstream switching port, then the virtual label of the intermediate upgrade package is stripped through the downstream switching port to obtain the target upgrade package, and forward it to the corresponding vehicle-mounted device.

[0058] In one embodiment of the present application, see Figure 4 , Figure 4 FIG. 1 shows a schematic diagram of a configuration of a production line upgrade of an on-board device according to an embodiment of the present application. Figure 4 As shown, the vehicle-mounted device is a TBOX device, the upgrade server provides a first Ethernet port through an Ethernet physical card, the upgrade server is connected to the Ethernet physical card through a PCIE interface, and multiple virtual LAN cards corresponding to each virtual network identifier are generated based on IEEE802.1q, so as to prepare a virtual network tag (VLAN tag) for the initial upgrade package, and the uplink switch port is configured as a trunk port connected to the managed switch, and each downlink switch port corresponds to each virtual network identifier one by one, such as the virtual network identifier corresponding to PORT1 is VLAN2, so that TBOX 1 is upgraded, and the downlink switch port is configured as an access port to strip the virtual network tag, and the vehicle-mounted Ethernet card receives the target upgrade package without the virtual network tag.

[0059] In one embodiment of the present application, the present application uses the IEEE 802.1q VLAN feature of Ethernet, combined with the feature that the port of a managed switch can add and remove VLAN tags, to utilize a managed switch to enable a single upgrade server to communicate with multiple vehicle-mounted devices, thereby effectively reducing the hardware dependence of Ethernet physical cards and saving the hardware cost of network links.

[0060] In one embodiment of the present application, a managed switch can provide at least 48 100M Ethernet ports, that is, a managed switch can upgrade at least 48 TBOX devices at the same time. Compared with the previous upgrade of the server directly connected to the TBOX device via an Ethernet link, at least 47 physical Ethernet cards can be saved.

[0061] See also Figure 5 , Figure 5 A block diagram of a production line upgrade device for vehicle-mounted equipment according to an embodiment of the present application is shown. The device can be applied to Figure 1 The device may also be applicable to other exemplary implementation environments and specifically configured in other devices, and this embodiment does not limit the implementation environment to which the device is applicable.

[0062] like Figure 5 As shown, according to an embodiment of the present application, a production line upgrade device 500 for vehicle-mounted equipment includes: an information acquisition module 501, an identification binding module 502, a range configuration module 503 and a network card establishment module 504.

[0063] An information acquisition module 501 is used to acquire device upgrade information, where the device upgrade information includes virtual network identifiers of multiple vehicle-mounted devices;

[0064] The identifier binding module 502 is used to bind each virtual network identifier to a target switching port of a managed switch, wherein the managed switch includes an uplink switching port and multiple downlink switching ports, and the target switching port is used to represent the downlink switching port when an on-board device is connected to the managed switch for a first communication;

[0065] Range configuration module 503, used to configure the network label range allowed to pass through the uplink switching port according to each virtual network identifier;

[0066] The network card establishment module 505 is used to establish multiple virtual local area network cards in the upgrade server according to each virtual network identifier, so that the upgrade server upgrades the corresponding vehicle-mounted device through each virtual local area network card, and the upgrade server establishes a second communication connection with the uplink switching port.

[0067] In one embodiment of the present application, the production line upgrading device of the vehicle-mounted equipment further includes:

[0068] The upgrade server is used to add a virtual network tag to the initial upgrade package in the device upgrade information according to the virtual network identifier corresponding to each virtual local area network card, and obtain multiple intermediate upgrade packages to upgrade each vehicle-mounted device;

[0069] A managed switch is used to strip labels from each intermediate upgrade package, obtain multiple target upgrade packages, and forward them to corresponding vehicle-mounted devices;

[0070] The Ethernet physical network card is used to provide the first external Ethernet port of the upgrade server to forward each intermediate upgrade package to the managed switch;

[0071] The vehicle-mounted Ethernet card is used to provide a second Ethernet port for the vehicle-mounted device to receive the corresponding target upgrade package. The number of vehicle-mounted Ethernet cards corresponds to the number of vehicle-mounted devices.

[0072] In one embodiment of the present application, the upgrade server is connected to the Ethernet physical network card through a high-speed serial computer expansion bus standard interface, and the managed switch is connected to the Ethernet physical network card through a twisted pair or optical fiber; the vehicle-mounted device is connected to the vehicle-mounted Ethernet card through a serial gigabit media independent interface, and the vehicle-mounted Ethernet card is connected to the managed switch through a single-pair Ethernet connection.

[0073] It should be noted that the production line upgrade device for vehicle-mounted equipment provided in the above embodiment and the production line upgrade method for vehicle-mounted equipment provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In actual application, the production line upgrade device for vehicle-mounted equipment provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0074] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the production line upgrade method of the vehicle-mounted equipment provided in the above-mentioned embodiments.

[0075] See also Figure 6 , Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0076] like Figure 6As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method in the above embodiment. In the random access memory 603, various programs and data required for system operation are also stored. The central processing unit 601, the read-only memory 602 and the random access memory 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0077] The following components are connected to the input / output interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0078] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.

[0079] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, 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 can 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), a 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 application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A 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. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0080] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, 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 alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart 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.

[0081] The units involved in the embodiments described in the present application can be implemented by software or by hardware, and the units described can also be set in a processor. Among them, the names of these units do not constitute a limitation on the units themselves under certain circumstances. Therefore, the technical solution according to the implementation mode of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation mode of the present application.

[0082] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the production line upgrade method of the vehicle-mounted device provided in each of the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.

[0083] In the above embodiments, unless otherwise specified, by using serial numbers such as "first" and "second" to describe common objects, it only means that they refer to different instances of the same object, rather than indicating that the objects being described must adopt a given order, whether in time, space, sorting or any other way.

[0084] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A production line upgrade method for vehicle-mounted equipment, characterized in that: The method comprises: Acquire device upgrade information, where the device upgrade information includes virtual network identifiers of multiple vehicle-mounted devices; Binding each of the virtual network identifiers to a target switching port of a managed switch, the managed switch comprising an uplink switching port and a plurality of downlink switching ports, the target switching port being used to represent a downlink switching port when an on-board device is in a first communication connection with the managed switch; According to each of the virtual network identifiers, configure the network label range allowed to pass through the uplink switching port; A plurality of virtual local area network cards are established on the upgrade server according to each of the virtual network identifiers, so that the upgrade server upgrades the corresponding vehicle-mounted equipment through each of the virtual local area network cards, and the upgrade server establishes a second communication connection with the uplink switching port.

2. The production line upgrade method of vehicle-mounted equipment according to claim 1, characterized in that: The upgrade server upgrades the corresponding vehicle-mounted device through each virtual local area network card, including: Tagging at least one initial upgrade package with a virtual network tag according to the virtual network identifiers corresponding to the virtual LAN cards to obtain multiple intermediate upgrade packages; Transmitting each of the intermediate upgrade packages to the managed switch; Forwarding each of the intermediate upgrade packages to the corresponding vehicle-mounted device through the managed switch to upgrade the corresponding vehicle-mounted device; The device upgrade information also includes the at least one initial upgrade package.

3. The production line upgrade method of vehicle-mounted equipment according to claim 2, characterized in that: Forwarding each intermediate upgrade package to a corresponding vehicle-mounted device through the managed switch includes: Receiving each of the intermediate upgrade packages through the uplink switch port, and forwarding them to the corresponding downlink switch port; If a downstream switching port receives an intermediate upgrade package, and the virtual network identifier of the virtual network label in the intermediate upgrade package is the same as the virtual network identifier bound to the downstream switching port, the virtual label of the intermediate upgrade package is stripped through the downstream switching port to obtain the target upgrade package and forward it to the corresponding vehicle-mounted device.

4. The production line upgrade method of the vehicle-mounted equipment according to any one of claims 1 to 3, characterized in that: The vehicle-mounted device is connected to the downlink switch port via a vehicle-mounted Ethernet card, and the vehicle-mounted device is connected to the vehicle-mounted Ethernet card via a serial Gigabit Media Independent Interface; The first communication connection is a single-pair Ethernet connection.

5. The production line upgrade method of the vehicle-mounted equipment according to any one of claims 1 to 3, characterized in that: The upgrade server is connected to the uplink switch port via an Ethernet physical network card, and the upgrade server is connected to the Ethernet physical network card via a high-speed serial computer expansion bus standard interface; The second communication connection is a twisted pair or optical fiber connection.

6. A production line upgrade device for vehicle-mounted equipment, characterized in that: The device comprises: An information acquisition module, used to acquire device upgrade information, wherein the device upgrade information includes virtual network identifiers of multiple vehicle-mounted devices; an identification binding module, used to bind each of the virtual network identifications to a target switching port of a managed switch, the managed switch comprising an uplink switching port and a plurality of downlink switching ports, the target switching port being used to represent a downlink switching port when an on-board device is in a first communication connection with the managed switch; A range configuration module, used to configure the network label range allowed to pass through the uplink switching port according to each virtual network identifier; The network card establishment module is used to establish multiple virtual local area network cards on the upgrade server according to each virtual network identifier, so that the upgrade server can upgrade the corresponding vehicle-mounted equipment through each virtual local area network card, and the upgrade server establishes a second communication connection with the uplink switching port.

7. The production line upgrading device for vehicle-mounted equipment according to claim 6, characterized in that: The device also includes: An upgrade server, used to add a virtual network tag to the initial upgrade package in the device upgrade information according to the virtual network identifier corresponding to each virtual local area network card, and obtain multiple intermediate upgrade packages to upgrade each of the vehicle-mounted devices; A managed switch, used to strip labels from each of the intermediate upgrade packages, obtain multiple target upgrade packages, and forward them to corresponding vehicle-mounted devices; An Ethernet physical network card, used to provide a first external Ethernet port of the upgrade server to forward each of the intermediate upgrade packages to the managed switch; The vehicle-mounted Ethernet card is used to provide a second Ethernet port for the vehicle-mounted device to receive a corresponding target upgrade package. The number of the vehicle-mounted Ethernet cards corresponds to the number of the vehicle-mounted devices.

8. The production line upgrading device for vehicle-mounted equipment according to claim 7, characterized in that: The upgrade server is connected to the Ethernet physical network card via a high-speed serial computer expansion bus standard interface, and the managed switch is connected to the Ethernet physical network card via a twisted pair or optical fiber; The vehicle-mounted device is connected to the vehicle-mounted Ethernet card via a serial gigabit media independent interface, and the vehicle-mounted Ethernet card is connected to the managed switch via a single-pair Ethernet.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the production line upgrade method for vehicle-mounted equipment as described in any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the production line upgrading method of the vehicle-mounted equipment according to any one of claims 1 to 5.

Citation Information

Cited By

  • Vehicle software local online upgrading method, device, equipment and medium

    CN121397516A