CN114710516A - Communication state management system and method for vehicle-mounted external equipment - Google Patents

Communication state management system and method for vehicle-mounted external equipment Download PDF

Info

Publication number
CN114710516A
CN114710516A CN202011486522.9A CN202011486522A CN114710516A CN 114710516 A CN114710516 A CN 114710516A CN 202011486522 A CN202011486522 A CN 202011486522A CN 114710516 A CN114710516 A CN 114710516A
Authority
CN
China
Prior art keywords
state
vehicle
external equipment
mounted external
management module
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.)
Pending
Application number
CN202011486522.9A
Other languages
Chinese (zh)
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.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group 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 Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202011486522.9A priority Critical patent/CN114710516A/en
Publication of CN114710516A publication Critical patent/CN114710516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Abstract

The invention provides a communication state management system and method of vehicle-mounted external equipment, comprising at least one communication state management module connected with the vehicle-mounted external equipment; at least one external device driving module connected to the vehicle-mounted external device; the communication state management module is used for acquiring communication data and control strategy data of any vehicle-mounted external equipment and switching the communication state according to a received user request instruction and the network state, the communication data and the control strategy data of any vehicle-mounted external equipment; and the external equipment driving module is used for driving the vehicle-mounted external equipment. The invention is suitable for various external devices and has extremely high compatibility and software portability.

Description

Communication state management system and method for vehicle-mounted external equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a system and a method for managing a communication status of a vehicle-mounted external device.
Background
An Electronic Control Unit (ECU) module is used in an AUTOmotive Open System Architecture (AUTOSAR) to manage state switching of an ECU (Electronic Control Unit) and an operating state of an external device on the ECU under different scenes.
An ECUM (Electronic Control Unit manager) defines a standard interface for a CAN (Controller Area Network) bus, a LIN (Local Interconnect Network) bus, and an ethernet bus, and performs status management of these communication buses together with a Network management module. Buses or peripherals other than these buses. For example, in the RUN mode of the ECUM (Electronic Control Unit manager), the CAN (Controller Area Network) bus is in the normal communication state, and the Network management is in the Active mode. In the sleep mode, a CAN (Controller Area Network) bus requires the sleep mode and configures a corresponding wake-up source so that an ECU (Electronic Control Unit) CAN be woken up by the CAN (Controller Area Network) bus. In the wake mode, an ECUM (Electronic Control Unit manager) detects a wake source to complete the wake function.
The AUTOmotive Open System Architecture (AUTOSAR) defines an interface for requesting and releasing an operating state of an Electronic Control Unit (ECU), and a specific usage rule is not defined because external devices are various and state management methods are different.
In the software design implementation of an AUTOmotive ECU (Electronic Control Unit) based on an AUTOmotive Open System Architecture (AUTOSAR), currently, a scheme generally adopted for external devices is to define a communication protocol and upper and lower layer communication interfaces by itself, and upper layer application software implements communication and state management with the external devices according to the definitions.
Due to the diversity of external devices, communication methods are also diverse. Network management protocols are often developed autonomously, and even if not developed autonomously, the network management protocols do not necessarily comply with the network management specification of AUTOmotive Open System Architecture (autostar). Therefore, a series of related problems exist, such as the universality and consistency of software are poor, even if the processing modes and interfaces are not unified and specified for different project purposes aiming at the same external equipment, so that the processing modes are various and have various formats.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a system and a method for managing a communication state of a vehicle-mounted external device, so as to solve the technical problems of poor compatibility and low software portability when a non-standard external device is embedded in a communication architecture.
In one aspect of the present invention, there is provided a communication state management system of a vehicle-mounted external device, including:
the system comprises at least one communication state management module connected with vehicle-mounted external equipment and at least one external equipment driving module connected with the vehicle-mounted external equipment; wherein:
the communication state management module is used for acquiring communication data and control strategy data of any vehicle-mounted external equipment, switching the communication state according to a received user request instruction and the network state, the communication data and the control strategy data of any vehicle-mounted external equipment, and managing the starting, running, sleeping and awakening of any vehicle-mounted external equipment;
and the external equipment driving module is used for driving the vehicle-mounted external equipment.
Further, the system further comprises:
the external equipment network management module is respectively connected with the MCU and the external equipment and is used for network connection of the MCU and the vehicle-mounted external equipment;
and the user management module is connected with the communication state management module and is used for managing a request instruction of a user to the communication state management module.
Further, the communication status management module includes:
the first control unit is used for controlling the vehicle-mounted external equipment to enter a first state when the vehicle-mounted external equipment is powered on or reset, and the vehicle-mounted external equipment in the first state does not transmit or receive data.
Further, the communication status management module further includes:
and the second control unit is used for controlling the vehicle-mounted external equipment to enter a second state when the communication state management module receives a communication function instruction of requesting to start the vehicle-mounted external equipment by a user, so that the vehicle-mounted external equipment in the second state is in data connection with the corresponding external equipment, and data transmission or data reception is carried out.
Further, the communication status management module further includes:
the third control unit is used for controlling the vehicle-mounted external equipment to enter a third state when the communication state management module receives a sleep state instruction of calling the vehicle-mounted external equipment by a user request, so that the vehicle-mounted external equipment in the third state does not transmit data but receives the data;
the state change processing unit is used for controlling the vehicle-mounted external equipment to enter the second state when the vehicle-mounted external equipment is in the third state and the communication state management module receives a communication function instruction of requesting to start the vehicle-mounted external equipment from a user; and the controller is used for controlling the vehicle-mounted external equipment to enter the first state when the vehicle-mounted external equipment in the third state receives an external equipment bus sleep instruction.
Further, the first control unit includes:
the first state switching unit is used for controlling the vehicle-mounted external equipment to enter a first sub-state when the vehicle-mounted external equipment enters the first state, so that the vehicle-mounted external equipment in the first sub-state does not transmit or receive data; and when the vehicle-mounted external equipment is in the first sub-state and the communication state management module receives a communication function instruction of a user requesting to start the vehicle-mounted external equipment, the vehicle-mounted external equipment is controlled to switch the communication state to enter a second sub-state, so that the vehicle-mounted external equipment in the second sub-state does not transmit data but receives data.
Further, the second control unit includes:
the second state switching unit is used for controlling the vehicle-mounted external equipment to enter a third sub-state when the vehicle-mounted external equipment enters the second state; and the vehicle-mounted external equipment in the third sub-state switches the communication state to enter a fourth sub-state according to the received user instruction and the network state.
Another aspect of the present invention further provides a communication state management method for a vehicle-mounted external device, which is implemented by a communication state management system for the vehicle-mounted external device, and includes the following steps:
step S1, the vehicle-mounted external device is in a power-on or reset state, and the communication state management module controls the vehicle-mounted external device to enter the first state;
step S2, the user management module detects whether the user has a request to enter the running state, when the user has a request to enter the running state, the user management module sends a command to the communication state management module to request to start the communication function of the vehicle-mounted external device, and the communication state management module controls the vehicle-mounted external device to enter the second state;
step S3, the user management module detects whether the user has a request to enter the dormant state, when the user has a request to enter the dormant state, the user management module sends a dormant state instruction to the communication state management module to call the vehicle-mounted external device, and the communication state management module controls the vehicle-mounted external device to enter a third state;
step S4, when the vehicle-mounted external device is in the third state, the communication state management module detects whether a communication function instruction or an external device bus sleep instruction for starting the vehicle-mounted external device is received; if a communication function instruction for starting the vehicle-mounted external equipment is received, the communication state management module controls the vehicle-mounted external equipment to enter the second state; and if receiving a bus dormancy instruction of the external equipment, the communication state management module controls the vehicle-mounted external equipment to enter the first state.
Further, the step S2 includes:
and when the communication state management module controls the vehicle-mounted external equipment to enter the first sub-state, and when the communication state management module receives a communication function instruction of the vehicle-mounted external equipment requested to be started by a user, the vehicle-mounted external equipment in the first sub-state is controlled to switch the communication state to enter the second sub-state.
Further, the step S3 includes:
and when the communication state management module controls the vehicle-mounted external equipment to enter the third sub-state, the communication state management module controls the vehicle-mounted external equipment in the third sub-state to switch the communication state to enter the fourth sub-state according to the received user instruction and the network state of the vehicle-mounted external equipment.
Further, the step S4 includes: after all the vehicle-mounted external equipment enters the first state, the communication state management module enters a post-operation state and starts timing, and a user request is acquired within preset delay time;
if the request for entering the running state sent by the user is received within the delay time, sending a request instruction for entering the running state to the communication state management module;
and if the request for entering the running state sent by the user is not received within the delay time, sending a request instruction for entering the closing state to the communication state management module.
In summary, the embodiment of the invention has the following beneficial effects:
the communication state management system and method of the vehicle-mounted external equipment provided by the invention have simple and clear strategy, are suitable for various external equipment, and have extremely high compatibility and software portability. How the vehicle-mounted external device on the ECU follows the state management and state switching of the ECUM of the AUTOmotive Open System Architecture (AUTOSAR Architecture) Architecture is defined, including the starting, running, sleeping and waking processes of the vehicle-mounted external device module; the non-standard vehicle-mounted external devices (such as the AutoSar external device or the non-AutoSar external device) of the user can be embedded into an AutoSar (AUTOmotive Open System Architecture) communication Architecture, so as to complete control of communication state management, sleep wakeup and the like of the external devices.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is within the scope of the present invention for those skilled in the art to obtain other drawings based on the drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a communication state management system of an in-vehicle external device according to the present invention.
Fig. 2 is a schematic structural diagram of a communication state management module of the communication state management system of the vehicle-mounted external device according to the present invention.
Fig. 3 is a main flow diagram of a communication state management method for an in-vehicle external device according to the present invention.
Fig. 4 is a schematic diagram illustrating switching of communication states in the method for managing communication states of the vehicle-mounted external device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an embodiment of a communication state management system for an in-vehicle external device according to the present invention. In this embodiment, the system includes:
at least one communication state management module 1 connected with the vehicle-mounted external device through the ECU, and at least one external device driving module 2 connected with the vehicle-mounted external device; wherein:
the communication state management module 1 is configured to acquire communication data and control policy data of any vehicle-mounted external device, perform communication state switching according to a received user request instruction and a network state, the communication data, and the control policy data of the any vehicle-mounted external device, and manage starting, running, sleeping, and waking of the any vehicle-mounted external device; the communication state management module is responsible for the communication state management of all the external devices, and because the communication capacity and the communication content of each external device are different and the control strategy is also different, the state machine of each device operates independently and is uniformly managed by the communication state management module 1.
As shown in fig. 2, the communication state management module 1 specifically includes:
the first control unit 11 is configured to control the vehicle-mounted external device to enter a first state when the vehicle-mounted external device is powered on or reset, and the vehicle-mounted external device in the first state does not perform data transmission or data reception;
the second control unit 12 is configured to, when the communication state management module 1 receives a communication function instruction that a user requests to start a vehicle-mounted external device, control the vehicle-mounted external device to enter a second state, so that the vehicle-mounted external device in the second state establishes data connection with a corresponding external device, and performs data transmission or data reception;
a third control unit 13, configured to, when the communication state management module 1 receives a sleep state instruction for a user to request to invoke a vehicle-mounted external device, control the vehicle-mounted external device to enter a third state, so that the vehicle-mounted external device in the third state does not perform data transmission but performs data reception;
a state change processing unit 14, configured to control the vehicle-mounted external device to enter the second state when the vehicle-mounted external device is in the third state and the communication state management module 1 receives a communication function instruction that a user requests to start the vehicle-mounted external device; and the controller is used for controlling the vehicle-mounted external equipment to enter the first state when the vehicle-mounted external equipment in the third state receives an external equipment bus sleep instruction.
More specifically, the first control unit 11 includes: a first state switching unit 111, configured to, when the vehicle-mounted external device enters the first state, control the vehicle-mounted external device to enter a first sub-state, so that the vehicle-mounted external device in the first sub-state does not perform data transmission or data reception; and when the vehicle-mounted external device is in the first sub-state and the communication state management module 1 receives a communication function instruction that a user requests to start the vehicle-mounted external device, controlling the vehicle-mounted external device to switch the communication state to enter a second sub-state, so that the vehicle-mounted external device in the second sub-state does not perform data transmission but performs data reception.
The second control unit 12 includes: a second state switching unit 121 configured to control the vehicle-mounted external device to enter a third sub-state when the vehicle-mounted external device enters the second state; and the vehicle-mounted external equipment in the third sub-state switches the communication state to enter a fourth sub-state according to the received user instruction and the network state.
In a specific embodiment, the vehicle-mounted external device state controlled by the COMMUNICATION state management module 1 has three states, specifically, a first state (EXTDEV _ NO _ COMMUNICATION), a second state (EXTDEV _ FULL _ COMMUNICATION), and a third state (EXTDEV _ SILENT _ COMMUNICATION); the three states are switched according to the user instruction or the change of the network state, the change of the state is informed to the upper layer user through the corresponding informing function, but the internal change of the state is hidden from the user, namely the user cannot obtain the internal state and the internal state switching rule.
Specifically, when the vehicle-mounted external device is powered on or reset, the communication state management module 1 controls the vehicle-mounted external device to enter a first state, and the vehicle-mounted external device in the first state does not perform data transmission or data reception; when the communication state management module 1 receives a communication function instruction of a user requesting to start the vehicle-mounted external device, the communication state management module 1 controls the vehicle-mounted external device to enter a second state, the vehicle-mounted external device in the second state establishes data connection with the corresponding external device, and data transmission or data reception is performed; when the communication state management module 1 receives a sleep state instruction that a user requests to call the vehicle-mounted external device, the communication state management module 1 controls the vehicle-mounted external device to enter a third state, and the vehicle-mounted external device in the third state does not send data but receives data; if the vehicle-mounted external device is in the third state and the communication state management module 1 receives a communication function instruction of a user requesting to start the vehicle-mounted external device, the communication state management module 1 controls the vehicle-mounted external device to enter the second state; if the vehicle-mounted external device in the third state receives an external device bus sleep instruction, the communication state management module 1 controls the vehicle-mounted external device to enter the first state.
The following table describes the communication capability of the vehicle-mounted external device in different communication states, and the module includes state machines of one or more external devices, which are operated independently. These state machines are directly associated with the management of the bus state of the relevant external devices:
Figure BDA0002839506840000081
more specifically, the first state includes a first sub-state (EXTDEV _ NO _ COM _ NO _ PENDING _ REQUEST), and a second sub-state (EXTDEV _ NO _ COM _ REQUEST _ PENDING); when the communication state management module 1 controls the vehicle-mounted external equipment to enter a first state, the communication state management module defaults to enter the first sub-state, and when the communication state management module 1 receives a communication function instruction of a user requesting to start the vehicle-mounted external equipment, the communication state management module controls the vehicle-mounted external equipment in the first sub-state to switch the communication state to enter a second sub-state; the vehicle-mounted external device in the first sub-state does not transmit or receive data, and in the internal state, after the user calls the state REQUEST of the EXTDEV _ FULL _ COMMUNICATION or when a wake-up instruction exists, the external device management COMMUNICATION state management module 1 immediately switches to enter the EXTDEV _ NO _ COM _ REQUEST _ PENDING state; the vehicle-mounted external equipment in the second sub-state does not transmit data but receives data, each external equipment state machine needs to evaluate the communication standard CommunicationAllowed related to the external equipment state machine, and if the CommunicationAllowed is FALSE, state switching cannot be completed; if TRUE, the state is switched immediately to enter the EXTDEV _ FULL _ COMMUNICATION state; if there is NO valid PENDING communication REQUEST, the state will be switched to the EXTDEV _ NO _ COM _ NO _ PENDING _ REQUEST.
The second state comprises a third sub-state (EXTDEV _ FULL _ COM _ NETWORK _ REQUESTED), a fourth sub-state (EXTDEV _ FULL _ COM _ READY _ SLEEP); when the communication state management module 1 controls the vehicle-mounted external equipment to enter the second state, the communication state management module defaults to enter the third sub-state, and when the communication state management module 1 controls the vehicle-mounted external equipment in the third sub-state to switch the communication state to enter the fourth sub-state according to the received user instruction and the network state of the vehicle-mounted external equipment;
the third state does not define its internal state, which is the transition state of the COMMUNICATION states EXTDEV _ FULL _ COMMUNICATION and EXTDEV _ NO _ COMMUNICATION, and the upper layer user cannot control the network to be in this state by instruction.
The system further comprises: the external equipment driving module 2 is used for driving the vehicle-mounted external equipment;
in a specific embodiment, the external device driver module 2 may classify the vehicle-mounted external devices according to different bus communication protocols as follows:
Figure BDA0002839506840000091
Figure BDA0002839506840000101
specifically, still include: an external equipment network management module 3 respectively connected with the MCU and the external equipment; a user management module 4 connected with the communication state management module 1;
and the external equipment network management module 3 is used for network connection between the MCU and the vehicle-mounted external equipment, and the communication modes are various due to the diversity of the external equipment. The network management protocol is often developed autonomously, even if not, it does not necessarily comply with the automotive network management specification, but only defines the interfaces and configurations of the parts associated with the external device communication state management module 1, as shown in the following table,
Figure BDA0002839506840000102
Figure BDA0002839506840000111
and the user management module 4 is used for managing a request instruction of a user to the communication state management module 1.
As shown in fig. 3 and 4, another embodiment of the present invention further provides a communication state management method for a vehicle-mounted external device, which is implemented by using the communication state management system for the vehicle-mounted external device, and specifically includes the following steps:
step S1, the vehicle-mounted external device is in the power-on or reset state, and the communication state management module 1 controls the vehicle-mounted external device to enter the first state;
step S2, the user management module 4 detects whether the user has a request to enter the running state, and when detecting that the user has a request to enter the running state, the user management module 4 sends a command requesting to start the communication function of the vehicle-mounted external device to the communication state management module 1, and the communication state management module 1 controls the vehicle-mounted external device to enter the second state; when the communication state management module 1 controls the vehicle-mounted external device to enter the first sub-state, and when the communication state management module 1 receives a communication function instruction of a user requesting to start the vehicle-mounted external device, the vehicle-mounted external device in the first sub-state is controlled to switch the communication state to enter the second sub-state.
Step S3, the user management module 4 detects whether the user has a request to enter the hibernation state, and when detecting that the user has a request to enter the hibernation state, the user management module 4 sends a hibernation state instruction requesting to invoke the vehicle-mounted external device to the communication state management module 1, and the communication state management module 1 controls the vehicle-mounted external device to enter a third state; and when the communication state management module 1 controls the vehicle-mounted external device to enter the third sub-state, the communication state management module 1 controls the vehicle-mounted external device in the third sub-state to switch the communication state to enter the fourth sub-state according to the received user instruction and the network state of the vehicle-mounted external device.
Step S4, when the vehicle-mounted external device is in the third state, the communication state management module 1 detects whether a communication function instruction or an external device bus sleep instruction for starting the vehicle-mounted external device is received; if a communication function instruction for starting the vehicle-mounted external equipment is received, the communication state management module 1 controls the vehicle-mounted external equipment to enter the second state; if a bus sleep instruction of the external equipment is received, the communication state management module 1 controls the vehicle-mounted external equipment to enter the first state; after all the vehicle-mounted external devices enter the first state, the communication state management module 1 enters a post-operation state and starts timing, and a user request is acquired within a preset delay time; if the request for entering the running state sent by the user is received within the delay time, sending a request instruction for entering the running state to the communication state management module 1; and if the request for entering the running state sent by the user is not received within the delay time, sending a request instruction for entering the closing state to the communication state management module 1.
In a specific embodiment, when a certain user needs to enter the running state, the user management module 4 will capture the requirement and initiate an instruction requesting to run, and the COMMUNICATION state of the peripheral corresponding to the COMMUNICATION state management module 1 enters the EXTDEV _ FULL _ COMMUNICATION state.
When a certain user meets the sleep condition, the user management module 4 will clear the instruction requesting operation, and the COMMUNICATION state of the peripheral corresponding to the COMMUNICATION state management module 1 enters the EXTDEV _ NO _ COMMUNICATION state through the EXTDEV _ slit _ COMMUNICATION. When the COMMUNICATION states of all the peripheral equipment enter an EXTDEV _ NO _ COMMUNICATION state, the vehicle-mounted external equipment enters a post-operation state, and the delay time set by a user needs to be waited in the post-operation state; in the delay time period, the user management module 4 learns the state of the corresponding user; if the user captures the requirement of entering the operation state again in the delay time, the user manages the instruction of initiating the operation request again; during the delay time, if no one user needs to request operation again, the in-vehicle external apparatus enters the off state.
In one embodiment, taking the IG1 state as detected, the external device is required to enter the RUN state as an example:
when the user management module 4 detects that the IG1 state is ON and an external device COMMUNICATION application needs to be opened, at this time, the user management calls EXTDEV _ FULL _ COMMUNICATION, and the COMMUNICATION state management module 1 switches the state of the corresponding external device from EXTDEV _ NO _ COMMUNICATION to EXTDEV _ FULL _ COMMUNICATION, so that the COMMUNICATION state management module 1 can complete subsequent switching and maintaining of the operating state;
when the user management module 4 detects that the IG1 state is OFF and the external COMMUNICATION application needs to be closed, at this time, the user management calls EXTDEV _ NO _ COMMUNICATION, and the COMMUNICATION state management module 1 switches the state of the corresponding external device from EXTDEV _ NO _ COMMUNICATION to EXTDEV _ FULL _ COMMUNICATION, and when the COMMUNICATION state management module 1 detects that all the vehicle-mounted external devices defined by Ecu are released, the subsequent state switching can be completed.
In summary, the embodiment of the invention has the following beneficial effects:
the communication state management system and method of the vehicle-mounted external equipment provided by the invention have simple and clear strategy, are suitable for various external equipment, and have extremely high compatibility and software portability. How a vehicle-mounted external device on an ECU follows state management and state switching of an Electronic Control Unit (ECUM) of an AUTOmotive Open System Architecture (AUTOSAR), including starting, running, sleeping, waking up processes and the like of a vehicle-mounted external device module; the non-standard vehicle-mounted external device (such as an AutoSar external device or a non-AutoSar external device) of a user can be embedded into an AUTOmotive Open System Architecture (AutoSar) communication Architecture, and control of communication state management, sleep wakeup and the like of the external device is completed.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (11)

1. A communication state management system of an in-vehicle external device, characterized by comprising: the system comprises at least one communication state management module connected with vehicle-mounted external equipment and at least one external equipment driving module connected with the vehicle-mounted external equipment; wherein:
the communication state management module is used for acquiring communication data and control strategy data of any vehicle-mounted external equipment, switching the communication state according to a received user request instruction and the network state, the communication data and the control strategy data of any vehicle-mounted external equipment, and managing the starting, running, sleeping and awakening of any vehicle-mounted external equipment;
and the external equipment driving module is used for driving the vehicle-mounted external equipment.
2. The system of claim 1, further comprising:
the external equipment network management module is respectively connected with the MCU and the external equipment and is used for network connection of the MCU and the vehicle-mounted external equipment;
and the user management module is connected with the communication state management module and is used for managing a request instruction of a user to the communication state management module.
3. The system of claim 2, wherein the communication state management module comprises:
the first control unit is used for controlling the vehicle-mounted external equipment to enter a first state when the vehicle-mounted external equipment is powered on or reset, and the vehicle-mounted external equipment in the first state does not transmit or receive data.
4. The system of claim 3, wherein the communication state management module further comprises:
and the second control unit is used for controlling the vehicle-mounted external equipment to enter a second state when the communication state management module receives a communication function instruction of requesting to start the vehicle-mounted external equipment by a user, so that the vehicle-mounted external equipment in the second state is in data connection with the corresponding external equipment, and data transmission or data reception is carried out.
5. The system of claim 4, wherein the communication state management module further comprises:
the third control unit is used for controlling the vehicle-mounted external equipment to enter a third state when the communication state management module receives a sleep state instruction of calling the vehicle-mounted external equipment by a user request, so that the vehicle-mounted external equipment in the third state does not transmit data but receives the data;
the state change processing unit is used for controlling the vehicle-mounted external equipment to enter the second state when the vehicle-mounted external equipment is in the third state and the communication state management module receives a communication function instruction of requesting to start the vehicle-mounted external equipment from a user; and the controller is used for controlling the vehicle-mounted external equipment to enter the first state when the vehicle-mounted external equipment in the third state receives an external equipment bus sleep instruction.
6. The system of claim 3, wherein the first control unit comprises:
the first state switching unit is used for controlling the vehicle-mounted external equipment to enter a first sub-state when the vehicle-mounted external equipment enters the first state, so that the vehicle-mounted external equipment in the first sub-state does not transmit or receive data; and when the vehicle-mounted external equipment is in the first sub-state and the communication state management module receives a communication function instruction of a user requesting to start the vehicle-mounted external equipment, the vehicle-mounted external equipment is controlled to switch the communication state to enter a second sub-state, so that the vehicle-mounted external equipment in the second sub-state does not transmit data but receives data.
7. The system of claim 4, wherein the second control unit comprises:
the second state switching unit is used for controlling the vehicle-mounted external equipment to enter a third sub-state when the vehicle-mounted external equipment enters the second state; and the vehicle-mounted external equipment in the third sub-state switches the communication state to enter a fourth sub-state according to the received user instruction and the network state.
8. A communication state management method of an in-vehicle external apparatus, which is implemented in the communication state management system of the in-vehicle external apparatus according to any one of claims 1 to 7, characterized by comprising the steps of:
step S1, the vehicle-mounted external device is in a power-on or reset state, and the communication state management module controls the vehicle-mounted external device to enter the first state;
step S2, the user management module detects whether the user has a request to enter the running state, when the user has a request to enter the running state, the user management module sends a command to the communication state management module to request to start the communication function of the vehicle-mounted external device, and the communication state management module controls the vehicle-mounted external device to enter the second state;
step S3, the user management module detects whether the user has a request for entering the dormant state, when the user has a request for entering the dormant state, the user management module sends a dormant state instruction for requesting to call the vehicle-mounted external equipment to the communication state management module, and the communication state management module controls the vehicle-mounted external equipment to enter a third state;
step S4, when the vehicle-mounted external device is in the third state, the communication state management module detects whether a communication function instruction or an external device bus sleep instruction for starting the vehicle-mounted external device is received; if a communication function instruction for starting the vehicle-mounted external equipment is received, the communication state management module controls the vehicle-mounted external equipment to enter the second state; and if receiving a bus dormancy instruction of the external equipment, the communication state management module controls the vehicle-mounted external equipment to enter the first state.
9. The method according to claim 8, wherein the step S2 includes:
and when the communication state management module controls the vehicle-mounted external equipment to enter the first sub-state, and when the communication state management module receives a communication function instruction of the vehicle-mounted external equipment requested to be started by a user, the vehicle-mounted external equipment in the first sub-state is controlled to switch the communication state to enter the second sub-state.
10. The method of claim 9, wherein the step S3 includes:
and when the communication state management module controls the vehicle-mounted external equipment to enter the third sub-state, the communication state management module controls the vehicle-mounted external equipment in the third sub-state to switch the communication state to enter the fourth sub-state according to the received user instruction and the network state of the vehicle-mounted external equipment.
11. The method of claim 10, wherein the step S4 includes:
after all the vehicle-mounted external equipment enters the first state, the communication state management module enters a post-operation state and starts timing, and a user request is acquired within preset delay time;
if the request for entering the running state sent by the user is received within the delay time, sending a request instruction for entering the running state to the communication state management module;
and if the request for entering the running state sent by the user is not received within the delay time, sending a request instruction for entering the closing state to the communication state management module.
CN202011486522.9A 2020-12-16 2020-12-16 Communication state management system and method for vehicle-mounted external equipment Pending CN114710516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011486522.9A CN114710516A (en) 2020-12-16 2020-12-16 Communication state management system and method for vehicle-mounted external equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011486522.9A CN114710516A (en) 2020-12-16 2020-12-16 Communication state management system and method for vehicle-mounted external equipment

Publications (1)

Publication Number Publication Date
CN114710516A true CN114710516A (en) 2022-07-05

Family

ID=82166542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011486522.9A Pending CN114710516A (en) 2020-12-16 2020-12-16 Communication state management system and method for vehicle-mounted external equipment

Country Status (1)

Country Link
CN (1) CN114710516A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011087112A (en) * 2009-10-15 2011-04-28 Mitsubishi Electric Corp Network system and gateway device
CN103873595A (en) * 2014-04-03 2014-06-18 奇瑞汽车股份有限公司 Multifunctional gateway used for vehicle and control method thereof
CN104734911A (en) * 2015-02-10 2015-06-24 重庆邮电大学 CAN bus network management test system and method
JP2019009678A (en) * 2017-06-27 2019-01-17 アイシン精機株式会社 On-vehicle communication network system
CN110758289A (en) * 2019-10-31 2020-02-07 上海赫千电子科技有限公司 Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011087112A (en) * 2009-10-15 2011-04-28 Mitsubishi Electric Corp Network system and gateway device
CN103873595A (en) * 2014-04-03 2014-06-18 奇瑞汽车股份有限公司 Multifunctional gateway used for vehicle and control method thereof
CN104734911A (en) * 2015-02-10 2015-06-24 重庆邮电大学 CAN bus network management test system and method
JP2019009678A (en) * 2017-06-27 2019-01-17 アイシン精機株式会社 On-vehicle communication network system
CN110758289A (en) * 2019-10-31 2020-02-07 上海赫千电子科技有限公司 Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许炳照;张荣贵;苏庆列;: "基于CAN通讯的汽车电控驻车技术策略研究", 长春工程学院学报(自然科学版), no. 03 *

Similar Documents

Publication Publication Date Title
JP4336726B2 (en) High-speed vehicle bus network activity
CN108073421B (en) Method and apparatus for providing individualized power control for peripheral subsystems
US7840314B2 (en) Computer peripheral device method and apparatus
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
US9450911B2 (en) System and method for managing ethernet communication network for use in vehicle
US8527798B2 (en) Energy-saving circuit for a peripheral device, peripheral device, switching device and method of operation
US8589954B2 (en) Method and program for selective suspension of USB network device
WO2013063972A1 (en) Communication method, communication apparatus and electronic device
JP2001154763A (en) Power saving device for local area network board
CN110933739A (en) Electronic equipment awakening method and electronic equipment
CN110704119B (en) Pre-starting method, device and system for vehicle-mounted video entertainment system and storage medium
CN112399211B (en) Operation method and fusion gateway
CN114710516A (en) Communication state management system and method for vehicle-mounted external equipment
CN110990066B (en) Sleep awakening method of communication terminal
WO2011124067A1 (en) Method and device for dynamically changing port service configuration between application processor and communication module
CN1555010A (en) Starting method and device for multiple mode computer system
CN112162514B (en) Synchronization module, auxiliary synchronization module and domain controller
CN113407478B (en) Method for realizing active application transmission of SPI slave equipment
JP4037529B2 (en) Computer system and power saving control method thereof
CN111158765B (en) Device and method for controlling running state of main control chip
CN112615767B (en) Whole vehicle network management method and system
CN117834332A (en) Network management method, device, vehicle and storage medium
CN117377044A (en) Control method, device, equipment and storage medium of network management ECU
US20120166846A1 (en) Usb system and power management module and method thereof
CN108931942B (en) Power supply system and method

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