Method for configuring mapping table in mapping management device, method for binding and configuring bus adapter and channel, bus adapter connection system, and bus adapter

The mapping table method in the mapping management device dynamically associates logical channels with hardware channels, addressing adapter distinction issues and improving application development efficiency and reliability.

JP2026021399APending Publication Date: 2026-02-10SHANGHAI TOSUN TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025179946
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-02
Filing Date
2025-10-24
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Conventional automotive bus adapter integration methods require software modifications and face challenges in distinguishing between adapters, leading to inefficiencies and reduced reliability.

Method used

A method for arranging a mapping table in a mapping management device that includes information fields such as application name, channel type, hardware type, and index, allowing dynamic association and connection of logical channels with hardware channels without software modifications.

Benefits of technology

Enables efficient access to bus adapter resources with immediate effective mapping after configuration changes, reducing software modification needs and error possibilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026021399000001_ABST
    Figure 2026021399000001_ABST
Patent Text Reader

Abstract

To provide a method for arranging a mapping table in a mapping management device.SOLUTION: The method includes arranging six information fields in a mapping table. The six information fields, Application Name, are the string names of the applications that use the mapping manager. The channel type is a channel type of a logical channel for which the mapping manager is responsible for mapping. The logical channel index is a logical channel resource number of the application. The hardware type is a manufacturer type of the corresponding bus adapter and a model number of the bus adapter. The hardware index is a number for distinguishing hardware types of the same type after the corresponding bus adapter is inserted. The hardware channel index is a number of a hardware channel of the same type carried in the corresponding bus adapter.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to the technical field of automobile bus adapters, and more particularly to a method for arranging a mapping table in a mapping management device, a method for binding and arranging a bus adapter and a channel, a bus adapter connection system, and a bus adapter. [Background technology]

[0002] An automotive bus adapter consists of a device with a USB interface on one end and one or more external automotive bus interfaces (such as CAN bus, LIN bus, FlexRay bus, or automotive Ethernet) on the other end. There are many types of conventional automotive bus adapters, originating from different manufacturers. To monitor the automotive bus, the automotive bus adapter must be integrated with a host application developed by the user. The host application must always connect multiple automotive bus adapters to access multiple buses simultaneously. During the application process, conventional technical solutions usually hard-code the automotive bus adapters that need to be connected into the software.

[0003] During the application process, the prior art solutions hard-code the required car bus adapter into the software, which brings about two problems. First, replacing automotive bus adapter A with automotive bus adapter B requires a simultaneous software change, replacing the connection code of automotive bus adapter A with the connection code of automotive bus adapter B, which requires additional software modification time. If automotive bus adapter B is later replaced with automotive bus adapter A, the software must be modified again. Some users try to support automotive bus adapter A and automotive bus adapter B simultaneously and complete the adapter switching through configuration, but this method also causes the problem of incompatibility with automotive bus adapter C. Next, when two identical car bus adapters A and B are connected at the same time, such as when A is inserted into the computer first and then B, or when B is inserted into the computer first and then A, it is difficult for the software to distinguish between A and B. Even if a user reads the serial numbers of the car bus adapters to bind A and B, it is difficult to automatically identify the bus adapter after A is replaced with C in the subsequent application process.

[0004] Such problems must ultimately be resolved by correcting the software, which increases the amount of work and reduces the reliability of the software.

[0005] Therefore, it is necessary to design a new method for arranging mapping tables in a mapping management device based on the above technical issues. Summary of the Invention

[0006] An object of the present invention is to provide a method for arranging a mapping table in a mapping management device.

[0007] In order to solve the above technical problems, the mapping table arrangement method in the mapping management device of the present invention includes arranging multiple information fields in the mapping table, the multiple information fields including one or more of an application name, a channel type, a logical channel index, a hardware type, a hardware index, and a hardware channel index, the application name is a string name of an application that uses the mapping management device, the channel type is the channel type of the logical channel that the mapping management device is responsible for mapping, the logical channel index is the logical channel resource number of the application, the hardware type is the manufacturer type and model number of the corresponding bus adapter, the hardware index is a number that distinguishes similar hardware types after the corresponding bus adapter is inserted, and the hardware channel index is the number of the similar hardware channel carried inside the corresponding bus adapter.

[0008] Preferably, in the above method, the logical channel resource numbers increase from small to large. Preferably, in the above method, the hardware index is obtained by sorting the sequence numbers of the bus adapters in ascending order, and after sorting the sequence numbers SN of each bus adapter in ascending order, the hardware index of the bus adapter with the smallest sequence number is the lowest. Preferably, in the above method, the hardware index is a number for distinguishing similar hardware types after the corresponding bus adapter is inserted, and the number is dynamically adjusted based on the sorting method of the sequence numbers of the bus adapter. Preferably, in the above method, the hardware channel index is a number of a similar hardware channel carried inside the corresponding bus adapter, and the number is preset in the same bus adapter.

[0009] In another aspect, the present invention provides a method for binding and arranging a bus adapter and a channel, the method including arranging a mapping table of a mapping management device using the above-mentioned arrangement method, and associating logical channels with corresponding hardware channels using the mapping table, the associating method including associating each logical channel with a corresponding hardware channel of the bus adapter based on the mapping table. Preferably, the above method further includes a method for connecting the logical channel to a corresponding hardware channel to perform data communication, wherein when an application is connected to a bus adapter, all supported bus adapters are scanned, and a mapping table related to the application is searched for in all mapping tables included in the mapping management device based on the application name, and whether corresponding hardware exists is searched for based on the hardware type, hardware index, and hardware channel index in the mapping table corresponding to each logical channel related to the application, and if there is corresponding hardware, the bus adapter corresponding to the hardware is initialized, and the data transmission and reception function of the logical channel is connected to the hardware channel of the corresponding bus adapter to perform data communication, otherwise the connection fails. Preferably, in the method, the application is used to access channel resources of bus adapters produced by different manufacturers. Preferably, in the above method, the application sets the model number of the bus adapter or sets a change of the hardware channel during the process of use. Preferably, in the above method, the application module comprises a single or multiple logical channels. Preferably, in the above method, the bus adapter has a single or multiple hardware channels.

[0010] In another aspect, the present invention is a computer-readable storage medium on which a program for executing the mapping table arrangement method in the mapping management device described above is stored, or a program for executing the binding and arrangement method between a bus adapter and a channel described above is stored.

[0011] In another aspect, the present invention is an electronic device comprising a processor, a computer-readable storage medium, a communication bus, and a communication interface, wherein the processor, the computer-readable storage medium, and the communication interface communicate with each other via the communication bus, and the computer-readable storage medium is configured to store a program for executing the mapping table arrangement method in the mapping management device described above; The processor is configured to execute the program.

[0012] In another aspect, the present invention is a computer device that, when the computer device and a bus adapter are connected, is configured to execute a program for the above-mentioned method of binding and arranging the bus adapter and a channel, and then perform data communication with the bus adapter.

[0013] In another aspect, the present invention is a method for connecting a bus adapter to a computer device, wherein the computer device is configured to perform data communication with the bus adapter after executing a program for the above-mentioned method for binding and arranging a bus adapter and a channel.

[0014] In another aspect, the present invention provides a bus adapter and channel binding and configuration system having a computer device, the computer device including a mapping table configuration module, an association module, and a connection module, the mapping table configuration module configures a mapping table of a mapping management device, the association module associates logical channels with corresponding hardware channels through the mapping table, and the connection module connects the logical channels to the corresponding hardware channels to perform data communication. Preferably, in the above system, arranging the mapping table of the mapping management device includes arranging a plurality of information fields in the mapping table, the information fields including one or more of an application name, a channel type, a logical channel index, a hardware type, a hardware index, and a hardware channel index, the application name being a string name of an application that uses the mapping management device, the channel type being the channel type of the logical channel that the mapping management device is responsible for mapping, the logical channel index being the logical channel resource number of the application, the hardware type being the manufacturer type of the corresponding bus adapter and the model number of the bus adapter, the hardware index being a number that distinguishes similar hardware types after the corresponding bus adapter is inserted, and the hardware channel index being the number of a similar hardware channel carried inside the corresponding bus adapter. Preferably, in the above system, connecting a logical channel to a corresponding hardware channel to perform data communication includes scanning all supported bus adapters when an application is connected to a bus adapter, and searching for a mapping table related to the application based on the application name in all mapping tables included in the mapping management device; searching for whether corresponding hardware exists based on the hardware type, hardware index, and hardware channel index in the mapping table corresponding to each logical channel related to the application; initializing the corresponding bus adapter if it exists, and connecting the data transmission / reception function of the logical channel to the hardware channel of the corresponding bus adapter to perform data communication; otherwise, the connection fails.

[0015] In another aspect, the present invention is a mapping management device having a computer device, the computer device being configured to execute a program for the above-mentioned bus adapter and channel binding and arrangement method so that logical channels and hardware channels are associated by the mapping management device. In another aspect, the present invention is a bus adapter connection system having a computer device and at least one bus adapter, the computer device including an application module and a mapping management device, and the computer device executes a program for the above-mentioned method of binding and arranging a bus adapter and a channel, and associates each logical channel in the application module with a hardware channel of the bus adapter to perform data communication, and then connects them. In another aspect, the present invention is a bus adapter configured to communicate with a computer device that executes a program for the method of binding and arranging a bus adapter and a channel described above. Preferably, in the bus adapter, the hardware channel index is the number of the same hardware channel carried inside the corresponding bus adapter. Preferably, in the bus adapter, the bus adapter and the computer device communicate using a CAN bus. Preferably, in the above bus adapter, the bus adapter has a single or multiple hardware channels.

[0016] The beneficial effects of the present invention are as follows: The present invention realizes a general architecture for an application to access bus adapter resources by configuring a mapping table in a mapping management device, associating logical channels with corresponding hardware channels through the mapping table, and connecting the logical channels to the corresponding hardware channels for data communication. An application using this architecture can arbitrarily set the bus adapter model number and hardware channel it needs to connect to, and the mapping relationship is immediately effective after each configuration change, eliminating the need to modify the user's software, thereby improving application development efficiency and reducing the possibility of errors.

[0017] Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and obtained by the structure particularly pointed out in the description and drawings.

[0018] In order to make the above objects, features and advantages of the present invention more comprehensible, the following preferred embodiments will be described in detail in conjunction with the accompanying drawings. [Brief explanation of the drawings]

[0019] In order to more clearly describe the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly describe the drawings that need to be used in the description of the specific embodiments or the prior art. The drawings in the following description are some embodiments of the present invention, and it is obvious that those skilled in the art can obtain other drawings from these drawings without exerting creative efforts.

[0020] [Figure 1] FIG. 1 is a flowchart of a method for binding and arranging a bus adapter and a channel according to the present invention. [Figure 2] FIG. 2 is a schematic diagram of the binding and arrangement of bus adapters and channels according to the present invention. [Figure 3] FIG. 3 is a schematic diagram of a bus adapter hardware index sorting method according to the present invention. [Figure 4] FIG. 4 is a block diagram showing the principle of the binding and allocation system between bus adapters and channels according to the present invention. [Figure 5] FIG. 5 is a block diagram showing the principle of a bus adapter connection system according to the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0021] In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. It is clear that the described embodiments are only some embodiments of the present invention, and are not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without performing creative work fall within the scope of protection of the present invention.

[0022] Example 1 FIG. 1 is a flowchart of a method for binding and arranging a bus adapter and a channel according to the present invention.

[0023] As shown in Figure 1, this embodiment 1 provides a method for binding and configuring bus adapters and channels, including: configuring a mapping table in a mapping management device, associating logical channels with corresponding hardware channels through the mapping table, and connecting the logical channels to the corresponding hardware channels for data communication, thereby realizing a general architecture for an application to access bus adapter resources. An application using this architecture can arbitrarily set the bus adapter model number and hardware channel it needs to connect to, and the mapping relationship is immediately effective after each configuration change, eliminating the need to modify the user's software, thereby improving application development efficiency and reducing the possibility of errors.

[0024] FIG. 2 is a schematic diagram of the binding and arrangement of bus adapters and channels according to the present invention.

[0025] As shown in FIG. 2, in this embodiment, the method for configuring the mapping table in the mapping management device includes the following: The mapping management device is responsible for associating each logical channel with a hardware channel of the bus adapter, and each association is realized by a mapping table written in the mapping management device. Each mapping table includes six information fields, and all of these mapping tables together form a mapping network between potential applications and potential bus adapters in the computer. Mapping tables in the mapping management device can be added or deleted at will by the user, and the six information fields in the mapping table can be arbitrarily configured. The six information fields in the mapping table include application name, channel type, logical channel index, hardware type, hardware index, and hardware channel index. For the automotive bus types supported by an application, each type has one or more logical channels, and the number and type of logical channels are configured by the user (e.g., the user can configure the number and type of logical channels through corresponding software). Take the CAN bus supported by application A as an example, which has three logical channels, and the mapping targets corresponding to each logical channel are managed by the mapping management device. The mapping table associates each logical channel of the mapping management device with a hardware channel of the bus adapter, realizing a general architecture for an application to access bus adapter resources. An application using this architecture can arbitrarily configure the model number and hardware channel of the bus adapter it needs to connect to. By simply modifying the software configuration, it is possible to deal with issues such as replacing the car bus adapter and access priority to the computer without modifying the software, avoiding additional development investment and ensuring software reliability.

[0026] In this embodiment, the application name is the string name of the application that uses the mapping management device, for example, application A. The channel type is the channel type of the logical channel for which the mapping management device is responsible for mapping. For example, logical channel A of application A is a CAN bus type. The logical channel index is the logical channel resource number of the application, which increases from smallest to largest. The logical channel index is the number assigned to the logical channel, and the index value is the numerical sequence, which increases from smallest to largest. For example, if there are three logical channels, their indexes are 0, 1, and 2, respectively. The hardware type is the manufacturer type of the corresponding bus adapter and the model number of the bus adapter under the manufacturer. The hardware index is a number used to distinguish similar hardware after the corresponding bus adapter is inserted into a computer. This number is dynamically adjusted in the computer based on the sorting method of the bus adapter sequence numbers. The hardware channel index is the number of a similar hardware channel carried within the corresponding bus adapter, which is preset for the same bus adapter. For example, hardware channel A of bus adapter A.

[0027] FIG. 3 is a schematic diagram of a bus adapter hardware index sorting method according to the present invention.

[0028] As shown in FIG. 3, in this embodiment, the hardware index is obtained by sorting the sequence numbers of the bus adapters in ascending order. After sorting the sequence numbers (SN) of each bus adapter in ascending order, the bus adapter with the smallest sequence number has the lowest hardware index. The hardware index is obtained by sorting the sequence numbers of the bus adapters in ascending order, using string matching. The sequence numbers of the bus adapters are read and obtained using the API interface provided by the bus adapter manufacturer. For example, suppose N bus adapters of the same type and manufacturer are inserted into a computer, each with a different serial number (SN). After sorting the serial numbers in ascending order, the bus adapter with the smallest serial number (SN=000001) has the lowest hardware index, and the bus adapter with the second smallest serial number (SN=000123) has the second lowest hardware index.

[0029] In this embodiment, the method for associating logical channels with corresponding hardware channels according to the mapping table includes the following: Associating each logical channel with a hardware channel of a corresponding bus adapter according to the mapping table.

[0030] In this embodiment, the method for connecting the logical channels to corresponding hardware channels for data communication includes the following: When an application is connected to a bus adapter, all supported bus adapters inserted in the computer are scanned, and a mapping table associated with the application is searched for in all mapping tables included in the mapping management device based on the application name. For each logical channel associated with the application, a search is performed to determine whether corresponding hardware exists based on the hardware type, hardware index, and hardware channel index in the mapping table. If a corresponding hardware exists, the corresponding bus adapter is initialized, and the data transmission / reception function of the logical channel is connected to the hardware channel of the corresponding bus adapter, thereby realizing data communication between the application logical channel and the corresponding bus. If no corresponding hardware is found to exist in the connection process, the connection fails. This realizes a general architecture for an application to access bus adapter resources. An application using this architecture can arbitrarily set the bus adapter model number and hardware channel it needs to connect to. After each configuration change, the mapping relationship is immediately valid, eliminating the need to modify the user's software, thereby improving application development efficiency and reducing the possibility of errors. At the same time, it also enables a user's application to indiscriminately access channel resources of automotive bus adapters manufactured by different manufacturers. If the bus adapter or hardware channel needs to be changed during the application process, only the configuration needs to be changed without modifying the software. By choosing this method when developing applications, users can achieve more in less time.

[0031] Example 2 FIG. 4 is a block diagram showing the principle of the binding and allocation system between bus adapters and channels according to the present invention.

[0032] As shown in FIG. 4 , based on the first embodiment, the second embodiment further provides a bus adapter and channel binding and configuration system, including: a mapping table configuration module for configuring a mapping table in a mapping management device; an association module for associating logical channels with corresponding hardware channels through the mapping table; and a connection module for connecting logical channels to corresponding hardware channels for data communication. This realizes a general architecture for an application to access bus adapter resources. An application using this architecture can arbitrarily set the bus adapter model and hardware channel it needs to connect to. After each configuration change, the mapping relationship is immediately valid, eliminating the need to modify the user's software, thereby improving application development efficiency and reducing the possibility of errors. At the same time, this allows the user's application to indiscriminately access channel resources of automotive bus adapters produced by different manufacturers. If the bus adapter or hardware channel needs to be changed during the application process, only the configuration needs to be changed without modifying the software. By choosing this method when developing applications, users can achieve more results in less time.

[0033] In this embodiment, the method in which the mapping table arrangement module arranges the mapping table of the mapping management device, the association module associates the logical channel with the corresponding hardware channel through the mapping table, and the connection module connects the logical channel with the corresponding hardware channel to perform data communication has been described in detail in the first embodiment, so the description will be omitted in this embodiment.

[0034] Example 3 Based on the first embodiment, the third embodiment further provides a mapping management device. The mapping management device is adapted to associate logical channels with hardware channels. This realizes a general architecture for an application to access bus adapter resources. An application using this architecture can arbitrarily set the bus adapter model number and hardware channel it needs to connect to. After each configuration change, the mapping relationship is immediately effective, eliminating the need for user software modification, thereby improving application development efficiency and reducing the possibility of errors.

[0035] In this embodiment, the method of associating the logical channels with the hardware channels employs the method of binding and arranging the bus adapters with the channels in the first embodiment.

[0036] Example 4 FIG. 5 is a block diagram showing the principle of a bus adapter connection system according to the present invention.

[0037] As shown in Figure 5, based on the third embodiment, the fourth embodiment further provides a bus adapter connection system, which includes an application module (a module on which an application is installed), a mapping management device, and a bus adapter. The mapping management device is adapted to associate and connect each logical channel in the application module with a hardware channel of the bus adapter for data communication. This allows a user's application to indiscriminately access the channel resources of automotive bus adapters manufactured by different manufacturers. If the bus adapter or hardware channel is changed during the application process, only the configuration needs to be changed without modifying the software. Users can choose this method when developing applications, achieving more results in less time.

[0038] In this embodiment, the application module can have a single or multiple logical channels, and the bus adapter can have a single or multiple hardware channels.

[0039] In this embodiment, the application module, mapping management device, and bus adapter are adapted to perform data communication by associating each logical channel with a hardware channel of the bus adapter using the binding and arrangement method between the bus adapter and the channel in embodiment 1, and then connecting them.

[0040] In summary, the present invention realizes a general architecture for an application to access bus adapter resources by configuring a mapping table in a mapping management device, associating logical channels with corresponding hardware channels through the mapping table, and connecting the logical channels to the corresponding hardware channels for data communication. An application using this architecture can arbitrarily set the bus adapter model number and hardware channel it needs to connect to, and the mapping relationship is immediately effective after each configuration change, eliminating the need for user software modifications, thereby improving application development efficiency and reducing the possibility of errors.

[0041] In some embodiments described herein, it should be understood that the disclosed apparatus and methods may be implemented in other ways. The apparatus embodiments described above are merely schematic, and for example, the flowcharts and block diagrams in the figures illustrate possible architectures, functions, and operations of apparatuses, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code, including one or more executable instructions for implementing a given logical function. It should be noted that in some alternative implementations, the functions depicted in the blocks may occur in a different order than depicted in the figures. For example, two consecutive blocks may actually be executed substantially in parallel, or may sometimes be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system that performs a given function or operation, or in a combination of dedicated hardware and computer instructions.

[0042] Furthermore, each functional module in each embodiment of the present invention may be integrated together to form a single independent part, each module may exist independently, or two or more modules may be integrated to form a single independent part.

[0043] The above functions can be realized in the form of software functional modules and stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or a part that contributes to the prior art or a part of the technical solution, can be expressed in the form of a software product, and the computer software product is stored in a storage medium and contains multiple instructions to cause a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The above storage medium includes various media that can store program code, such as a U disk, a removable disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0044] The above-described preferred embodiments of the present invention have been enlightened, and those skilled in the art can make various changes and modifications based on the above description without departing from the technical spirit of the present invention. The technical scope of the present invention is not limited to the content of the specification, but should be determined based on the claims.

Claims

1. A method for arranging a mapping table in a mapping management device, comprising: arranging six information fields in a mapping table; Six information fields in the mapping table include an application name, a channel type, a logical channel index, a hardware type, a hardware index, and a hardware channel index; the application name is a character string name of an application that uses the mapping management device; The channel type is a channel type of a logical channel for which a mapping management device is responsible for mapping; the logical channel index is a logical channel resource number of an application; The hardware type is the manufacturer type and model number of the corresponding bus adapter. The hardware index is a number that distinguishes similar hardware types after the corresponding bus adapter is inserted; A mapping table arrangement method in a mapping management device executed by a computer device, wherein the hardware channel index is a number of a similar hardware channel carried inside a corresponding bus adapter.

2. 2. The method of claim 1, wherein the logical channel resource numbers increase from small to large.

3. The method according to claim 1, characterized in that the hardware index is obtained by sorting the sequence numbers of the bus adapters in ascending order, and after sorting the sequence numbers SN of each bus adapter in ascending order, the hardware index of the bus adapter with the smallest sequence number is the lowest.

4. The hardware index is a number that distinguishes among similar hardware types after the corresponding bus adapter is inserted, 2. The method of claim 1, wherein the number is dynamically adjusted based on how the bus adapter sorts sequence numbers.

5. The hardware channel index is the number of the corresponding hardware channel carried inside the corresponding bus adapter; 2. The method of claim 1, wherein the numbers are preset to the same bus adapter.

6. A method for binding and arranging a bus adapter and a channel, comprising: arranging six information fields in a mapping table; Six information fields in the mapping table include an application name, a channel type, a logical channel index, a hardware type, a hardware index, and a hardware channel index; the application name is a character string name of an application that uses the mapping management device; The channel type is a channel type of a logical channel for which a mapping management device is responsible for mapping; the logical channel index is a logical channel resource number of an application; The hardware type is the manufacturer type and model number of the corresponding bus adapter. The hardware index is a number that distinguishes similar hardware types after the corresponding bus adapter is inserted; A method for binding and configuring a bus adapter and a channel executed by a computer device, wherein the hardware channel index is a number of a similar hardware channel carried inside the corresponding bus adapter.

7. The method further includes a method for associating a logical channel with a corresponding hardware channel through the mapping table, the associating method comprising:

7. The method of claim 6, further comprising associating each logical channel with a corresponding hardware channel of the bus adapter based on a mapping table.

8. and a method for connecting the logical channels to corresponding hardware channels for data communication; scanning all supported bus adapters when an application is connected to the bus adapter, and searching for a mapping table associated with the application based on the application name in all mapping tables included in the mapping management device; Searching whether corresponding hardware exists based on the hardware type, hardware index, and hardware channel index in a mapping table corresponding to each logical channel associated with the application; 7. The method according to claim 6, further comprising: initializing a corresponding bus adapter if it exists; and connecting the data transmission / reception function of the logical channel with the hardware channel of the corresponding bus adapter to perform data communication; otherwise, the connection fails.

9. 9. The method of claim 8, wherein the application is used to access channel resources of bus adapters produced by different manufacturers.

10. The method of claim 8, wherein the application sets the model number of the bus adapter or sets the change of the hardware channel during the process of use.

11. 9. The method according to claim 8, wherein an application module on which an application is installed is provided with one or more logical channels.

12. 9. The method of claim 8, wherein the bus adapter has a single or multiple hardware channels.

13. A computer-readable storage medium having stored thereon a program for causing a computer device to execute the method for binding and arranging a bus adapter and a channel according to any one of claims 6 to 12.

14. A computer device configured to perform the method for binding and arranging bus adapters and channels according to any one of claims 6 to 12.

15. A bus adapter connection system, comprising: a computer device and at least one bus adapter; the computer device includes an application module and a mapping manager; A bus adapter connection system characterized in that the computer device executes the mapping table arrangement method described in any one of claims 1 to 5 or the bus adapter and channel binding and arrangement method described in any one of claims 6 to 12, and connects each logical channel in the application module to a hardware channel of the bus adapter after associating them so as to perform data communication.

16. A bus adapter, characterized in that the bus adapter is configured to communicate with a computer device that executes the mapping table arrangement method described in any one of claims 1 to 5 or the bus adapter and channel binding and arrangement method described in any one of claims 6 to 12.

17. 17. The bus adapter according to claim 16, wherein the hardware channel index is a number of a similar hardware channel carried inside the corresponding bus adapter.

18. 17. The bus adapter of claim 16, wherein the bus adapter and the computer device communicate using a CAN bus.

19. 17. The bus adapter of claim 16, wherein the bus adapter has single or multiple hardware channels.