CN113709202B - Method and system for waking up system chip - Google Patents

Method and system for waking up system chip Download PDF

Info

Publication number
CN113709202B
CN113709202B CN202010440947.XA CN202010440947A CN113709202B CN 113709202 B CN113709202 B CN 113709202B CN 202010440947 A CN202010440947 A CN 202010440947A CN 113709202 B CN113709202 B CN 113709202B
Authority
CN
China
Prior art keywords
cloud server
long connection
system chip
network access
communication protocol
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.)
Active
Application number
CN202010440947.XA
Other languages
Chinese (zh)
Other versions
CN113709202A (en
Inventor
邢云天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rockwell Technology Co Ltd
Original Assignee
Beijing Rockwell Technology 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 Beijing Rockwell Technology Co Ltd filed Critical Beijing Rockwell Technology Co Ltd
Priority to CN202010440947.XA priority Critical patent/CN113709202B/en
Publication of CN113709202A publication Critical patent/CN113709202A/en
Application granted granted Critical
Publication of CN113709202B publication Critical patent/CN113709202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Cardiology (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a system for waking up a system chip, relates to the technical field of automobile communication, and aims to improve the efficiency of building long connection between the wake-up system chip and a cloud server. The method of the invention comprises the following steps: the system chip sends a dormancy notice to the network access equipment and enters a dormancy state; after receiving the dormancy notification, the network access equipment establishes a first long connection with a cloud server based on a first preset communication protocol; after receiving a wake-up message issued by the cloud server through the first long connection, the network access device wakes up the system chip; and the system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection. The method is suitable for the process of establishing long connection between the system chip and the cloud server.

Description

Method and system for waking up system chip
Technical Field
The invention relates to the technical field of automobile communication, in particular to a method and a system for waking up a system chip.
Background
In order to ensure that the vehicle control instruction issued by the cloud server can be received in time, a system chip in the vehicle-mounted central control system needs to establish long connection with the cloud server and maintain the long connection; however, the system chip is always in the wake-up state, which increases the power consumption of the in-vehicle central control system. Therefore, it is important to reduce the power consumption of the vehicle-mounted central control system on the basis of ensuring that the cloud server can timely issue the vehicle control instruction to the system chip.
At present, a long connection between a system chip and a server is usually disconnected, the system chip is in a dormant state, and network access equipment is in an awake state; when the cloud server needs to issue a vehicle control instruction, the cloud server sends a wake-up short message to the network access equipment, the network access equipment wakes up the system chip after receiving the wake-up short message, a long connection is established between the system chip and the cloud server, and the cloud server issues the vehicle control instruction to the system chip through the long connection between the cloud server and the system chip. However, since it takes longer to send the wake-up short message from the cloud server to the network access device to establish a long connection between the system chip and the cloud server, the efficiency of the method for waking up the system chip and establishing a long connection between the cloud server by sending the wake-up short message to the network access device is low.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for waking up a system chip, which are mainly aimed at improving the efficiency of building a long connection between the wake-up system chip and a cloud server.
In order to achieve the above purpose, the present invention mainly provides the following technical solutions:
in a first aspect, the present invention provides a method for waking up a system chip, the method comprising:
the system chip sends a dormancy notice to the network access equipment and enters a dormancy state;
after receiving the dormancy notification, the network access equipment establishes a first long connection with a cloud server based on a first preset communication protocol;
after receiving a wake-up message issued by the cloud server through the first long connection, the network access device wakes up the system chip;
and the system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection.
Optionally, the network access device establishes a first long connection with the cloud server based on a first preset communication protocol, including:
the network access equipment sends an establishment message to the cloud server based on the first preset communication protocol;
After receiving the confirmation message fed back by the cloud server, the network access device establishes the first long connection with the cloud server.
Optionally, after the network access device establishes a first long connection with the cloud server based on a first preset communication protocol, the method further includes:
the network access equipment sends a first heartbeat message to the cloud server through the first long connection according to a first preset time interval;
and the network access equipment receives a second heartbeat message fed back by the cloud server through the first long connection so as to maintain the first long connection.
Optionally, before the network access device wakes up the system chip, the method further includes:
the network access equipment sends a wakeup confirmation message to the cloud server through the first long connection;
the network access device disconnects the first long connection.
Optionally, the method further comprises:
when the system chip is in an awake state and data to be uploaded exist, the system chip establishes a second long connection with the cloud server based on the second preset communication protocol;
and the system chip uploads the data to be uploaded to the cloud server through the second long connection.
Optionally, the method further comprises:
the system chip sends a third heartbeat message to the cloud server through the second long connection according to a second preset time interval;
and the system chip receives a fourth heartbeat message fed back by the cloud server through the second long connection so as to maintain the second long connection.
Optionally, the first preset communication protocol is: a communication protocol for providing communication support for the cloud server and the network access equipment; the second preset communication protocol is: message queue telemetry transport protocol.
In a second aspect, the present invention also provides a system for waking up a system chip, the system comprising: a system chip and a network access device;
the system chip is used for sending a dormancy notification to the network access equipment and entering a dormancy state;
the network access equipment is used for establishing a first long connection with the cloud server based on a first preset communication protocol after receiving the dormancy notification; after receiving a wake-up message issued by the cloud server through the first long connection, waking up the system chip;
the system chip is further configured to establish a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection.
Optionally, the network access device is specifically configured to send an establishment packet to the cloud server based on the first preset communication protocol; and after receiving the confirmation message fed back by the cloud server, establishing the first long connection with the cloud server.
Optionally, the network access device is further configured to send a first heartbeat message to the cloud server through the first long connection according to a first preset time interval after the first long connection is established with the cloud server based on a first preset communication protocol; and receiving a second heartbeat message fed back by the cloud server through the first long connection so as to maintain the first long connection.
Optionally, the network access device is further configured to send a wake-up acknowledgement packet to the cloud server through the first long connection before waking up the system chip; disconnecting the first long connection.
Optionally, the system chip is further configured to establish a second long connection with the cloud server based on the second preset communication protocol when the system chip is in an awake state and there is data to be uploaded; and uploading the data to be uploaded to the cloud server through the second long connection.
Optionally, the system chip is further configured to send a third heartbeat packet to the cloud server through the second long connection according to a second preset time interval; and receiving a fourth heartbeat message fed back by the cloud server through the second long connection so as to maintain the second long connection.
Optionally, the first preset communication protocol is: a communication protocol for providing communication support for the cloud server and the network access equipment; the second preset communication protocol is: message queue telemetry transport protocol.
In a third aspect, an embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, where the program, when executed, controls a device where the storage medium is located to execute the method for waking up a system chip according to the first aspect.
In a fourth aspect, embodiments of the present invention provide an apparatus for waking up a system chip, the apparatus including a storage medium; and one or more processors coupled to the storage medium, the processors configured to execute the program instructions stored in the storage medium; the program instructions, when executed, perform the method of waking up a system chip as described in the first aspect.
By means of the technical scheme, the technical scheme provided by the invention has at least the following advantages:
compared with the prior art that the efficiency of a mode that a cloud server wakes up a system chip and a cloud server to establish long connection by sending a wake-up short message to network access equipment is low, the method and the system for waking up the system chip send a sleep notification to the network access equipment by the system chip when reaching a preset sleep time or receiving a sleep instruction, and enter a sleep state; after receiving the dormancy notification sent by the system chip, the network access equipment establishes a first long connection with the cloud server based on a first preset communication protocol, and wakes up the system chip after receiving a wake-up message sent by the cloud server through the first long connection; after the system chip enters the wake-up state, a second long connection is established with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection. Because the network access device can establish long connection with the cloud server after the system chip enters the dormant state, when the cloud server needs to send a vehicle control instruction to the system chip, the cloud server can send a wake-up message to the network access device through the long connection with the network access device at the first time so as to wake up the system chip and establish the long connection with the cloud server, and therefore the efficiency of waking up the system chip and establishing the long connection with the cloud server can be effectively improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a flow chart of a method for waking up a system chip according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for waking up a system chip according to an embodiment of the present invention;
fig. 3 shows a block diagram of a system for waking up a system chip according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The embodiment of the invention provides a method for waking up a system chip, as shown in fig. 1, the method comprises the following steps:
101. the system chip sends a sleep notification to the network access device and enters a sleep state.
In the embodiment of the present invention, when a preset sleep time is reached or a sleep instruction is received, a System on Chip (SoC) sends a sleep notification to a network access device (NAD, network Access Device) and enters a sleep state. Specifically, in this step, the system chip may send the sleep notification to the network access device through its own virtual network card, but is not limited thereto.
It should be noted that, in the practical application process, when a long connection is established between the system chip and the cloud server, the long connection between the system chip and the cloud server needs to be disconnected before the system chip enters the sleep state.
102. After receiving the dormancy notification, the network access device establishes a first long connection with the cloud server based on a first preset communication protocol.
The first preset communication protocol is a communication protocol written based on a transmission control protocol (TCP, transmission Control Protocol) and a secure transport layer protocol (TLS, transport Layer Security), and belongs to an application layer protocol, and specifically the first preset communication protocol is: the method comprises the steps that a communication protocol supporting communication is provided for a cloud server and network access equipment, and the network access equipment can establish and maintain long connection with the cloud server based on a first preset communication protocol; the message written by the network access device and the cloud server based on the first preset communication protocol comprises a fixed header and a variable header, the fixed header of the message comprises five bytes, the first two bytes are used for determining whether the message is a message written based on the first preset communication protocol, the third byte is used for indicating the type of the message, and the fourth byte and the fifth byte are used for indicating the length of the variable header of the message.
In the embodiment of the present invention, after receiving the sleep notification sent by the system chip, the network access device establishes a long connection (i.e., a first long connection) with the cloud server based on a first preset communication protocol.
103. After receiving the wake-up message issued by the cloud server through the first long connection, the network access device wakes up the system chip.
The wake-up message is written by the cloud server based on a first preset communication protocol.
In the embodiment of the invention, when the cloud server needs to send a vehicle control instruction to the system chip, the cloud server writes a wake-up message based on a first preset communication protocol and sends the wake-up message to the network access equipment through a first long connection with the network access equipment; after the network access device receives the wake-up message issued by the cloud server through the first long connection, the network access device can wake up the system chip, so that the system chip enters a wake-up state from a dormant state.
Specifically, in this step, the network access device may wake up the system chip by sending a wake-up notification to the system chip through its own virtual network card, but is not limited thereto.
Furthermore, in the embodiment of the present invention, when writing a wake-up message based on the first preset communication protocol, the cloud server may further add a wake-up request identifier code to a variable header of the wake-up message; after receiving the wake-up message, the network access device also needs to record the wake-up request identification code contained in the wake-up message into the local log so as to inquire the wake-up record later.
104. The system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection.
The second preset communication protocol specifically comprises the following steps: message queue telemetry transport protocol (MQTT, message Queuing Telemetry Transport), the second long connection is specifically: MQTT long connection.
In the embodiment of the invention, after the system chip is awakened by the network access device, a long connection (namely, a second long connection) can be established between the system chip and the cloud server based on a second preset communication protocol, and at the moment, the cloud server can issue the vehicle control instruction to the system chip through the second long connection between the cloud server and the system chip.
Specifically, in this step, the system chip may establish the second long connection with the cloud server through a preset program, where the preset program is specifically, but not limited to, an IOT-Service program.
Compared with the prior art that the efficiency of a mode that a cloud server wakes up a system chip and a cloud server to establish long connection by sending a wake-up short message to a network access device is low, the embodiment of the invention sends a sleep notification to the network access device by the system chip when reaching a preset sleep time or receiving a sleep instruction, and enters a sleep state; after receiving the dormancy notification sent by the system chip, the network access equipment establishes a first long connection with the cloud server based on a first preset communication protocol, and wakes up the system chip after receiving a wake-up message sent by the cloud server through the first long connection; after the system chip enters the wake-up state, a second long connection is established with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection. Because the network access device can establish long connection with the cloud server after the system chip enters the dormant state, when the cloud server needs to send a vehicle control instruction to the system chip, the cloud server can send a wake-up message to the network access device through the long connection with the network access device at the first time so as to wake up the system chip and establish the long connection with the cloud server, and therefore the efficiency of waking up the system chip and establishing the long connection with the cloud server can be effectively improved.
For more detailed description, the embodiment of the present invention provides another method for waking up a system chip, specifically as shown in fig. 2, the method includes:
201. the system chip sends a sleep notification to the network access device and enters a sleep state.
In step 201, the system chip sends a sleep notification to the network access device, and enters a sleep state, and reference may be made to the description of the corresponding portion in fig. 1, which will not be repeated here in the embodiment of the present invention.
202. After receiving the dormancy notification, the network access device establishes a first long connection with the cloud server based on a first preset communication protocol.
In the embodiment of the invention, after receiving the sleep notification sent by the system chip, the network access device establishes a first long connection with the cloud server based on a first preset communication protocol. The following will describe how the network access device establishes a first long connection with the cloud server based on a first preset communication protocol.
(1) And the network access equipment sends an establishment message to the cloud server based on the first preset communication protocol.
The message is built for the network access equipment based on a first preset communication protocol.
In the embodiment of the invention, after receiving the dormancy notification sent by the system chip, the network access device firstly needs to write the establishment message based on the first preset communication protocol, and then sends the written establishment message to the cloud server.
Further, in the embodiment of the present invention, when the network access device writes the setup message based on the first preset communication protocol, it is further required to use the preset signing key to sign the identification code corresponding to the vehicle to which the network access device belongs, so as to generate a digital signature, and add the generated digital signature to the variable header of the setup message, so that the cloud server verifies the identity of the network access device based on the digital signature included in the setup message, thereby determining whether to establish a long connection with the network access device, where the identification code corresponding to the vehicle to which the network access device belongs may be, but is not limited to: VIN code (Vehicle Identification Number, vehicle identification code) or engine code corresponding to the vehicle to which the network access device belongs.
(2) After receiving the confirmation message fed back by the cloud server, the network access equipment establishes a first long connection with the cloud server.
The confirmation message is written by the cloud server based on a first preset communication protocol.
In the embodiment of the invention, after receiving the establishment message sent by the network access device, the cloud server composes the confirmation message based on the first preset communication protocol, and feeds back the composed confirmation message to the network access device, and after receiving the confirmation message fed back by the cloud server, the network access device can successfully establish long connection (i.e. first long connection) with the cloud server.
Further, in the embodiment of the present invention, when the digital signature is included in the setup message sent by the network access device to the cloud server, the cloud server needs to verify the identity of the network access device based on the digital signature after receiving the setup message sent by the network access device: decrypting the digital signature by using a preset signing key to obtain an identification code corresponding to the vehicle to which the network access equipment belongs, judging whether the identification code corresponding to the vehicle to which the network access equipment belongs is in a white list, if so, judging that verification is successful, and at the moment, the cloud server needs to write a confirmation message based on a first preset communication protocol and feeds back the written confirmation message to the network access equipment; if the network access equipment is not in the network access equipment, judging that verification fails, and at the moment, the cloud server needs to send error reporting information to the network access equipment.
Further, in the embodiment of the present invention, after the network access device establishes the first long connection with the cloud server based on the first preset communication protocol, the network access device further needs to write a heartbeat message (i.e., a first heartbeat message) based on the first preset communication protocol according to a preset time interval (i.e., a first preset time interval), and send the first heartbeat message to the cloud server through the first long connection; after receiving a first heartbeat message sent by the network access device through the first long connection, the cloud server needs to write the heartbeat message (namely, a second heartbeat message) based on a first preset communication protocol, and sends the second heartbeat message to the network access device through the first long connection, so that the first long connection is maintained.
203. After receiving the wake-up message issued by the cloud server through the first long connection, the network access device sends a wake-up confirmation message to the cloud server through the first long connection, and disconnects the first long connection.
The wake-up confirmation message is written by the network access equipment based on the first preset communication protocol.
In the embodiment of the invention, when the cloud server needs to send a vehicle control instruction to the system chip, the cloud server writes a wake-up message based on a first preset communication protocol and sends the wake-up message to the network access equipment through a first long connection with the network access equipment; after the network access device receives the wake-up message issued by the cloud server through the first long connection, the network access device composes a wake-up confirmation message based on a first preset communication protocol, and sends the wake-up confirmation message to the cloud server through the first long connection so as to inform the cloud server that the system chip is about to be awakened up, and the first long connection with the cloud server is disconnected.
Further, in the embodiment of the present invention, when the wake-up request identifier is included in the wake-up message sent by the cloud server to the network access device, when the network access device composes the wake-up confirmation message based on the first preset communication protocol, the wake-up request identifier needs to be added to the variable header of the wake-up confirmation message, so that the cloud server determines that the wake-up confirmation message fed back by the network access device corresponds to the wake-up message sent by the cloud server.
204. The network access device wakes up the system chip.
In the embodiment of the invention, the network access device sends the awakening confirmation message to the cloud server through the first long connection, and after the first long connection with the cloud server is disconnected, the system chip can be awakened, so that the system chip enters the awakening state from the dormant state.
205. The system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection.
Regarding step 205, the system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection, and description of the corresponding portion of fig. 1 may be referred to, which will not be repeated herein in the embodiment of the present invention.
Further, in the embodiment of the present invention, after the cloud server issues the vehicle control instruction to the system chip through the second long connection, the system chip may directly disconnect the second long connection; the second long connection can also be maintained, so that the cloud server can prevent the need of issuing the vehicle control instruction to the system chip again in a short time. Specifically, the system chip and the cloud server may maintain the second long connection by: the system chip writes a heartbeat message (namely a third heartbeat message) based on a second preset communication protocol according to a preset time interval (namely a second preset time interval), and sends the third heartbeat message to the cloud server through a second long connection; after receiving the third heartbeat message sent by the system chip through the second long connection, the cloud server needs to write the heartbeat message (namely, the fourth heartbeat message) based on a second preset communication protocol, and sends the fourth heartbeat message to the system chip through the second long connection, so that the second long connection is maintained.
Further, in the embodiment of the present invention, when the system chip is in the awake state and there is data to be uploaded, the system chip needs to establish a long connection (i.e., a second long connection) with the cloud server based on a second preset communication protocol, and upload the data to be uploaded to the cloud server through the second long connection. Specifically, in this step, the system chip may establish the second long connection with the cloud server through a preset program, where the preset program is specifically, but not limited to, an IOT-Service program.
Further, as an implementation of the method shown in fig. 1 and fig. 2, another embodiment of the present invention further provides a system for waking up a system chip. The system embodiment corresponds to the foregoing method embodiment, and for convenience of reading, details of the foregoing method embodiment are not described one by one in the present system embodiment, but it should be clear that the system in the present embodiment can correspondingly implement all the details of the foregoing method embodiment. The system is applied to improving the efficiency of establishing long connection between the wake-up system chip and the cloud server, and specifically as shown in fig. 3, the system comprises: a system chip 31 and a network access device 32;
a system chip 31 for sending a sleep notification to the network access device 32 and entering a sleep state;
The network access device 32 is configured to establish a first long connection with the cloud server based on a first preset communication protocol after receiving the sleep notification; after receiving the wake-up message issued by the cloud server through the first long connection, waking up the system chip 31;
the system chip 31 is further configured to establish a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip 31 through the second long connection.
Further, the network access device 32 is specifically configured to send an establishment message to the cloud server based on the first preset communication protocol; and after receiving the confirmation message fed back by the cloud server, establishing the first long connection with the cloud server.
Further, the network access device 32 is further configured to send a first heartbeat message to the cloud server through the first long connection at a first preset time interval after establishing the first long connection with the cloud server based on a first preset communication protocol; and receiving a second heartbeat message fed back by the cloud server through the first long connection so as to maintain the first long connection.
Further, the network access device 32 is further configured to send a wake-up confirmation message to the cloud server through the first long connection before waking up the system chip 31; disconnecting the first long connection.
Further, the system chip 31 is further configured to establish a second long connection with the cloud server based on the second preset communication protocol when the system chip is in an awake state and there is data to be uploaded; and uploading the data to be uploaded to the cloud server through the second long connection.
Further, the system chip 31 is further configured to send a third heartbeat message to the cloud server through the second long connection according to a second preset time interval; and receiving a fourth heartbeat message fed back by the cloud server through the second long connection so as to maintain the second long connection.
Further, the first preset communication protocol is: a communication protocol that provides communication support for the cloud server and the network access device 32; the second preset communication protocol is: message queue telemetry transport protocol (MQTT, message Queuing Telemetry Transport).
Compared with the prior art that the efficiency of a mode that a cloud server wakes up a system chip and a cloud server to establish long connection by sending a wake-up short message to network access equipment is low, the embodiment of the invention sends a sleep notification to the network access equipment by the system chip when reaching preset sleep time or receiving a sleep instruction, and enters a sleep state; after receiving the dormancy notification sent by the system chip, the network access equipment establishes a first long connection with the cloud server based on a first preset communication protocol, and wakes up the system chip after receiving a wake-up message sent by the cloud server through the first long connection; after the system chip enters the wake-up state, a second long connection is established with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection. Because the network access device can establish long connection with the cloud server after the system chip enters the dormant state, when the cloud server needs to send a vehicle control instruction to the system chip, the cloud server can send a wake-up message to the network access device through the long connection with the network access device at the first time so as to wake up the system chip and establish the long connection with the cloud server, and therefore the efficiency of waking up the system chip and establishing the long connection with the cloud server can be effectively improved.
The embodiment of the invention provides a storage medium which comprises a stored program, wherein when the program runs, equipment where the storage medium is located is controlled to execute the method for waking up the system chip.
The storage medium may include volatile memory, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention also provides a device for waking up the system chip, which comprises a storage medium; and one or more processors coupled to the storage medium, the processors configured to execute the program instructions stored in the storage medium; and executing the method for waking up the system chip when the program instructions run.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program:
the system chip sends a dormancy notice to the network access equipment and enters a dormancy state;
After receiving the dormancy notification, the network access equipment establishes a first long connection with a cloud server based on a first preset communication protocol;
after receiving a wake-up message issued by the cloud server through the first long connection, the network access device wakes up the system chip;
and the system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection.
Further, the network access device establishes a first long connection with the cloud server based on a first preset communication protocol, including:
the network access equipment sends an establishment message to the cloud server based on the first preset communication protocol;
after receiving the confirmation message fed back by the cloud server, the network access device establishes the first long connection with the cloud server.
Further, after the network access device establishes a first long connection with the cloud server based on a first preset communication protocol, the method further includes:
the network access equipment sends a first heartbeat message to the cloud server through the first long connection according to a first preset time interval;
And the network access equipment receives a second heartbeat message fed back by the cloud server through the first long connection so as to maintain the first long connection.
Further, before the network access device wakes up the system chip, the method further includes:
the network access equipment sends a wakeup confirmation message to the cloud server through the first long connection;
the network access device disconnects the first long connection.
Further, the method further comprises:
when the system chip is in an awake state and data to be uploaded exist, the system chip establishes a second long connection with the cloud server based on the second preset communication protocol;
and the system chip uploads the data to be uploaded to the cloud server through the second long connection.
Further, the method further comprises:
the system chip sends a third heartbeat message to the cloud server through the second long connection according to a second preset time interval;
and the system chip receives a fourth heartbeat message fed back by the cloud server through the second long connection so as to maintain the second long connection.
Further, the first preset communication protocol is: a communication protocol for providing communication support for the cloud server and the network access equipment; the second preset communication protocol is: message queue telemetry transport protocol (MQTT, message Queuing Telemetry Transport).
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program code initialized with the method steps of: the system chip sends a dormancy notice to the network access equipment and enters a dormancy state; after receiving the dormancy notification, the network access equipment establishes a first long connection with a cloud server based on a first preset communication protocol; after receiving a wake-up message issued by the cloud server through the first long connection, the network access device wakes up the system chip; and the system chip establishes a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues the vehicle control instruction to the system chip through the second long connection.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may 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. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (16)

1. A method of waking up a system chip, comprising:
the system chip sends a dormancy notice to the network access equipment and enters a dormancy state;
after receiving the dormancy notification, the network access equipment establishes a first long connection with a cloud server based on a first preset communication protocol, wherein the first preset communication protocol is a communication protocol written based on a transmission control protocol and a secure transmission layer protocol;
after receiving a wake-up message issued by the cloud server through the first long connection, the network access device wakes up the system chip;
the system chip establishes a second long connection with the cloud server based on a second preset communication protocol so that the cloud server can send the vehicle control instruction to the system chip through the second long connection, wherein the second preset communication protocol specifically comprises the following steps: message queue telemetry transport protocol.
2. The method of claim 1, wherein the network access device establishes a first long connection with a cloud server based on a first preset communication protocol, comprising:
the network access equipment sends an establishment message to the cloud server based on the first preset communication protocol;
After receiving the confirmation message fed back by the cloud server, the network access device establishes the first long connection with the cloud server.
3. The method of claim 1, wherein after the network access device establishes a first long connection with a cloud server based on a first preset communication protocol, the method further comprises:
the network access equipment sends a first heartbeat message to the cloud server through the first long connection according to a first preset time interval;
and the network access equipment receives a second heartbeat message fed back by the cloud server through the first long connection so as to maintain the first long connection.
4. The method of claim 1, wherein prior to the network access device waking up the system chip, the method further comprises:
the network access equipment sends a wakeup confirmation message to the cloud server through the first long connection;
the network access device disconnects the first long connection.
5. The method according to claim 1, wherein the method further comprises:
when the system chip is in an awake state and data to be uploaded exist, the system chip establishes a second long connection with the cloud server based on the second preset communication protocol;
And the system chip uploads the data to be uploaded to the cloud server through the second long connection.
6. The method according to claim 1, wherein the method further comprises:
the system chip sends a third heartbeat message to the cloud server through the second long connection according to a second preset time interval;
and the system chip receives a fourth heartbeat message fed back by the cloud server through the second long connection so as to maintain the second long connection.
7. The method according to any one of claims 1-6, wherein the first preset communication protocol is: a communication protocol for providing communication support for the cloud server and the network access equipment; the second preset communication protocol is: message queue telemetry transport protocol.
8. A system for waking up a system chip, the system comprising: a system chip and a network access device;
the system chip is used for sending a dormancy notification to the network access equipment and entering a dormancy state;
the network access device is configured to establish a first long connection with the cloud server based on a first preset communication protocol after receiving the sleep notification, where the first preset communication protocol is a communication protocol written based on a transmission control protocol and a secure transport layer protocol; after receiving a wake-up message issued by the cloud server through the first long connection, waking up the system chip;
The system chip is further configured to establish a second long connection with the cloud server based on a second preset communication protocol, so that the cloud server issues a vehicle control instruction to the system chip through the second long connection, where the second preset communication protocol specifically is: message queue telemetry transport protocol.
9. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
the network access device is specifically configured to send an establishment message to the cloud server based on the first preset communication protocol; and after receiving the confirmation message fed back by the cloud server, establishing the first long connection with the cloud server.
10. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
the network access device is further configured to send a first heartbeat message to the cloud server through the first long connection according to a first preset time interval after establishing the first long connection with the cloud server based on a first preset communication protocol; and receiving a second heartbeat message fed back by the cloud server through the first long connection so as to maintain the first long connection.
11. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
The network access device is further configured to send a wake-up confirmation message to the cloud server through the first long connection before waking up the system chip; disconnecting the first long connection.
12. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
the system chip is further used for establishing a second long connection with the cloud server based on the second preset communication protocol when the system chip is in an awake state and data to be uploaded exist; and uploading the data to be uploaded to the cloud server through the second long connection.
13. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
the system chip is further configured to send a third heartbeat message to the cloud server through the second long connection according to a second preset time interval; and receiving a fourth heartbeat message fed back by the cloud server through the second long connection so as to maintain the second long connection.
14. The system according to any one of claims 8-13, wherein the first preset communication protocol is: a communication protocol for providing communication support for the cloud server and the network access equipment; the second preset communication protocol is: message queue telemetry transport protocol.
15. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the method of waking up a system chip according to any one of claims 1 to 7.
16. An apparatus for waking up a system chip, the apparatus comprising a storage medium; and one or more processors coupled to the storage medium, the processors configured to execute the program instructions stored in the storage medium; the program instructions, when executed, perform the method of waking up a system chip as claimed in any one of claims 1 to 7.
CN202010440947.XA 2020-05-22 2020-05-22 Method and system for waking up system chip Active CN113709202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010440947.XA CN113709202B (en) 2020-05-22 2020-05-22 Method and system for waking up system chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010440947.XA CN113709202B (en) 2020-05-22 2020-05-22 Method and system for waking up system chip

Publications (2)

Publication Number Publication Date
CN113709202A CN113709202A (en) 2021-11-26
CN113709202B true CN113709202B (en) 2023-09-19

Family

ID=78646196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010440947.XA Active CN113709202B (en) 2020-05-22 2020-05-22 Method and system for waking up system chip

Country Status (1)

Country Link
CN (1) CN113709202B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378989B (en) * 2022-08-10 2023-08-15 深圳华芯信息技术股份有限公司 MQTT theme subscription system, method, terminal and medium based on wake-up channel

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209302A (en) * 2011-07-07 2011-10-05 深圳市金立通信设备有限公司 System and method for realizing information push of mobile terminal
CN104486291A (en) * 2014-11-24 2015-04-01 北京奇虎科技有限公司 Method, device and system for building connection
CN106941713A (en) * 2017-05-16 2017-07-11 努比亚技术有限公司 It is a kind of to reduce the method and its device of mobile terminal power consumption
CN106973092A (en) * 2017-03-22 2017-07-21 广州汽车集团股份有限公司 The system and method that mobile communications network is provided in the car
CN107277130A (en) * 2017-06-15 2017-10-20 成都优芯微电子技术有限公司 It is a kind of to be used for the live-action map data-acquisition system and method for intelligent outdoor scene Spinning
CN107465720A (en) * 2017-06-23 2017-12-12 杭州云乐车辆技术有限公司 It is a kind of based on wireless automobile mounted NMS and its power-economizing method
CN109413762A (en) * 2018-10-19 2019-03-01 北京经纬恒润科技有限公司 A kind of awakening method and device of vehicle-mounted Tbox
CN109606338A (en) * 2018-12-05 2019-04-12 武汉科德斯汽车电子股份有限公司 A kind of electronic brake system and the method for waking up the system under suspend mode
CN110891328A (en) * 2018-09-07 2020-03-17 华为技术有限公司 Method and mobile device for aligning wake-up

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9710045B2 (en) * 2015-10-14 2017-07-18 Quanta Computer Inc. Managing network wake-up commands

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209302A (en) * 2011-07-07 2011-10-05 深圳市金立通信设备有限公司 System and method for realizing information push of mobile terminal
CN104486291A (en) * 2014-11-24 2015-04-01 北京奇虎科技有限公司 Method, device and system for building connection
CN106973092A (en) * 2017-03-22 2017-07-21 广州汽车集团股份有限公司 The system and method that mobile communications network is provided in the car
CN106941713A (en) * 2017-05-16 2017-07-11 努比亚技术有限公司 It is a kind of to reduce the method and its device of mobile terminal power consumption
CN107277130A (en) * 2017-06-15 2017-10-20 成都优芯微电子技术有限公司 It is a kind of to be used for the live-action map data-acquisition system and method for intelligent outdoor scene Spinning
CN107465720A (en) * 2017-06-23 2017-12-12 杭州云乐车辆技术有限公司 It is a kind of based on wireless automobile mounted NMS and its power-economizing method
CN110891328A (en) * 2018-09-07 2020-03-17 华为技术有限公司 Method and mobile device for aligning wake-up
CN109413762A (en) * 2018-10-19 2019-03-01 北京经纬恒润科技有限公司 A kind of awakening method and device of vehicle-mounted Tbox
CN109606338A (en) * 2018-12-05 2019-04-12 武汉科德斯汽车电子股份有限公司 A kind of electronic brake system and the method for waking up the system under suspend mode

Also Published As

Publication number Publication date
CN113709202A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN108833122B (en) Wake-up method and device for vehicle-mounted communication controller and storage medium
WO2021082301A1 (en) Sleep and wakeup method for in-vehicle hybrid network comprising in-vehicle ethernet
CN113253648B (en) Vehicle and network management method thereof, domain controller, storage medium, and electronic device
US7787403B2 (en) Apparatus and method for adjusting a duty cycle to save power in a computing system
CN110493223A (en) A kind of TBOX method for managing power supply based on long-range vehicle control
KR101934348B1 (en) Method and device for processing real-time vehicle traveling data
TW201025917A (en) Method and apparatus of awaking a communication device
CN114442788A (en) Low power consumption system of chip, low power consumption management method, control device and storage medium
CN106603711B (en) Communication method, system and message server
CN109309948B (en) Communication method and device of wireless local area network, station equipment and access point equipment
CN107659414B (en) Remote awakening system and method based on P2P
CN113709202B (en) Method and system for waking up system chip
CN111490918B (en) Vehicle-mounted Ethernet network awakening system, method and device and computer equipment
US10945207B2 (en) Beacon signal processing system and filtering method of reducing wake-up frequency
CN116853152A (en) Timing management system and timing management method for electric automobile
CN112540798A (en) Awakening method, device and system for vehicle operating system
CN110944064B (en) Remote access control system, method, device and medium for embedded network
WO2013139263A1 (en) Information transmission method and system, and device with sleeping function
CN114143864B (en) Communication method and device
US20190208469A1 (en) Beacon signal processing system
WO2023020357A1 (en) Method for communication between terminal device and terminal device, and terminal device
CN111597092B (en) Synchronous transmission method and device of nonvolatile storage file and embedded equipment
CN117793142A (en) Remote power-on and power-off method and device for vehicle, computer equipment and storage medium
US20220141768A1 (en) Method and a system for managing a sleep-mode of an electronic device
CN115412877A (en) Vehicle TBOX (tunnel boring machine), and image information transmission method and device

Legal Events

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