Vehicle sentry service calling method, device, equipment and medium

By periodically sending wake-up commands and establishing communication connections at the vehicle communication terminal, the problem of sentry mode startup failure was solved, and a high success rate of sentry service calls was achieved, ensuring the reliability of remote vehicle control.

CN119697238BActive Publication Date: 2026-03-31VOYAH AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In existing technologies, the vehicle sentry mode has a high failure rate, which makes it impossible to effectively wake up the sentry controller and affects the success rate of remote control.

Method used

The vehicle-mounted communication terminal sends a wake-up command to the sentry controller at a set sending frequency within the first time period. After successful wake-up, subscription and asynchronous call commands are sent to ensure that the sentry controller is woken up and invoked. The wake-up time is increased to improve the success rate.

Benefits of technology

It significantly improves the success rate of calling the Sentinel service, ensures that the Sentinel mode can be reliably turned on or off, and enhances the reliability of users remotely controlling vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697238B_ABST
    Figure CN119697238B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle sentry service calling method, device and equipment and a medium, and belongs to the technical field of vehicles. The method is applied to a vehicle-mounted communication terminal and comprises the following steps: if a sentry mode switch instruction sent by a cloud server is received, an awakening instruction is sent to a sentry controller at a set sending frequency within a first time period; the sentry mode switch instruction is sent to the vehicle-mounted communication terminal by the cloud server in response to a user setting instruction sent by a user terminal; the first time period is longer than a preset first time threshold; if an awakening success identifier is received within the first time period, a sentry service subscription instruction and an asynchronous calling instruction are sent to the sentry controller to realize the calling of the sentry service; and the awakening success identifier is sent to the vehicle-mounted communication terminal by the sentry controller in response to the awakening instruction. The method greatly improves the probability of the sentry controller being awakened, thereby improving the probability of the sentry mode switch being successful.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and in particular to a method, apparatus, device, and medium for invoking vehicle sentry services. Background Technology

[0002] Sentry Mode is a safety feature built into intelligent connected vehicles using existing sensors, cameras, and other hardware to help drivers monitor vehicle security when leaving the vehicle. Sentry Mode also automatically collects and records images of the vehicle's surroundings and sends alerts to the driver's mobile phone. Owners can control the vehicle via their phones to activate functions such as horn activation, headlight flashing, and remote voice commands. The Sentry Mode function can be activated and deactivated remotely via a user-side application (APP) controlling the vehicle's connected platform's cloud server.

[0003] Among related technologies, communication between the cloud server and the sentry controller can be achieved based on the vehicle-mounted T-BOX (Telematics BOX) to enable the sentry mode, but there is a problem of high startup failure rate. Summary of the Invention

[0004] In view of the above problems, the present invention is proposed to provide a method, apparatus, device and medium for invoking vehicle sentry service to solve the above problems. The sentry controller can be woken up by the vehicle communication terminal periodically sending wake-up commands to the sentry controller at a set sending frequency within a first time period. During the wake-up period, the sentry controller is given sufficient wake-up time, and the probability of the sentry controller receiving the wake-up command is increased by sending the wake-up command multiple times. This greatly increases the probability of the sentry controller being woken up, thereby increasing the probability of successful sentry service invocation and thus increasing the success rate of sentry mode switching.

[0005] In a first aspect, the present invention provides a method for invoking a vehicle sentry service, applied to an in-vehicle communication terminal, the method comprising:

[0006] If a sentinel mode switch command is received from the cloud server, a wake-up command is sent to the sentinel controller at a set sending frequency within the first time period; wherein, the sentinel mode switch command is sent by the cloud server to the vehicle communication terminal in response to the user setting command, the user setting command is sent by the user terminal to the cloud server, and the duration of the first time period is greater than a preset first duration threshold.

[0007] If a wake-up success identifier is received within the first time period, a subscribe to sentinel service instruction and an asynchronous call instruction are sent to the sentinel controller to invoke the sentinel service; wherein, the wake-up success identifier is sent by the sentinel controller to the vehicle communication terminal in response to the wake-up instruction.

[0008] Optionally, sending the sentinel service subscription instruction and the asynchronous call instruction to the sentinel controller to invoke the sentinel service includes:

[0009] Send the subscription sentinel service instruction to the sentinel controller, and send the asynchronous call instruction to the sentinel controller at the set sending frequency within the second time period;

[0010] If a call success identifier is received during the second time period, and a sentinel mode setting success identifier is received during the third time period after receiving the call success identifier, then a sentinel service call success instruction is sent to the cloud server so that the cloud server responds to the sentinel service call success instruction and returns a sentinel service call success reminder to the user terminal.

[0011] Wherein, the call success identifier is sent by the sentinel controller to the vehicle communication terminal in response to the subscribe sentinel service instruction and the asynchronous call instruction, the sentinel mode setting success identifier is sent by the sentinel controller to the vehicle communication terminal after successfully setting the sentinel mode, and the sum of the durations of the first time period, the second time period and the third time period is greater than the preset second duration threshold.

[0012] Optionally, after sending the asynchronous call instruction to the sentinel controller at the set sending frequency during the second time period, the method further includes:

[0013] If the call success identifier is not received within the second time period, or if the sentinel mode setting success identifier is not received within the third time period after the call success identifier is received, a sentinel service call failure instruction is sent to the cloud server so that the cloud server responds to the sentinel service call failure instruction and returns a sentinel service call failure reminder to the user terminal.

[0014] Optionally, when the user setting instruction is a real-time on / off instruction, the sentry mode on / off instruction is a sentry mode real-time on / off instruction;

[0015] When the user setting instruction is a reservation switch instruction, the sentry mode switch instruction includes a sentry mode reservation switch instruction and a reservation time, and the start time of the first time period is the reservation time.

[0016] Optionally, after sending a wake-up command to the sentry controller at a set transmission frequency within the first time period, the method further includes:

[0017] If the wake-up success identifier is not received within the first time period, a sentinel service call failure instruction is sent to the cloud server so that the cloud server responds to the sentinel service call failure instruction and returns a sentinel service call failure reminder to the user terminal.

[0018] Secondly, the present invention provides a method for invoking vehicle sentry services, applied to a sentry controller, the method comprising:

[0019] If a wake-up command is received from the vehicle communication terminal, a wake-up success identifier is sent to the vehicle communication terminal. The wake-up command is sent by the vehicle communication terminal to the sentry controller at a set sending frequency within a first time period after responding to the sentry mode switch command. The sentry mode switch command is sent by the cloud server to the vehicle communication terminal in response to the user setting command. The user setting command is sent by the user terminal to the cloud server. The duration of the first time period is greater than a preset first duration threshold.

[0020] If the vehicle communication terminal receives a subscribe instruction for the sentinel service and an asynchronous call instruction, the sentinel service is activated so that the vehicle communication terminal can call the sentinel service.

[0021] The subscription sentinel service instruction and the asynchronous call instruction are sent by the vehicle communication terminal to the sentinel controller in response to the wake-up success identifier.

[0022] Thirdly, the present invention provides a switching device for a vehicle sentry mode, applied to an in-vehicle communication terminal, the device comprising:

[0023] The first transceiver module is used to send a wake-up command to the sentry controller at a set sending frequency within a first time period if it receives a sentry mode switch command sent by the cloud server; wherein the sentry mode switch command is sent by the cloud server to the vehicle communication terminal in response to the user setting command, the user setting command is sent by the user terminal to the cloud server, and the duration of the first time period is greater than a preset first duration threshold.

[0024] The second transceiver module is used to send a subscribe to sentinel service instruction and an asynchronous call instruction to the sentinel controller if a wake-up success identifier is received within the first time period, so as to realize the call of sentinel service; wherein, the wake-up success identifier is sent by the sentinel controller to the vehicle communication terminal in response to the wake-up instruction.

[0025] Fourthly, the present invention provides a switching device for a vehicle sentry mode, applied to a sentry controller, the device comprising:

[0026] The third transceiver module is used to send a wake-up success identifier to the vehicle communication terminal if it receives a wake-up command sent by the vehicle communication terminal. The wake-up command is sent by the vehicle communication terminal to the sentry controller at a set sending frequency within a first time period after responding to the sentry mode switch command. The sentry mode switch command is sent by the cloud server to the vehicle communication terminal in response to the user setting command. The user setting command is sent by the user terminal to the cloud server. The duration of the first time period is greater than a preset first duration threshold.

[0027] The activation module is used to activate the sentinel service if it receives a subscription instruction and an asynchronous call instruction from the vehicle communication terminal, so that the vehicle communication terminal can call the sentinel service.

[0028] The subscription sentinel service instruction and the asynchronous call instruction are sent by the vehicle communication terminal to the sentinel controller in response to the wake-up success identifier.

[0029] Fifthly, the present invention provides an electronic device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method as described in the first or second aspect.

[0030] In a sixth aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing the computer to perform the method as described in the first or second aspect.

[0031] The technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:

[0032] This invention provides a method, apparatus, device, and medium for invoking a vehicle sentry service, applied to an in-vehicle communication terminal. The method includes: if a sentry mode switch command is received from a cloud server, a wake-up command is sent to the sentry controller at a set sending frequency within a first time period. Multiple wake-up commands are sent to increase the probability of the sentry controller waking up. Sufficient wake-up time is provided to the sentry controller within a first time period longer than a preset first time duration threshold to reduce the possibility of sentry mode switch failure due to insufficient wake-up time. The sentry mode switch command is sent from the cloud server to the in-vehicle communication terminal in response to a user setting command. The user setting command is sent from the user terminal to the cloud server; that is, when a user wants to enable sentry mode through the user terminal, the user setting command is triggered on the user terminal. If a wake-up success identifier is received within the first time period, indicating that the sentry controller has been woken up, a subscribe to sentry service command is sent to the sentry controller to establish a communication connection between the in-vehicle communication terminal and the sentry controller. An asynchronous call command is then sent to invoke the sentry controller to realize the invocation of the sentry service. The wake-up success identifier is sent by the sentry controller to the in-vehicle communication terminal in response to the wake-up command. This method greatly increases the probability of the sentinel controller being woken up and successfully invoked, thereby increasing the probability of successful sentinel service invocation.

[0033] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0034] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0035] Figure 1 This is a flowchart of a method for invoking a vehicle sentry service according to an embodiment of the present invention;

[0036] Figure 2 This is a flowchart of another method for invoking the vehicle sentry service provided in an embodiment of the present invention;

[0037] Figure 3 This is a flowchart of another method for invoking the vehicle sentry service provided in an embodiment of the present invention;

[0038] Figure 4 This is a structural block diagram of a vehicle sentry mode switching device provided in an embodiment of the present invention;

[0039] Figure 5 This is a structural block diagram of another vehicle sentry mode switching device provided in an embodiment of the present invention. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the embodiments of this disclosure and the specific features in the embodiments are detailed descriptions of the technical solutions of this application, rather than limitations on the technical solutions of this application. Unless otherwise specified, the embodiments of this application and the technical features in the embodiments can be combined with each other.

[0041] Figure 1 This is a flowchart of a method for invoking a vehicle sentry service according to an embodiment of the present invention. This method is applied to an in-vehicle communication terminal, such as... Figure 1 As shown, the method includes steps S110 and S120.

[0042] Step S110: If a sentinel mode switch command is received from the cloud server, a wake-up command is sent to the sentinel controller at the set sending frequency within the first time period.

[0043] Among them, the sentry mode switch command is sent from the cloud server to the vehicle communication terminal in response to the user setting command, and the user setting command is sent from the user terminal to the cloud server. The duration of the first time period is greater than the preset first duration threshold.

[0044] Sentry mode is a mode in which the vehicle is controlled via a user terminal. The sentry mode on / off commands include a sentry mode on command and a sentry mode off command. The sentry mode on command is used to activate sentry mode, allowing the user to control the vehicle via the user terminal. The sentry mode off command is used to deactivate sentry mode, preventing the user from controlling the vehicle via the user terminal.

[0045] In this embodiment, when a user wants to turn the Sentinel Mode on or off via the user terminal, a user setting command is triggered on the user terminal, which then sends the user setting command to the cloud server. Upon receiving the user setting command from the user terminal, the cloud server generates a Sentinel Mode on / off command and sends it to the vehicle communication terminal. When the vehicle communication terminal receives the Sentinel Mode on / off command from the cloud server, it knows that the user wants to turn the Sentinel Mode on or off, so it sends a wake-up command to the Sentinel Controller to wake it up, and then performs a Sentinel service call.

[0046] For example, the user terminal is a mobile APP, and the user triggers the sentry mode switch button on the APP to make the APP generate user setting instructions; the vehicle communication terminal is a TBOX.

[0047] The wake-up command can include Network Management (NM) messages and application messages, for example, the application message is TBOX_FuncReq_SentryMod.

[0048] The inventors discovered that in related technologies, although the vehicle-mounted communication terminal sends a wake-up command to the sentry controller, it is only sent once. The sentry controller may not receive this single wake-up command, leading to wake-up failure. Therefore, this application periodically sends a wake-up command to the sentry controller at a set sending frequency within a first time period, performing multiple transmissions of the wake-up command to increase the probability of the sentry controller receiving the wake-up command. The start time of the first time period can be the time when the vehicle-mounted communication terminal begins sending the wake-up command to the sentry controller. For example, the duration of the first time period is 60 seconds.

[0049] Optionally, if a wake-up success identifier is not received within the first time period, a sentinel service call failure instruction is sent to the cloud server so that the cloud server can respond to the sentinel service call failure instruction and return a sentinel service call failure reminder to the user.

[0050] The wake-up success identifier is sent by the sentry controller to the vehicle communication terminal in response to the wake-up command. For example, the wake-up success identifier is 0x8d01.

[0051] Understandably, even if the sentry controller receives the wake-up command, insufficient wake-up time may lead to wake-up failure or timeout. In both cases, the vehicle communication terminal will send a sentry service call failure command to the cloud server to inform the user of the failed call. For example, in special scenarios (e.g., at -40°C), waking up a dormant sentry controller takes longer than in other scenarios. In such scenarios, a short wake-up time can easily lead to timeout and a high probability of wake-up failure. Therefore, the vehicle communication terminal in this application sends the wake-up command periodically within a longer initial time period, ensuring that the sentry controller has sufficient time to wake up after receiving the command.

[0052] Specifically, the first duration threshold is greater than or equal to the longest wake-up duration for all sentinel controllers across all scenarios, ensuring that sentinel controllers have sufficient time to wake up in all scenarios and are compatible with the wake-up capabilities of all sentinel controllers. For example, if the longest wake-up time for a sentinel controller is 60 seconds, the first duration threshold is 60 seconds.

[0053] In order to ensure a good user experience, the first duration threshold can be less than the third duration threshold. This avoids the user not receiving feedback reminders for too long after triggering the user-set command. However, if the first duration threshold is too long, it will also increase power consumption. This is to prevent the use of other vehicle functions from being affected when the remaining battery power is too low, and to reduce the risk of the vehicle running out of power.

[0054] Step S120: If a wake-up success identifier is received within the first time period, a subscribe to sentinel service instruction and an asynchronous call instruction are sent to the sentinel controller to realize the call to sentinel service.

[0055] In this embodiment, if the vehicle-mounted communication terminal receives a wake-up success identifier within the first time period, it indicates that the sentry controller has been woken up. At this time, it sends a command to subscribe to the sentry service to the sentry controller so that the vehicle-mounted communication terminal and the sentry controller can establish an Ethernet communication connection. The communication protocol can adopt the SOME / IP (Scalable service-Oriented Middleware over IP) communication protocol.

[0056] Next, the vehicle communication terminal sends an asynchronous call instruction to the sentry controller, so that the sentry controller can activate the sentry service after receiving the asynchronous call instruction, and thus enable the vehicle communication terminal to call the sentry service.

[0057] The invocation of the sentry service includes opening and closing the sentry mode. If the sentry mode switch command is the sentry mode open command, the sentry service invocation is successful, indicating that the sentry mode has been successfully opened. If the sentry mode switch command is the sentry mode close command, the sentry service invocation is successful, indicating that the sentry mode has been successfully closed.

[0058] Optionally, step S120 includes:

[0059] Step S1201: Send a command to the sentinel controller to subscribe to the sentinel service, and send an asynchronous call command to the sentinel controller at a set sending frequency within the second time period.

[0060] In this embodiment of the application, the vehicle communication terminal sends asynchronous call instructions to the sentry controller at a set sending frequency during the second time period. That is, the vehicle communication terminal sends asynchronous call instructions to the sentry controller multiple times to increase the probability that the sentry controller receives the asynchronous call instructions, thereby increasing the probability of successful sentry service call.

[0061] Step S1202: If a call success identifier is received in the second time period, and a sentinel mode setting success identifier is received in the third time period after receiving the call success identifier, a sentinel service call success instruction is sent to the cloud server so that the cloud server responds to the sentinel service call success instruction and returns a sentinel service call success reminder to the user.

[0062] Among them, the successful call identifier is sent to the vehicle communication terminal by the sentry controller in response to the subscribing to sentry service instruction and the asynchronous call instruction, and the successful sentry mode setting identifier is sent to the vehicle communication terminal by the sentry controller after successfully setting the sentry mode. The sum of the durations of the first time period, the second time period and the third time period is greater than the preset second duration threshold.

[0063] In this embodiment, the start time of the second time period can be the moment when the vehicle communication terminal begins sending an asynchronous call command to the sentry controller, and the start time of the third time period can be the moment when the vehicle communication terminal receives the call success identifier. For example, the second duration threshold is 119 seconds, the duration of the first time period is 60 seconds, the duration of the second time period is 30 seconds, the duration of the third time period is 30 seconds, the call success identifier is 0x8d010x0001, and the sentry mode switch success identifier is 0x8d010x8004.

[0064] In this embodiment of the application, after the sentry controller receives the instruction to subscribe to the sentry service, it will establish a communication connection with the vehicle communication terminal. Next, if the sentry controller receives an asynchronous call instruction, it will send a call success identifier to the vehicle communication terminal to indicate that the sentry controller has received the asynchronous call instruction and will set the sentry mode switch. After the setting is successful, it will send a sentry mode switch success identifier to the vehicle communication terminal to indicate that the sentry mode switch has been set successfully.

[0065] Next, if the vehicle communication terminal receives both the successful call identifier and the successful sentry mode switch identifier, it knows that the sentry controller call was successful and that sentry mode has been turned on or off. It then sends a sentry service call success command to the cloud server. Upon receiving this command, the cloud server sends a notification to the user, indicating that sentry mode has been successfully switched on and off. This method increases the wake-up time, ensuring compatibility with different sentry controllers and improving the success rate of sentry mode switching. This allows users to remotely control the vehicle via sentry mode, and the sentry controller can perform sentry tasks.

[0066] Optionally, if a call success identifier is not received within the second time period, or if a sentinel mode switch success identifier is not received within the third time period after the call success identifier is received, a sentinel service call failure instruction is sent to the cloud server so that the cloud server responds to the sentinel service call failure instruction and returns a sentinel service call failure reminder to the user.

[0067] Understandably, the vehicle communication terminal sets feedback time limits for the asynchronous call to the sentry controller and the sentry mode switch in the second and third time periods, respectively. If a call success identifier is received within the second time period, it continues to wait without sending any identifiers or instructions to the cloud server, and then checks whether a sentry mode switch success identifier is received within the following third time period. If a sentry mode switch success identifier is received, it indicates that the sentry service call and sentry mode switch are successful. If the third time period has passed without receiving a sentry mode switch success identifier, there is no need to wait any longer; the sentry service call and sentry mode switch are directly determined to have failed, and feedback is sent to the user to improve the user experience and prevent the user from not receiving feedback for an extended period. Similarly, if a call success identifier is not received within the second time period, there is no need to wait; the sentry service call and sentry mode switch are directly determined to have failed, and feedback is sent to the user to improve the user experience and prevent the user from not receiving feedback for an extended period.

[0068] In this embodiment of the application, when the user receives a notification of the failure of the sentry mode switch, a request for retry can pop up. If the user clicks the retry button, it is equivalent to triggering the user setting command again, thereby starting the method in this embodiment of the application from step S110 again.

[0069] Understandably, if the vehicle communication terminal does not receive a call success identifier from the sentinel controller, it means that the sentinel controller call failed and the sentinel mode switch was not set. In this case, the sentinel mode switch fails. If the vehicle communication terminal receives a call success identifier from the sentinel controller but does not receive a sentinel mode switch success identifier, it means that the sentinel controller has set the sentinel mode switch, but the setting failed, causing the sentinel service call to fail and the sentinel mode switch to fail.

[0070] Optionally, when the user sets the instruction as a real-time on / off instruction, the sentry mode on / off instruction is a sentry mode real-time on / off instruction; when the user sets the instruction as a scheduled on / off instruction, the sentry mode on / off instruction includes a sentry mode scheduled on / off instruction and a scheduled time, and the start time of the first time period is the scheduled time.

[0071] Understandably, Sentinel Mode has both real-time and scheduled on / off functions. Users can trigger these functions on their devices. Real-time on / off immediately activates Sentinel Mode, while scheduled on / off activates at the designated time, triggering the scheduled on / off command. For example, the user sends the scheduled on / off command to the cloud server. Upon receiving the command, the cloud server sends the scheduled on / off command and the designated time to the vehicle communication terminal. When the scheduled time arrives, the vehicle communication terminal sends a wake-up command to the Sentinel Controller at a set frequency within the first time period.

[0072] In this embodiment of the application, after the vehicle communication terminal sends an asynchronous call instruction to the sentry controller, it stops sending wake-up instructions to the sentry controller, so that the wake-up state of the sentry controller is no longer maintained through the vehicle communication terminal, but is maintained by the sentry controller itself.

[0073] Figure 2 This is a flowchart of another method for invoking vehicle sentry services provided in an embodiment of the present invention. This method is applied to a sentry controller, such as... Figure 2 As shown, the method includes:

[0074] Step S210: If a wake-up command is received from the vehicle communication terminal, a wake-up success identifier is sent to the vehicle communication terminal.

[0075] Among them, the wake-up command is sent to the sentry controller at a set sending frequency within the first time period after the vehicle communication terminal responds to the sentry mode switch command. The sentry mode switch command is sent to the vehicle communication terminal by the cloud server in response to the first user setting command. The first user setting command is sent to the cloud server by the user terminal. The duration of the first time period is greater than the preset first duration threshold.

[0076] In this embodiment of the application, if the sentry controller receives a wake-up command sent by the vehicle communication terminal, it means that the user wants to turn the sentry mode on or off. Then, it enters the wake-up state from the sleep state and sends a wake-up success identifier to the vehicle communication terminal after entering the wake-up state.

[0077] Step S220: If a subscription sentry service instruction and an asynchronous call instruction are received, activate the sentry service so that the vehicle communication terminal can call the sentry service.

[0078] Among them, the subscription sentry service command and the asynchronous call command are sent by the vehicle communication terminal to the sentry controller in response to the wake-up success identifier.

[0079] In this embodiment, if the vehicle communication terminal receives a wake-up success identifier, it will continue to send a subscribe to sentry service command and an asynchronous call command to the sentry controller to establish a communication connection and enable the sentry controller to set the sentry mode switch. After receiving the subscribe to sentry service command, the sentry controller will establish a communication connection with the vehicle communication terminal. Subsequently, if the sentry controller receives an asynchronous call command, it will send a call success identifier back to the vehicle communication terminal, indicating that the sentry controller has received the asynchronous call command and will set the sentry mode switch to activate the sentry service. After successful setting, it will send a sentry mode switch success identifier to the vehicle communication terminal to indicate that the sentry mode switch has been successfully set and activated, so that the vehicle communication terminal can successfully call the sentry service.

[0080] Figure 3 This is a flowchart of another method for invoking the vehicle sentry service provided in an embodiment of the present invention, such as... Figure 3 As shown, the method includes:

[0081] Step S301: The user terminal sends the first user setting command to the cloud server. When a user wants to turn the Sentinel Mode on or off through the user terminal, the first user setting command is triggered on the user terminal, and the user terminal then sends the first user setting command to the cloud server.

[0082] Step S302: After receiving the first user setting instruction sent by the user terminal, the cloud server will generate a sentry mode switch instruction and send the sentry mode switch instruction to the vehicle communication terminal.

[0083] Step S303: When the user sets the command to a real-time on / off command, the vehicle communication terminal receives the sentry mode on / off command and sends a remote receipt identifier to the cloud server to indicate that the vehicle communication terminal has received the sentry mode on / off command. After receiving the sentry mode on / off command, the vehicle communication terminal can also send a wake-up identifier to the cloud server. Upon receiving the wake-up identifier, the cloud server will send a wake-up reminder to the user so that the user knows that the process is currently in wake-up mode.

[0084] When a user sets the command to a scheduled on / off command, the vehicle communication terminal, upon receiving the sentry mode scheduled on / off command, sends a remote receipt identifier to the cloud server to indicate that the vehicle communication terminal has received the sentry mode scheduled on / off command. Simultaneously, it can also send a scheduled on / off success identifier to the cloud server. Upon receiving the scheduled on / off success identifier, the cloud server will send a scheduled on / off success notification to the user to inform them of the successful scheduled on / off. During the process of disabling sentry mode, if the vehicle communication terminal receives a sentry mode deactivation command, it sends a remote receipt identifier to the cloud server to indicate that the vehicle communication terminal has received the sentry mode deactivation command. For example, the remote receipt identifier is 0x0101, and the scheduled on / off success identifier is 0x0102.

[0085] When the vehicle-mounted communication terminal receives a sentinel mode switch command from the cloud server, indicating that the user wants to turn sentinel mode on or off, it sends a wake-up command to the sentinel controller to wake it up. Upon receiving the sentinel mode switch command from the cloud server, the vehicle-mounted communication terminal also generates and saves a sentinel switch serial number.

[0086] After step S302, the above method further includes:

[0087] Step S304: If the vehicle communication terminal receives the sentinel mode switch command sent by the cloud server, it sends a wake-up command to the sentinel controller at the set sending frequency within the first time period.

[0088] Step S305: If the sentry controller receives a wake-up command, it sends a wake-up success identifier to the vehicle communication terminal. In this embodiment, if the sentry controller receives a wake-up command from the vehicle communication terminal, indicating that the user wants to turn the sentry mode on or off, it enters the wake-up state from the sleep state and sends a wake-up success identifier to the vehicle communication terminal after entering the wake-up state.

[0089] Step S306: If the vehicle communication terminal does not receive the wake-up success identifier within the first time period, it determines that the sentinel service call has failed, the sentinel mode switch has failed, and sends a sentinel service call failure instruction to the cloud server.

[0090] Step S307: After receiving a notification of a failed sentinel service call, the cloud server returns a sentinel service call failure notification to the user.

[0091] like Figure 3 As shown, after step S305, the above method further includes:

[0092] Step S308: If the vehicle communication terminal receives a wake-up success identifier within the first time period, it sends a subscribe to the sentry service command to the sentry controller. If the vehicle communication terminal receives a wake-up success identifier within the first time period, it means that the sentry controller has been woken up. At this time, it sends a subscribe to the sentry service command to the sentry controller so that the vehicle communication terminal and the sentry controller can establish an Ethernet communication connection.

[0093] Step S309: The vehicle-mounted communication terminal sends an asynchronous call command to the sentry controller at a set transmission frequency during the second time period.

[0094] Step S310: If the sentry controller receives the subscribe to sentry service instruction and the asynchronous call instruction, it sends a call success identifier to the vehicle communication terminal. After receiving the subscribe to sentry service instruction, the sentry controller establishes a communication connection with the vehicle communication terminal. Subsequently, if the sentry controller receives the asynchronous call instruction, it will send a call success identifier back to the vehicle communication terminal, indicating that the sentry controller has received and will configure the sentry mode switch.

[0095] Step S311: After successfully setting the sentry mode switch, a sentry mode switch success identifier is sent to the vehicle communication terminal. After successfully setting the sentry mode switch, the sentry controller sends a sentry mode switch success identifier to the vehicle communication terminal to indicate that the sentry mode switch has been successfully set and the vehicle communication terminal has successfully invoked the sentry service.

[0096] Step S312: If the vehicle communication terminal does not receive the call success identifier sent by the sentry controller, it determines that the sentry mode switch has failed and sends a sentry service call failure instruction to the cloud server.

[0097] Step S313: After receiving a failed sentinel service call, the cloud server returns a sentinel service call failure notification to the user.

[0098] Step S314: If the vehicle communication terminal receives the call success identifier and the sentry mode switch success identifier, it sends a sentry service call success instruction to the cloud server so that the cloud server responds to the sentry service call success instruction and returns a sentry service call success reminder to the user terminal.

[0099] Step S315: After receiving the successful sentinel service call instruction, the cloud server returns a successful sentinel service call notification to the user.

[0100] In this embodiment, if the vehicle communication terminal receives both a successful call identifier and a successful sentry mode switch identifier, it knows that the sentry controller has been successfully started or stopped, and that the sentry mode has been turned on or off. It then sends a successful sentry service call instruction to the cloud server. Upon receiving the successful sentry service call instruction, the cloud server returns a successful sentry service call notification to the user, informing the user that the sentry mode switch was successfully turned on. This method increases the wake-up time, ensuring compatibility with the wake-up capabilities of different sentry controllers and improving the success rate of switching the sentry mode on and off. This allows users to remotely control the vehicle via the sentry mode, and the sentry controller can perform sentry tasks.

[0101] The above methods also include:

[0102] Step S316: If the vehicle communication terminal receives a call success identifier sent by the sentry controller, but does not receive a sentry mode switch success identifier sent by the sentry controller, it determines that the sentry mode switch has failed and sends a sentry service call failure instruction to the cloud server.

[0103] Step S317: After receiving the Sentinel service call failure instruction, the cloud server returns a Sentinel service call failure reminder to the user.

[0104] Based on the same inventive concept, this invention also provides a switching device for vehicle sentry mode, applied to an in-vehicle communication terminal. Figure 4 This is a structural block diagram of a vehicle sentry mode switching device provided in an embodiment of the present invention, as shown below. Figure 4 As shown, the device 400 includes a first transceiver module 401 and a second transceiver module 402.

[0105] The first transceiver module 401 is used to send a wake-up command to the sentry controller at a set sending frequency within a first time period if it receives a sentry mode switch command sent by the cloud server; wherein, the sentry mode switch command is sent by the cloud server to the vehicle communication terminal in response to the user setting command, the user setting command is sent by the user terminal to the cloud server, and the duration of the first time period is greater than the preset first duration threshold.

[0106] The second transceiver module 402 is used to send a subscribe to sentinel service instruction and an asynchronous call instruction to the sentinel controller if a wake-up success identifier is received within the first time period, so as to realize the call of sentinel service; wherein, the wake-up success identifier is sent by the sentinel controller to the vehicle communication terminal in response to the wake-up instruction;

[0107] Optionally, the second transceiver module 402 is also used for:

[0108] Send a command to the sentinel controller to subscribe to the sentinel service, and send asynchronous call commands to the sentinel controller at a set sending frequency during the second time period;

[0109] If a call success identifier is received in the second time period, and a sentinel mode setting success identifier is received in the third time period after receiving the call success identifier, a sentinel service call success instruction is sent to the cloud server so that the cloud server responds to the sentinel service call success instruction and returns a sentinel service call success reminder to the user.

[0110] Among them, the successful call identifier is sent to the vehicle communication terminal by the sentry controller in response to the subscribing to sentry service instruction and the asynchronous call instruction, and the successful sentry mode setting identifier is sent to the vehicle communication terminal by the sentry controller after successfully setting the sentry mode. The sum of the durations of the first time period, the second time period and the third time period is greater than the preset second duration threshold.

[0111] Optionally, the device 400 also includes a fourth transceiver module for:

[0112] If a successful call identifier is not received within the second time period, or if a successful call identifier is not received within the third time period after the successful call identifier is received, a sentinel service call failure instruction is sent to the cloud server so that the cloud server responds to the sentinel service call failure instruction and returns a sentinel service call failure reminder to the user.

[0113] Optionally, when the user sets the instruction as a real-time on / off instruction, the sentry mode on / off instruction is a sentry mode real-time on / off instruction; when the user sets the instruction as a scheduled on / off instruction, the sentry mode on / off instruction includes a sentry mode scheduled on / off instruction and a scheduled time, and the start time of the first time period is the scheduled time.

[0114] Optionally, the device 400 also includes a fifth transceiver module for:

[0115] If a wake-up success identifier is not received within the first time period, a sentinel service call failure instruction is sent to the cloud server, so that the cloud server responds to the sentinel service call failure instruction and returns a sentinel service call failure reminder to the user.

[0116] Based on the same inventive concept, this invention also provides another switching device for vehicle sentry mode, applied to a sentry controller. Figure 5 This is a structural block diagram of another vehicle sentry mode switching device provided in an embodiment of the present invention, as shown below. Figure 5 As shown, the device 500 includes a third transceiver module 501 and an activation module 502.

[0117] The third transceiver module 501 is used to send a wake-up success identifier to the vehicle communication terminal if it receives a wake-up command sent by the vehicle communication terminal. The wake-up command is sent by the vehicle communication terminal to the sentry controller at a set transmission frequency within a first time period after responding to the sentry mode switch command. The sentry mode switch command is sent by the cloud server to the vehicle communication terminal in response to the user setting command. The user setting command is sent by the user terminal to the cloud server. The duration of the first time period is greater than the preset first duration threshold.

[0118] The activation module 502 is used to activate the sentinel service if it receives a subscription instruction and an asynchronous call instruction from the vehicle communication terminal, so that the vehicle communication terminal can call the sentinel service.

[0119] Among them, the subscription sentry service command and the asynchronous call command are sent by the vehicle communication terminal to the sentry controller in response to the wake-up success identifier.

[0120] It is understood that the device provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0121] This invention also provides an electronic device that may include a processor and a memory, wherein the processor and the memory may be interconnected via a bus or other means.

[0122] The processor can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. It can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or other chips, or combinations of the above types of chips.

[0123] Memory may include mass storage for data or instructions. For example, and not limitingly, memory may include hard disk drives (HDDs), floppy disk drives, flash memory, optical disks, magneto-optical disks, magnetic tape, or Universal Serial Bus (USB) drives, or combinations of two or more of these. Where appropriate, memory may include removable or non-removable (or fixed) media. Where appropriate, memory may be internal or external to an electronic device. In a particular embodiment, memory may be non-volatile solid-state memory.

[0124] In one instance, the memory may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0125] The processor reads and executes computer program instructions stored in memory to implement any of the vehicle sentry service invocation methods in the above embodiments.

[0126] In one example, the electronic device may further include a communication interface and a bus. The processor, memory, and communication interface are connected via the bus to communicate with each other. The communication interface is primarily used to enable communication between the various modules, devices, units, and / or equipment in the embodiments of this application. Where appropriate, the bus may include one or more buses.

[0127] Furthermore, in conjunction with the vehicle sentry service invocation method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the vehicle sentry service invocation methods in the above embodiments.

[0128] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The storage medium can be read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.

[0129] The technical solutions described in the embodiments of this application above have at least the following technical effects or advantages:

[0130] This invention provides a method, apparatus, device, and medium for invoking a vehicle sentry service, applied to an in-vehicle communication terminal. The method includes: if a sentry mode switch command is received from a cloud server, a wake-up command is sent to the sentry controller at a set sending frequency within a first time period. Multiple wake-up commands are sent to increase the probability of the sentry controller waking up. Sufficient wake-up time is provided to the sentry controller within a first time period longer than a preset first time duration threshold to reduce the possibility of sentry mode switch failure due to insufficient wake-up time. The sentry mode switch command is sent from the cloud server to the in-vehicle communication terminal in response to a user setting command. The user setting command is sent from the user terminal to the cloud server; that is, when a user wants to enable sentry mode through the user terminal, the user setting command is triggered on the user terminal. If a wake-up success identifier is received within the first time period, indicating that the sentry controller has been woken up, a subscribe to sentry service command is sent to the sentry controller to establish a communication connection between the in-vehicle communication terminal and the sentry controller. An asynchronous call command is then sent to invoke the sentry controller to realize the invocation of the sentry service. The wake-up success identifier is sent by the sentry controller to the in-vehicle communication terminal in response to the wake-up command. This method greatly increases the probability of the sentinel controller being woken up and successfully invoked, thereby increasing the probability of successful sentinel service invocation.

[0131] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0132] Similarly, it should be understood that, in order to simplify this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0133] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

Claims

1. A method for invoking a vehicle sentry service, characterized in that, The method is applied to a vehicle-mounted communication terminal and comprises the following steps: If a sentinel mode switch instruction sent by a cloud server is received, a wake-up instruction is sent to a sentinel controller at a set sending frequency within a first time period; wherein the sentinel mode switch instruction is sent by the cloud server in response to a user setting instruction sent by a user terminal to the cloud server, the user setting instruction is sent by the user terminal to the cloud server, and the length of the first time period is greater than a preset first length threshold; the first length threshold is greater than or equal to the longest wake-up length of all the sentinel controllers in all scenes; If a wake-up success identifier is received within the first time period, a subscription sentinel service instruction and an asynchronous calling instruction are sent to the sentinel controller to realize calling of the sentinel service; wherein the wake-up success identifier is sent by the sentinel controller in response to the wake-up instruction; the subscription sentinel service instruction is used to make the vehicle-mounted communication terminal establish an Ethernet communication connection with the sentinel controller, and the asynchronous calling instruction is used to make the sentinel controller activate the sentinel service; The method further comprises the following steps: The subscription sentinel service instruction is sent to the sentinel controller, and the asynchronous calling instruction is sent to the sentinel controller at the set sending frequency within a second time period; If a calling success identifier is received within the second time period and a sentinel mode setting success identifier is received within a third time period after the calling success identifier is received, a sentinel service calling success instruction is sent to the cloud server to make the cloud server return a sentinel service calling success reminder to the user terminal in response to the sentinel service calling success instruction; Wherein the calling success identifier is sent by the sentinel controller in response to the subscription sentinel service instruction and the asynchronous calling instruction, the sentinel mode setting success identifier is sent by the sentinel controller to the vehicle-mounted communication terminal after the sentinel controller successfully sets the sentinel mode, and the sum of the lengths of the first time period, the second time period and the third time period is greater than a preset second length threshold.

2. The method of claim 1, wherein, The method further comprises the following steps: If the calling success identifier is not received within the second time period or the sentinel mode setting success identifier is not received within the third time period after the calling success identifier is received, a sentinel service calling failure instruction is sent to the cloud server to make the cloud server return a sentinel service calling failure reminder to the user terminal in response to the sentinel service calling failure instruction.

3. The method of claim 1, wherein, When the user setting instruction is a real-time switch instruction, the sentinel mode switch instruction is a sentinel mode real-time switch instruction; when the user setting instruction is a reservation switch instruction, the sentinel mode switch instruction comprises a sentinel mode reservation switch instruction and a reservation time, and the start time of the first time period is the reservation time.

4. The method of claim 1, wherein, The method further comprises, after sending the wake-up instruction to the sentinel controller at the set sending frequency within the first time period: If the wake-up success identifier is not received within the first time period, a sentinel service call failure instruction is sent to the cloud server, so that the cloud server returns a sentinel service call failure reminder to the user terminal in response to the sentinel service call failure instruction.

5. A method of invoking a vehicle sentry service, the method comprising: The method applied to the sentinel controller comprises: If the wake-up instruction sent by the vehicle-mounted communication terminal is received, a wake-up success identifier is sent to the vehicle-mounted communication terminal, the wake-up instruction being sent to the sentinel controller by the vehicle-mounted communication terminal at a set sending frequency within a first time period in response to a sentinel mode switch instruction, the sentinel mode switch instruction being sent to the vehicle-mounted communication terminal by the cloud server in response to a user setting instruction, the user setting instruction being sent to the cloud server by the user terminal, the first time period being longer than a preset first time threshold; the first time threshold being greater than or equal to the longest wake-up time of all the sentinel controllers in all scenarios; If the sentinel service subscription instruction and the asynchronous call instruction sent by the vehicle-mounted communication terminal are received, the sentinel service is activated, so that the vehicle-mounted communication terminal calls the sentinel service; the sentinel service subscription instruction is used to establish an Ethernet communication connection between the vehicle-mounted communication terminal and the sentinel controller, and the asynchronous call instruction is used to activate the sentinel service by the sentinel controller; The sentinel service subscription instruction and the asynchronous call instruction are sent to the sentinel controller by the vehicle-mounted communication terminal in response to the wake-up success identifier.

6. A switch device for a vehicle sentry mode, characterized by The device applied to the vehicle-mounted communication terminal comprises: A first transceiver module is configured to send a wake-up instruction to the sentinel controller at a set sending frequency within a first time period if a sentinel mode switch instruction sent by the cloud server is received; the sentinel mode switch instruction is sent to the vehicle-mounted communication terminal by the cloud server in response to a user setting instruction, the user setting instruction is sent to the cloud server by the user terminal, and the first time period is longer than a preset first time threshold; the first time threshold is greater than or equal to the longest wake-up time of all the sentinel controllers in all scenarios; A second transceiver module is configured to send a sentinel service subscription instruction and an asynchronous call instruction to the sentinel controller to call the sentinel service if a wake-up success identifier is received within the first time period; the wake-up success identifier is sent to the vehicle-mounted communication terminal by the sentinel controller in response to the wake-up instruction; the sentinel service subscription instruction is used to establish an Ethernet communication connection between the vehicle-mounted communication terminal and the sentinel controller, and the asynchronous call instruction is used to activate the sentinel service by the sentinel controller; The sending of the sentinel service subscription instruction and the asynchronous call instruction to the sentinel controller to call the sentinel service comprises: The sentinel service subscription instruction is sent to the sentinel controller, and the asynchronous call instruction is sent to the sentinel controller at the set sending frequency within a second time period. If the calling success identifier is received within the second time period, and the sentinel mode setting success identifier is received within a third time period after the calling success identifier is received, a sentinel service calling success instruction is sent to the cloud server, so that the cloud server returns a sentinel service calling success prompt to the user terminal in response to the sentinel service calling success instruction; The calling success identifier is sent by the sentinel controller to the vehicle-mounted communication terminal in response to the subscription sentinel service instruction and the asynchronous calling instruction, the sentinel mode setting success identifier is sent by the sentinel controller to the vehicle-mounted communication terminal after the sentinel mode is successfully set, and the sum of the lengths of the first time period, the second time period and the third time period is greater than a preset second length threshold.

7. A switch device for a vehicle sentry mode, characterized by The device applied to the sentinel controller comprises: The third transceiving module is configured to send a wake-up success identifier to the vehicle-mounted communication terminal if a wake-up instruction sent by the vehicle-mounted communication terminal is received, the wake-up instruction is sent by the vehicle-mounted communication terminal to the sentinel controller at a set sending frequency within a first time period in response to a sentinel mode switch instruction, the sentinel mode switch instruction is sent by the cloud server to the vehicle-mounted communication terminal in response to a user setting instruction, the user setting instruction is sent by the user terminal to the cloud server, and the length of the first time period is greater than a preset first length threshold; the first length threshold is greater than or equal to the longest wake-up length of all the sentinel controllers in all scenarios. The activation module is configured to activate a sentinel service if a subscription sentinel service instruction and an asynchronous calling instruction sent by the vehicle-mounted communication terminal are received, so that the vehicle-mounted communication terminal calls the sentinel service; the subscription sentinel service instruction is used to enable the vehicle-mounted communication terminal to establish an Ethernet communication connection with the sentinel controller, and the asynchronous calling instruction is used to enable the sentinel controller to activate the sentinel service. The subscription sentinel service instruction and the asynchronous calling instruction are sent by the vehicle-mounted communication terminal to the sentinel controller in response to the wake-up success identifier.

8. An electronic device, comprising: The memory and the processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the method of any one of claims 1-4 or the method of claim 5. The computer readable storage medium stores computer instructions for enabling the computer to perform the method of any one of claims 1-4 or the method of claim 5.

9. A computer-readable storage medium, characterized in that, ​

Citation Information

Patent Citations

  • Vehicle remote power-on method, vehicle-mounted communication equipment, cloud server and vehicle

    CN109698867A

  • Method, device and equipment for starting sentry mode

    CN119898294A