CN115622833A - Device management method, system, device and medium for cross-terminal communication based on bus - Google Patents

Device management method, system, device and medium for cross-terminal communication based on bus Download PDF

Info

Publication number
CN115622833A
CN115622833A CN202211216525.XA CN202211216525A CN115622833A CN 115622833 A CN115622833 A CN 115622833A CN 202211216525 A CN202211216525 A CN 202211216525A CN 115622833 A CN115622833 A CN 115622833A
Authority
CN
China
Prior art keywords
equipment
information
physical
bus
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211216525.XA
Other languages
Chinese (zh)
Other versions
CN115622833B (en
Inventor
黄乐
黄军君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weilai Software Technology Shanghai Co ltd
Original Assignee
Weilai Software Technology Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weilai Software Technology Shanghai Co ltd filed Critical Weilai Software Technology Shanghai Co ltd
Priority to CN202211216525.XA priority Critical patent/CN115622833B/en
Publication of CN115622833A publication Critical patent/CN115622833A/en
Priority to PCT/CN2023/122389 priority patent/WO2024067757A1/en
Application granted granted Critical
Publication of CN115622833B publication Critical patent/CN115622833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of communication, in particular to a method, a system, a device and a medium for managing cross-terminal communication equipment based on a bus, aiming at solving the problem of how to effectively manage physical equipment of an external network of the bus so as to realize seamless integration and peer-to-peer communication between the internal network and the external network of the bus. For this purpose, the present invention can establish device connection of physical devices based on connection driving of the physical devices of the external network of the bus, acquire a connection event, manage device information of the physical devices based on the connection event, establish a data link of the physical devices, and establish interface connection between the physical devices of the external network and a preset bus node according to the device information and the data link, so that the physical devices are equivalent to the bus node, thereby solving the problem of physical layer difference between the bus and the external network, and realizing seamless fusion and peer-to-peer communication between the physical devices of the external network and the bus node.

Description

Device management method, system, device and medium for cross-terminal communication based on bus
Technical Field
The invention relates to the technical field of communication, and particularly provides a method, a system, a device and a medium for managing cross-terminal communication equipment based on a bus.
Background
Generally speaking, the vehicle body network communication has a relatively stable networking structure, has a relatively determined data link, and has a uniform communication protocol and a static device management configuration. With the accelerated convergence of the internet of things and the vehicle-mounted network, data communication needs to be carried out between static node equipment in a vehicle and different dynamic node equipment outside the vehicle on a service level, and a better method is needed for realizing the communication of a cross-end heterogeneous network formed by a closed bus network in the vehicle and a distributed and open external network.
However, in a heterogeneous network scenario of cross-end communication, there are various physical differences between different platforms of terminal devices, such as differences between communication hardware, operating systems, and communication protocols, and these differences all prevent direct service bus communication between devices in cross-end communication.
Accordingly, there is a need in the art for a new device management scheme for cross-end communication to address the above-mentioned problems.
Disclosure of Invention
In order to overcome the above drawbacks, the present invention is proposed to provide a solution or at least a partial solution to the problem of how to implement an efficient management of physical devices of external networks of a bus, in order to implement a seamless convergence between internal and external networks of the bus, peer-to-peer communication.
In a first aspect, the present invention provides a device management method for bus-based cross-terminal communication, the method comprising:
establishing a device connection with a physical device based on a connection driver of the physical device of the external network of the bus, and acquiring a connection event of the device connection;
managing the equipment information of the physical equipment according to the connection event, and establishing a data link of the physical equipment;
and establishing interface connection between the physical equipment and a preset bus node of the bus according to the equipment information and the data link so as to realize that the physical equipment is equivalent to the bus node of the bus.
In one technical solution of the above device management method based on bus-based cross-terminal communication, the device information includes registration management information and state management information, the registration management information is used to manage registration information and permission information of the physical device, and the state management information is used to manage a device state of the physical device.
In one technical solution of the foregoing device management method based on bus-based cross-port communication, the registration management information includes device registration information, device service registration information, and user identity registration information, and the step of "managing the device information of the physical device according to the connection event" includes:
respectively acquiring equipment registration information, equipment service registration information and user identity registration information of the physical equipment according to the connection event;
managing the equipment registration information through a preset equipment registration unit;
managing the equipment service registration information through a preset equipment service registration unit;
and managing the user identity registration information through a preset user identity registration unit.
In one embodiment of the above method for managing devices based on bus-based cross-port communication, the step of "managing the device registration information by a preset device registration unit" includes:
converting, by the device registration unit, the device registration information into a device registration list;
synchronizing the device registration list to a preset device database to realize management of the device registration information; and/or the presence of a gas in the atmosphere,
the device registration information includes an ID, a physical address, and a device type of the physical device; and/or the presence of a gas in the atmosphere,
the device service registration information includes a service ID, a service interface, and a service parameter of the physical device; and/or the presence of a gas in the atmosphere,
the user identity registration information comprises a user login account of the physical equipment, user authority and a binding relationship between the user and the physical equipment.
In one technical solution of the foregoing bus-based device management method for cross-port communication, the status management information includes device parameter information, device operating status information, and device resource information of the physical device, and the step of managing the device information of the physical device according to the connection event further includes:
respectively acquiring equipment parameter information, equipment working state information and equipment resource information of the physical equipment according to the connection event;
configuring and managing the equipment parameter information through a preset equipment parameter management unit;
maintaining the equipment working state information through a preset equipment state management unit;
and managing the equipment resource information through a preset equipment resource management unit.
In an embodiment of the foregoing device management method based on bus-based cross-port communication, the method further includes:
changing the equipment working state information in the equipment state management unit based on the network management event of the bus through the bus node; and/or the presence of a gas in the atmosphere,
and through the bus node, reconfiguring the equipment parameter information of the equipment parameter management unit by using a preset equipment configuration list.
In an embodiment of the above method for managing devices based on bus-based cross-port communication, the step of "establishing a data link of the physical device" includes:
establishing a data channel between the physical device and the bus node according to the connection event;
acquiring a transmission protocol required by the physical equipment for communication according to the data channel;
and processing the PDU of the transmission protocol according to the transmission protocol so as to establish the data link.
In an embodiment of the foregoing device management method based on bus-based cross-port communication, the method further includes:
and converting a transmission protocol and a transmission data format between the physical equipment and the bus node according to the PDU processing result so as to realize cross-end communication between the physical equipment and the bus node.
In an embodiment of the foregoing device management method based on bus-based cross-port communication, the method further includes:
establishing a mapping relation between the physical equipment and the bus node according to the address information of the physical equipment and the address information of the bus node;
and determining a service channel between the physical equipment and the bus node according to the mapping relation.
In an embodiment of the above method for managing devices based on bus cross-port communication, "establishing an interface connection between the physical device and a preset bus node of the bus according to the device information and the data link" includes:
establishing interface connection between the physical device and the bus node according to the equipment information, the data link and the service channel; and/or the presence of a gas in the atmosphere,
the address information comprises a device ID and/or a device port number; and/or the presence of a gas in the gas,
the method further comprises the following steps:
storing the mapping relation into a preset service routing table, wherein the service routing table is maintained by a preset service router
In a second aspect, the present invention provides a device management system for bus-based cross-side communication, the system comprising:
a device connection event acquisition module configured to establish a device connection with a physical device of an external network of the bus based on a connection driver of the physical device, and acquire a connection event of the device connection;
a device management information and data link determination module configured to manage the device information of the physical device according to the connection event and establish a data link of the physical device;
an interface connection establishing module configured to establish an interface connection between the physical device and a preset bus node of the bus according to the device information and the data link to achieve equivalence of the physical device to the bus node of the bus
In a third aspect, a control apparatus is provided, which includes a processor and a storage device, where the storage device is adapted to store a plurality of program codes, and the program codes are adapted to be loaded and executed by the processor to perform the device management method for bus-based cross-terminal communication according to any one of the above-mentioned technical solutions of the device management method for bus-based cross-terminal communication.
In a fourth aspect, a computer readable storage medium is provided, where multiple program codes are stored, and the program codes are adapted to be loaded and run by a processor to execute the bus-based device management method according to any one of the above-mentioned bus-based device management method for cross-side communication.
One or more technical schemes of the invention at least have one or more of the following beneficial effects:
in the technical scheme for implementing the invention, the device connection of the physical device can be established based on the connection drive of the physical device of the external network of the bus, the connection event is obtained, the device information of the physical device is managed based on the connection event, the data link of the physical device is established, and the interface connection between the physical device of the external network and the preset bus node is established according to the device information and the data link, so that the physical device is equivalent to the bus node. Through the configuration mode, the physical equipment of the external network which needs to be accessed to the bus can be effectively managed, the physical equipment of the external network is equivalent to the bus node, the problem that the physical layer difference exists between the bus and the external network is solved, the difference of the physical layers between the physical equipment of different external networks and the bus is shielded, the seamless integration and peer-to-peer communication between the physical equipment of the external network and the bus node are realized, and the cross-terminal communication process based on the bus is more open and flexible.
The scheme 1 is a device management method of cross-terminal communication based on a bus, and is characterized in that the method comprises the following steps:
establishing a device connection with a physical device based on a connection driver of the physical device of the external network of the bus, and acquiring a connection event of the device connection;
managing the equipment information of the physical equipment according to the connection event, and establishing a data link of the physical equipment;
and establishing interface connection between the physical equipment and a preset bus node of the bus according to the equipment information and the data link so as to realize that the physical equipment is equivalent to the bus node of the bus.
The bus-based device management method for cross-terminal communication according to claim 1, wherein the device information includes registration management information and status management information, the registration management information is used for managing registration information and permission information of the physical device, and the status management information is used for managing a device status of the physical device.
Scheme 3. The device management method based on bus-based cross-terminal communication according to scheme 2, wherein the registration management information includes device registration information, device service registration information, and user identity registration information, and the step of managing the device information of the physical device according to the connection event includes:
respectively acquiring equipment registration information, equipment service registration information and user identity registration information of the physical equipment according to the connection event;
managing the equipment registration information through a preset equipment registration unit;
managing the equipment service registration information through a preset equipment service registration unit;
and managing the user identity registration information through a preset user identity registration unit.
Scheme 4. The device management method based on bus-based cross-terminal communication according to scheme 3, wherein the step of managing the device registration information through a preset device registration unit includes:
converting, by the device registration unit, the device registration information into a device registration list;
synchronizing the equipment registration list to a preset equipment database to realize the management of the equipment registration information; and/or the presence of a gas in the atmosphere,
the device registration information includes an ID, a physical address, and a device type of the physical device; and/or the presence of a gas in the atmosphere,
the device service registration information includes a service ID, a service interface, and a service parameter of the physical device; and/or the presence of a gas in the atmosphere,
the user identity registration information comprises a user login account of the physical equipment, user authority and a binding relationship between the user and the physical equipment.
Scheme 5. The device management method based on bus-based cross-terminal communication according to scheme 3, wherein the status management information includes device parameter information, device operating status information, and device resource information of the physical device, and the step of managing the device information of the physical device according to the connection event further includes:
respectively acquiring equipment parameter information, equipment working state information and equipment resource information of the physical equipment according to the connection event;
configuring and managing the equipment parameter information through a preset equipment parameter management unit;
maintaining the equipment working state information through a preset equipment state management unit;
and managing the equipment resource information through a preset equipment resource management unit.
Scheme 6. The device management method based on bus-line cross-terminal communication according to scheme 5, characterized in that the method further comprises:
changing the equipment working state information in the equipment state management unit based on the network management event of the bus through the bus node; and/or the presence of a gas in the gas,
and through the bus node, reconfiguring the equipment parameter information of the equipment parameter management unit by using a preset equipment configuration list.
Scheme 7. The device management method for bus-based cross-port communication according to scheme 1, wherein the step of establishing the data link of the physical device comprises:
establishing a data channel between the physical device and the bus node according to the connection event;
acquiring a transmission protocol required by the physical equipment for communication according to the data channel;
and processing the PDU of the transmission protocol according to the transmission protocol so as to establish the data link.
The bus-based device management method for cross-terminal communication according to claim 7, further comprising:
and converting a transmission protocol and a transmission data format between the physical equipment and the bus node according to the PDU processing result so as to realize cross-end communication between the physical equipment and the bus node.
Solution 9. The method for device management based on bus-based cross-side communication according to solution 1, the method further comprising:
establishing a mapping relation between the physical equipment and the bus node according to the address information of the physical equipment and the address information of the bus node;
and determining a service channel between the physical equipment and the bus node according to the mapping relation.
The method for device management based on bus-based cross-terminal communication according to claim 9, wherein the step of establishing an interface connection between the physical device and a preset bus node of the bus according to the device information and the data link includes:
establishing interface connection between the physical device and the bus node according to the equipment information, the data link and the service channel; and/or the presence of a gas in the atmosphere,
the address information comprises a device ID and/or a device port number; and/or the presence of a gas in the gas,
the method further comprises the following steps:
and storing the mapping relation into a preset service routing table, wherein the service routing table is maintained by a preset service router.
The device management system of the cross-terminal communication based on the bus is characterized by comprising:
a device connection event acquisition module configured to establish a device connection with a physical device of an external network of the bus based on a connection driver of the physical device, and acquire a connection event of the device connection;
a device management information and data link determination module configured to manage the device information of the physical device according to the connection event and establish a data link of the physical device;
and the interface connection establishing module is configured to establish interface connection between the physical device and a preset bus node of the bus according to the device information and the data link so as to realize equivalence of the physical device as the bus node of the bus.
Scheme 12. A control apparatus comprising a processor and a storage device, the storage device adapted to store a plurality of program codes, wherein the program codes are adapted to be loaded and run by the processor to perform the method of device management for bus-based cross-terminal communication of any of the schemes 1 to 10.
Scheme 13. A computer readable storage medium, having a plurality of program codes stored therein, wherein the program codes are adapted to be loaded and executed by a processor to perform the device management method for bus-based cross-terminal communication according to any of the schemes 1 to 10.
Drawings
The disclosure of the present invention will become more readily understood with reference to the accompanying drawings. As is readily understood by those skilled in the art: these drawings are for illustrative purposes only and are not intended to constitute a limitation on the scope of the present invention. Wherein:
FIG. 1 is a flow chart illustrating the main steps of a device management method for bus-based cross-port communication according to an embodiment of the present invention;
FIG. 2 is an architectural diagram of a bus-based cross-terminal communication according to one implementation of an embodiment of the invention;
FIG. 3 is a schematic diagram of an architecture of a device management method for bus-based cross-side communication according to an embodiment of the present invention;
fig. 4 is a main block diagram of a device management system for bus-based cross-side communication according to an embodiment of the present invention.
Detailed Description
Some embodiments of the invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
In the description of the present invention, a "module" or "processor" may include hardware, software, or a combination of both. A module may comprise hardware circuitry, various suitable sensors, communication ports, memory, may comprise software components such as program code, or may be a combination of software and hardware. The processor may be a central processing unit, a microprocessor, a digital signal processor, or any other suitable processor. The processor has data and/or signal processing functionality. The processor may be implemented in software, hardware, or a combination thereof. Non-transitory computer readable storage media include any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random-access memory, and the like. The term "a and/or B" denotes all possible combinations of a and B, such as a alone, B alone or a and B. The term "at least one A or B" or "at least one of A and B" means similar to "A and/or B" and may include only A, only B, or both A and B. The singular forms "a", "an" and "the" may include plural forms as well.
Referring to fig. 1, fig. 1 is a flow chart illustrating the main steps of a device management method based on bus-based cross-side communication according to an embodiment of the present invention. As shown in fig. 1, the device management method based on bus-based cross-port communication in the embodiment of the present invention mainly includes the following steps S101 to S103.
Step S101: the method comprises the steps of establishing device connection with physical equipment and obtaining connection events of the device connection based on connection driving of the physical equipment of an external network of a bus.
In this embodiment, the device connection of the physical device may be established and the connection event may be acquired based on the connection driver of the physical device of the external network. The connection event may include a connection procedure, a connection state, and a connection result of the device connection, among others.
In one embodiment, the bus may be a body bus, such as an ethernet bus, CAN bus, or the like. The external network can be various internet of things, and the physical equipment can be wifi equipment, USB equipment, bluetooth equipment and the like.
In one embodiment, the process of establishing a device connection with a physical device may include: discovering a physical device; connecting handshake with physical equipment to obtain information of service, transmission protocol, resource and the like of the physical equipment; authenticating the physical equipment; a link is generated with the physical device.
In one implementation, referring to fig. 2, fig. 2 is a schematic diagram of an architecture of bus-based cross-side communication according to one implementation of the embodiment of the invention. As shown in fig. 2, the bus may be a body bus, and the body bus may be an Ethernet (Ethernet) Network or a CAN (Controller Area Network) Network. The external Network may be a WLAN (Wireless Local Area Network) ad hoc Network, a bluetooth ad hoc Network, or the like, and the physical Device may be a Wifi Device, a BT Device, or the like. In the preset cross-end device virtualization management module, connection drivers of various physical devices may be provided, for example, USB1 to n, wifi1 to n, BLE (Bluetooth Low Energy, bluetooth Low power consumption) 1 to n, 5G/LTE (Long Term Evolution ), V2X (vehicle to outside information exchange), NFC (Near Field Communication), and Bluetooth plug-in, and these connection drivers can provide the cross-end device virtualization management module for accessing the physical devices of the external network, so that the cross-end device virtualization management module can simultaneously implement the capability of maintaining and managing a plurality of heterogeneous external networks. The plug-in fig. 2 can realize "hot plug", that is, can realize effective expansion of device connection.
Step S102: and managing the equipment information of the physical equipment according to the connection event, and establishing a data link of the physical equipment.
In this embodiment, management of the device information of the physical device may be implemented based on a connection event of the physical device of the external network, and a data link of the physical device may be established based on the connection event. The data link refers to a medium for transmitting and receiving data between the physical device and the bus. The control plane management of the physical device can be realized based on the management of the device information of the physical device, and the data plane management of the physical device can be realized based on the data link.
In one embodiment, the device information may include registration management information and state management information, the registration management information may be used to manage registration information and rights information of the physical device, and the state management information may be used to manage a device state of the physical device.
In one embodiment, the registration management information may include device registration information, device service registration information, and user identity registration information.
In one embodiment, the state management information may include device parameter information, device operating state information, and device resource information of the physical device.
Step S103: and according to the equipment information and the data link, establishing interface connection between the physical equipment and the bus node of the preset bus so as to realize that the physical equipment is equivalent to the bus node of the bus.
In this embodiment, an interface connection between the physical device and a preset bus node may be established according to the device information and the data link, so as to achieve that the physical device is equivalent to the bus node and accesses the bus.
Based on the above steps S101 to S103, the embodiment of the present invention can establish the device connection of the physical device based on the connection driver of the physical device of the external network of the bus, acquire the connection event, manage the device information of the physical device based on the connection event, establish the data link of the physical device, and establish the interface connection between the physical device of the external network and the preset bus node according to the device information and the data link, so that the physical device is equivalent to the bus node. Through the configuration mode, the embodiment of the invention can effectively manage the physical equipment of the external network which needs to be accessed into the bus, and the physical equipment of the external network is equivalent to the bus node, thereby solving the problem of physical layer difference between the bus and the external network, shielding the difference of physical layers between the physical equipment of different external networks and the bus, realizing seamless fusion and peer-to-peer communication between the physical equipment of the external network and the bus node, and enabling the cross-terminal communication process based on the bus to be more open and flexible.
Step S102 and step S103 will be further described below.
In one implementation of the embodiment of the present invention, the step S102 may further include the following steps S10201 to S10204:
step S10201: and respectively acquiring the equipment registration information, the equipment service registration information and the user identity registration information of the physical equipment according to the connection event.
Step S10202: and managing the equipment registration information through a preset equipment registration unit.
Step S10203: and managing the equipment service registration information through a preset equipment service registration unit.
Step S10204: and managing the user identity registration information through a preset user identity registration unit.
In this embodiment, referring to fig. 3, fig. 3 is a schematic architecture diagram of a device management method for bus-based cross-side communication according to an embodiment of the present invention. As shown in fig. 3, the device registration information, the device service registration information, and the user identity registration information of the physical device may be respectively obtained according to the connection event of the physical device, and the device registration information, the device service registration information, and the user identity registration information are respectively managed by a preset device registration unit, a device service registration unit, and a user identity registration unit. The device registration information may include an ID, a physical Address (MAC Address), and a device type of the physical device. The device service registration information may include a service ID, a service interface, and service parameters of the physical device. The user identity registration information may include a user login account of the physical device, user permissions, and binding relationships between the user and the physical device.
In one embodiment, step S10202 may further include steps S102021 and S102022:
step S102021: the device registration information is converted into a device registration list by a device registration unit.
Step S102022: and synchronizing the equipment registration list to a preset equipment database so as to realize the management of the equipment registration information.
In this embodiment, referring to fig. 3, the device registration unit may convert the device registration information into a device registration list, and synchronize the device registration list into a device database, where the device database stores and maintains the device registration list. Therefore, when equipment is connected, the equipment registration list in the equipment database can be directly indexed, namely the equipment registration information can be obtained, and the equipment registration information does not need to be rewritten when the equipment is connected every time. Meanwhile, the equipment registration list has a unified data structure, so that the indexing process is quicker and more convenient, and relevant equipment information can be provided for subsequent processes of equipment diagnosis, communication performance optimization, resource management and the like of the physical equipment.
In one implementation of the embodiment of the present invention, the step S102 may further include the following steps S10205 to S10208 in addition to the above steps S10201 to S10204:
step S10205: and respectively acquiring the equipment parameter information, the equipment working state information and the equipment resource information of the physical equipment according to the connection event.
Step S10206: and configuring and managing the equipment parameter information through a preset equipment parameter management unit.
Step S10207: and maintaining the working state information of the equipment through a preset equipment state management unit.
Step S10208: and managing the equipment resource information through a preset equipment resource management unit.
In this embodiment, with continuing reference to fig. 3, as shown in fig. 3, the device parameter information, the device operating state information, and the device resource information of the physical device may be obtained based on the connection event, and the device parameter information, the device operating state information, and the device resource information may be managed by the device parameter management unit, the device state management unit, and the device resource management unit, respectively. The device operating state information may include a power mode in which the device is located and an operating mode of communication, and the management of the device operating state information may be a state machine that maintains the power mode in which the device is located and the operating mode of communication. The device parameter information may include parameters such as the broadcast frequency of the physical device, the connection timeout duration, and the interval of sleep timing wakeup. The device resource information may include channel resources, protocol resources, software resources, hardware available resources, and the like of the physical device.
In one embodiment, the device operating state information in the device state management unit may be modified by the bus node based on a network management event of the bus.
In this embodiment, with continued reference to fig. 3, a network management event of a bus may change an operating state and a communication operating mode of a physical device through a device management interface (bus node) and a device state management unit in fig. 3, so as to achieve synchronization of the operating state between the physical device and other bus nodes of the bus. The network management event refers to communication or wake-up cooperative event of the bus.
In one embodiment, the device parameter information of the device parameter unit may be reconfigured by the bus node by applying a preset device configuration list.
In this embodiment, with continued reference to fig. 3, the device parameter management unit provides configuration management of the device parameter information, and the physical device may change its operation behavior according to the configured device parameter information. The changed device parameter information is sent to the device management interface (bus node) through the device configuration list in fig. 3, so as to further reach the device parameter management unit to implement the configuration of the device parameter.
In one implementation of the embodiment of the present invention, the step S102 may further include the following steps S10209 to S10211:
step S10209: and establishing a data channel between the physical equipment and the bus node according to the connection event.
In this embodiment, a data channel between a physical device and a bus node may be established based on a connection event of a device connection.
In one embodiment, as shown in fig. 3, the process of establishing a data channel between a physical device and a bus node may be implemented by the communication link management unit in fig. 3. The communication link management unit manages the establishment of the data channel and manages the working states and events of a data link layer, a network layer and a transmission layer, wherein the working states and events comprise broadcasting, scanning, connection handshake, authentication, binding, disconnection, exception and the like.
Step S10210: and acquiring a transmission protocol required by the physical equipment for communication according to the data channel.
In this embodiment, a transmission protocol required when the physical device communicates may be acquired based on the data channel.
In one embodiment, the step of acquiring a transport protocol may be implemented by a communication protocol stack unit, as shown in fig. 3. The communication Protocol stack unit provides Transport protocols required by different physical devices, such as Protocol stacks of HTTP (Hyper Text Transfer Protocol), FTP (File Transfer Protocol), RTP (Real-time Transport Protocol), GATT (Generic Attribute Protocol), and the like. For bus-based cross-port communication, communication between a bus network and an external network may employ different transmission protocols between different networks, or may employ the same transmission protocol.
Step S10211: according to the transmission Protocol, a Protocol Data Unit (PDU) of the transmission Protocol is processed to establish a Data link.
In this embodiment, according to the transmission protocol, the PDU content of the transmission protocol may be processed, such as serialization, encoding and decoding, compression, decompression, and the like, so as to establish the data link.
In one embodiment, the processing of the PDUs of the transport protocol may be implemented by the data processing unit in fig. 3.
In one embodiment, a transmission protocol and a transmission data format between the physical device and the bus node may be converted according to a processing result of the PDU, so as to implement cross-end communication between the physical device and the bus node. That is, the data manager and the communication protocol converter in fig. 3 are used to realize conversion and adaptation of a transmission protocol and a transmission data format between a bus and an external network, so as to realize service session-based bus communication convergence of heterogeneous networks in cross-end communication.
In the first embodiment of the present embodiment, the present invention may further include the following steps S104 and S105 in addition to the above steps S101 and S103:
step S104: establishing a mapping relation between the physical device and the bus node according to the address information of the physical device and the address information of the bus node
Step S105: and determining a service channel between the physical equipment and the bus node according to the mapping relation.
In this embodiment, a mapping relationship between the physical device and the bus node may be established according to the address information of the physical device and the bus node, and a service channel between the physical device and the bus node may be established based on the mapping relationship. The address information may include a device ID and a device port number, among others. The service channel refers to a channel through which service information can be transmitted, and the service channel uses a bus node as a transmission medium.
In one embodiment, the mapping relationship may be stored in a preset service routing table, and the service routing table is maintained by a preset service router.
In this embodiment, the service router in fig. 3 may maintain a service routing table in which a mapping relationship between the physical device and the bus node is stored.
In one embodiment, step S103 may be further configured to:
and establishing interface connection between the physical device and the bus node according to the equipment information, the data link and the service channel.
Generally, in cross-end communication, service communication of different terminals (physical devices) includes sessions of service interface call between a service consumer and a service provider through service primitives, service discovery and registration, service proxy, and the like. The service session may be forwarded through the service router. The message format of the service session on the service bus is shown in table 1 below:
table 1 message format table for service sessions
Service ID Destination device ID Source device ID Destination port number Source port number Service PDU
The service router addresses and forwards the related message to the destination device according to the information of destination device ID/source device ID/destination port number/source port number and the like in the message. In particular, the service router maintains a service routing table. In a unicast scenario, the destination device and the source device may map to a unique bus node in a heterogeneous network topology of cross-end communication according to the related ID number, and the service router forwards the Guan Huihua packet to the destination device or the related bus node according to the service routing table. For multicast and multicast scenarios, the destination device ID may be a special defined value, and is mapped to the physical devices corresponding to the plurality of bus nodes. A unique service channel may be determined based on the destination port number and the source port number. There may be multiple service channels between two service nodes.
In one embodiment, with continued reference to fig. 3, as shown in fig. 3, the device connection of the control plane and the data plane of the physical device may be established through the device connection driver plug-in (connection driver) in fig. 3. The device connection with the physical device of the external network may be established through the device connection management module in fig. 3. And the device security management module provides security functions required by authentication, encryption and decryption in the device connection process, such as contents of a random number generator, security storage, a security algorithm engine, digital certificate management and the like.
It should be noted that, although the foregoing embodiments describe each step in a specific sequence, those skilled in the art will understand that, in order to achieve the effect of the present invention, different steps do not necessarily need to be executed in such a sequence, and they may be executed simultaneously (in parallel) or in other sequences, and these changes are all within the protection scope of the present invention.
Furthermore, the invention also provides a device management system based on the cross-terminal communication of the bus.
Referring to fig. 4, fig. 4 is a main block diagram of a device management system for bus-based cross-side communication according to an embodiment of the present invention. As shown in fig. 4, the device management system for bus-based cross-terminal communication in the embodiment of the present invention may include a device connection event obtaining module, a device management information and data link determining module, and an interface connection establishing module. In this embodiment, the device connection event acquiring module may be configured to establish a device connection with a physical device based on a connection driver of the physical device of the external network of the bus, and acquire a connection event of the device connection. The device management information and data link determination module may be configured to manage device information of the physical device and establish a data link of the physical device according to the connection event. The interface connection establishing module may be configured to establish an interface connection between the physical device and a bus node of a preset bus according to the device information and the data link, so as to achieve equivalence of the physical device as the bus node of the bus.
In the above bus-based device management system for cross-port communication, in order to implement the embodiment of the device management method for cross-port communication based on a bus shown in fig. 1, the technical principles, the solved technical problems, and the generated technical effects of the two embodiments are similar, and it can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the content described in the embodiment of the device management method for cross-port communication based on a bus may be referred to for the specific working process and the related description of the device management system for cross-port communication based on a bus, and the description is omitted here.
It will be understood by those skilled in the art that all or part of the flow of the method according to the above-described embodiment may be implemented by a computer program, which may be stored in a computer-readable storage medium and used to implement the steps of the above-described embodiments of the method when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying said computer program code, media, usb disk, removable hard disk, magnetic diskette, optical disk, computer memory, read-only memory, random access memory, electrical carrier wave signals, telecommunication signals, software distribution media, etc. It should be noted that the computer readable storage medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable storage media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Furthermore, the invention also provides a control device. In an embodiment of the control apparatus according to the present invention, the control apparatus includes a processor and a storage device, the storage device may be configured to store a program for executing the device management method of the bus-based cross-terminal communication of the above-mentioned method embodiment, and the processor may be configured to execute a program in the storage device, the program including but not limited to a program for executing the device management method of the bus-based cross-terminal communication of the above-mentioned method embodiment. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. The control device may be a control device apparatus formed including various electronic apparatuses.
Further, the invention also provides a computer readable storage medium. In one computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium may be configured to store a program for executing the device management method for bus-based cross-terminal communication of the above-described method embodiment, and the program may be loaded and executed by a processor to implement the device management method for bus-based cross-terminal communication described above. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. The computer-readable storage medium may be a storage device formed by including various electronic devices, and optionally, the computer-readable storage medium is a non-transitory computer-readable storage medium in an embodiment of the present invention.
Further, it should be understood that, since the configuration of each module is only for explaining the functional units of the apparatus of the present invention, the corresponding physical devices of the modules may be the processor itself, or a part of software, a part of hardware, or a part of a combination of software and hardware in the processor. Thus, the number of individual modules in the figures is merely illustrative.
Those skilled in the art will appreciate that the various modules in the apparatus may be adaptively split or combined. Such splitting or combining of specific modules does not cause the technical solutions to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or combining will fall within the protection scope of the present invention.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (10)

1. A method for device management for bus-based cross-port communication, the method comprising:
establishing a device connection with a physical device based on a connection driver of the physical device of the external network of the bus, and acquiring a connection event of the device connection;
managing the equipment information of the physical equipment according to the connection event, and establishing a data link of the physical equipment;
and establishing interface connection between the physical equipment and a preset bus node of the bus according to the equipment information and the data link so as to realize that the physical equipment is equivalent to the bus node of the bus.
2. The device management method of claim 1, wherein the device information comprises registration management information and status management information, the registration management information is used for managing registration information and authority information of the physical device, and the status management information is used for managing a device status of the physical device.
3. The device management method for bus-based cross-terminal communication according to claim 2, wherein the registration management information includes device registration information, device service registration information, and user identity registration information, and the step of managing the device information of the physical device according to the connection event includes:
respectively acquiring equipment registration information, equipment service registration information and user identity registration information of the physical equipment according to the connection event;
managing the equipment registration information through a preset equipment registration unit;
managing the equipment service registration information through a preset equipment service registration unit;
and managing the user identity registration information through a preset user identity registration unit.
4. The device management method of claim 3, wherein the step of managing the device registration information via a preset device registration unit comprises:
converting, by the device registration unit, the device registration information into a device registration list;
synchronizing the equipment registration list to a preset equipment database to realize the management of the equipment registration information; and/or the presence of a gas in the gas,
the device registration information includes an ID, a physical address, and a device type of the physical device; and/or the presence of a gas in the gas,
the device service registration information includes a service ID, a service interface, and a service parameter of the physical device; and/or the presence of a gas in the atmosphere,
the user identity registration information comprises a user login account of the physical equipment, user authority and a binding relationship between the user and the physical equipment.
5. The bus-based device management method for cross-port communication according to claim 3, wherein the status management information includes device parameter information, device operating status information, and device resource information of the physical device, and the step of managing the device information of the physical device according to the connection event further includes:
respectively acquiring equipment parameter information, equipment working state information and equipment resource information of the physical equipment according to the connection event;
configuring and managing the equipment parameter information through a preset equipment parameter management unit;
maintaining the equipment working state information through a preset equipment state management unit;
and managing the equipment resource information through a preset equipment resource management unit.
6. The method for device management for bus-based cross-side communication according to claim 5, wherein the method further comprises:
changing the equipment working state information in the equipment state management unit based on the network management event of the bus through the bus node; and/or the presence of a gas in the atmosphere,
and through the bus node, reconfiguring the equipment parameter information of the equipment parameter management unit by using a preset equipment configuration list.
7. The method of claim 1, wherein the step of establishing the data link of the physical device comprises:
establishing a data channel between the physical device and the bus node according to the connection event;
acquiring a transmission protocol required by the physical equipment for communication according to the data channel;
and processing the PDU of the transmission protocol according to the transmission protocol so as to establish the data link.
8. The method for device management for bus-based cross-side communication according to claim 7, wherein the method further comprises:
and converting a transmission protocol and a transmission data format between the physical equipment and the bus node according to the PDU processing result so as to realize cross-end communication between the physical equipment and the bus node.
9. The method for device management for bus-based cross-side communication according to claim 1, wherein the method further comprises:
establishing a mapping relation between the physical equipment and the bus node according to the address information of the physical equipment and the address information of the bus node;
and determining a service channel between the physical equipment and the bus node according to the mapping relation.
10. The device management method for bus-based cross-terminal communication according to claim 9, wherein establishing an interface connection between the physical device and a preset bus node of the bus according to the device information and the data link comprises:
establishing interface connection between the physical device and the bus node according to the equipment information, the data link and the service channel; and/or the presence of a gas in the atmosphere,
the address information comprises a device ID and/or a device port number; and/or the presence of a gas in the gas,
the method further comprises the following steps:
and storing the mapping relation into a preset service routing table, wherein the service routing table is maintained by a preset service router.
CN202211216525.XA 2022-09-30 2022-09-30 Device management method, system, device and medium for cross-terminal communication based on bus Active CN115622833B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211216525.XA CN115622833B (en) 2022-09-30 2022-09-30 Device management method, system, device and medium for cross-terminal communication based on bus
PCT/CN2023/122389 WO2024067757A1 (en) 2022-09-30 2023-09-28 Cross-terminal-communication device management method, system and apparatus based on bus, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211216525.XA CN115622833B (en) 2022-09-30 2022-09-30 Device management method, system, device and medium for cross-terminal communication based on bus

Publications (2)

Publication Number Publication Date
CN115622833A true CN115622833A (en) 2023-01-17
CN115622833B CN115622833B (en) 2024-04-19

Family

ID=84861331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211216525.XA Active CN115622833B (en) 2022-09-30 2022-09-30 Device management method, system, device and medium for cross-terminal communication based on bus

Country Status (2)

Country Link
CN (1) CN115622833B (en)
WO (1) WO2024067757A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067757A1 (en) * 2022-09-30 2024-04-04 蔚来软件科技(上海)有限公司 Cross-terminal-communication device management method, system and apparatus based on bus, and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322357A (en) * 1999-07-27 2001-11-14 三星电子株式会社 Device discovery and configuration in bridge home network
CN1495625A (en) * 2002-08-05 2004-05-12 ������ʣ�ŷ�ޣ��ɷ����޹�˾ Bus service interface
CN105009546A (en) * 2013-02-25 2015-10-28 丰田自动车株式会社 Information processing device and information processing method
CN108075797A (en) * 2016-11-18 2018-05-25 丰田自动车株式会社 Vehicular communication system
CN109873652A (en) * 2017-12-04 2019-06-11 丰田自动车株式会社 Vehicle-mounted relay, external device (ED), information processing unit, method and system
US20220111820A1 (en) * 2020-10-13 2022-04-14 Ford Global Technologies, Llc Authenticating Privilege Elevation On A Transportation Service

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345827A (en) * 2000-06-02 2001-12-14 Minolta Co Ltd Interface device, node having the same, interface system, control method for bus reset and computer-readable recording medium recorded with control program for bus reset
CN100461733C (en) * 2006-05-29 2009-02-11 中国移动通信集团公司 Method for distributing address for intelligent information household electronic equipments in household network
CN104991877B (en) * 2015-06-26 2018-04-24 武汉光庭科技有限公司 A kind of vehicle mounted guidance host efficiently unifies extended method
CN110784510A (en) * 2019-09-17 2020-02-11 亚信科技(中国)有限公司 Method for accessing target service node to bus and information interaction method of service node
CN115114600A (en) * 2022-06-29 2022-09-27 中孚安全技术有限公司 Unified management and control method and system for internal equipment and external equipment
CN115622833B (en) * 2022-09-30 2024-04-19 蔚来软件科技(上海)有限公司 Device management method, system, device and medium for cross-terminal communication based on bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322357A (en) * 1999-07-27 2001-11-14 三星电子株式会社 Device discovery and configuration in bridge home network
CN1495625A (en) * 2002-08-05 2004-05-12 ������ʣ�ŷ�ޣ��ɷ����޹�˾ Bus service interface
CN105009546A (en) * 2013-02-25 2015-10-28 丰田自动车株式会社 Information processing device and information processing method
CN108075797A (en) * 2016-11-18 2018-05-25 丰田自动车株式会社 Vehicular communication system
CN109873652A (en) * 2017-12-04 2019-06-11 丰田自动车株式会社 Vehicle-mounted relay, external device (ED), information processing unit, method and system
US20220111820A1 (en) * 2020-10-13 2022-04-14 Ford Global Technologies, Llc Authenticating Privilege Elevation On A Transportation Service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067757A1 (en) * 2022-09-30 2024-04-04 蔚来软件科技(上海)有限公司 Cross-terminal-communication device management method, system and apparatus based on bus, and medium

Also Published As

Publication number Publication date
CN115622833B (en) 2024-04-19
WO2024067757A1 (en) 2024-04-04

Similar Documents

Publication Publication Date Title
US11122027B2 (en) End-to-end M2M service layer sessions
US11936743B2 (en) Device management services based on restful messaging
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
JP2024029170A (en) Unified subscription identifier management in communication systems
CN111200798B (en) V2X message transmission method, device and system
CN113573326B (en) Address acquisition method and device
CN116325845A (en) Secure communication method, device and system
US20230371111A1 (en) Communication method, apparatus, and system
WO2024067757A1 (en) Cross-terminal-communication device management method, system and apparatus based on bus, and medium
JP2023548531A (en) Communication methods, related devices and systems
CN114158038B (en) Communication method, device and storage medium
EP3932044B1 (en) Automatic distribution of dynamic host configuration protocol (dhcp) keys via link layer discovery protocol (lldp)
CN115669185A (en) Data transmission method, device and storage medium
JP7442690B2 (en) SECURE COMMUNICATION METHODS, RELATED EQUIPMENT AND SYSTEMS
EP4360344A1 (en) Discovery of internet of things network
CN113873554A (en) Method and system for acquiring and issuing synchronous configuration of Mesh networking
WO2016205673A1 (en) Enhanced address registration in constrained networks
CN114340037B (en) Communication method, system, equipment and medium between LoRaWAN (Long-Range Wide area network) equipment
WO2023226956A1 (en) Network device and communication system
WO2011139138A1 (en) Method of providing multi address binding in a network
CN117880367A (en) Communication method and device
CN117319981A (en) Equipment discovery method, device and system
CN117837179A (en) Discovery of internet of things network
CN111918365A (en) Network distribution method, device and system of Internet of things and storage medium
CN114666873A (en) Wireless communication method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant