CN116723560A - Network awakening method and device, electronic equipment and vehicle - Google Patents

Network awakening method and device, electronic equipment and vehicle Download PDF

Info

Publication number
CN116723560A
CN116723560A CN202211169846.9A CN202211169846A CN116723560A CN 116723560 A CN116723560 A CN 116723560A CN 202211169846 A CN202211169846 A CN 202211169846A CN 116723560 A CN116723560 A CN 116723560A
Authority
CN
China
Prior art keywords
wake
signal
application layer
matching
layer
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
CN202211169846.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.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor 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 Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202211169846.9A priority Critical patent/CN116723560A/en
Publication of CN116723560A publication Critical patent/CN116723560A/en
Priority to PCT/CN2023/119482 priority patent/WO2024061177A1/en
Pending legal-status Critical Current

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

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

The application provides a network awakening method, a network awakening device, electronic equipment and a vehicle, wherein the network awakening method comprises the following steps: acquiring a wake-up signal through the wake-up component, and sending the wake-up signal to the bottom layer; sending the wake-up signal to an application layer through a bottom layer; matching the wake-up signals by using the application layer and adopting a pre-stored wake-up rule to obtain a matching result; generating a wake-up instruction by adopting the application layer according to the matching result, and sending the wake-up instruction to a bottom layer; and waking up the network in the dormant state by the bottom layer through the wake-up instruction. The application layer is utilized to match the wake-up signals according to the wake-up rule, wake-up instructions of the wake-up network are obtained according to the matching result, the wake-up signals are filtered through the wake-up rule, the wake-up signals which do not accord with the wake-up rule are not generated, the number of network wake-up times is reduced, and therefore the power consumption of the whole vehicle is reduced.

Description

Network awakening method and device, electronic equipment and vehicle
Technical Field
The present application relates to the field of network management technologies, and in particular, to a network wake-up method, device, electronic device, and vehicle.
Background
With the development of vehicle electrical technology, more and more controllers are arranged in a vehicle, networks required by the controllers are more and more complex, and continuous operation of the networks can lead to a high power consumption mode of the whole vehicle after the whole vehicle is electrified, so that the vehicle quiescent current is excessive when the vehicle is placed statically, and the storage battery is caused to be deficient.
Generally, a network in a vehicle enters a sleep state after a sleep condition is satisfied, thereby causing the vehicle to operate in a low power consumption mode. When a wake-up signal occurs in the vehicle, the network in the sleep state is awakened, but due to the presence of abnormal signals in the wake-up signal, the signals can cause unnecessary wake-up of the network in the sleep state, thereby causing an increase in power consumption of the vehicle.
Disclosure of Invention
In view of the above, the present application provides a network wake-up method, a device, an electronic apparatus and a vehicle, which are used for solving or partially solving the above technical problems.
Based on the above object, a first aspect of the present application provides a network wake-up method, which is applied to a control unit, the control unit is connected to a bottom layer, the bottom layer is connected to a network and an application layer respectively, and the method includes:
acquiring a wake-up signal through the wake-up component, and sending the wake-up signal to the bottom layer;
sending the wake-up signal to the application layer through the bottom layer;
matching the wake-up signals by using the application layer and adopting a pre-stored wake-up rule to obtain a matching result;
generating a wake-up instruction by adopting the application layer according to the matching result, and sending the wake-up instruction to the bottom layer;
and waking up the network in the dormant state by the bottom layer through the wake-up instruction.
A second aspect of the present application provides a wake-on-network device, the device being disposed in a controller, the controller including a bottom layer and an application layer, the bottom layer being communicatively connected to a network, the method comprising:
the acquisition module is configured to acquire a wake-up signal through the wake-up component and send the wake-up signal to the bottom layer;
a transmitting module configured to transmit the wake-up signal to an application layer through a bottom layer;
the matching module is configured to match the wake-up signals by using the application layer and adopting a pre-stored wake-up rule to obtain a matching result;
the generating module is configured to generate a wake-up instruction according to the matching result by adopting the application layer and send the wake-up instruction to the bottom layer;
and the wake-up module is configured to wake up the network in the sleep state by the wake-up instruction through the bottom layer.
A third aspect of the application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as provided in the first aspect of the application when executing the program.
A fourth aspect of the application provides a vehicle comprising a wake-on-network device as provided in the second aspect of the application or an electronic device as provided in the third aspect of the application.
From the above, the network wake-up method, the device, the electronic equipment and the vehicle provided by the application can send the wake-up signal to the application layer through the bottom layer, so that the matching of the wake-up signal by the bottom layer is avoided, and the step-by-step processing of the wake-up signal is realized; the application layer is utilized to match the wake-up signals according to the wake-up rule, wake-up instructions of the wake-up network are obtained according to the matching result, the wake-up signals are filtered through the wake-up rule, the wake-up signals which do not accord with the wake-up rule are prevented from being generated, the number of network wake-up times is reduced, and therefore the power consumption of the whole vehicle is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the present application or related art, the drawings that are required to be used in the description of the embodiments or related art will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort to those of ordinary skill in the art.
Fig. 1 is a flow chart of a wake-on-network method according to an embodiment of the present application;
FIG. 2 is a step development schematic of step 103;
fig. 3 is a schematic structural diagram of a wake-on-network device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present application more apparent.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present application should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present application belongs. The terms "first," "second," and the like, as used in embodiments of the present application, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
As described in the background art, the controller of the vehicle may implement control of the vehicle in a layered architecture, where the controller is divided into ASW (Application Software Layer, application layer), RTE (Runtime Environment, running environment layer), BSW (Basic Software Layer, bottom layer) and control unit from top to bottom, where the application layer is located at an upper layer of the running environment layer, the running environment layer is located at an upper layer of the bottom layer, the bottom layer is located at an upper layer of the control unit, software of the controller includes the application layer, the running environment layer and the bottom layer, and hardware of the controller includes the control unit.
In order to ensure the independence of the application layer, the operation environment layer, the bottom layer and the control unit, each layer can only use the interface provided by the next layer and provide a corresponding interface for the previous layer. Thus, the software and hardware in the vehicle controller are separately developed and verified through the layered architecture of the controller.
In order to realize low-power-consumption operation of the controller, when a network connected with the controller meets a preset dormancy condition, the controller and the network enter a dormancy state together; when the controller and the network are in a dormant state, the controller and the network enter a working state together when the controller acquires a wake-up signal, wherein the power consumption of the working state is larger than that of the dormant state.
Specifically, the network wake-up method in the related art is implemented by enabling the bottom layer and the application layer in the controller to enter the wake-up working state from the sleep state. When the network in the vehicle is in a dormant state, the controller can monitor a wake-up signal in the vehicle through a wake-up component in the application layer, when the wake-up component monitors that the vehicle has the wake-up signal, the wake-up component generates wake-up instructions for waking up the application layer and the bottom layer, the application layer and the bottom layer are waken up from the dormant state, then the application layer generates a network wake-up instruction, and the network wake-up instruction is sent to the network through the bottom layer, so that the network enters the wake-up state from the dormant state.
The problems with this are: under the condition that an application layer, a bottom layer and a control unit in the controller enter a dormant state, when the controller acquires a wake-up signal, the controller and the network enter a working state together, however, signals which cannot be processed by the controller and the network exist in the wake-up signal, and for the wake-up signal, the controller and the network enter the working state together from the dormant state, the power consumption of the controller and the network can be increased, and the service life of electronic devices in the controller can be reduced.
Therefore, in order to improve the wake-up efficiency of the network and extend the service life of the controller electronics, a wake-up mode of the network is needed that can filter the wake-up signal.
As shown in fig. 1, the method of the present embodiment is applied to a controller, where the controller includes a bottom layer and an application layer, and the bottom layer is communicatively connected to a network, and the method of the present embodiment includes:
step 101, obtaining a wake-up signal through the wake-up component, and sending the wake-up signal to the bottom layer.
In this step, the wake-up signal refers to a signal capable of waking up the bottom layer from the Sleep state, and the preferred wake-up signal in this embodiment may be a signal obtained by a wake-up component that is always in an operating state and capable of waking up the bottom layer from the Sleep state, for example, the controller may be a vehicle body domain controller, the application layer may be an ASW in an AUTOSAR (Automotive Open System Architecture, open system architecture) in the vehicle body domain controller, the bottom layer may be a BSW in an AUTOSAR in the vehicle body domain controller, the wake-up component may be an SLP (Sleep Model) in the ASW, and the wake-up signal may be a signal generated according to a Pin signal obtained by the wake-up component and transmitted by hard wire, or may be a signal generated according to an NM (Network Management, network management message) transmitted by the communication network.
It will be appreciated that when the controller is in a sleep state, a portion of the control units will always be in operation in order to acquire the wake-up signal of the controller.
And step 102, sending the wake-up signal to an application layer through the bottom layer.
In this step, the bottom layer refers to software capable of providing basic services, the application layer refers to software capable of providing control algorithms, for example, the application layer may be ASW in AUTOSAR in the vehicle body domain controller, and the BSW may send Pin signals and NM messages to the ASW through an interface module in the BSW. In this way, the wake-up signal is sent to the application layer through the bottom layer, so that the matching of the wake-up signal by the bottom layer is avoided, and the step-by-step processing of the wake-up signal is realized.
And step 103, matching the wake-up signals by using the application layer by adopting a pre-stored wake-up rule to obtain a matching result.
In this step, the wake-up rule refers to a rule that can filter the wake-up signal, and the matching result refers to a result obtained by matching the wake-up signal according to the wake-up rule. For example, when the wake-up signal is an NM message about pulling the door handle, the wake-up rule corresponding to the wake-up signal may be that pulling the door handle needs to send a door opening signal when a car key signal is present, and then the NM message pulling the door handle may be matched with whether the car key signal is present.
And 104, generating a wake-up instruction by the application layer according to the matching result, and sending the wake-up instruction to a bottom layer.
In this step, the wake-up instruction refers to an instruction that can be used to wake up the network at the bottom layer, e.g., the wake-up instruction can be generated by a wake-up function in the application layer.
And 105, waking up the network in the dormant state by using the wake-up instruction through the bottom layer.
In this step, the network refers to a unit capable of providing a communication function to the bottom layer, and for example, the network may include a LIN (Local Interconnect Network, local bus) network and a CAN (Controller Area Network ) network.
According to the scheme, the wake-up signal is sent to the application layer through the bottom layer, so that the fact that the bottom layer is used for completing matching of the wake-up signal is avoided, and step-by-step processing of the wake-up signal is realized; the application layer is utilized to match the wake-up signals according to the wake-up rule, wake-up instructions of the wake-up network are obtained according to the matching result, the wake-up signals are filtered through the wake-up rule, the wake-up signals which do not accord with the wake-up rule are prevented from being generated, the number of network wake-up times is reduced, and therefore the power consumption of the whole vehicle is reduced.
In some embodiments, the wake-up component is coupled to a state unit; the step expansion of step 101 specifically includes:
sending a query signal to the state unit by the wake-up component with a preset period;
receiving a state signal which is sent by the state unit and is obtained according to the query signal through the awakening component;
generating the wake-up signal by the wake-up component from the status signal.
In the above scheme, the state unit refers to a unit where the state signal is located, for example, the state signal may be a Pin signal in an integrated circuit of an MCU (Microcontroller Unit, micro control unit) of a body domain controller in a vehicle, or may be an NM message in a CAN network link, and the state unit may be a Pin angle in the integrated circuit or may be a CAN network link.
Specifically, when the bottom layer, the application layer and the network are in a dormant state, the wake-up component in the controller is always in a working state, and the wake-up component acquires a state signal of the state unit in a periodic polling mode and determines the wake-up signal according to the state signal. For example, the SLP acquires a vehicle body Pin signal by hard wiring, and when the Pin signal is at a high level, the SLP generates a wake-up signal and transmits the wake-up signal to the floor layer.
By the scheme, a data basis is provided for subsequent generation of the wake-up signal.
In some embodiments, the status signal includes at least one of: pin level and network message;
the generating, by the wake-up component, the wake-up signal from the status signal includes:
in response to determining that the pin level is different from a pre-stored level signal or that the network message is present, generating, by the wake-up component, the wake-up signal according to a pre-stored signal function.
In the above scheme, the Pin level refers to a signal obtained through hard wiring, the network message refers to a signal obtained through a communication network link, for example, when the Pin signal is at a high level, and is different from a pre-stored low level signal, a signal function is adopted to generate a corresponding wake-up signal according to the high level signal; when NM message exists in the CAN network link, a signal function is adopted to generate a corresponding wake-up signal according to the NM message. By the scheme, a data basis is provided for the generation of the subsequent initial wake-up instruction and the wake-up instruction.
In some embodiments, step 102 specifically includes:
generating an initial wake-up instruction according to the wake-up signal by the wake-up component, wherein the initial wake-up instruction is used for waking up the bottom layer;
and sending the wake-up signal to the application layer through the bottom layer.
In the above solution, the initial wake-up instruction refers to an instruction capable of waking up the bottom layer, for example, the initial wake-up instruction may be generated by an initial wake-up function in the wake-up component, after the initial wake-up instruction wakes up the bottom layer, the bottom layer is turned from a sleep state to a working state, and the bottom layer in the working state may send a wake-up signal to the application layer through interfaces of the bottom layer and the application layer.
By the scheme, the generation of the initial wake-up instruction realizes the step-by-step wake-up of the bottom layer and the application layer in the controller, and the bottom layer and the application layer are prevented from entering the working state from the dormant state after the wake-up signal is acquired.
In some embodiments, step 103 shown in fig. 2 specifically includes:
step 1031, searching matching data corresponding to the wake-up signal from the wake-up rule by using the application layer;
step 1032, obtaining data to be matched corresponding to the wake-up signal by using the application layer;
step 1033, comparing the data to be matched with the matching data by using the application layer to obtain a comparison result;
and 1034, generating the matching result according to the comparison result by using the application layer.
In the above scheme, the matching data refers to data capable of filtering the wake-up signal in the wake-up rule, for example, when the wake-up signal is an NM message about pulling the door handle, the wake-up rule corresponding to the wake-up signal may be that the door handle needs to be pulled to send a door opening signal when a car key signal is present, the matching data is that the car key signal needs to be present, the car key signal exists when the door handle is pulled, and when the comparison result is that the car key signal exists when the door handle is pulled, the NM message corresponding to the wake-up signal is a matching success signal.
Through the scheme, the wake-up signals are filtered through the wake-up rule, so that the wake-up instructions of the wake-up signals which do not accord with the wake-up rule are prevented from being generated, the number of network wake-up times is reduced, and the power consumption of the whole vehicle is further reduced.
In some embodiments, step 104 specifically includes:
in response to determining that the comparison result is that the data to be matched are identical to the matching data, setting a wake-up signal in the matching result as a matching success signal by using the application layer;
and in response to determining that the comparison result is that the data to be matched is different from the matching data, setting a wake-up signal in the matching result as a matching failure signal by using the application layer.
In the above scheme, the matching success signal refers to a wake-up signal conforming to a wake-up rule, the matching failure signal refers to a wake-up signal not conforming to a wake-up rule, for example, when the wake-up signal is an NM message about pulling a door handle, the wake-up rule corresponding to the wake-up signal may be that the door handle needs to be pulled to send a door opening signal when a car key signal exists, the matching data is that the car key signal exists when the door handle is pulled, and when the comparison result is that the car key signal exists when the door handle is pulled, that is, the data to be matched is the same as the matching data, and the NM message of the door handle is the matching success signal; when the comparison result is that the vehicle key signal does not exist when the door handle is pulled, namely the data to be matched is different from the matching data, the matching result is that the NM message of the door handle is pulled is a matching failure signal.
Through the scheme, the wake-up signals are classified according to the wake-up rules, so that the matching success signals and the matching failure signals are obtained, and a judgment basis is provided for the subsequent application layer to wake-up the network.
In some embodiments, step 105 specifically includes:
generating the wake-up instruction by using the application layer in response to determining that the wake-up signal in the matching result is a matching success signal;
and generating a dormancy instruction by using the application layer and sending the dormancy instruction to the bottom layer in response to the fact that the wake-up signal in the matching result is a matching failure signal, wherein the dormancy instruction is used for dormancy of the bottom layer.
In the above scheme, when the wake-up signal is a matching success signal, it means that the wake-up signal can be transmitted in a network connected with the bottom layer; when the wake-up signal is a match failure signal, it indicates that the wake-up signal cannot be transmitted in the network connected to the bottom layer.
Specifically, when the wake-up signal is obtained, the wake-up component in the application layer wakes up the bottom layer according to the initial wake-up instruction, then transmits the wake-up signal to the application layer through the bottom layer, and the application layer judges the wake-up signal through the wake-up rule to determine whether to wake up the network connected with the bottom layer. Because the application layer does not generate a wake-up instruction of the network according to the matching failure signal, the wake-up of the matching failure signal to the network is avoided, so that the wake-up times of the network are reduced, and the power consumption of the whole vehicle is further reduced.
By the scheme, the application layer generates the dormancy instruction of the bottom layer according to the matching failure signal, so that the continuous awakening of the matching failure signal to the bottom layer is avoided, and the power consumption of the bottom layer is reduced.
It should be noted that, the method of the embodiment of the present application may be performed by a single device, for example, a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the method of an embodiment of the present application, the devices interacting with each other to accomplish the method.
It should be noted that the foregoing describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Embodiments of the present application may further include:
step 1, firstly, the MCU (corresponding to the control unit in the embodiment of the present application) will poll the hard wire wake-up source PIN angle periodically and monitor the CAN (Controller Area Network ) network channel.
And step 2, if the PIN angle level changes or any message exists in the CAN network channel, firstly, the domain controller wakes up the bottom layer, after the bottom layer operates, the bottom layer wakes up the application layer, and the bottom layer transmits data to the application layer through the interface.
And 3, the application layer judges whether the wake-up source is legal (corresponding to the successful matching signal in the embodiment of the application), and if the wake-up source is legal, the application layer sends down instructions to the bottom layer to wake up CAN and LIN (Local Interconnect Network, local bus) networks. If the source is not legal awakening source, a dormancy instruction is issued to the bottom layer, so that the bottom layer can continue sleeping.
The wake-on-network method of the above embodiment has the beneficial effects of the wake-on-network method of any of the foregoing embodiments, and is not described herein again.
Based on the same inventive concept, the application also provides a network wake-up device corresponding to the method of any embodiment.
Referring to fig. 3, the wake-on-network device is disposed in a controller, the controller includes a bottom layer and an application layer, the bottom layer is communicatively connected to a network, and the device includes:
an acquisition module 201 configured to acquire a wake-up signal by the wake-up component and send the wake-up signal to the bottom layer;
a transmitting module 202 configured to transmit the wake-up signal to an application layer through an underlying layer;
the matching module 203 is configured to match the wake-up signals by using the application layer and adopting a pre-stored wake-up rule to obtain a matching result;
a generating module 204, configured to generate a wake-up instruction according to the matching result by using the application layer, and send the wake-up instruction to a bottom layer;
a wake module 205 configured to wake up the network in a sleep state by the wake-up instruction through the bottom layer.
In some embodiments, the wake-up component is coupled to a state unit;
the acquisition module 201 is specifically configured to:
sending a query signal to the state unit by the wake-up component with a preset period;
receiving a state signal which is sent by the state unit and is obtained according to the query signal through the awakening component;
generating the wake-up signal by the wake-up component from the status signal.
In some embodiments, the status signal includes at least one of: pin level and network message;
the acquisition module 201 is specifically further configured to:
in response to determining that the pin level is different from a pre-stored level signal or that the network message is present, generating, by the wake-up component, the wake-up signal according to a pre-stored signal function.
In some embodiments, the sending module 202 is specifically configured to:
generating an initial wake-up instruction according to the wake-up signal by the wake-up component, wherein the initial wake-up instruction is used for waking up the bottom layer;
and sending the wake-up signal to the application layer through the bottom layer.
In some embodiments, the matching module 203 is specifically configured to:
searching matching data corresponding to the wake-up signal from the wake-up rule by using the application layer;
acquiring data to be matched corresponding to the wake-up signal by using the application layer;
comparing the data to be matched with the matching data by using the application layer to obtain a comparison result;
and generating the matching result according to the comparison result by using the application layer.
In some embodiments, the generation module 204 is specifically configured to:
in response to determining that the comparison result is that the data to be matched are identical to the matching data, setting a wake-up signal in the matching result as a matching success signal by using the application layer;
and in response to determining that the comparison result is that the data to be matched is different from the matching data, setting a wake-up signal in the matching result as a matching failure signal by using the application layer.
In some embodiments, the wake-up module 205 is specifically configured to:
generating the wake-up instruction by using the application layer in response to determining that the wake-up signal in the matching result is a matching success signal;
and generating a dormancy instruction by using the application layer and sending the dormancy instruction to the bottom layer in response to the fact that the wake-up signal in the matching result is a matching failure signal, wherein the dormancy instruction is used for dormancy of the bottom layer.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
The device of the foregoing embodiment is configured to implement the corresponding network wake-up method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, the application also provides an electronic device corresponding to the method of any embodiment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the wake-on-network method of any embodiment when executing the program.
Fig. 4 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing relevant programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the corresponding network wake-up method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, the present application also provides a computer readable storage medium corresponding to the method of any of the above embodiments, where the computer readable storage medium stores computer instructions for causing the computer to execute the wake-on-network method according to any of the above embodiments.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiments stores computer instructions for causing the computer to execute the wake-on-network method according to any one of the foregoing embodiments, and has the beneficial effects of corresponding method embodiments, which are not described herein.
Based on the same inventive concept, the application also provides a vehicle, corresponding to the method of any embodiment, including the wake-on-network device in the embodiment, or the electronic device in the embodiment, or the computer readable storage medium in the embodiment, where the vehicle device implements the wake-on-network method in any embodiment.
The vehicle of the foregoing embodiments is configured to perform the wake-on-network method described in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the application (including the claims) is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the application, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the application as described above, which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present application. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the present application are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, and the like, which are within the spirit and principles of the embodiments of the application, are intended to be included within the scope of the application.

Claims (10)

1. A network wakeup method, the method being applied to a controller, the controller comprising a wakeup component, an underlying layer, and an application layer, the underlying layer being communicatively coupled to a network, the method comprising:
acquiring a wake-up signal through the wake-up component, and sending the wake-up signal to the bottom layer;
sending the wake-up signal to the application layer through the bottom layer;
matching the wake-up signals by using the application layer and adopting a pre-stored wake-up rule to obtain a matching result;
generating a wake-up instruction by adopting the application layer according to the matching result, and sending the wake-up instruction to the bottom layer;
and waking up the network in the dormant state by the bottom layer through the wake-up instruction.
2. The method of claim 1, wherein the wake-up component is coupled to a state unit;
the obtaining, by the wake-up component, a wake-up signal includes:
sending a query signal to the state unit by the wake-up component with a preset period;
receiving a state signal which is sent by the state unit and is obtained according to the query signal through the awakening component;
generating the wake-up signal by the wake-up component from the status signal.
3. The method of claim 2, wherein the status signal comprises at least one of: pin level and network message;
the generating, by the wake-up component, the wake-up signal from the status signal includes:
in response to determining that the pin level is different from a pre-stored level signal or that the network message is present, generating, by the wake-up component, the wake-up signal according to a pre-stored signal function.
4. The method of claim 1, wherein the sending the wake-up signal to an application layer through an underlying layer comprises:
generating an initial wake-up instruction according to the wake-up signal by the wake-up component, wherein the initial wake-up instruction is used for waking up the bottom layer;
and sending the wake-up signal to the application layer through the bottom layer.
5. The method of claim 1, wherein the matching the wake-up signal using the application layer with a pre-stored wake-up rule to obtain a matching result comprises:
searching matching data corresponding to the wake-up signal from the wake-up rule by using the application layer;
acquiring data to be matched corresponding to the wake-up signal by using the application layer;
comparing the data to be matched with the matching data by using the application layer to obtain a comparison result;
and generating the matching result according to the comparison result by using the application layer.
6. The method of claim 5, wherein generating the matching result from the comparison result using the application layer comprises:
in response to determining that the comparison result is that the data to be matched are identical to the matching data, setting a wake-up signal in the matching result as a matching success signal by using the application layer;
and in response to determining that the comparison result is that the data to be matched is different from the matching data, setting a wake-up signal in the matching result as a matching failure signal by using the application layer.
7. The method of claim 6, wherein generating a wake-up instruction with the application layer based on the matching result comprises:
generating the wake-up instruction by using the application layer in response to determining that the wake-up signal in the matching result is a matching success signal;
and generating a dormancy instruction by using the application layer and sending the dormancy instruction to the bottom layer in response to the fact that the wake-up signal in the matching result is a matching failure signal, wherein the dormancy instruction is used for dormancy of the bottom layer.
8. A wake-on-network device, the device being configured in a controller, the controller comprising a base layer and an application layer, the base layer being communicatively coupled to a network, the device comprising:
the acquisition module is configured to acquire a wake-up signal through the wake-up component and send the wake-up signal to the bottom layer;
a transmitting module configured to transmit the wake-up signal to the application layer through the bottom layer;
the matching module is configured to match the wake-up signals by using the application layer and adopting a pre-stored wake-up rule to obtain a matching result;
the generating module is configured to generate a wake-up instruction according to the matching result by adopting the application layer and send the wake-up instruction to the bottom layer;
and the wake-up module is configured to wake up the network in the sleep state by the wake-up instruction through the bottom layer.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, the processor implementing the method of any one of claims 1 to 7 when executing the computer program.
10. A vehicle comprising a wake-on-network device as claimed in claim 8 or an electronic apparatus as claimed in claim 9.
CN202211169846.9A 2022-09-23 2022-09-23 Network awakening method and device, electronic equipment and vehicle Pending CN116723560A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211169846.9A CN116723560A (en) 2022-09-23 2022-09-23 Network awakening method and device, electronic equipment and vehicle
PCT/CN2023/119482 WO2024061177A1 (en) 2022-09-23 2023-09-18 Network wake-up method and apparatus, and electronic device and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211169846.9A CN116723560A (en) 2022-09-23 2022-09-23 Network awakening method and device, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
CN116723560A true CN116723560A (en) 2023-09-08

Family

ID=87863723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211169846.9A Pending CN116723560A (en) 2022-09-23 2022-09-23 Network awakening method and device, electronic equipment and vehicle

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024061177A1 (en) * 2022-09-23 2024-03-28 长城汽车股份有限公司 Network wake-up method and apparatus, and electronic device and vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6848059B2 (en) * 2001-04-30 2005-01-25 Agere Systems Inc. System and method for processing wake-up signals in a network
CN113448302A (en) * 2020-03-27 2021-09-28 北京新能源汽车股份有限公司 Control method and device of vehicle controller and automobile
CN111532227B (en) * 2020-07-02 2020-10-20 深圳市法拉第电驱动有限公司 CAN network management method and system for electric vehicle controller
CN116723560A (en) * 2022-09-23 2023-09-08 长城汽车股份有限公司 Network awakening method and device, electronic equipment and vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024061177A1 (en) * 2022-09-23 2024-03-28 长城汽车股份有限公司 Network wake-up method and apparatus, and electronic device and vehicle

Also Published As

Publication number Publication date
WO2024061177A1 (en) 2024-03-28

Similar Documents

Publication Publication Date Title
CN110678825B (en) Low power environment computing system with machine learning function
KR101843782B1 (en) Mobile devices
EP2492776A2 (en) Remote wakeup of application processor of mobile device
US9124981B2 (en) Systems and methods for classification of audio environments
CN105518578A (en) Method of providing notification and electronic device thereof
CN110134032A (en) Mobile device and its control method including context hub
CN104541228A (en) Providing support for device states
CN209248468U (en) Mobile device for the position monitoring based on state
US10911910B2 (en) Electronic device and method of executing function of electronic device
JP2014106840A (en) Data processing device, data processing method, and program
CN112765082B (en) Multi-host arbitration method, device and readable storage medium
WO2024061177A1 (en) Network wake-up method and apparatus, and electronic device and vehicle
CN111816178A (en) Voice equipment control method, device and equipment
CN104683126A (en) Network managing method based on CAN bus
CN108510721A (en) Trigger sensor data are from the method for wireless device transmissions, network node and system
CN116494896A (en) Vehicle dormancy wakeup control method, electronic equipment and vehicle
CN115086855B (en) Test system, method and related device
US10909467B2 (en) EM sensor and mobile device including the same
CN113625859A (en) Device and method for intelligently predicting idle time of processor
CN114563999B (en) Determination method and device of fault controller, vehicle-mounted terminal and system
CN117640668A (en) Domain controller awakening method, domain controller awakening system, domain controller awakening device, electronic equipment and storage medium
CN117812116A (en) Vehicle dormancy method and device, electronic equipment and vehicle
US11914790B2 (en) Method for controlling external electronic device, and electronic device therefor
CN219883679U (en) Rear-loading type vehicle-mounted intelligent management control terminal
CN114116028A (en) Wake-up method and device for running computer ECU, vehicle and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication