[go: up one dir, main page]

CN117560343A - Data reporting and processing method, electronic equipment, processing system and program product - Google Patents

Data reporting and processing method, electronic equipment, processing system and program product Download PDF

Info

Publication number
CN117560343A
CN117560343A CN202311644678.9A CN202311644678A CN117560343A CN 117560343 A CN117560343 A CN 117560343A CN 202311644678 A CN202311644678 A CN 202311644678A CN 117560343 A CN117560343 A CN 117560343A
Authority
CN
China
Prior art keywords
data
alarm
identifier
vehicle
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311644678.9A
Other languages
Chinese (zh)
Inventor
李鹏
柴云飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jidu Technology Co Ltd
Original Assignee
Beijing Jidu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jidu Technology Co Ltd filed Critical Beijing Jidu Technology Co Ltd
Priority to CN202311644678.9A priority Critical patent/CN117560343A/en
Publication of CN117560343A publication Critical patent/CN117560343A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The application relates to the technical field of vehicles, in particular to a data reporting and processing method, electronic equipment, a processing system and a program product, comprising the following steps: the vehicle monitors the running state of the sentry mode in the sentry mode; if the running state of the vehicle is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, and sending the reporting data to a cloud; the cloud receives and analyzes the report data sent by the vehicle, and a target identifier and generation time contained in the report data are obtained; if the cloud determines that the reported data is the latest data generated by the vehicle in the sentinel mode in the current monitoring period based on the target identification and the generation time, the reported data is sent to the terminal. According to the method, the cloud can distinguish the monitoring period of the reported data sent by the vehicle end, and the operation process of the sentry can be described through the reported data, so that the accuracy of the operation state of the sentry mode provided by the cloud to the user is improved.

Description

Data reporting and processing method, electronic equipment, processing system and program product
Technical Field
The application relates to the technical field of vehicles, in particular to a data reporting and processing method, electronic equipment, a processing system and a program product.
Background
With the development of vehicle intellectualization and interconnection, the safety performance of the vehicle is greatly improved. Among these safety features, the vehicle sentinel mode is regarded as an important part of the safety of the vehicle. The guard mode of the vehicle is a passive safety system, when the vehicle owner is not in or near the vehicle, the guard mode can start a safety anti-theft mechanism of the vehicle to prevent the vehicle from being stolen or destroyed, and meanwhile, the environment around the vehicle is monitored through the vehicle-mounted camera to provide more comprehensive visual guarantee and alarm functions for the vehicle owner.
After the vehicle-end guard mode operates, a user can check real-time running states, alarm information and the like of the guard on the mobile phone. To realize real-time display of remote whistle running states and real-time alarm notification, the current scheme is to report the states, events and the like of the whistle at the vehicle end to the cloud directly, and then the cloud processes and synchronizes the states and events to the user. But the cloud can not describe the operation process of the sentry through the reported data.
Disclosure of Invention
The application example provides a data reporting and processing method, electronic equipment, a processing system and a program product, which are helpful for cloud description of the operation process of a sentinel.
In one aspect, an embodiment of the present application provides a data reporting method applied to a vehicle, where the method includes:
in a sentry mode of a vehicle, monitoring the running state of the sentry mode;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, and sending the reporting data to a cloud;
the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content.
Optionally, the data reporting condition includes at least one of:
the running state of the sentinel mode is switched;
the running state of the sentry mode is an opening state, and report data of failed transmission exists.
Optionally, the target identifier includes a task identifier;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, wherein the data reporting method comprises the following steps:
And if the running state of the sentry mode is switched from the closed state to the open state or is switched from the open state to the monitoring state, generating report data comprising the task identifier, the current running state of the sentry mode and the generation time.
Optionally, the target identifier includes a task identifier and an alarm identifier;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, wherein the data reporting method comprises the following steps:
and if the running state of the sentry mode is switched from the monitoring state to the alarm state of the first level, generating reporting data comprising a task identifier, an alarm identifier, the current running state of the sentry mode and the generation time.
Optionally, the target identifier includes a task identifier, an alarm identifier and an event identifier;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, wherein the data reporting method comprises the following steps:
if the running state of the sentry mode is switched to the alarm state of the second level, report data comprising the task identifier, the alarm identifier, the current running state of the sentry mode, the event identifier, alarm content corresponding to the event identifier and generation time are generated
Optionally, the method further comprises:
if the running state of the sentry module is determined to be the first-level alarm state or the second-level alarm state, the potential safety hazard of the vehicle is determined, and the voice equipment and/or the lighting equipment of the vehicle are used for warning.
In one aspect, an embodiment of the present application provides a data processing method, applied to a cloud, where the method includes:
receiving and analyzing report data sent by a vehicle to obtain a target identifier and generation time contained in the report data, wherein the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of a one-time operation process of a whistle mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content;
and if the reported data is determined to be the latest data generated in the current monitoring period of the vehicle in the sentry mode based on the target identifier and the generation time, the reported data is sent to the terminal equipment, and the monitoring period comprises a task period and at least one alarm period contained in the task period.
Optionally, the current monitoring period includes a current task period;
based on the target identifier and the generation time, determining that the reported data is the data which is generated latest in the current monitoring period of the vehicle in a sentinel mode, wherein the data comprises at least one of the following steps:
if the task identifier of the recorded current task period of the vehicle is matched with the task identifier obtained by analyzing the reported data, determining the reported data as the latest generated data of the vehicle in the sentinel mode in the current task period;
if the recorded task identifier of the current task period of the vehicle is not matched with the task identifier obtained by analyzing the reported data, and the generation time in the reported data is the latest time, determining that the reported data is the latest generated data of the vehicle in the sentinel mode in the current task period.
Optionally, the current monitoring period includes a current task period and a current alarm period, where the current alarm period belongs to the current task period;
based on the target identification and the generation time, determining whether the reported data is the latest generated data of the vehicle in a sentinel mode in a current monitoring period, wherein the data comprises at least one of the following steps:
If the task identifier of the recorded vehicle current task period is matched with the task identifier obtained by analyzing the reported data, and the alarm identifier of the recorded vehicle current alarm period is matched with the alarm identifier obtained by analyzing the reported data, determining that the reported data is the latest generated data of the vehicle in the current alarm period in a whistle mode;
if the recorded task identifier of the current task period of the vehicle is not matched with the task identifier obtained by analyzing the reported data and the generation time of the reported data is the latest time, determining that the reported data is the latest generated data of the vehicle in the current alarm period in a sentinel mode;
if the task identifier of the recorded vehicle current task period is matched with the task identifier obtained by analyzing the reported data, the alarm identifier of the recorded vehicle current alarm period is not matched with the alarm identifier obtained by analyzing the reported data, and the generation time of the reported data is the latest time, determining that the reported data is the latest generated data of the vehicle in the current alarm period in a sentinel mode.
Optionally, the method further comprises:
And if the reported data is not the data which is newly generated in the current monitoring period, inquiring a target monitoring period corresponding to the reported data, and updating the running state of the sentinel mode in the target monitoring period based on the reported data.
Optionally, the current monitoring period includes a current alarm period;
the sending the reported data to the terminal device comprises the following steps:
if the current alarm period contains a plurality of event identifications based on the reported data;
if the event identifications are the same, sending one event identification and alarm content thereof to a terminal device; or,
if the event names in the alarm content corresponding to the event identifications are the same and the generating time interval corresponding to each event identification is longer than the preset duration, the event identifications and the alarm content of each event identification are sent to the terminal equipment; or,
if the event names in the alarm content corresponding to the event identifications are different, the event identifications and the alarm content of each event identification are sent to a terminal device; or alternatively
And if the event names in the alarm content corresponding to the event identifications are the same and the generation time interval corresponding to each event identification is not greater than the preset duration, sending one event identification in the event identifications and the corresponding alarm content to the terminal equipment, wherein the alarm content comprises the event names.
In one aspect, embodiments of the present application provide a processing system, the system comprising: the vehicle, the cloud end and the terminal equipment;
the vehicle is used for monitoring the running state of the sentry mode under the sentry mode of the vehicle; if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, and sending the reporting data to a cloud;
the cloud end is used for receiving and analyzing the report data sent by the vehicle to obtain a target identifier and generation time contained in the report data; if the reported data is determined to be the data which is generated most recently in the current monitoring period of the vehicle in the sentry mode based on the target identification and the generation time, the reported data is sent to a terminal device;
the terminal equipment is used for receiving the report data sent by the cloud;
the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentry mode operation process, the event identifier is used for indicating one specific alarm content, and the monitoring period comprises a task period and at least one alarm period contained in the task period.
In one aspect, an embodiment of the present application provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor executes the data reporting method or the data processing method.
In one aspect, embodiments of the present application provide a computer program product, including a computer program, which when executed by a processor implements a data reporting method or a data processing method as described above.
Alternatively, the computer readable storage medium may be implemented as a computer program product, i.e. embodiments of the present application further provide a computer readable storage medium comprising a computer program, which when executed by a processor implements the above-mentioned data reporting and data processing method.
The beneficial effects of this application are as follows:
according to the method and the device, the reported data comprising the target identifier and the generation time are generated and sent to the cloud, and the cloud can determine the monitoring period (such as a task period or an alarm period) to which the reported data belong according to the target identifier so as to update the running state of the sentinel mode in the monitoring period; the cloud end can also judge whether the reported data is the data which is generated most recently in the current monitoring period of the vehicle according to the generation time, if so, the reported data is sent to the terminal equipment, and the method improves the accuracy of the terminal equipment for receiving the reported data, so that real-time and accurate running state display and alarm notification of a whistle mode can be provided for a vehicle owner remotely, and safety protection is provided for the vehicle.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a data reporting method provided in the embodiment of the present application;
FIG. 3 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for determining a latest task cycle according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart of determining the latest alarm period according to an embodiment of the present application;
fig. 6 is a schematic diagram of an operation state update flow corresponding to a task period according to an embodiment of the present application;
fig. 7 is a schematic diagram of an operation state update flow corresponding to an alarm period according to an embodiment of the present application;
fig. 8 is a schematic diagram of interaction between a vehicle, a cloud end, and a terminal device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a data reporting device provided in an embodiment of the present application;
FIG. 10 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic diagram of a computing device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. Embodiments and features of embodiments in this application may be combined with each other arbitrarily without conflict. Also, while a logical order of illustration is depicted in the flowchart, in some cases the steps shown or described may be performed in a different order than presented.
Some of the concepts involved in the embodiments of the present application are described below.
Sentinel mode: the guard mode of the vehicle is a passive safety system, when the vehicle owner is not near the vehicle, the guard mode can start a safety anti-theft mechanism of the vehicle to prevent the vehicle from being stolen or destroyed, and meanwhile, the environment around the vehicle is monitored through the vehicle-mounted camera to provide more comprehensive visual guarantee and alarm functions for the vehicle owner.
Operating state of the sentinel mode: the operating states of the sentinel mode include an off state, an on state (i.e., in idle, the enable switch is on but not in operation), an in-monitor state, an alarm state, wherein the alarm state may include a plurality of levels including, for example: a first level of alert status and a second level of alert status. In the first level of alarm state (alarm-alarm state), no event is generated, and in the second level of alarm state, the embodiment of the application can further divide the second level of alarm state, such as alarm-abnormal state and alarm-dangerous state. The higher the grade, the higher the urgency or crisis; the first alarm state corresponds to a higher degree of vehicle safety, e.g., a person staying in the vicinity of the vehicle for a long time, and the second alarm state corresponds to a lower degree of vehicle safety, e.g., the vehicle is leaned on, is intruded on, etc. The sentry mode can be closed through terminal equipment or a vehicle key, and can also be automatically closed when a vehicle owner opens a vehicle door from outside the vehicle, and the embodiment of the application is not particularly limited.
Monitoring period: the monitoring period comprises a task period and an alarm period, wherein the task period comprises at least one alarm period, and the alarm period comprises at least one event or does not comprise an event. The duty cycle represents the time interval between adjacent off states of the sentinel mode; the alarm period represents the time interval between states in adjacent monitoring of the sentinel mode.
The generation time is as follows: and the time when the reported data is generated at the vehicle end is represented, and the time when the reported data reaches the cloud end is not represented.
Events: when the vehicle is invaded or leaned, namely, the running state of the sentry mode is in a second-level alarm state, the vehicle can shoot the surrounding environment of the vehicle and/or the environment in the vehicle through the camera to obtain the related content of the current event of the vehicle, and when the report data is generated, the event identification of the event and the alarm content corresponding to the event identification are contained in the report data.
Sentinel reporting protocol: the vehicle reports data through a sentinel report protocol, for example, the sentinel report protocol may specify that when the report data is sent to the cloud, the target identifier of the monitoring period and the generation time of the report data need to be carried. The protocol also defines the boundary of each module, and the task cycle- > the alarm cycle- > the event. The task period (describing the one-time running state of the sentry), the alarm period (describing the one-time alarm process of the sentry) and the event (describing specific alarm content) split the reported data into 3 parts and send the 3 parts to the cloud, so that the atomicity of the reported data is ensured.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are for illustration and explanation only, and are not intended to limit the present application, and embodiments and features of embodiments of the present application may be combined with each other without conflict.
Fig. 1 shows an application scenario provided in an embodiment of the present application, where the application scenario includes a vehicle 101, a cloud 102, and a terminal device 103.
The vehicle 101 is configured to monitor an operation state of the sentinel mode in the sentinel mode, and generate report data to send to the cloud. The cloud 102 receives and analyzes the reported data sent by the vehicle end, and after determining that the reported data is the latest data, the reported data is launched to the terminal device in a long link, a short message, a system notification and other modes. The cloud may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, web services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDNs), and basic cloud computing services such as big data and artificial intelligence platforms. In the embodiment of the present application, the cloud may be replaced by an independent physical server or a server cluster or a distributed system formed by a plurality of physical servers, which is not specifically limited. The terminal device 103 is configured to receive the report data sent by the cloud 102, so that the vehicle owner can know the current safety condition of the vehicle. Terminal devices 103 include, but are not limited to, mobile phones, tablet computers, notebook computers, desktop computers, electronic book readers, intelligent voice interaction devices, intelligent home appliances, vehicle-mounted terminal devices, and the like; the terminal device may be provided with a client related to the business process control method, where the client may be software (for example, a browser, business process control software, etc.), or may be a web page, an applet, etc., and the embodiment of the present application is not specifically limited.
Based on the problem that at present, after a vehicle sends report data in a sentinel mode to a cloud, the cloud cannot determine which monitoring period the report data belongs to, and further cannot provide an accurate sentinel mode running state to a terminal device, the embodiment of the application provides a data report method, as shown in fig. 2, taking the vehicle as an execution subject, and the method includes:
s201: in the sentry mode of the vehicle, the operational state of the sentry mode is monitored.
The guard mode is a passive safety system, when the vehicle owner is not near the vehicle, the guard mode can start a safety anti-theft mechanism of the vehicle to prevent the vehicle from being stolen or damaged, and meanwhile, the environment in the vehicle and/or around the vehicle is monitored through the vehicle-mounted camera to provide more comprehensive visual guarantee and alarm functions for the vehicle owner, namely, when the safety problem of the vehicle is determined through the camera, the guard mode can be switched to a corresponding running state, and the vehicle can warn according to the running state of the guard mode. The camera comprises an external camera and an internal camera, the external camera is used for monitoring the safety condition around the vehicle, and the internal camera is used for monitoring the safety condition in the vehicle.
The operation state switching process of the sentinel mode comprises the following steps: the whistle mode can be switched to the alarm state when the vehicle has no potential safety hazard, namely, the whistle mode can be switched to the off state directly from the monitoring state.
In the embodiment of the application, more alarm levels can be set according to different safety conditions of the vehicle, for example, when a camera monitors that people around the vehicle stay for a long time, the operation state of the whistle mode can be switched to the alarm state (alarm-alarm state) of the first level; when the leaning of the vehicle is monitored through the camera, the running state of the sentry mode is switched to a second-level alarm state (alarm-abnormal state); when the intrusion of the vehicle is detected by the camera, the operation state of the sentry mode is switched to the alarm state (alarm-danger state) of the third level, and the alarm level is not particularly limited.
In one possible implementation, if the operation state of the sentinel module is determined to be the first-level alarm state or the second-level alarm state, it is determined that the safety hazard exists in the vehicle, and at this time, the warning can be performed through the target lighting device of the vehicle. For example, the lighting device at the preset position of the vehicle blinks for 10 seconds; in addition, the warning may also be performed in a voice broadcast manner, and the embodiment of the present application is not specifically limited. And warning is carried out at the vehicle end, so that the safety guard of the vehicle after the vehicle leaves is provided for the vehicle owner, the property of the vehicle owner is protected, and the loss is reduced.
S202: if the running state is determined to meet the preset data reporting condition in the monitoring process, reporting data comprising the target identifier and the generation time are generated and sent to the cloud.
The target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of a one-time operation process of a whistle mode of the vehicle; the alarm identifier is used for indicating the process of one alarm in the sentinel mode operation process, namely the identifier of an alarm period, and the event identifier is used for indicating one specific alarm content.
The task period may be a time interval between adjacent off states of the sentinel mode. For example, the operating state of the sentinel mode is off at 9:00, the operating state of the sentinel mode is switched to off again at 11:00, and no other off state exists between, i.e. one task cycle from 9:00 to 11:00. In the embodiment of the application, the task periods are independent, each time the task periods are processed independently, and the task periods are not affected.
The alarm period may be the time interval between states in adjacent monitoring of the sentinel mode. For example, the operating state of the sentinel mode at 9:15 is a monitoring state, at this time, the start of an alarm period is indicated, the operating state of the sentinel mode at 9:25 is switched to the monitoring state again, and no off state exists between the states, which indicates that 9:15-9:25 are an alarm period. The alarm period may also be the time interval between adjacent monitored states and the off state. For example, the running state of the sentinel mode is a monitoring state when 9:15 is detected, at this time, the running state indicates that an alarm period starts to be entered, the running state is switched to a closing state (the task period is ended) when 9:40 is detected, and the running state is not switched to the monitoring state again, and the running state indicates that 9:15-9:40 is an alarm period and is the last alarm period in the task periods.
In one task cycle, a plurality of alarm cycles may be generated, for example, the operation state of the whistle mode is an off state at 9:00, the operation state of the whistle mode is an on state at 9:01, the operation state of the whistle mode is a monitoring state (the first alarm cycle starts), the operation state of the whistle mode is switched to the monitoring state again at 9:25 (the end of the first alarm cycle, i.e. the start of the second alarm cycle), the operation state of the whistle mode is switched to the monitoring state again at 9:35 (the end of the second alarm cycle, i.e. the start of the third alarm cycle), and the operation state of the whistle mode is switched to the off state again at 10:00 (the end of the third alarm cycle), and the task cycle includes 3 alarm cycles.
After the operation state of the sentry mode is switched to the monitoring state, the operation state of the sentry mode may not be switched to the alarm state, i.e. no event occurs; it is also possible that a number of events occur, for example the operating state of the sentinel mode is the monitoring state (alarm period starts) at 9:15, the leaning of the vehicle is monitored again by the camera at 9:16 (first event) and the intrusion of the vehicle is monitored by the camera in a shorter time (second event).
Alternatively, the alarm states corresponding to the events may be the same, for example, the running state of the sentinel mode is the monitoring state (the alarm period starts) at 9:15, the leaning of the vehicle by the passer-by a is monitored by the camera at 9:16 (the first event), and the leaning of the vehicle by the passer-by B is monitored in a shorter time (the second event).
Optionally, the data reporting condition may include: the operation state of the sentry mode is switched, or the operation state of the sentry mode is an on state, and report data of failed transmission exists, specifically as follows.
1. In the monitoring process, if the running state of the sentinel mode is determined to be switched, reporting data containing a target identifier and generation time is generated, wherein the reporting data comprises at least one of the following conditions:
(1) The operating state of the sentinel mode is switched from an off state to an on state, or from an on state to a monitoring state.
If the running state of the sentry mode is switched from the off state to the on state or from the on state to the monitoring state, reporting data comprising a task identifier, the current running state of the sentry mode and the generation time are generated. The task identifier is an identifier of a task period in which the reported data are located.
For example, when the running state of the sentinel mode is the off state at 9:00 and the running state of the sentinel mode is switched from the off state to the on state, report data of which the task identifier is 20231017A, the running state of the sentinel mode is the on state and the generating time is 2023/10/17:9:01 are generated, and specific forms of the task identifier and the generating time are not limited in the embodiment of the present application.
Optionally, the identification of the vehicle may be further carried in the reported data, so as to distinguish the monitoring periods of different vehicles.
(2) The operating state of the sentinel mode is switched from the in-monitoring state to the first level of alert state.
If the running state of the sentry mode is switched from the monitoring state to the alarm state of the first level, report data comprising a task identifier, an alarm identifier, the current running state of the sentry mode and the generation time are generated.
For example, the running state of the sentinel mode is the monitoring state at 9:15, and the 9:20 is switched from the monitoring state to the alarm state of the first level, and report data of task identifier 20231017A, alarm identifier 920B, the running state of the sentinel mode is the alarm state of the first level, and the second generation time 2023/10/17:20 is generated.
In the embodiment of the application, when the sentinel mode is in the alarm state of the first level, the fact that the vehicle is not in a dangerous scene such as scratch, invasion and the like is indicated, when the vehicle generates the report data, event identification can not be generated, alarm content corresponding to the event identification, for example, an event can not be generated when someone stays around the vehicle for a long time, namely, the event of 'people around the vehicle' can not be carried in the report data, a picture shot by a camera can not be carried in the report data (the picture contains the environment around the vehicle), and only the vehicle end can be warned, for example, reminding is carried out through lighting equipment; the event may also be generated according to a requirement, so that the cloud end informs the owner of the environment where the vehicle is located.
Optionally, the identification of the vehicle may be further carried in the reported data, so as to distinguish the monitoring periods of different vehicles.
(3) And if the operation state of the sentinel mode is switched to the alarm state of the second level.
If the running state of the sentry mode is switched to the alarm state of the second level, report data comprising the task identifier, the alarm identifier, the current running state of the sentry mode, the event identifier, alarm content corresponding to the event identifier and generation time are generated.
In the embodiment of the application, the state can be switched from the monitoring state to the second alarm state; it is also possible to switch from the alarm state of the other level to the alarm state of the second level, indicating that a plurality of events may occur in one alarm period. For example, the operating state of the sentinel mode is the monitoring state at 9:15, and 9:20 is switched from the monitoring state to the alarm state of the second level, at this time, the task identifier 20231017a, the alarm identifier 920B, the alarm state of the sentinel mode is the alarm state of the second level, the generation time 2023/10/17:20 reports data, and when the reporting data is generated, an event identifier (such as an event a or a leaning event) and alarm content corresponding to the event identifier are further generated. The alarm content corresponding to the event identifier includes, but is not limited to, part or all of the following:
specific event names, e.g., vehicle is intruded; location information, e.g., latitude and longitude information, point of interest information, etc.; resource information (not necessary), such as video, images, etc., taken by the camera. The embodiment of the application does not limit the specific forms of the task identification, the alarm identification, the event identification, the generation time, the position information in the alarm content and the resource information.
Optionally, the identification of the vehicle may be further carried in the reported data, so as to distinguish the monitoring periods of different vehicles.
2. In the monitoring process, if the running state of the sentinel mode is determined to be an on state and reporting data with failed transmission exists, reporting the reporting data again.
Due to low quality of the vehicle network or insufficient battery power of the vehicle, the problem that the vehicle fails to send the report data to the cloud may occur, if the failure of sending is determined, the report data may be sent again within a preset time (e.g., 500 ms), if the failure is still determined, the report data may be put into a message queue, and when the vehicle network quality is good or the battery power of the vehicle is sufficient, the report data may be sent again after the whistle mode is started.
In the embodiment of the application, when the vehicle sends the report data to the cloud, the target identifier and the generation time are sent simultaneously, so that the cloud can determine the monitoring period to which the report data belongs based on the target identifier, and update the running state of the sentinel mode in the monitoring period, thereby describing the complete monitoring period; based on the generation time, the reported data can be determined to be the latest generated data of the vehicle in the guard mode in the current monitoring period, and the reported data is sent to the terminal equipment, so that real-time and accurate guard running state display is provided for the vehicle owner remotely.
Based on the same inventive concept, the embodiment of the present application further provides a data processing method, which is applied to a cloud, as shown in fig. 3, and includes:
s301: and receiving and analyzing the report data sent by the vehicle to obtain the target identification and the generation time contained in the report data.
The target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the time of the generation of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content.
S302: and if the reported data is determined to be the latest data generated by the vehicle in the sentinel mode in the current monitoring period based on the target identification and the generation time, the reported data is sent to the terminal equipment.
Wherein the monitoring period comprises a task period and at least one alarm period contained in the task period. The duty cycle represents the time interval between adjacent off states of the sentinel mode; the alarm period represents a time interval between states in adjacent monitoring of the sentinel mode, and is specifically as in the embodiment in S202, and will not be described herein.
The following describes how the cloud determines that the data reported by the vehicle is the latest data.
(1) The target mark in the reported data is a task mark.
Specifically, as shown in fig. 4, the method includes the following steps S401 to S406:
s401: inquiring task identification of a first task period where the recorded vehicle is currently located;
after determining the current Running task period of the vehicle, when sending the report data, the vehicle notifies the cloud to make the report data in the Running task period, for example, a special identifier "Running" may be used to make a mark, and the cloud may also compare the obtained generation time with the latest recorded generation time to determine that the report data is in the Running task period. In addition, it should be noted that the generation time of the cloud record is the generation time of the report data, and is not the arrival time of the report data.
S402: determining a task identifier of a second task period contained in the report data, namely, obtaining the cloud end by analyzing the report data sent by the vehicle;
s403: judging whether the task identifier of the first task period is the same as the task identifier of the second task period, if so, executing S404, otherwise, executing S405:
S404: determining that the second task period is the task period in which the vehicle is currently located (currently running), namely, the reported data is in the latest task period, namely, the reported data is the latest data generated by the vehicle in the current task period in a sentinel mode;
s405: judging whether the latest generation time in the first task period is earlier than the generation time of the reported data, namely judging whether the generation time of the reported data is the latest time, if so, executing S404, otherwise, executing S406;
s406: the determination that the second task period is not the task period in which the vehicle is currently located, i.e., the reported data is not in the latest task period, may be the data that is re-reported due to a network problem.
(2) The target identifier in the reported data comprises a task identifier and an alarm identifier.
Specifically, as shown in fig. 5, the method includes the following steps S501 to S507:
s501: inquiring the recorded task identifier of the first task period where the vehicle is currently located and the alarm identifier of the first alarm period in the first task period;
the first alarm period is an alarm period in which the vehicle is currently located, and is similar to the task period, after the vehicle determines that the vehicle is currently Running, when the vehicle sends report data, the cloud is informed that the report data is in the Running alarm period, for example, a special mark "Running" can be used for marking, and the cloud can also compare the acquired generation time with the recorded latest generation time to determine that the report data is in the Running alarm period, so that the embodiment of the application is not particularly limited;
S502: determining a task identifier of a second task period in the report data and an alarm identifier of a second alarm period in the second task period, namely, the cloud end is obtained by analyzing the report data;
s503: judging whether the task identification of the first task period is the same as the task identification of the second task period, if so, executing S504, otherwise, executing S506;
s504: judging whether the alarm identification of the first alarm period is the same as the alarm identification of the second alarm period, if so, executing S505, otherwise executing S506;
s505: determining that the alarm period in the reported data is the current alarm period of the vehicle, namely, the reported data is the latest generated data in the current alarm period of the vehicle in a sentinel mode;
s506: judging whether the latest generation time in the first task period is before the generation time of the reported data, namely judging whether the generation time of the reported data is the latest time, if so, executing S505, otherwise, executing S507;
s507: the second alarm period is determined not to be the alarm period in which the vehicle is currently located, i.e. the reported data is not in the latest alarm period, possibly due to a network problem.
In addition to the embodiment in fig. 5, it may be determined whether the reported data is a task period in which the vehicle is running, and then whether the reported data is an alarm period in which the vehicle is running in the task period. That is, S401 to S406 are executed first, and S502, S504 to S507 are executed after determining that the task period in which the reported data is located is the task period in which the vehicle is currently running.
For a vehicle, the conditions of repeated reporting and delayed reporting exist, wherein the repeated reporting refers to that the cloud receives a plurality of pieces of same reporting data due to the reasons of a vehicle cloud gateway, a network and the like; the delayed reporting refers to failure of the vehicle to send reporting data, such as failure of retrying the vehicle for multiple times, such as weak network, no network, cloud link, abnormal service and the like, the message is buffered in a message queue of the vehicle, and the next time the vehicle is powered on or the whistle mode is restarted and then reported again. To guarantee a task lifecycle description in this case, the embodiments of the present application provide the following methods. In addition, according to the processing flow, the reported data of the primary vehicle is divided into three sections for processing: task period, alarm period, event. The process flow of the task cycle is shown in fig. 6.
S601: receiving data reported by a vehicle;
s602: analyzing the reported data to obtain a task identifier of a corresponding first task period;
s603: according to the task identification of the first task period, locally inquiring a second task period matched with the first task period, and if no inquiry is made, re-creating a task period;
s604: judging whether the latest generation time in the second task period is earlier than the generation time of the reported data, if so, indicating that the reported data is not the repeated reported data or the delayed reported data, executing S605, otherwise, executing S606;
S605: updating the recorded running state of the guard mode according to the running state of the guard mode in the reported data;
s606: judging whether the running state of the sentry mode is a closed state, if so, executing S607, otherwise, ending the flow;
s607: the end time of the second task period is updated, after which the flow ends.
After determining that the reported data is not the data that is repeatedly reported or delayed to report, the embodiment of the present application may further determine whether the task period in which the reported data is located is the task period in which the vehicle is currently running, where a specific determination flow is shown in fig. 4, and if the task period in which the reported data is located is the task period in which the vehicle is currently running and the current task period of the vehicle recorded in the cloud end, the recorded task period in which the vehicle is currently located is ended. If the task period in which the reported data is located is the task period in which the vehicle is currently Running, and the task identifier corresponding to the current task period of the vehicle recorded in the cloud is different from the task identifier in the reported data, the cloud records the task period in which the reported data is located as the task period in which the vehicle is currently Running, for example, records "Running" on the task identifier in the reported data, and the embodiment of the present application does not limit a specific recording mode.
Optionally, the task period in which the reported data is located may not be the task period in which the vehicle is currently located, that is, the task period in which the reported data is located may be a previous task period (for example, a task period generated 2 days ago), and if the reported data is the latest data in the task period generated 2 days ago, the cloud only updates the running state of the whistle mode in the task period based on the reported data, so as to completely describe the task period generated 2 days ago.
The process flow of the alarm cycle is shown in fig. 7.
S701: receiving data reported by a vehicle;
s702: analyzing the reported data to obtain a corresponding task identifier of a first task period and an alarm identifier of a first alarm period in the first task period;
s703: according to the task identification of the first task period, the alarm identification of the first alarm period, locally inquiring the matched second task period and the second alarm period in the second task period; if no matched second alarm period is found, an alarm period can be created in a trusted way;
s704: judging whether the second alarm period is finished, if yes, executing S705, otherwise executing S706;
s705: updating the ending time;
S706: judging whether the second alarm period is the current alarm period of the vehicle, if yes, executing S707, otherwise ending the flow, specifically as in the embodiment of fig. 5;
s707: policy control is performed, after which the flow is ended.
Optionally, after determining that the second alarm period is the current alarm period of the vehicle, that is, the latest alarm period, and the alarm identifier corresponding to the current alarm period of the vehicle recorded by the vehicle is not matched with the identifier corresponding to the second alarm period, the alarm identifier corresponding to the second alarm period is recorded as the current alarm period of the vehicle, and in particular, "Running" may be recorded on the identifier corresponding to the second alarm period, which is not specifically limited in this embodiment of the present application.
Similar to the task period, if the alarm period corresponding to the reported data is an alarm period generated by the vehicle 2 days ago and the reported data is the latest data in the alarm period generated by the vehicle 2 days ago, the running state of the whistle mode, the event identification, the alarm content corresponding to the event identification and the like in the alarm period are updated only based on the reported data, and no further synchronization to the terminal equipment is needed.
In the embodiment of the application, the cloud updates the running state of the recorded sentry mode according to the reported data, so that the running process of the primary vehicle sentry mode can be completely described, and the system has high expansibility.
Since multiple events may occur in the general alarm period, in order to avoid the situation of wasting cloud processing resources caused by repeated reporting of multiple repeated events, some policy control (i.e. the policy control in S707) is adopted in the embodiment of the present application. The following embodiments are described:
if the report data is based, determining that a plurality of events are contained in any one alarm period in any one task period;
if the event identifications of the events are the same, sending one event identification (such as any one or the earliest received one or the earliest generated time) in the event identifications and alarm content thereof to the terminal equipment; or,
if the event names of the event identifications corresponding to the alarm contents of the events are the same and the generating time interval corresponding to each event identification is longer than the preset duration, transmitting the event identifications and the alarm contents of the event identifications to the terminal equipment; or,
if the event names of the event identifications corresponding to the plurality of events are different, transmitting the event identifications and the respective alarm contents of the event identifications to the terminal equipment; or,
if the event names in the alarm content corresponding to the event identifiers are the same, and the generation time interval corresponding to each event identifier is not greater than the preset duration, one event identifier (such as any one or the earliest received one or the earliest generated time) in the event identifiers and the alarm content corresponding to the event identifier are sent to the terminal equipment, wherein the alarm content comprises the event name.
For example, in the same alarm period, when a plurality of scratch (event name) occurs, judging whether the time between the plurality of scratch exceeds 1 minute, if not, only sending the event identifier of the 1 scratch event and corresponding alarm content to the terminal equipment; if the time exceeds 1 minute, event identification of a plurality of corresponding scratch events and corresponding alarm content are required to be sent to the terminal equipment. If a scratch event (event name) and an intrusion event (event name) occur within 1 minute in the same alarm period, an event identifier corresponding to the scratch event and corresponding alarm content, and the event identifier of the intrusion event and corresponding alarm content are transmitted to the terminal equipment. If the cloud receives multiple identical event identifications (for example 20231204) in the same alarm period within 1 minute, the situation that the vehicle end may report by mistake (the event identifications and the alarm contents are identical) caused by a network problem is indicated, and at this time, any one of the event identifications and the alarm content corresponding to any one of the event identifications are sent to the terminal device. The embodiment of the application does not specifically limit the preset duration.
The related processing of the event is relatively simple, the event identification is judged to be processed without being recorded based on the reported data, and the event corresponding to the recorded event identification is not processed any more.
When potential safety hazards exist in the vehicle, the cloud end sends an alarm notice to the terminal equipment in real time, provides safety guarding of the vehicle after the vehicle leaves the vehicle for the vehicle owner, protects the asset of the vehicle owner and reduces loss; in addition, the cloud end also supports the control of the notification strategy, for example, the same event is not repeatedly synchronized to the terminal within 1 minute, so that the processing resources are saved.
The data interaction between the vehicle, the cloud end and the terminal device will be performed through fig. 8.
The data sent to the cloud by the vehicle comprises reporting of the new data A and re-reporting of the data B. After the cloud receives the report data, the cloud analyzes the report data, and based on the analyzed data such as the target identification, the generation time, the running state of the sentry mode, the safety information and the like, the following flow is carried out:
aiming at a target task period of a target vehicle, the cloud end can execute the following processing based on the reported data:
1.1 locking, namely locking the identification of the target vehicle (enabling the data reported by the target vehicle to be processed in series and guaranteeing the accuracy of the data);
1.2 checking (checking the validity of data, whether the data accords with protocol definition);
1.3, acquiring a task period reported by the vehicle (if the task period does not exist, creating a new task);
1.4, acquiring a recorded task period of the current running of the vehicle;
1.5, ending the task period of the current running of the vehicle;
1.6 synchronizing the operational status of the sentinel mode (only the latest operational status), i.e. adding the operational status to the message notification set for notification to the terminal device;
1.7 synchronizing abnormal conditions of the sentry mode, namely adding the abnormal conditions of the sentry mode into a message notification set to notify the terminal equipment;
1.8 triggering an alarm period;
1.10, ending the task period;
1.11 checking whether data corresponding to a task period is sent or not;
1.12 sending a message in a message notification set to a terminal;
1.13, reporting task period to replace the recorded task currently operated by the vehicle end;
1.15 unlocking, namely unlocking the vehicle identification.
Aiming at a target alarm period in a target task period, the cloud end performs the following processing based on the reported data:
2.1, inquiring the recorded task period and the alarm period;
2.2, if the alarm period is not inquired, creating a new alarm period;
2.3, ending the previous alarm period;
2.4 alarm strategy control;
2.5 triggering an alarm event;
1.9 end of alarm period.
For an event in the target alarm period, the cloud may perform the following processing based on the reported data:
3.1 querying whether an event exists;
3.2 if the event does not exist, creating a new event;
3.3 message notification to the terminal device.
The terminal device may perform the following procedure:
1.14 the terminal actively requests the cloud to pull the data.
Based on the same inventive concept, embodiments of the present application also provide a processing system, including: the vehicle, the cloud end and the terminal equipment;
the vehicle is used for monitoring the running state of the sentry mode under the sentry mode of the vehicle; if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, and sending the reporting data to a cloud;
the cloud end is used for receiving and analyzing the report data sent by the vehicle to obtain a target identifier and generation time contained in the report data; if the reported data is determined to be the latest data generated by the vehicle in the sentinel mode in the current monitoring period based on the target identification and the generation time, the reported data is sent to the terminal equipment;
the terminal equipment is used for receiving the report data sent by the cloud; or actively apply for the needed data from the cloud.
The target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentry mode operation process, the event identifier is used for indicating one specific alarm content, and the monitoring period comprises a task period and at least one alarm period contained in the task period.
Based on the same inventive concept, the embodiment of the present application further provides a data reporting device, as shown in fig. 9, including:
the monitoring module 901 is used for monitoring the running state of the sentry mode under the sentry mode of the vehicle;
the reporting module 902 is configured to generate reporting data including a target identifier and a generation time and send the reporting data to the cloud end if it is determined in the monitoring process that the running state meets a preset data reporting condition;
the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content.
Based on the same inventive concept, the embodiments of the present application further provide a data processing apparatus, as shown in fig. 10, including:
the receiving module 1001 is configured to receive and parse report data sent by a vehicle, to obtain a target identifier and a generation time included in the report data; the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the time of the generation of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content;
and a processing module 1002, configured to, if it is determined, based on the target identifier and the generation time, that the reported data is the data that is newly generated in the current monitoring period of the vehicle in the sentinel mode, send the reported data to the terminal, where the monitoring period includes a task period and at least one alarm period included in the task period.
Based on the same inventive concept, embodiments of the present application provide an electronic device including at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor executes the data reporting method or the data processing method.
The electronic device may be configured as shown in fig. 11, including a memory 1101, a communication module 1103, and one or more processors 1102.
Memory 1101 for storing computer programs executed by processor 1102. The memory 1101 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a program required for running an instant messaging function, and the like; the storage data area can store various instant messaging information, operation instruction sets and the like.
The memory 1101 may be a volatile memory (RAM), such as a random-access memory (RAM); the memory 1101 may also be a nonvolatile memory (non-volatile memory), such as a read-only memory, a flash memory (flash memory), a hard disk (HDD) or a Solid State Drive (SSD); or memory 1101, is any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1101 may be a combination of the above memories.
The processor 1102 may include one or more central processing units (central processing unit, CPU) or digital processing units, or the like. The processor 1102 is configured to implement the data reporting method or the data processing method when calling the computer program stored in the memory 1101.
The communication module 1103 is used for communication between the terminal device and the cloud end or between the cloud end and the vehicle.
The specific connection medium between the memory 1101, the communication module 1103, and the processor 1102 is not limited in the embodiment of the present application. In the embodiment of the present application, the memory 1101 and the processor 1102 are connected by a bus 1104 in fig. 11, and the bus 1104 is depicted in a bold line in fig. 11, and the connection manner between other components is only schematically illustrated, and is not limited thereto. The bus 1104 may be divided into an address bus, a data bus, a control bus, and the like. For ease of description, only one thick line is depicted in fig. 11, but only one bus or one type of bus is not depicted.
The memory 1101 stores a computer storage medium, and the computer storage medium stores computer executable instructions for implementing the data reporting method and the data processing method according to the embodiments of the present application. The processor 1102 is configured to perform the data reporting method and the data processing method described above.
A computing device 1200 according to such an embodiment of the present application is described below with reference to fig. 12. The computing device 1200 of fig. 12 is merely an example, and should not be taken as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 12, the computing device 1200 is in the form of a general purpose computing device. Components of computing device 1200 may include, but are not limited to: the at least one processing unit 1201, the at least one memory unit 1202, a bus 1203 connecting the different system components, including the memory unit 1202 and the processing unit 1201.
Bus 1203 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, and a local bus using any of a variety of bus architectures.
The storage unit 1202 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 1221 and/or cache memory 1222, and may further include Read Only Memory (ROM) 1223.
The storage unit 1202 may also include a program/utility 1225 having a set (at least one) of program modules 1224, such program modules 1224 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The computing device 1200 may also communicate with one or more external devices 1204 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with the computing device 1200, and/or any devices (e.g., routers, modems, etc.) that enable the computing device 1200 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1205. Moreover, computing device 1200 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1206. As shown in fig. 12, network adapter 1206 communicates with other modules for computing device 1200 via bus 1203. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computing device 1200, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The embodiment of the application also provides a computer program product, which comprises a computer program, and when the computer program is executed by a processor, any one of the above-mentioned outside-vehicle voice interaction region determining methods is realized. For example, the methods in this application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions is loaded and executed on a computer, the processes or functions of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user device, a core network device, an OAM, or other programmable apparatus.
Optionally, the computer readable storage medium may be an implementation manner of the computer program product, that is, the embodiment of the application further provides a computer readable storage medium, which includes a computer program, where the computer program when executed by a processor implements any one of the data reporting and data processing methods described above.
For example, a computer program or instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., a computer program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wire or wirelessly. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices such as servers, data centers, etc. that integrate one or more available media. Usable media may be magnetic media such as floppy disks, hard disks, magnetic tape; but also optical media such as digital video discs; but also semiconductor media such as solid state disks. The computer readable storage medium may be volatile or nonvolatile storage medium, or may include both volatile and nonvolatile types of storage medium.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (14)

1. A data reporting method, applied to a vehicle, the method comprising:
in a sentry mode of a vehicle, monitoring the running state of the sentry mode;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, and sending the reporting data to a cloud;
the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content.
2. The method of claim 1, wherein the data reporting condition comprises at least one of:
the running state of the sentinel mode is switched;
the running state of the sentry mode is an opening state, and report data of failed transmission exists.
3. The method of claim 2, wherein the target identification comprises a task identification;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, wherein the data reporting method comprises the following steps:
and if the running state of the sentry mode is switched from the closed state to the open state or is switched from the open state to the monitoring state, generating report data comprising the task identifier, the current running state of the sentry mode and the generation time.
4. The method of claim 2, wherein the target identification comprises a task identification and an alarm identification;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, wherein the data reporting method comprises the following steps:
and if the running state of the sentry mode is switched from the monitoring state to the alarm state of the first level, generating reporting data comprising a task identifier, an alarm identifier, the current running state of the sentry mode and the generation time.
5. The method of claim 2, wherein the target identifications comprise task identifications, alarm identifications, and event identifications;
if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, wherein the data reporting method comprises the following steps:
if the running state of the sentry mode is switched to the alarm state of the second level, report data comprising the task identifier, the alarm identifier, the current running state of the sentry mode, the event identifier, alarm content corresponding to the event identifier and generation time are generated.
6. The method according to any one of claims 1 to 5, further comprising:
if the running state of the sentry module is determined to be the first-level alarm state or the second-level alarm state, the potential safety hazard of the vehicle is determined, and the voice equipment and/or the lighting equipment of the vehicle are used for warning.
7. A data processing method, applied to a cloud, the method comprising:
receiving and analyzing report data sent by a vehicle to obtain a target identifier and generation time contained in the report data, wherein the target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of a one-time operation process of a whistle mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentinel mode operation process, and the event identifier is used for indicating one specific alarm content;
And if the reported data is determined to be the data which is newly generated in the current monitoring period of the vehicle in the sentry mode based on the target identification and the generation time, the reported data is sent to a terminal device, and the monitoring period comprises a task period and at least one alarm period contained in the task period.
8. The method of claim 7, wherein the current monitoring period comprises a current task period;
based on the target identifier and the generation time, determining that the reported data is the data which is generated latest in the current monitoring period of the vehicle in a sentinel mode, wherein the data comprises at least one of the following steps:
if the task identifier of the recorded current task period of the vehicle is matched with the task identifier obtained by analyzing the reported data, determining the reported data as the latest generated data of the vehicle in the sentinel mode in the current task period;
if the recorded task identifier of the current task period of the vehicle is not matched with the task identifier obtained by analyzing the reported data, and the generation time in the reported data is the latest time, determining that the reported data is the latest generated data of the vehicle in the sentinel mode in the current task period.
9. The method of claim 7, wherein the current monitoring period comprises a current task period and a current alarm period, the current alarm period belonging to the current task period;
based on the target identification and the generation time, determining whether the reported data is the latest generated data of the vehicle in a sentinel mode in a current monitoring period, wherein the data comprises at least one of the following steps:
if the task identifier of the recorded vehicle current task period is matched with the task identifier obtained by analyzing the reported data, and the alarm identifier of the recorded vehicle current alarm period is matched with the alarm identifier obtained by analyzing the reported data, determining that the reported data is the latest generated data of the vehicle in the current alarm period in a whistle mode;
if the recorded task identifier of the current task period of the vehicle is not matched with the task identifier obtained by analyzing the reported data and the generation time of the reported data is the latest time, determining that the reported data is the latest generated data of the vehicle in the current alarm period in a sentinel mode;
if the task identifier of the recorded vehicle current task period is matched with the task identifier obtained by analyzing the reported data, the alarm identifier of the recorded vehicle current alarm period is not matched with the alarm identifier obtained by analyzing the reported data, and the generation time of the reported data is the latest time, determining that the reported data is the latest generated data of the vehicle in the current alarm period in a sentinel mode.
10. The method of claim 7, wherein the method further comprises:
and if the reported data is not the data which is newly generated in the current monitoring period, inquiring a target monitoring period corresponding to the reported data, and updating the running state of the sentinel mode in the target monitoring period based on the reported data.
11. The method according to any one of claims 7 to 10, wherein the current monitoring period comprises a current alarm period;
the sending the reported data to the terminal device comprises the following steps:
if the current alarm period contains a plurality of event identifications based on the reported data;
if the event identifications are the same, sending one event identification and alarm content thereof to a terminal device; or,
if the event names in the alarm content corresponding to the event identifications are the same and the generating time interval corresponding to each event identification is longer than the preset duration, the event identifications and the alarm content of each event identification are sent to the terminal equipment; or,
if the event names in the alarm content corresponding to the event identifications are different, the event identifications and the alarm content of each event identification are sent to a terminal device; or alternatively
And if the event names in the alarm content corresponding to the event identifications are the same and the generation time interval corresponding to each event identification is not greater than the preset duration, sending one event identification in the event identifications and the corresponding alarm content to the terminal equipment, wherein the alarm content comprises the event names.
12. A processing system, the system comprising: the vehicle, the cloud end and the terminal equipment;
the vehicle is used for monitoring the running state of the sentry mode under the sentry mode of the vehicle; if the running state is determined to meet the preset data reporting condition in the monitoring process, generating reporting data comprising a target identifier and generation time, and sending the reporting data to a cloud;
the cloud end is used for receiving and analyzing the report data sent by the vehicle to obtain a target identifier and generation time contained in the report data; if the reported data is determined to be the data which is generated most recently in the current monitoring period of the vehicle in the sentry mode based on the target identification and the generation time, the reported data is sent to a terminal device;
the terminal equipment is used for receiving the report data sent by the cloud;
The target identifier comprises at least one of a task identifier, an alarm identifier and an event identifier, the generation time represents the generation time of the report data, and the task identifier is used for indicating a complete task period of one-time operation process of a sentinel mode of the vehicle; the alarm identifier is used for indicating a process of one alarm in the sentry mode operation process, the event identifier is used for indicating one specific alarm content, and the monitoring period comprises a task period and at least one alarm period contained in the task period.
13. An electronic device, the electronic device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of claims 1-6 or claims 7-11.
14. A computer program product comprising a computer program, characterized in that the method as claimed in claims 1-6 or claims 7-11 is implemented when the computer program is executed by a processor.
CN202311644678.9A 2023-12-04 2023-12-04 Data reporting and processing method, electronic equipment, processing system and program product Pending CN117560343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311644678.9A CN117560343A (en) 2023-12-04 2023-12-04 Data reporting and processing method, electronic equipment, processing system and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311644678.9A CN117560343A (en) 2023-12-04 2023-12-04 Data reporting and processing method, electronic equipment, processing system and program product

Publications (1)

Publication Number Publication Date
CN117560343A true CN117560343A (en) 2024-02-13

Family

ID=89818342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311644678.9A Pending CN117560343A (en) 2023-12-04 2023-12-04 Data reporting and processing method, electronic equipment, processing system and program product

Country Status (1)

Country Link
CN (1) CN117560343A (en)

Similar Documents

Publication Publication Date Title
CN110661657B (en) Network security monitoring method and system for Kubernetes cloud native application
CN112052247A (en) Index updating system, method and device of search engine, electronic equipment and storage medium
CN103794033B (en) Monitoring alarm method and device
CN113595788B (en) API gateway management method and device based on plug-in
EP2633664B1 (en) Method and system for establishing secure authenticated bidirectional server communication
CN113572746B (en) Data processing method, device, electronic equipment and storage medium
CN102882700B (en) Warning information management method in a kind of network management system and equipment
CN109245937B (en) An alarm method and device for a PIM platform
US10157188B2 (en) Released offender geospatial location information clearinghouse
CA2733222C (en) Management of communications from stolen devices
CN111064957B (en) Equipment state monitoring method and device
CN108471442A (en) A kind of seismic network operation management system based on wechat platform
US8441348B2 (en) Multiple device loss status retrieval without ID provision
CN112713996B (en) Block chain-based fault verification method, server and terminal
CN117560343A (en) Data reporting and processing method, electronic equipment, processing system and program product
CN111259383B (en) A security management center system
CN110888790B (en) Log management method and device, electronic equipment and storage medium
CN104093199A (en) Timer setting method and terminal
CN117459286A (en) Data communication security early warning method and device based on SD-WAN
CN113824595B (en) Link switching control method and device and gateway equipment
CN110225298B (en) Method, device and system for providing image information in Internet of vehicles
CN102761430B (en) A kind of method and system obtaining warning information
CN112422896A (en) Management method and gateway of video monitoring terminal
CN111552612A (en) MSSQL monitoring management method, management device, system and computer equipment
CN116095683B (en) Network security protection method and device for wireless router

Legal Events

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