WO2024061177A1 - 网络唤醒方法、装置、电子设备及车辆 - Google Patents

网络唤醒方法、装置、电子设备及车辆 Download PDF

Info

Publication number
WO2024061177A1
WO2024061177A1 PCT/CN2023/119482 CN2023119482W WO2024061177A1 WO 2024061177 A1 WO2024061177 A1 WO 2024061177A1 CN 2023119482 W CN2023119482 W CN 2023119482W WO 2024061177 A1 WO2024061177 A1 WO 2024061177A1
Authority
WO
WIPO (PCT)
Prior art keywords
wake
signal
application layer
network
bottom layer
Prior art date
Application number
PCT/CN2023/119482
Other languages
English (en)
French (fr)
Inventor
崔书超
王春光
Original Assignee
长城汽车股份有限公司
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 长城汽车股份有限公司 filed Critical 长城汽车股份有限公司
Publication of WO2024061177A1 publication Critical patent/WO2024061177A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • 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/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • 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/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • 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/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to the technical field of network management, and in particular to a network wake-up method, device, electronic equipment and vehicle.
  • the network in the vehicle enters the sleep state after meeting the sleep conditions, causing the vehicle to run in a low power consumption mode.
  • a wake-up signal appears in the vehicle
  • the network in the dormant state is awakened.
  • these signals will cause unnecessary awakening of the network in the dormant state, thereby increasing the power consumption of the vehicle.
  • the purpose of the present disclosure is to propose a wake-on-network method, device, electronic equipment and vehicle to solve or partially solve the above technical problems.
  • the first aspect of the present disclosure provides a network wake-up method.
  • the method is applied to a controller.
  • the controller includes a wake-up component, a bottom layer and an application layer.
  • the bottom layer is connected to network communication.
  • the method includes:
  • the application layer is used to generate wake-up instructions based on the matching results and send the wake-up instructions to the bottom layer;
  • the underlying network uses wake-up instructions to wake up the dormant network.
  • a second aspect of the present disclosure provides a network wake-up device.
  • the device is arranged on a controller.
  • the controller includes a wake-up component, a bottom layer and an application layer.
  • the bottom layer is connected to the network for communication.
  • the device includes:
  • the acquisition module is configured to obtain the wake-up signal through the wake-up component and send the wake-up signal to the bottom layer;
  • the sending module is configured to send the wake-up signal to the application layer through the bottom layer;
  • the matching module is configured to use the application layer to match the wake-up signal using pre-stored wake-up rules to obtain a matching result
  • the generation module is configured to use the application layer to generate a wake-up instruction based on the matching result, and send the wake-up instruction to the bottom layer;
  • the wake-up module is configured to wake up the dormant network through the bottom layer using wake-up instructions.
  • a third aspect of the disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method provided by the first aspect of the disclosure is implemented. .
  • a fourth aspect of the present disclosure provides a vehicle, comprising a network wake-up device as provided in the second aspect of the present disclosure or an electronic device as provided in the third aspect of the present disclosure.
  • the network wake-up method, device, electronic equipment and vehicle send the wake-up signal to the application layer through the bottom layer, avoiding the use of the bottom layer to complete the matching of the wake-up signal, and realizing the step-by-step wake-up signal Processing: Use the application layer to match the wake-up signal according to the wake-up rules, and obtain the wake-up instructions for the wake-up network based on the matching results, filter the wake-up signals through the wake-up rules, and prevent the generation of wake-up instructions for wake-up signals that do not comply with the wake-up rules, reducing The number of network wake-ups is reduced, thereby reducing the power consumption of the entire vehicle.
  • FIG1A is a schematic diagram of the structure of a controller disclosed in the present invention.
  • Figure 1B is a schematic flowchart of a network wake-up method according to an embodiment of the present disclosure
  • Figure 1C is a schematic diagram of the steps of step 103;
  • Figure 2 is a schematic flowchart of a network wake-up method according to another embodiment of the present disclosure.
  • Figure 3 is a schematic structural diagram of a wake-on-network device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the vehicle controller can use a layered architecture to control the vehicle.
  • the controller is divided from top to bottom into ASW (Application Software Layer, application layer), RTE ( Runtime Environment (runtime environment layer), BSW (Basic Software Layer, bottom layer) and control unit, among which the application layer is located on the upper layer of the runtime environment layer, the runtime environment layer is located on the upper layer of the bottom layer, the bottom layer is located on the upper layer of the control unit, and the software of the controller Including the application layer, operating environment layer and bottom layer, the hardware of the controller includes the control unit.
  • ASW Application Software Layer, application layer
  • RTE Runtime Environment (runtime environment layer)
  • BSW Basic Software Layer, bottom layer
  • control unit among which the application layer is located on the upper layer of the runtime environment layer, the runtime environment layer is located on the upper layer of the bottom layer, the bottom layer is located on the upper layer of the control unit, and the software of the controller Including the application layer, operating environment layer and bottom layer, the hardware of the controller includes the control
  • each layer can only use the interfaces provided by the next layer and provide corresponding interfaces to the upper layer. In this way, the separate development and verification of software and hardware in the vehicle controller is achieved through the layered architecture of the controller.
  • the controller and the network will enter the sleep state together; when the controller and the network are in the sleep state, when the controller obtains With the wake-up signal, the controller and the network enter the working state together, where the power consumption in the working state is greater than the power consumption in the sleep state.
  • the network wake-up method in the related art is implemented by entering the wake-up working state from the sleep state together with the bottom layer and the application layer in the controller.
  • the controller can monitor the wake-up signal in the vehicle through the wake-up component that communicates with the application layer and the bottom layer.
  • the wake-up component monitors the wake-up signal in the vehicle, the wake-up component generates a wake-up signal for the application layer and the bottom layer.
  • the wake-up command wakes up the application layer and the bottom layer from the sleep state, and then the application layer generates the network wake-up command and sends the network wake-up command to the network through the bottom layer, causing the network to enter the wake-up state from the sleep state.
  • the method in this embodiment is applied to the controller.
  • the controller includes a wake-up component, a bottom layer and an application layer.
  • the bottom layer is connected to the network for communication.
  • the method in this embodiment includes:
  • Step 101 Obtain the wake-up signal through the wake-up component and send the wake-up signal to the bottom layer.
  • the wake-up signal refers to a signal that can wake up the bottom layer from the sleep state.
  • the preferred wake-up signal in this embodiment can be obtained by a wake-up component (the wake-up component is set on the bottom layer) that is always in the working state, and can The signal for the bottom layer to wake up from sleep state.
  • the controller can be the body domain controller
  • the application layer can be the ASW in AUTOSAR (Automotive Open System Architecture, vehicle open system architecture) in the body domain controller
  • the bottom layer can be the BSW in AUTOSAR in the body domain controller.
  • the wake-up component may be a monitor (monitor) set in BSW.
  • the wake-up signal can be a signal generated by a Pin (pin) signal transmitted by hard wiring obtained by the wake-up component, or a signal generated by an NM (Network Management message) message transmitted by the communication network obtained by the wake-up component. .
  • Step 102 Send the wake-up signal to the application layer through the bottom layer.
  • the wake-up signal wakes up the bottom layer
  • the wake-up signal is sent to the application layer through the communication interface between the bottom layer and the application layer, and then the wake-up signal is sent to the application layer. Wake up the application layer.
  • the bottom layer refers to the software that can provide basic services
  • the application layer refers to the software that can provide control algorithms.
  • the application layer can be the ASW in AUTOSAR in the body domain controller, and the BSW can pass the Pin signal through the interface module in the BSW. and NM packets are sent to ASW.
  • the wake-up signal is sent to the application layer through the bottom layer, avoiding the use of the bottom layer to complete the matching of the wake-up signal, and realizing the step-by-step processing of the wake-up signal.
  • Step 103 Use the application layer to match the wake-up signal using pre-stored wake-up rules to obtain a matching result.
  • the wake-up rule refers to the rule that can filter the wake-up signal
  • the matching result refers to the result of matching the wake-up signal according to the wake-up rule.
  • the wake-up rule corresponding to the wake-up signal can be that pulling the door handle requires that the door-opening signal can be sent when there is a car key signal
  • the NM for pulling the door handle can be The message is matched with whether there is a car key signal.
  • Step 104 The application layer is used to generate a wake-up instruction based on the matching result, and sends the wake-up instruction to the bottom layer.
  • the wake-up command refers to the command that can be used for the underlying wake-up network, for example, wake-up Instructions can be generated through wake-up functions in the application layer.
  • Step 105 Use the bottom layer to wake up the network in a dormant state using a wake-up command.
  • the network refers to a unit that can provide communication functions to the bottom layer.
  • the network can include a LIN (Local Interconnect Network, local bus) network and a CAN (Controller Area Network, controller area network) network.
  • LIN Local Interconnect Network, local bus
  • CAN Controller Area Network, controller area network
  • the wake-up signal is sent to the application layer through the bottom layer, which avoids using the bottom layer to complete the matching of the wake-up signal and realizes the step-by-step processing of the wake-up signal; the application layer is used to match the wake-up signal according to the wake-up rule, and the wake-up instruction for waking up the network is obtained according to the matching result.
  • the wake-up signal is filtered according to the wake-up rule to prevent the generation of wake-up instructions for wake-up signals that do not meet the wake-up rules, thereby reducing the number of network wake-ups and thus reducing the power consumption of the entire vehicle.
  • the wake-up component is connected to the state unit; the step expansion of step 101 specifically includes:
  • the wake-up component generates a wake-up signal based on the status signal.
  • the status unit refers to the unit where the status signal is located.
  • the status signal can be the Pin signal in the MCU (Microcontroller Unit) integrated circuit of the body domain controller in the vehicle, or it can be the CAN network
  • the status unit can be a pin in the integrated circuit or a CAN network link.
  • the wake-up component in the controller when the bottom layer, application layer and network are in sleep state, the wake-up component in the controller is always in working state, and the wake-up component uses periodic polling to obtain the status signal of the status unit, and determines the wake-up signal based on the status signal.
  • the SLP obtains the body Pin signal through hard wiring. When the Pin signal is high, the SLP generates a wake-up signal and sends the wake-up signal to the bottom layer.
  • the status signal includes at least one of the following: pin level and network message;
  • the wake-up component generates wake-up signals based on status signals, including:
  • a wake-up signal is generated by the wake-up component according to the pre-stored signal function.
  • the pin level refers to the signal obtained through hard wiring
  • the network message refers to the signal obtained through the communication network link.
  • the signal function is used to generate the corresponding wake-up signal according to the high-level signal
  • a signal function is used to generate a corresponding wake-up signal according to the NM message.
  • step 102 specifically includes:
  • the wake-up component generates an initial wake-up instruction based on the wake-up signal, where the initial wake-up instruction is used to wake up the bottom layer;
  • the initial wake-up instruction refers to an instruction that can wake up the bottom layer.
  • the initial wake-up instruction can be generated by the initial wake-up function in the wake-up component.
  • the bottom layer switches from a sleep state to a working state.
  • the bottom layer in the working state can send a wake-up signal to the application layer through the interface between the bottom layer and the application layer.
  • the generation of the initial wake-up command realizes the step-by-step wake-up of the bottom layer and application layer in the controller, preventing the bottom layer and application layer from entering the working state from the sleep state after obtaining the wake-up signal.
  • step 103 as shown in Figure 1C specifically includes:
  • Step 1031 use the application layer to find matching data corresponding to the wake-up signal from the wake-up rules
  • Step 1032 use the application layer to obtain the data to be matched corresponding to the wake-up signal
  • Step 1033 use the application layer to compare the data to be matched and the matching data to obtain the comparison result
  • Step 1034 Use the application layer to generate matching results based on the comparison results.
  • the matching data refers to the data in the wake-up rule that can filter the wake-up signal.
  • the wake-up rule corresponding to the wake-up signal can be that pulling the door handle requires
  • the door opening signal can be sent.
  • the matching data requires the presence of the car key signal.
  • the data to be matched is that the car key signal exists when the door handle is pulled.
  • the comparison result is that the car key signal exists when the door handle is pulled
  • the matching result The NM message for pulling the door handle is a successful matching signal.
  • wake-up signals are filtered through wake-up rules, preventing the generation of wake-up instructions for wake-up signals that do not comply with wake-up rules, reducing the number of network wake-ups, and thus reducing the power consumption of the entire vehicle.
  • step 104 specifically includes:
  • the application layer In response to determining that the comparison result is that the data to be matched is the same as the matching data, the application layer is used to set the wake-up signal in the matching result as a matching success signal;
  • the application layer In response to determining that the comparison result is that the data to be matched is different from the matching data, the application layer is used to convert the matching result into The wake-up signal in the result is set as the match failure signal.
  • the successful matching signal refers to the wake-up signal that conforms to the wake-up rules
  • the matching failure signal refers to the wake-up signal that does not conform to the wake-up rules.
  • the wake-up signal is an NM message about pulling the door handle
  • the wake-up signal can be that when the door handle is pulled, the door opening signal needs to be sent when the car key signal is present.
  • the matching data requires the presence of the car key signal. The data to be matched is that the car key signal is present when the door handle is pulled.
  • the matching result is that the NM message of pulling the door handle is a matching success signal; when the comparison result is that there is no car key signal when the door handle is pulled, That is, if the data to be matched is different from the matching data, the NM message whose matching result is pulling the door handle is a matching failure signal.
  • wake-up signals are classified according to wake-up rules, and matching success signals and matching failure signals are obtained, which provides a basis for subsequent application layers to judge network wake-up.
  • step 105 specifically includes:
  • the application layer In response to determining that the wake-up signal in the matching result is a matching success signal, the application layer is used to generate a wake-up instruction;
  • the application layer In response to determining that the wake-up signal in the matching result is a matching failure signal, the application layer is used to generate a sleep instruction and send the sleep instruction to the bottom layer, where the sleep instruction is used to sleep the bottom layer.
  • the wake-up signal when the wake-up signal is a match success signal, it means that the wake-up signal can be transmitted in the network connected to the bottom layer; when the wake-up signal is a match failure signal, it means that the wake-up signal cannot be transmitted in the network connected to the bottom layer .
  • the wake-up component in the application layer wakes up the bottom layer according to the initial wake-up instruction, and then transmits the wake-up signal to the application layer through the bottom layer.
  • the application layer judges the wake-up signal through the wake-up rules and decides whether to wake up.
  • the network connected to the underlying layer. Since the application layer does not generate a network wake-up command based on the matching failure signal, it avoids the matching failure signal from waking up the network, thereby reducing the number of network wake-ups and thus reducing the power consumption of the entire vehicle.
  • the application layer generates the sleep instruction of the bottom layer based on the matching failure signal, which avoids the continuous awakening of the bottom layer by the matching failure signal and reduces the power consumption of the bottom layer.
  • the methods in the embodiments of the present disclosure can be executed by a single device, such as a computer or server.
  • the method of this embodiment can also be applied in a distributed scenario, and is completed by multiple devices cooperating with each other.
  • one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the method.
  • FIG. 1 Another specific embodiment of the network wake-up method of the present disclosure is as shown in Figure 2.
  • the execution steps include:
  • Step 1 First, the MCU (corresponding to the control unit in the embodiment of the present disclosure) will periodically poll the hardwired wake-up source PIN pin and monitor the CAN (Controller Area Network, Controller Area Network) network channel.
  • CAN Controller Area Network, Controller Area Network
  • Step 2 If the PIN pin level changes or there is any message in the CAN network channel, first the domain controller wakes up the bottom layer. After the bottom layer runs, the bottom layer wakes up the application layer, and the bottom layer passes the data to the application layer through the communication interface.
  • Step 3 The application layer determines whether it is a legal wake-up source (corresponding to the matching success signal in the embodiment of the present disclosure). If it is a legal wake-up source, the application layer issues instructions to the bottom layer to wake up CAN and LIN (Local Interconnect Network, local bus) Network; if it is not a legal wake-up source, a sleep command is issued to the bottom layer so that the bottom layer continues to sleep.
  • CAN and LIN Local Interconnect Network, local bus
  • the network wake-up method in the above embodiment has the same beneficial effects as the network wake-up method in any of the previous embodiments, and will not be described again here.
  • the present disclosure also provides a network wake-up device.
  • a network wake-up device is provided on a controller.
  • the controller includes a wake-up component, a bottom layer and an application layer.
  • the bottom layer is connected to the network for communication.
  • the device includes:
  • An acquisition module 201 is configured to acquire a wake-up signal through a wake-up component and send the wake-up signal to the bottom layer;
  • the sending module 202 is configured to send the wake-up signal to the application layer through the bottom layer;
  • the matching module 203 is configured to use the application layer to match the wake-up signal using pre-stored wake-up rules to obtain a matching result;
  • the generation module 204 is configured to use the application layer to generate a wake-up instruction based on the matching result, and send the wake-up instruction to the bottom layer;
  • the wake-up module 205 is configured to wake up the network in a dormant state through the bottom layer using a wake-up instruction.
  • the wake-up component is connected to the state unit
  • the acquisition module 201 is specifically configured as:
  • the wake-up component generates a wake-up signal based on the status signal.
  • the status signal includes at least one of the following: pin level and network message;
  • the acquisition module 201 is specifically configured as:
  • a wake-up signal is generated according to a pre-stored signal function through the wake-up component.
  • the sending module 202 is specifically configured as:
  • the matching module 203 is specifically configured to:
  • the application layer is used to generate matching results based on the comparison results.
  • the generation module 204 is specifically configured to:
  • the application layer In response to determining that the comparison result is that the data to be matched is the same as the matching data, the application layer is used to set the wake-up signal in the matching result as a matching success signal;
  • the application layer In response to determining that the comparison result is that the data to be matched is different from the matching data, the application layer is used to set the wake-up signal in the matching result as a matching failure signal.
  • the wake-up module 205 is specifically configured to:
  • the application layer In response to determining that the wake-up signal in the matching result is a matching failure signal, the application layer is used to generate a sleep instruction and send the sleep instruction to the bottom layer, where the sleep instruction is used to sleep the bottom layer.
  • each module can be implemented in the same or multiple software and/or hardware.
  • These modules can be processors that implement their respective functions.
  • the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the network wake-up method of any of the above embodiments is implemented when the processor executes the program.
  • Figure 4 shows a more specific hardware structure diagram of an electronic device provided in this embodiment.
  • the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040 and a bus 1050.
  • the processor 1010, the memory 1020, the input/output interface 1030 and the communication interface 1040 implement communication connections between each other within the device through the bus 1050.
  • the processor 1010 can be implemented by using a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, for executing related tasks. program to implement the technical solutions provided by the embodiments of this specification.
  • a general-purpose CPU Central Processing Unit, central processing unit
  • a microprocessor central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc.
  • the memory 1020 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and called and executed by the processor 1010 .
  • the input/output interface 1030 is used to connect the input/output module to realize information input and output.
  • the input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions.
  • Input devices can include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices can include monitors, speakers, vibrators, indicator lights, etc.
  • the communication interface 1040 is used to connect a communication module (not shown in the figure) to realize communication interaction between this device and other devices.
  • the communication module can communicate through wired methods (such as USB, network cables, etc.) or wirelessly (such as mobile networks, WIFI, Bluetooth, etc.).
  • Bus 1050 includes a path that carries information between various components of the device (eg, processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
  • the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation.
  • the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
  • the electronic devices in the above embodiments are used to implement the corresponding network wake-up method in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.
  • the present disclosure also provides a computer-readable storage medium.
  • the computer-readable storage medium stores computer instructions.
  • the computer instructions are used to cause the computer to execute any of the above embodiments. Wake on LAN method.
  • the computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology.
  • Information can be computer-readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable
  • the computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the network wake-up method of any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.
  • the present disclosure also provides a vehicle, including the network wake-up device in the above embodiment, or the electronic device as in the above embodiment, or the computer as in the above embodiment.
  • the readable storage medium and the vehicle equipment implement the network wake-up method of any of the above embodiments.
  • the vehicle in the above embodiment is used to perform the network wake-up method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be described again here.
  • DRAM dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开提供一种网络唤醒方法、装置、电子设备及车辆,方法包括:通过唤醒组件获取唤醒信号,并将唤醒信号发送到底层;通过底层将唤醒信号发送到应用层;利用应用层采用预先存储的唤醒规则对唤醒信号进行匹配,得到匹配结果;采用应用层根据匹配结果生成唤醒指令,并将唤醒指令发送到底层;通过底层利用唤醒指令唤醒处于休眠状态的网络。利用应用层根据唤醒规则对唤醒信号进行匹配,并根据匹配结果得到唤醒网络的唤醒指令,通过唤醒规则对唤醒信号进行过滤,对不符合唤醒规则的唤醒信号不进行唤醒指令的生成,减少了网络唤醒的次数,进而降低了整车的耗电量。

Description

网络唤醒方法、装置、电子设备及车辆
本公开要求在2022年9月23日提交中国专利局、申请号为202211169846.9、专利申请名称为“网络唤醒方法、装置、电子设备及车辆”的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及网络管理技术领域,尤其涉及一种网络唤醒方法、装置、电子设备及车辆。
背景技术
随着车辆电气技术的发展,车辆中的控制器越来越多,控制器所需要的网络也越来越复杂,网络的持续运行会导致整车在通电后处于高功耗模式,进而在车辆静态放置时会导致车辆静态电流过大,而引起蓄电池亏电。
通常,车辆中的网络在满足休眠条件后进入休眠状态,从而使得车辆运行在低功耗模式。当车辆中出现唤醒信号时,唤醒处于休眠状态的网络,但是,由于唤醒信号中存在异常信号,这些信号会导致处于休眠状态网络的不必要唤醒,进而导致车辆的耗电量增加。
发明内容
有鉴于此,本公开的目的在于提出一种网络唤醒方法、装置、电子设备及车辆,用以解决或部分解决上述技术问题。
基于上述目的,本公开的第一方面提供一种网络唤醒方法,方法应用于控制器,所述控制器包括唤醒组件、底层和应用层,所述底层与网络通信连接,方法包括:
通过唤醒组件获取唤醒信号,并将唤醒信号发送到底层;
通过底层将唤醒信号发送到应用层;
利用应用层采用预先存储的唤醒规则对唤醒信号进行匹配,得到匹配结果;
采用应用层根据匹配结果生成唤醒指令,并将唤醒指令发送到底层;
通过底层利用唤醒指令唤醒处于休眠状态的网络。
本公开的第二方面提供一种网络唤醒装置,装置设置于控制器,控制器包括唤醒组件、底层和应用层,底层与网络通信连接,装置包括:
获取模块,被配置为通过唤醒组件获取唤醒信号,并将唤醒信号发送到底层;
发送模块,被配置为通过底层将唤醒信号发送到应用层;
匹配模块,被配置为利用应用层采用预先存储的唤醒规则对唤醒信号进行匹配,得到匹配结果;
生成模块,被配置为采用应用层根据匹配结果生成唤醒指令,并将唤醒指令发送到底层;
唤醒模块,被配置为通过底层利用唤醒指令唤醒处于休眠状态的网络。
本公开的第三方面提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现如本公开第一方面提供的的方法。
本公开的第四方面提供了一种车辆,包括如本公开第二方面提供的网络唤醒装置或如本公开第三方面提供的的电子设备。
从上面所述可以看出,本公开提供的网络唤醒方法、装置、电子设备及车辆,通过底层将唤醒信号发送到应用层,避免了利用底层完成唤醒信号的匹配,实现了唤醒信号的分步处理;利用应用层根据唤醒规则对唤醒信号进行匹配,并根据匹配结果得到唤醒网络的唤醒指令,通过唤醒规则对唤醒信号进行过滤,阻止对不符合唤醒规则的唤醒信号进行唤醒指令的生成,减少了网络唤醒的次数,进而降低了整车的耗电量。
附图说明
图1A为本公开的控制器的结构示意图;
图1B为本公开一个实施例的网络唤醒方法的流程示意图;
图1C为步骤103的步骤展开示意图;
图2为本公开另一个实施例的网络唤醒方法的流程示意图;
图3为本公开实施例的网络唤醒装置的结构示意图;
图4为本公开实施例的电子设备的结构示意图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。
如图1A所示,车辆的控制器可以采用分层架构的方式实现对车辆的控制,在分层架构中,控制器被自上而下分为ASW(Application Software Layer,应用层)、RTE(Runtime Environment,运行环境层)、BSW(Basic Software Layer,底层)和控制单元,其中,应用层位于运行环境层的上层,运行环境层位于底层的上层,底层位于控制单元的上层,控制器的软件包括应用层、运行环境层和底层,控制器的硬件包括控制单元。
为保证应用层、运行环境层、底层和控制单元的无关性,每一层只能使用下一层所提供的接口,并向上一层提供相应的接口。这样,通过控制器的分层架构实现了车辆控制器中软件和硬件的分离开发与验证。
为了实现控制器的低功耗运行,与控制器连接的网络满足预先设定的休眠条件时,控制器和网络会一起进入休眠状态;在控制器和网络处于休眠状态时,当控制器获取到唤醒信号,控制器和网络一起进入工作状态,其中,工作状态的耗电量大于休眠状态的耗电量。
具体的,相关技术中的网络唤醒方法是通过控制器中的底层和应用层一起从休眠状态进入唤醒工作状态实现的。当车辆中的网络处于休眠状态时,控制器可以通过与应用层和底层通信交互的唤醒组件监控车辆中的唤醒信号,当唤醒组件监控到车辆出现唤醒信号时,唤醒组件生成唤醒应用层和底层的唤醒指令,将应用层和底层从休眠状态中唤醒,然后应用层生成网络唤醒指令,并通过底层将网络唤醒指令发送到网络,使得网络从休眠状态进入到唤醒状态。
这样做带来的问题有:在控制器中的应用层和底层进入休眠状态的情况下,当控制器获取到唤醒信号,控制器和网络一起进入工作状态,但是,唤醒信号中存在控制器和网络不能处理的信号,对于这样的唤醒信号,控制器和网络一起从休眠状态进入工作状态,会导致控制器和网络的耗电量增加,以及减少控制器中电子器件的使用寿命。
因此,为了提高网络的唤醒效率并延长控制器电子器件的使用寿命,亟需一种能够对唤醒信号进行过滤的网络唤醒方式。
如图1B所示,本实施例的方法应用于控制器,控制器包括唤醒组件、底层和应用层,底层与网络通信连接,本实施例的方法包括:
步骤101,通过唤醒组件获取唤醒信号,并将唤醒信号发送到底层。
在该步骤中,唤醒信号指的是能够将底层从休眠状态唤醒的信号,本实施例优选的唤醒信号可以是一直处于工作状态的唤醒组件(该唤醒组件设置于底层)获取到的,能够将底层从休眠状态唤醒的信号。例如,控制器可以是车身域控制器,应用层可以是车身域控制器中的AUTOSAR(Automotive Open System Architecture,车辆开放系统架构)中的ASW,底层可以是车身域控制器中的AUTOSAR中的BSW,唤醒组件可以是设置于BSW的监测器(monitor)。唤醒信号可以是唤醒组件获取到的硬接线传输的Pin(引脚)信号生成的信号,也可以是唤醒组件获取到的通信网络传输的NM(Network Management,网络管理报文)报文生成的信号。
可以理解的是,当控制器处于休眠状态时,为了获取控制器的唤醒信号,有一部分控制单元会一直处于工作状态。
步骤102,通过底层将唤醒信号发送到应用层。
在该步骤中,底层与应用层之间通过满足通信协议的通信接口进行数据交互,该唤醒信号将底层唤醒之后,通过底层与应用层之间的通信接口,将唤醒信号发送给应用层,进而唤醒应用层。
底层指的是能够提供基础服务的软件,应用层指的是能够提供控制算法的软件,例如,应用层可以是车身域控制器中的AUTOSAR中的ASW,BSW可以通过BSW中接口模块将Pin信号和NM报文发送到ASW。这样,通过底层将唤醒信号发送到应用层,避免了利用底层完成唤醒信号的匹配,实现了唤醒信号的分步处理。
步骤103,利用应用层采用预先存储的唤醒规则对唤醒信号进行匹配,得到匹配结果。
在该步骤中,唤醒规则指的是能够对唤醒信号进行过滤的规则,匹配结果指的是根据唤醒规则对唤醒信号进行匹配得到的结果。例如,当唤醒信号为关于拉动门把手的NM报文时,该唤醒信号对应的唤醒规则可以是拉动门把手需要在存在车钥匙信号的情况下可以发送开门信号,则可以将拉动门把手的NM报文和是否存在车钥匙信号进行匹配。
步骤104,采用应用层根据匹配结果生成唤醒指令,并将唤醒指令发送到底层。
在该步骤中,唤醒指令指的是能够用于底层唤醒网络的指令,例如,唤醒 指令可以通过应用层中的唤醒函数进行生成。
步骤105,通过底层利用唤醒指令唤醒处于休眠状态的网络。
在该步骤中,网络指的是能够向底层提供通信功能的单元,例如,网络可以包括LIN(Local Interconnect Network,本地总线)网络和CAN(Controller Area Network,控制器局域网络)网络。
通过上述方案,通过底层将唤醒信号发送到应用层,避免了利用底层完成唤醒信号的匹配,实现了唤醒信号的分步处理;利用应用层根据唤醒规则对唤醒信号进行匹配,并根据匹配结果得到唤醒网络的唤醒指令,通过唤醒规则对唤醒信号进行过滤,阻止对不符合唤醒规则的唤醒信号进行唤醒指令的生成,减少了网络唤醒的次数,进而降低了整车的耗电量。
在一些实施例中,唤醒组件与状态单元连接;步骤101的步骤展开具体包括:
通过唤醒组件采用预先设置的周期向状态单元发送查询信号;
通过唤醒组件接收状态单元发送的根据查询信号得到的状态信号;
通过唤醒组件根据状态信号生成唤醒信号。
在上述方案中,状态单元指的是状态信号所在的单元,例如,状态信号可以是车辆中车身域控制器的MCU(Microcontroller Unit,微控制单元)集成电路中的Pin信号,也可以是CAN网络链路中的NM报文,状态单元可以是集成电路中的Pin脚,也可以是CAN网络链路。
具体的,当底层、应用层和网络处于休眠状态时,控制器中的唤醒组件一直处于工作状态,并且唤醒组件采用周期轮询的方式获取状态单元的状态信号,并根据状态信号确定唤醒信号。例如,SLP通过硬接线获取车身Pin信号,当Pin信号为高电平时,SLP生成唤醒信号并将该唤醒信号发送到底层。
通过上述方案,为后续生成唤醒信号提供数据基础。
在一些实施例中,状态信号至少包括下列之一:引脚电平和网络报文;
通过唤醒组件根据状态信号生成唤醒信号,包括:
响应于确定引脚电平不同于预先存储的电平信号或存在网络报文,通过唤醒组件根据预先存储的信号函数生成唤醒信号。
在上述方案中,引脚电平指的是通过硬接线获取的信号,网络报文指的是通过通信网络链路获取的信号,例如,当Pin信号为高电平时,与预先存储的低电平信号不同,则采用信号函数根据高电平信号生成对应的唤醒信号;当 CAN网络链路中存在NM报文时,则采用信号函数根据NM报文生成对应的唤醒信号。通过上述方案,为后续初始唤醒指令和唤醒指令的生成提供数据基础。
在一些实施例中,步骤102具体包括:
通过唤醒组件根据唤醒信号生成初始唤醒指令,其中,初始唤醒指令用于唤醒底层;
通过底层将唤醒信号发送到应用层。
在上述方案中,初始唤醒指令指的是能够唤醒底层的指令,例如,初始唤醒指令可以通过唤醒组件中的初始唤醒函数进行生成,在初始唤醒指令唤醒底层后,底层从休眠状态转为工作状态,工作状态下的底层可以通过底层和应用层的接口将唤醒信号发送到应用层。
通过上述方案,初始唤醒指令的生成实现了控制器中底层和应用层的分步唤醒,避免在获取到唤醒信号后底层和应用层由休眠状态进入工作状态。
在一些实施例中,如图1C所示步骤103具体包括:
步骤1031,利用应用层从唤醒规则中查找唤醒信号对应的匹配数据;
步骤1032,利用应用层获取唤醒信号对应的待匹配数据;
步骤1033,利用应用层对比待匹配数据和匹配数据,得到对比结果;
步骤1034,利用应用层根据对比结果生成匹配结果。
在上述方案中,匹配数据指的是唤醒规则中能够过滤唤醒信号的数据,例如,当唤醒信号为关于拉动门把手的NM报文时,该唤醒信号对应的唤醒规则可以是拉动门把手需要在存在车钥匙信号的情况下可以发送开门信号,匹配数据为需要存在车钥匙信号,待匹配数据为拉动门把手时存在车钥匙信号,当对比结果为拉动门把手时存在车钥匙信号时,匹配结果为拉动门把手的NM报文是匹配成功信号。
通过上述方案,通过唤醒规则对唤醒信号进行过滤,阻止对不符合唤醒规则的唤醒信号进行唤醒指令的生成,减少了网络唤醒的次数,进而降低了整车的耗电量。
在一些实施例中,步骤104具体包括:
响应于确定对比结果为待匹配数据与匹配数据相同,利用应用层将匹配结果中的唤醒信号设置为匹配成功信号;
响应于确定对比结果为待匹配数据与匹配数据不同,利用应用层将匹配结 果中的唤醒信号设置为匹配失败信号。
在上述方案中,匹配成功信号指的是符合唤醒规则的唤醒信号,匹配失败信号指的是不符合唤醒规则的唤醒信号,例如,当唤醒信号为关于拉动门把手的NM报文时,该唤醒信号对应的唤醒规则可以是拉动门把手需要在存在车钥匙信号的情况下可以发送开门信号,匹配数据为需要存在车钥匙信号,待匹配数据为拉动门把手时存在车钥匙信号,当对比结果为拉动门把手时存在车钥匙信号时,即待匹配数据与匹配数据相同,则匹配结果为拉动门把手的NM报文是匹配成功信号;当对比结果为拉动门把手时不存在车钥匙信号时,即待匹配数据与匹配数据不同,则匹配结果为拉动门把手的NM报文是匹配失败信号。
通过上述方案,根据唤醒规则对唤醒信号进行分类,得到匹配成功信号和匹配失败信号,为后续应用层对网络唤醒提供判断基础。
在一些实施例中,步骤105具体包括:
响应于确定匹配结果中的唤醒信号为匹配成功信号,利用应用层生成唤醒指令;
响应于确定匹配结果中的唤醒信号为匹配失败信号,利用应用层生成休眠指令并将休眠指令发送到底层,其中,休眠指令用于休眠底层。
在上述方案中,当唤醒信号为匹配成功信号时,表示该唤醒信号可以在与底层连接的网络中传输;当唤醒信号为匹配失败信号时,表示该唤醒信号不能在与底层连接的网络中传输。
具体的,当获取到唤醒信号时,应用层中的唤醒组件根据初始唤醒指令将底层唤醒,然后通过底层将唤醒信号传输到应用层,由应用层通过唤醒规则对唤醒信号进行判断,决定是否唤醒与底层连接的网络。由于应用层没有根据匹配失败信号生成网络的唤醒指令,避免了匹配失败信号对网络的唤醒,从而减少了网络的唤醒次数,进而降低了整车的耗电量。
通过上述方案,应用层根据匹配失败信号生成底层的休眠指令,避免了匹配失败信号对底层的持续唤醒,降低了底层的耗电量。
需要说明的是,本公开实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本公开实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成的方法。
需要说明的是,上述对本公开的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
本公开的另一个具体实施例的网络唤醒方法,如图2所示,执行步骤包括:
步骤1,首先MCU(对应本公开实施例中的控制单元)会周期轮询硬线唤醒源PIN脚并监控CAN(Controller Area Network,控制器局域网)网络通道。
步骤2,如果PIN脚电平发生变化或者CAN网络通道有任何报文,首先域控制器唤醒底层,底层运行之后,底层唤醒应用层,底层把数据通过通信接口传递给应用层。
步骤3,应用层判断是否是合法唤醒源(对应本公开实施例中的匹配成功信号),如果是合法唤醒源,则应用层给底层下发指令唤醒CAN和LIN(Local Interconnect Network,本地总线)网络;如果不是合法唤醒源,则给底层下发休眠指令,使底层继续睡眠。
上述实施例的网络唤醒方法,具有如前述任一实施例中的网络唤醒方法实施例的有益效果,在此不再赘述。
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种网络唤醒装置。
参考图3,网络唤醒装置,装置设置于控制器,控制器包括唤醒组件、底层和应用层,底层与网络通信连接,装置包括:
获取模块201,被配置为通过唤醒组件获取唤醒信号,并将唤醒信号发送到底层;
发送模块202,被配置为通过底层将唤醒信号发送到应用层;
匹配模块203,被配置为利用应用层采用预先存储的唤醒规则对唤醒信号进行匹配,得到匹配结果;
生成模块204,被配置为采用应用层根据匹配结果生成唤醒指令,并将唤醒指令发送到底层;
唤醒模块205,被配置为通过底层利用唤醒指令唤醒处于休眠状态的网络。
在一些实施例中,唤醒组件与状态单元连接;
获取模块201具体被配置为:
通过唤醒组件采用预先设置的周期向状态单元发送查询信号;
通过唤醒组件接收状态单元发送的根据查询信号得到的状态信号;
通过唤醒组件根据状态信号生成唤醒信号。
在一些实施例中,状态信号至少包括下列之一:引脚电平和网络报文;
获取模块201具体还被配置为:
响应于确定引脚电平不同于预先存储的电平信号或存在网络报文,通过唤醒组件根据预先存储的信号函数生成唤醒信号。
在一些实施例中,发送模块202具体被配置为:
通过唤醒组件根据唤醒信号生成初始唤醒指令,其中,初始唤醒指令用于唤醒底层;
通过底层将唤醒信号发送到应用层。
在一些实施例中,匹配模块203具体被配置为:
利用应用层从唤醒规则中查找唤醒信号对应的匹配数据;
利用应用层获取唤醒信号对应的待匹配数据;
利用应用层对比待匹配数据和匹配数据,得到对比结果;
利用应用层根据对比结果生成匹配结果。
在一些实施例中,生成模块204具体被配置为:
响应于确定对比结果为待匹配数据与匹配数据相同,利用应用层将匹配结果中的唤醒信号设置为匹配成功信号;
响应于确定对比结果为待匹配数据与匹配数据不同,利用应用层将匹配结果中的唤醒信号设置为匹配失败信号。
在一些实施例中,唤醒模块205具体被配置为:
响应于确定匹配结果中的唤醒信号为匹配成功信号,利用应用层生成唤醒指令;
响应于确定匹配结果中的唤醒信号为匹配失败信号,利用应用层生成休眠指令并将休眠指令发送到底层,其中,休眠指令用于休眠底层。
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本公开时可以把各模块的功能在同一个或多个软件和/或硬件中实现。这些模块可以是实现各自功能的处理器。
上述实施例的装置用于实现前述任一实施例中相应的网络唤醒方法,并且 具有相应的方法实施例的有益效果,在此不再赘述。
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上任意一实施例的网络唤醒方法。
图4示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。
上述实施例的电子设备用于实现前述任一实施例中相应的网络唤醒方法,并且具有相应的方法实施例的有益效果,在此不再赘述。
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种计算机可读存储介质,计算机可读存储介质存储计算机指令,计算机指令用于使计算机执行如上任一实施例的网络唤醒方法。
本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。
上述实施例的存储介质存储的计算机指令用于使计算机执行如上任一实施例的网络唤醒方法,并且具有相应的方法实施例的有益效果,在此不再赘述。
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种车辆,包括上述实施例中的网络唤醒装置、或如上述实施例的电子设备、或如上述实施例的计算机可读存储介质,车辆设备实现上任意一实施例的网络唤醒方法。
上述实施例的车辆用于执行如上任一实施例的网络唤醒方法,并且具有相应的方法实施例的有益效果,在此不再赘述。
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本公开实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。
另外,为简化说明和讨论,并且为了不会使本公开实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本公开实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细 节是高度取决于将要实施本公开实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本公开的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本公开实施例。因此,这些描述应被认为是说明性的而不是限制性的。
尽管已经结合了本公开的具体实施例对本公开进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。
本公开实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本公开实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (12)

  1. 一种网络唤醒方法,其特征在于,所述方法应用于控制器,所述控制器包括唤醒组件、底层和应用层,所述底层与网络通信连接,所述方法包括:
    通过所述唤醒组件获取唤醒信号,并将所述唤醒信号发送到所述底层;
    通过所述底层将所述唤醒信号发送到所述应用层;
    利用所述应用层采用预先存储的唤醒规则对所述唤醒信号进行匹配,得到匹配结果;
    采用所述应用层根据所述匹配结果生成唤醒指令,并将所述唤醒指令发送到所述底层;
    通过所述底层利用所述唤醒指令唤醒处于休眠状态的网络。
  2. 根据权利要求1所述的方法,其特征在于,所述唤醒组件与状态单元连接,
    所述通过所述唤醒组件获取唤醒信号,包括:
    通过所述唤醒组件采用预先设置的周期向所述状态单元发送查询信号;
    通过所述唤醒组件接收所述状态单元发送的根据所述查询信号得到的状态信号;
    通过所述唤醒组件根据所述状态信号生成所述唤醒信号。
  3. 根据权利要求2所述的方法,其特征在于,所述状态信号至少包括下列之一:引脚电平和网络报文,
    所述通过所述唤醒组件根据所述状态信号生成所述唤醒信号,包括:
    响应于确定所述引脚电平不同于预先存储的电平信号或存在所述网络报文,通过所述唤醒组件根据预先存储的信号函数生成所述唤醒信号。
  4. 根据权利要求3所述的方法,其特征在于,所述状态单元为:集成电路中的引脚或控制器局域网络链路,
    所述状态信号为:集成电路中的引脚信号或控制器局域网络链路中的网络管理报文。
  5. 根据权利要求1所述的方法,其特征在于,所述通过底层将所述唤醒信号发送到应用层,包括:
    通过所述唤醒组件根据所述唤醒信号生成初始唤醒指令,其中,所述初始唤醒指令用于唤醒所述底层;
    通过所述底层将所述唤醒信号发送到所述应用层。
  6. 根据权利要求1所述的方法,其特征在于,所述利用应用层采用预先存储的唤醒规则对所述唤醒信号进行匹配,得到匹配结果,包括:
    利用所述应用层从所述唤醒规则中查找所述唤醒信号对应的匹配数据;
    利用所述应用层获取所述唤醒信号对应的待匹配数据;
    利用所述应用层对比所述待匹配数据和所述匹配数据,得到对比结果;
    利用所述应用层根据所述对比结果生成所述匹配结果。
  7. 根据权利要求6所述的方法,其特征在于,所述利用所述应用层根据所述对比结果生成所述匹配结果,包括:
    响应于确定所述对比结果为所述待匹配数据与所述匹配数据相同,利用所述应用层将所述匹配结果中的唤醒信号设置为匹配成功信号;
    响应于确定所述对比结果为所述待匹配数据与所述匹配数据不同,利用所述应用层将所述匹配结果中的唤醒信号设置为匹配失败信号。
  8. 根据权利要求7所述的方法,其特征在于,所述利用所述应用层根据所述匹配结果生成唤醒指令,包括:
    响应于确定所述匹配结果中的唤醒信号为匹配成功信号,利用所述应用层生成所述唤醒指令;
    响应于确定所述匹配结果中的唤醒信号为匹配失败信号,利用所述应用层生成休眠指令并将所述休眠指令发送到所述底层,其中,所述休眠指令用于休眠所述底层。
  9. 根据权利要求1所述的方法,其特征在于,
    所述控制器为车身域控制器;
    所述应用层为车身域控制器中的车辆开放系统架构中的应用层;
    所述底层为车身域控制器中的车辆开放系统架构中的底层;
    所述唤醒组件为设置于底层中的休眠唤醒模块;
    所述唤醒信号为唤醒组件获取到的硬接线传输的引脚信号生成的信号,或唤醒组件获取到的通信网络传输的网络管理报文生成的信号。
  10. 一种网络唤醒装置,其特征在于,所述装置设置于控制器,所述控制器包括唤醒组件、底层和应用层,所述底层与网络通信连接,所述装置包括:
    获取模块,被配置为通过所述唤醒组件获取唤醒信号,并将所述唤醒信号发送到所述底层;
    发送模块,被配置为通过所述底层将所述唤醒信号发送到所述应用层;
    匹配模块,被配置为利用所述应用层采用预先存储的唤醒规则对所述唤醒信号进行匹配,得到匹配结果;
    生成模块,被配置为采用所述应用层根据所述匹配结果生成唤醒指令,并将所述唤醒指令发送到所述底层;
    唤醒模块,被配置为通过所述底层利用所述唤醒指令唤醒处于休眠状态的网络。
  11. 一种电子设备,其特征在于,包括存储器、处理器及存储在所述存储器上并可由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至9任意一项所述的方法。
  12. 一种车辆,包括如权利要求10所述的网络唤醒装置或如权利要求11所述的电子设备。
PCT/CN2023/119482 2022-09-23 2023-09-18 网络唤醒方法、装置、电子设备及车辆 WO2024061177A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211169846.9A CN116723560A (zh) 2022-09-23 2022-09-23 网络唤醒方法、装置、电子设备及车辆
CN202211169846.9 2022-09-23

Publications (1)

Publication Number Publication Date
WO2024061177A1 true WO2024061177A1 (zh) 2024-03-28

Family

ID=87863723

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/119482 WO2024061177A1 (zh) 2022-09-23 2023-09-18 网络唤醒方法、装置、电子设备及车辆

Country Status (2)

Country Link
CN (1) CN116723560A (zh)
WO (1) WO2024061177A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116723560A (zh) * 2022-09-23 2023-09-08 长城汽车股份有限公司 网络唤醒方法、装置、电子设备及车辆

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020162038A1 (en) * 2001-04-30 2002-10-31 Bullman William R. System and method for processing wake-up signals in a network
CN111532227A (zh) * 2020-07-02 2020-08-14 深圳市法拉第电驱动有限公司 电动汽车控制器can网络管理方法及系统
CN113448302A (zh) * 2020-03-27 2021-09-28 北京新能源汽车股份有限公司 一种车辆控制器的控制方法、装置及汽车
CN116723560A (zh) * 2022-09-23 2023-09-08 长城汽车股份有限公司 网络唤醒方法、装置、电子设备及车辆

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020162038A1 (en) * 2001-04-30 2002-10-31 Bullman William R. System and method for processing wake-up signals in a network
CN113448302A (zh) * 2020-03-27 2021-09-28 北京新能源汽车股份有限公司 一种车辆控制器的控制方法、装置及汽车
CN111532227A (zh) * 2020-07-02 2020-08-14 深圳市法拉第电驱动有限公司 电动汽车控制器can网络管理方法及系统
CN116723560A (zh) * 2022-09-23 2023-09-08 长城汽车股份有限公司 网络唤醒方法、装置、电子设备及车辆

Also Published As

Publication number Publication date
CN116723560A (zh) 2023-09-08

Similar Documents

Publication Publication Date Title
WO2024061177A1 (zh) 网络唤醒方法、装置、电子设备及车辆
KR102562458B1 (ko) 차량용 컴퓨팅 플랫폼의 휴면 제어 방법, 장치, 기기 및 판독 가능 저장 매체
KR20180130661A (ko) 차량 네트워크에서 웨이크업 신호의 송수신 방법
CN107612774B (zh) 一种多通道同步睡眠方法及系统
CN114879829B (zh) 功耗管理方法、装置、电子设备、图形处理器及存储介质
EP2903206B1 (en) Method for waking up a distant device from a local device.
CN112445147A (zh) 智能设备的唤醒方法、系统、装置、电子设备及存储介质
CN112637013A (zh) Can总线报文异常检测方法及装置、设备、存储介质
JP2018026806A (ja) 通信装置、通信端末、及び通信システム
CN116494896A (zh) 车辆休眠唤醒控制方法、电子设备及车辆
JP2008107914A (ja) マイクロコンピュータ、プログラム及び車両用電子制御装置
KR20130018922A (ko) 액티브 상태와 슬립 상태 간을 천이함으로써 전력 절약을 구현하는 무선 개인 영역 네트워크 (pan) 조정자
JP2013098916A (ja) 中継システム、及び、当該中継システムを構成する中継装置
KR20200140542A (ko) Can에 기반한 파셜 네트워크 장치 및 그의 동작 방법과 그를 포함하는 차량
JP2019009678A (ja) 車載通信ネットワークシステム
CN116600262B (zh) 休眠唤醒异常的确定方法、装置、电子设备及存储介质
KR102371990B1 (ko) 차량용 제어기 및 차량용 제어기 전력 제어 방법
JP7370409B2 (ja) データ処理方法、装置、電子機器および媒体
CN117640668A (zh) 域控制器唤醒方法、系统、装置、电子设备及存储介质
CN118158264A (zh) 网络的唤醒方法、装置、电子设备及存储介质
CN116192845A (zh) 设备处理方法、装置、电子设备和存储介质
CN116886739A (zh) 远程控制方法、车载设备、远程控制设备及车辆
CN116461384A (zh) 一种车辆的充电控制方法、装置、电子设备以及存储介质
CN114116028A (zh) 行车电脑ecu的唤醒方法、装置、车辆及存储介质
CN116107614A (zh) 一种烧录保护方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23867465

Country of ref document: EP

Kind code of ref document: A1