Platform power management method and system based on built-in vehicle-mounted terminal
By implementing a platform-based power management method on the vehicle terminal and adjusting the power management status according to the vehicle body power signal status, the problem of T-box being unable to communicate quickly in the sleep-up scenario is solved, and the synchronization of the vehicle body, T-box and server is achieved and the user experience with accurate and low latency is achieved.
Patent Information
- Application Number
- CN202411759682.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-07
AI Technical Summary
The existing T-box technology is not compatible with the sleep-up scenario, which makes it difficult for T-box and the mobile phone to communicate effectively and quickly in this scenario, and the system needs to be redesigned to ensure fast communication.
Provide a platform-based power management method and system based on built-in vehicle terminals. Through power management services, the power management status is adjusted according to the power signal status of the vehicle body to ensure that the vehicle body, T-box and server are consistent, thereby processing SMS or network communication data and achieving an accurate and low-latency user experience.
In the sleep-up scenario, the power management method allows the on-board terminal to maintain synchronization with the vehicle body and the server under different power states, achieving fast communication and accurate user experience.
Smart Images

Figure CN119584260A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle-mounted terminal technology, and in particular to a platform-based power management method and system based on a built-in vehicle-mounted terminal. Background Art
[0002] At present, mobile Internet has become very popular. Various APPs allow mobile phones to have more functions. The functions of onboard cars are increasing. Many car manufacturers have launched the function of controlling vehicles through mobile phones. T-box (Telematics Box, the intelligent terminal of the Internet of Vehicles system) is a communication technology that is currently used more frequently. For example, using mobile phones to control vehicles ensures that the vehicle body status can be displayed on the mobile phone in real time and accurately. Most of the existing T-boxes communicate with vehicles based on the TCP protocol. Some use mature communication frameworks such as MQTT or Socket and other communication technologies to perform different business functions through communication data interaction, thereby meeting the use needs of vehicle-mounted software.
[0003] Since most vehicles currently do not have the sleep-fast start function, after the vehicle is used, the on-board terminal automatically shuts down after the screen is off for a few minutes, and restarts when the vehicle is used again, which affects the startup speed. Now more and more high-end vehicles use sleep-fast start technology, which uses extremely low power consumption when the vehicle is not in use, and quickly enters the operation interface when the vehicle is used again, without restarting. However, most T-box technologies are not compatible with the sleep-fast start scenario, and cannot cope with the effective and fast communication between the T-box and the mobile phone in this scenario. The system needs to be redesigned to ensure that the T-box can communicate quickly with the mobile phone in the sleep-fast start scenario. Summary of the invention
[0004] In order to overcome the deficiencies in the prior art, the present application provides a platform-based power management method and system based on a built-in vehicle-mounted terminal, which can keep the vehicle body, T-box and server consistent according to the power status, thereby processing text messages or network communication data according to different power status, and achieving accurate and low-latency user experience.
[0005] In a first aspect, the present application provides a platform-based power management method based on a built-in vehicle terminal, the vehicle terminal includes a data communication center, a service management center and a power management service, and the method includes the following steps:
[0006] When the power signal of the vehicle body is in a normal state, the power management state of the vehicle terminal is set to a normal state, and the data communication center reports to the server to perform network communication;
[0007] When the power signal of the vehicle body is in the screen-off state, the countdown task is performed according to the set first time based on the power management service; wherein, if during the countdown to zero, the power signal of the vehicle body is received to change from the screen-off state to the screen-on state, the countdown task is cleared; if during the countdown to zero, the power signal of the vehicle body is not received to change from the screen-off state to the screen-on state, the power management state of the vehicle terminal is set to the silent state, and the network connection with the server is disconnected;
[0008] When the power management state of the vehicle terminal is in silent state, when the vehicle machine SMS service is received based on the service management center, the power management state of the vehicle terminal is set to normal state, and the data communication center reports to the service end, performs network communication, and executes the vehicle machine SMS service and the countdown task;
[0009] When the power signal of the vehicle body and the power management status of the vehicle terminal are both in sleep mode, and based on the service management center receiving the vehicle-machine SMS service, the vehicle is awakened, the power signal of the vehicle body is turned to silent mode, and the power management status of the vehicle-machine terminal is set to normal mode, and the data communication center reports to the service end to conduct network communication, and executes the vehicle-machine SMS service and the countdown task.
[0010] In a possible implementation, the vehicle-mounted terminal also includes a vehicle data bus and a task module, wherein the vehicle data bus is used to communicate with the vehicle to receive and send vehicle data, including receiving power signals from the vehicle body and sending vehicle wake-up signals; and the task module is used to execute services included in the service management center, including one or more of vehicle-machine SMS services, remote operation services, and vehicle safety services.
[0011] In a possible implementation, setting the power management state of the vehicle terminal to a normal state and reporting to the server based on the data communication center to perform network communication includes the following steps:
[0012] The data communication center communicates with the server end; if the connection fails, a retry is performed; if the connection is successful, the power management state of the vehicle terminal is reported to the server end as being set to a normal state, so that after the server end receives the power management state of the vehicle terminal being set to a normal state, it performs network communication with the data communication center in accordance with the agreed communication method;
[0013] In response to the vehicle control request sent by the server, the corresponding data is taken out from the data cache pool and sent to the server; if a confirmation character is received from the server, the corresponding data is cleared; if no confirmation character is received from the server, the data is resent according to the set interval mechanism.
[0014] In a possible implementation, setting the power management state of the vehicle terminal to a silent state and disconnecting the network connection from the server includes the following steps:
[0015] After the power management state of the vehicle terminal is set to silent state, a sleep message is sent to the data notification center;
[0016] After receiving the sleep information, the data notification center stops receiving the vehicle control request sent by the server, and starts sending the data in the data buffer pool. After the sending is completed, the network connection with the server is disconnected.
[0017] In a possible implementation, after the vehicle screen is turned off for a second period of time, the power signal of the vehicle body changes to a sleep state; when the second time is greater than the first time, and the power management state of the vehicle terminal is silent for the second time, it changes to a sleep state.
[0018] In a possible implementation, when the service management center receives the vehicle machine SMS service, the vehicle machine SMS service is first cached in the data cache pool; and after the vehicle machine SMS service is completed, the countdown task is executed.
[0019] In a possible implementation manner, the method further comprises the following steps:
[0020] Setting a data threshold based on the size of the data cache pool;
[0021] The amount of data in the data cache pool is obtained in real time; if the amount of data is greater than a set data threshold, data caching is stopped.
[0022] In a second aspect, the present application provides a platform-based power management system based on a built-in vehicle terminal, characterized in that it includes a vehicle terminal and a server, which are used to execute the steps of the platform-based power management method based on a built-in vehicle terminal as described in any one of the first aspects.
[0023] In a third aspect, the present application provides an electronic device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the platform-based power management method based on a built-in vehicle terminal as described in any one of the first aspects are performed.
[0024] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the platform-based power management method based on a built-in vehicle terminal as described in any one of the first aspects are executed.
[0025] The present embodiment provides a platform-based power management method and system based on a built-in vehicle-mounted terminal. When the power signal of the vehicle body is in a normal state, the power management state of the vehicle-mounted terminal is set to a normal state, and is reported to the server based on the data communication center to perform network communication; when the power signal of the vehicle body is in a screen-off state, a countdown task is performed according to the set first time based on the power management service; wherein, if during the countdown to zero, the power signal of the vehicle body is received to change from the screen-off state to the screen-on state, the countdown task is cleared; if during the countdown to zero, the power signal of the vehicle body is not received to change from the screen-off state to the screen-on state, the power management state of the vehicle-mounted terminal is set to a silent state, and the connection with the server is disconnected. Network connection; when the power management state of the vehicle terminal is in silent state, based on the service management center receiving the vehicle machine SMS service, the power management state of the vehicle terminal is set to normal state, and based on the data communication center, it is reported to the server, network communication is performed, and the vehicle machine SMS service and the countdown task are executed; when the power signal of the vehicle body and the power management state of the vehicle terminal are both in dormant state, and based on the service management center receiving the vehicle machine SMS service, the vehicle is awakened, the power signal of the vehicle body is turned to silent state, and the power management state of the vehicle terminal is set to normal state, and based on the data communication center, it is reported to the server, network communication is performed, and the vehicle machine SMS service and the countdown task are executed. In this way, the vehicle body, T-box and server are kept consistent according to the power state, so that the SMS or network communication data is processed according to different power states, and an accurate and low-latency user experience effect is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 A flow chart of a platform-based power management method based on a built-in vehicle terminal according to an embodiment of the present application is shown;
[0028] Figure 2 A schematic diagram of the connection structure between the vehicle-mounted terminal and the server according to an embodiment of the present application is shown;
[0029] Figure 3 A flowchart of setting the power management state of the vehicle terminal to a normal state and performing network communication based on reporting to the service end by the data communication center according to an embodiment of the present application is shown;
[0030] Figure 4 A structural block diagram of an electronic device described in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0032] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0033] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0034] In view of the technical problems raised by the background technology, the present application provides a platform-based power management method and system based on a built-in vehicle-mounted terminal, which can keep the vehicle body, T-box and server consistent according to the power status, thereby processing text messages or network communication data according to different power status, and achieving accurate and low-latency user experience.
[0035] In one embodiment, see the attached specification Figure 1 The present application provides a platform-based power management method based on a built-in vehicle terminal, wherein the vehicle terminal includes a data communication center, a service management center, and a power management service, and the method includes the following steps:
[0036] S1. When the power signal of the vehicle body is in a normal state, the power management state of the vehicle terminal is set to a normal state, and the data communication center reports to the server to perform network communication;
[0037] S2. When the power signal of the vehicle body is in the screen-off state, the countdown task is performed according to the set first time based on the power management service; wherein, if during the countdown to zero, the power signal of the vehicle body is received to change from the screen-off state to the screen-on state, the countdown task is cleared; if during the countdown to zero, the power signal of the vehicle body is not received to change from the screen-off state to the screen-on state, the power management state of the vehicle terminal is set to the silent state, and the network connection with the server is disconnected;
[0038] S3, when the power management state of the vehicle terminal is in silent state, based on the service management center receiving the vehicle machine SMS service, the power management state of the vehicle terminal is set to normal state, and based on the data communication center, it is reported to the service end, network communication is performed, and the vehicle machine SMS service and the countdown task are executed;
[0039] S4. When the power signal of the vehicle body and the power management status of the vehicle terminal are both in sleep mode, and based on the service management center receiving the vehicle-machine SMS service, the vehicle is awakened, the power signal of the vehicle body is turned to silent mode, and the power management status of the vehicle-machine terminal is set to normal mode. The data communication center reports to the service end, performs network communication, and executes the vehicle-machine SMS service and the countdown task.
[0040] In order to clearly understand the technical solution of the embodiment of the present application, the built-in vehicle terminal used in the present application can be described first. Figure 2 In addition to the data communication center, service management center, and power management service, the vehicle terminal also includes a vehicle data bus and a task module. Specifically, in this application, the data communication center is used for data communication interaction between the vehicle terminal and the external network, which is generally the network of major car manufacturers;
[0041] The service management center is a service management center for each business module with a built-in T-box, which is used to receive data from external communications. In one embodiment, the service management center contains multiple services. The definition of a service is a complete functional module. A system is composed of multiple services, such as SMS service, vehicle body communication service, remote operation service, vehicle safety service, etc. The services are uniformly managed by a ServiceManager. Each service has a service name, and the name of each service will not be repeated. At the same time, the service has a corresponding instance. The ServiceManager stores each service. The services can communicate with each other. By obtaining the service name through the ServiceManager, the instance of the service can be obtained. With the service instance, the function in the service can be called. The function of the service is responsible for the management of the task module and the business processing of the corresponding service. For example, the SMS service is responsible for receiving SMS during the vehicle's dormant stage. The vehicle has extremely low power consumption and does not have the ability to provide external communication. If the mobile phone sends a vehicle control command at this time, such as remote engine start, the command cannot reach the vehicle through the network, but sends data to the vehicle through the SMS function. The SMS service is responsible for parsing and distributing the SMS, and each service is responsible for processing the corresponding business;
[0042] The task module is a specific software function implementation module, which is a subdivision function of the service. The task module defines the task ServiceID of the service to which it belongs. Each ServiceID is pre-defined with the car manufacturer. Each task sends data containing the ServiceID. The car manufacturer server determines the specific task function based on the ServiceID. Similarly, the data sent by the server to the vehicle also contains the ServiceID. The vehicle terminal executes the corresponding function based on the ServiceID. The task module is the smallest functional execution unit;
[0043] The vehicle data bus directly communicates with the vehicle bus to receive and send vehicle data. Due to limited communication network reasons, if it takes a long time to obtain data from the vehicle each time, when there is a lot of interactive data, it is very easy for the system to be disconnected or blocked. Therefore, a monitoring mechanism is adopted in this application. First, PropertyID is defined. PropertyID represents a vehicle body signal provided by the vehicle service to T-box for use. When the signal value corresponding to PropertyID changes, the vehicle actively notifies T-box, and the T-box local service performs a cache Map processing to cache the value corresponding to each PropertyID. When it is needed, there is no need to go to the vehicle to obtain it. The corresponding signal value can be quickly obtained from the local cache, which greatly improves the efficiency of data acquisition.
[0044] The power management service is responsible for processing the T-box power management logic according to the power status of the vehicle body and reporting the power status to the service end, that is, executing the above steps S1 to S4.
[0045] In step S1, the vehicle is powered on for the first time, the program starts, and the power signal of the vehicle body is in the normal state. When the vehicle terminal receives the power signal of the vehicle body through the vehicle data bus, it sets the power management state of the vehicle terminal to the normal state, establishes a communication connection with the server, and reports to the server. Figure 3 The power management state of the vehicle terminal is set to a normal state, and the data communication center reports to the server to perform network communication, including the following steps:
[0046] S101, establishing a communication connection with a server based on a data communication center; wherein, if the connection fails, retrying is performed; if the connection is successful, reporting to the server that the power management state of the vehicle terminal is set to a normal state, so that after the server receives the power management state of the vehicle terminal being set to a normal state, it conducts network communication with the data communication center in accordance with the agreed communication method;
[0047] S102, responding to the vehicle control request sent by the server, taking out the corresponding data from the data cache pool and sending it to the server; wherein, if a confirmation character returned by the server is received, clearing the corresponding data; if no confirmation character returned by the server is received, resending according to the set interval mechanism.
[0048] In step S101, the data communication center establishes a communication connection in accordance with the communication method agreed upon with each vehicle manufacturer. Currently common communication methods include Socket, MQTT and other TCP-based communication methods. If the connection fails, the center will retry. Only after the connection is successful will the center report the power management status of the vehicle terminal to be set to normal. After receiving the power management status of the vehicle terminal set to normal, the server will subsequently control the vehicle through network communication.
[0049] In step S102, the data communication center is responsible for the data interaction between the vehicle terminal and the server. For the data processing, the data will be placed in the data buffer pool List first, and the data will be interacted with the server one by one from the data buffer pool List. If the data is sent successfully, the server will respond with an ACK (Acknowledgment, confirmation character). After receiving the ACK, the data communication center will clear the corresponding data; if the sending fails, it will be resent to the List and sent again after an interval of 5 seconds. For example, after receiving the data, the server will verify and process the data. If the data is received successfully and meets the requirements, the server will immediately respond with an ACK to the data communication center. After receiving the ACK, the data center of the data communication center determines the corresponding successfully sent data according to the information in the ACK. Then, the data is cleared from the data buffer pool List to release the storage space and prepare for subsequent data storage and processing; if the data communication center does not receive the ACK from the server within a reasonable time after sending the data, or the received ACK indicates that the data transmission fails, then the data communication center will put the data back into the data buffer pool List. In order to avoid excessive pressure on the system caused by frequent retries, a mechanism for sending again after an interval of 5 seconds is set. During this 5-second interval, the data communication center can continue to process other data, or perform some system maintenance and optimization operations. When the 5-second time has passed, the data communication center will take out the data from the data buffer pool List again and send it, repeating the above process until the data is sent successfully and ACK is received.
[0050] By continuously retrying to send failed data, it ensures that the data can be successfully transmitted to the server, greatly improving the reliability of the data. This is particularly important in the network communication interaction between the vehicle terminal and the vehicle manufacturer group, because vehicle-related data is often related to the safe operation and management of the vehicle. Even in the case of network instability or a brief failure on the server, it can ensure that the data will not be lost, but will continue to be transmitted when conditions permit. And the mechanism of sending again at an interval of 5 seconds avoids too frequent retries and reduces the occupation of network resources and system processing capabilities. If there is no such interval mechanism, a large amount of duplicate data may be sent continuously in a short period of time, causing network congestion and system performance degradation.
[0051] It should be noted that in this application, a data threshold is set based on the size of the data cache pool; the amount of data in the data cache pool is obtained in real time; if the amount of data is greater than the set data threshold, data caching is stopped. For example, when the size of the data cache pool List is greater than 1,000 data, the excess data is no longer received. This is to protect the system from filling up the memory due to excessive data.
[0052] In step S2, when the vehicle enters the screen-off state and the vehicle terminal obtains the current vehicle body in the screen-off state through the vehicle data bus, the power management service starts the countdown task according to the set first time. For example, the first time is set to 2 minutes. If the vehicle turns on the screen again within two minutes and is obtained by the vehicle data bus, the countdown task is cleared; if the vehicle does not turn on the screen again and is not obtained by the vehicle data bus within 2 minutes, the power management state of the vehicle terminal is set to the silent state, and a sleep message is sent to the data notification center. After the data notification center receives the sleep message, it stops receiving the vehicle control request sent by the server, and starts sending the data in the data cache pool. After the sending is completed, the network connection with the server is disconnected. This ensures that data will not be missed and ensures data consistency and integrity.
[0053] Among them, after the vehicle screen is turned off for a second time, the power signal of the vehicle body turns into a dormant state, and in the dormant state, the vehicle has no communication capability; when the second time is greater than the first time, and the power management state of the vehicle terminal is in a silent state for the second time, it turns into a dormant state. For example, if the second time is 3 minutes, then between 2 minutes and 3 minutes when the vehicle screen is turned off, the power management state of the vehicle terminal is in a silent state, and after 3 minutes, the power signal of the vehicle body and the power management state of the vehicle terminal are both in a dormant state.
[0054] In step S3, when the power management state of the vehicle terminal is in the silent state, the mobile phone controls the vehicle by sending text messages to the vehicle terminal. First, the received vehicle-mounted text message service is cached in the data cache pool based on the service management center, and then the power management state of the vehicle terminal is switched to the normal state. The communication starts to connect. After the communication connection is successful, the text message is parsed and executed, and the power management state of the vehicle terminal is reported to the server at the same time. After the vehicle control command is executed, the timing is restarted for 2 minutes, and the logical processing of step S2 is repeated.
[0055] In step S4, when the power signal of the vehicle body and the power management status of the vehicle terminal are both in the dormant state, if the mobile phone APP controls the vehicle, a text message is first sent to the vehicle terminal, and the vehicle terminal wakes up the vehicle to change the power signal of the vehicle body from the dormant state to the silent Slient state. At the same time, the text message is first cached in the data cache pool List and not executed. When the power signal of the vehicle body is obtained through the vehicle data bus to change from the dormant state to the silent Slient state, the power management state of the vehicle terminal is set to the normal state, and the communication connection is started, the text message control is parsed and executed, and the power management state of the vehicle terminal is reported to be set to the normal state to the server. After the vehicle control command is executed, the timing is restarted for 2 minutes, and the logical processing of step S2 is repeated.
[0056] The platform-based power management method based on the built-in vehicle terminal provided by this application can keep the vehicle body status, the power management status of the vehicle terminal and the car factory server consistent according to the power status for the current vehicle sleep and quick start scenario, so as to process SMS or network communication data according to different power statuses, and at the same time, when disconnecting the data communication center, the cached data needs to be sent completely to ensure that the server obtains the latest result of the current vehicle, so that the user can accurately know the status of his vehicle. Prevent data loss, and be able to adapt to the vehicle's quick start and timely control of the vehicle, so as to achieve an accurate and low-latency user experience.
[0057] Based on the same inventive concept, a platform-based power management system based on a built-in vehicle-mounted terminal is also provided in an embodiment of the present application, including a vehicle-mounted terminal and a server. Since the principle of solving the problem by the system in the embodiment of the present application is similar to the above-mentioned platform-based power management method based on a built-in vehicle-mounted terminal in the embodiment of the present application, the implementation of the system can refer to the implementation of the method, and the repeated parts will not be repeated.
[0058] Based on the same concept of the present invention, the specification is attached Figure 4 As shown, the structure of an electronic device 400 provided in an embodiment of the present application includes: at least one processor 401, at least one network interface 404 or other user interface 403, a memory 405, and at least one communication bus 402. The communication bus 402 is used to realize the connection and communication between these components. The electronic device 400 optionally includes a user interface 403, including a display (for example, a touch screen, LCD, CRT, holographic imaging (Holographic) or projection (Projector), etc.), a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch pad or a touch screen, etc.).
[0059] The memory 405 may include a read-only memory and a random access memory, and provides instructions and data to the processor 401. A portion of the memory 405 may also include a non-volatile random access memory (NVRAM).
[0060] In some implementations, the memory 405 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
[0061] Operating system 4051, including various system programs for implementing various basic services and processing hardware-based tasks;
[0062] The application module 4052 includes various application programs, such as a launcher, a media player, a browser, etc., which are used to implement various application services.
[0063] In an embodiment of the present application, by calling the program or instructions stored in the memory 405, the processor 401 is used to execute steps in a platform power management method based on a built-in vehicle terminal, which can keep the vehicle body, T-box and server consistent according to the power status, thereby processing text messages or network communication data according to different power states, and achieving an accurate and low-latency user experience.
[0064] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, steps in a platform-based power management method based on a built-in vehicle terminal are executed.
[0065] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned platform power management method based on the built-in vehicle terminal can be executed.
[0066] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0067] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0068] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0069] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0070] Finally, it should be noted that the above embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A platform-based power management method based on a built-in vehicle terminal, characterized in that: The vehicle terminal includes a data communication center, a service management center and a power management service, and the method includes the following steps: When the power signal of the vehicle body is in a normal state, the power management state of the vehicle terminal is set to a normal state, and the data communication center reports to the server to perform network communication; When the power signal of the vehicle body is in the screen-off state, the countdown task is performed according to the set first time based on the power management service; wherein, if during the countdown to zero, the power signal of the vehicle body is received to change from the screen-off state to the screen-on state, the countdown task is cleared; if during the countdown to zero, the power signal of the vehicle body is not received to change from the screen-off state to the screen-on state, the power management state of the vehicle terminal is set to the silent state, and the network connection with the server is disconnected; When the power management state of the vehicle terminal is in silent state, when the vehicle machine SMS service is received based on the service management center, the power management state of the vehicle terminal is set to normal state, and the data communication center reports to the service end, performs network communication, and executes the vehicle machine SMS service and the countdown task; When the power signal of the vehicle body and the power management status of the vehicle terminal are both in sleep mode, and based on the service management center receiving the vehicle-machine SMS service, the vehicle is awakened, the power signal of the vehicle body is turned to silent mode, and the power management status of the vehicle-machine terminal is set to normal mode, and the data communication center reports to the service end to conduct network communication, and executes the vehicle-machine SMS service and the countdown task.
2. The platform-based power management method based on a built-in vehicle terminal according to claim 1, characterized in that: The vehicle-mounted terminal also includes a vehicle data bus and a task module, wherein the vehicle data bus is used to communicate with the vehicle to receive and send vehicle data, including receiving power signals from the vehicle body and sending vehicle wake-up signals; and the task module is used to execute services included in the service management center, including one or more of vehicle-machine SMS services, remote operation services, and vehicle safety services.
3. The platform-based power management method based on a built-in vehicle terminal according to claim 1, characterized in that: The power management state of the vehicle terminal is set to a normal state, and the data communication center reports to the server to perform network communication, including the following steps: The data communication center communicates with the server end; if the connection fails, a retry is performed; if the connection is successful, the power management state of the vehicle terminal is reported to the server end as being set to a normal state, so that after the server end receives the power management state of the vehicle terminal being set to a normal state, it performs network communication with the data communication center in accordance with the agreed communication method; In response to the vehicle control request sent by the server, the corresponding data is taken out from the data cache pool and sent to the server; if a confirmation character is received from the server, the corresponding data is cleared; if no confirmation character is received from the server, the data is resent according to the set interval mechanism.
4. The platform-based power management method based on a built-in vehicle terminal according to claim 3, characterized in that: The step of setting the power management state of the vehicle terminal to a silent state and disconnecting the network connection from the server includes the following steps: After the power management state of the vehicle terminal is set to silent state, a sleep message is sent to the data notification center; After receiving the sleep information, the data notification center stops receiving the vehicle control request sent by the server, and starts sending the data in the data buffer pool. After the sending is completed, the network connection with the server is disconnected.
5. The platform-based power management method based on a built-in vehicle terminal according to claim 4, characterized in that: in, After the vehicle screen is turned off for a second period of time, the power signal of the vehicle body changes to a sleep state; when the second time is greater than the first time and the power management state of the vehicle terminal is silent for the second time, it changes to a sleep state.
6. The platform-based power management method based on a built-in vehicle terminal according to claim 5, characterized in that: in, When the service management center receives the vehicle machine SMS service, the vehicle machine SMS service is first cached in the data cache pool; and after the vehicle machine SMS service is completed, the countdown task is executed.
7. The platform-based power management method based on a built-in vehicle terminal according to claim 6, characterized in that: The method further comprises the following steps: Setting a data threshold based on the size of the data cache pool; The amount of data in the data cache pool is obtained in real time; if the amount of data is greater than a set data threshold, data caching is stopped.
8. A platform-based power management system based on a built-in vehicle terminal, characterized in that: It includes a vehicle-mounted terminal and a server, which are used to execute the steps of the platform power management method based on a built-in vehicle-mounted terminal as described in any one of claims 1 to 7.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the platform power management method based on the built-in vehicle terminal as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the platform power management method based on a built-in vehicle terminal as described in any one of claims 1 to 7 are executed.