WO2023226952A1 - Vehicle state feedback method and apparatus, electronic device, and storage medium - Google Patents

Vehicle state feedback method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023226952A1
WO2023226952A1 PCT/CN2023/095667 CN2023095667W WO2023226952A1 WO 2023226952 A1 WO2023226952 A1 WO 2023226952A1 CN 2023095667 W CN2023095667 W CN 2023095667W WO 2023226952 A1 WO2023226952 A1 WO 2023226952A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
networking terminal
state
current state
data
Prior art date
Application number
PCT/CN2023/095667
Other languages
French (fr)
Chinese (zh)
Inventor
于浩洋
高洪伟
吕贵林
田鹤
刘雨恒
Original Assignee
中国第一汽车股份有限公司
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 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2023226952A1 publication Critical patent/WO2023226952A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • Embodiments of the present application relate to the field of vehicle status control, for example, to a vehicle status feedback method, device, electronic device, and storage medium.
  • the vehicle status monitoring method in the related art when the network condition of the vehicle is abnormal and the vehicle status message cannot be sent to the client in real time, the vehicle status message before the network condition is abnormal will be sent to the client. This situation will prevent the user from knowing the actual vehicle status information, and the actual vehicle status will be inconsistent with the vehicle status received by the client, which will reduce the user experience.
  • This application provides a vehicle status feedback method, device, electronic device and storage medium, which can send the actual status of the vehicle to the user in real time and improve the user experience.
  • the embodiment of the present application provides a vehicle status feedback method.
  • the method is applied to a server.
  • the vehicle includes a vehicle-mounted networking terminal, a gateway, a controller and a control component corresponding to the controller.
  • the controller sends the The running status information of the control component is sent to the vehicle networking terminal through the gateway, and the vehicle networking terminal reports data to the server according to the running status information of the control component.
  • the method includes:
  • An embodiment of the present application also provides a vehicle status feedback device, which device includes:
  • a status determination module configured to determine the current status of the vehicle based on the data reporting status of the vehicle-mounted networking terminal
  • a data determination module configured to determine feedback data corresponding to the current state of the vehicle
  • the data sending module is configured to send the feedback data to the client.
  • An embodiment of the present application also provides an electronic device, where the electronic device includes:
  • processors one or more processors
  • memory configured to store one or more programs
  • the one or more processors are caused to implement the vehicle status feedback method as provided in any embodiment of the present application.
  • Embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the vehicle status feedback method as provided in any embodiment of the present application is implemented.
  • Figure 1 is a flow chart of a vehicle status feedback method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of the vehicle networking terminal data reporting process provided by the embodiment of the present application.
  • FIG. 3 is a flow chart of another vehicle status feedback method provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of a vehicle status feedback device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 1 is a flow chart of a vehicle status feedback method provided by an embodiment of the present application.
  • the method of this embodiment can send the actual status of the vehicle to the user in real time, improving the user experience.
  • This method can be executed by the vehicle's status feedback device in the embodiment of the present application.
  • the device can be integrated in an electronic device.
  • the electronic device can be a server.
  • the method can be implemented in software and/or hardware.
  • the vehicle status feedback method provided by this embodiment includes the following steps:
  • Step 101 Determine the current status of the vehicle based on the data reporting status of the vehicle-mounted networking terminal.
  • the vehicle networking terminal can control communication between the server and the gateway.
  • the current status of the vehicle includes working status, dormant status and network abnormal status.
  • the vehicle networking terminal can receive the operating status information of multiple control components sent by the gateway. After receiving the operating status information of the multiple control components, the vehicle networking terminal can report the operating status information of the multiple control components to the server.
  • the gateway is a A computer system or device used to translate different communication protocols, data formats, and different computer languages. After receiving the data uploaded by the vehicle networking terminal, the server can analyze the data reporting situation of the vehicle networking terminal and determine the current status of the vehicle based on the analysis results.
  • FIG 2 is a schematic diagram of the data reporting process of a vehicle-mounted networking terminal provided by an embodiment of the present application.
  • a vehicle-mounted networking terminal there are multiple controllers in the vehicle.
  • Each controller can control the operating status of its corresponding control component and send the operating status information of the control component to the gateway.
  • the gateway After receiving the operating status information of the multiple control components, the gateway sends the operating status information of the multiple control components to the vehicle-mounted networking terminal.
  • the vehicle-mounted networking terminal sends the operating status information of multiple control components and its own operating status information to the server, and the server can send the operating status information of multiple control components to the client. Users can view the running status information of multiple control components of the current vehicle in real time through the client.
  • Step 102 Determine feedback data corresponding to the current state of the vehicle.
  • Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle.
  • the current status of the vehicle includes working status, dormant status and network abnormal status.
  • the server needs to send different feedback data to the client so that the user can understand the actual current status of the vehicle in real time. For example, when multiple components of the vehicle (gateway, vehicle networking terminal and controller) are in normal operating status, that is, when the current status of the vehicle is working status, the server can receive multiple control components sent by the gateway in real time. The operating status information of multiple control components can then be determined as feedback data.
  • the server When the vehicle is in a hibernation state, the server will not receive the running status information of multiple control components during this period, and the last running status information of the multiple control components received before the vehicle enters hibernation can be determined as feedback data.
  • the vehicle When the vehicle is in a network abnormality state, the vehicle can no longer receive the operating status information of multiple control components. However, since the vehicle has not entered the dormant state, the user cannot know the actual status of the vehicle.
  • the network abnormality notification information can be It is sent to the client as feedback data so that the user can understand the actual status of the vehicle.
  • Step 103 Send feedback data to the client.
  • Clients can be devices such as mobile phones, laptops, and tablets.
  • Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle. After determining the feedback data corresponding to the current state, the feedback data is sent to the client.
  • the current status of the vehicle is the working status
  • the operating status information of multiple control components received by the server includes: electric windows are closed, air conditioning is on, headlights are off, turn signals are off, and positioning systems are on.
  • the server sends the operating status information of multiple control components to the client.
  • the user can view the vehicle's electric windows closed, air conditioner turned on, headlights turned off, and steering through the client. Information such as lights off and system on.
  • This solution determines the current status of the vehicle through data reporting based on the vehicle networking terminal; Determine the feedback data corresponding to the current state of the vehicle; send the feedback data to the client.
  • the method of this embodiment can accurately and timely determine the current state of the vehicle, and feedback data corresponding to the current state of the vehicle to the user according to the different current states of the vehicle, so that the user can real-time, The actual status of the vehicle at the current moment is accurately known, which avoids the situation where the feedback data received by the user does not correspond to the actual status of the vehicle, and improves the user experience.
  • FIG. 3 is a flow chart of another vehicle status feedback method provided by an embodiment of the present application. This embodiment refines the vehicle status feedback method. As shown in Figure 3, the refined vehicle status feedback method mainly includes follow these steps:
  • Step 201 Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within a first preset time period.
  • the vehicle's multiple controllers can transmit the operating status information of the control components to the vehicle networking terminal in real time through the gateway.
  • the vehicle networking terminal will upload the operating status information of the control components to the server at a fixed period.
  • the length of the fixed period can be set according to specific needs and actual environment.
  • the first preset duration may be determined according to the duration of the fixed period and specific needs.
  • the first preset duration may be the same as the duration of the fixed period, or may be greater than the duration of the fixed period. Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within a first preset time period.
  • Step 202 In response to receiving the determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal within the first preset time period, determine that the current state of the vehicle is the working state.
  • the server can receive the operating state information of the control component within the first preset time period. Therefore, if the operating status information of the control component reported by the vehicle-mounted networking terminal is received within the first preset time period, it is determined that the current state of the vehicle is the working state.
  • Step 203 When the current state of the vehicle is the working state, determine that the feedback data is the operating state information of the control component received at the current moment.
  • Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle.
  • the current state of the vehicle is the working state, it indicates that the vehicle is being used and the user needs to know the operating status information of the control components of the vehicle at the current moment.
  • the feedback data is determined to be the operating state information of the control component received at the current moment.
  • Step 204 Determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or whether the sleep notification information and the specified amount of heartbeat data reported by the vehicle-mounted networking terminal are received.
  • the sleep notification information is the notification information that the vehicle networking terminal needs to send to the server when the vehicle enters the sleep state.
  • the vehicle When the vehicle will not be used temporarily, the vehicle will enter the vehicle sleep state.
  • the vehicle's controller When the vehicle is in sleep state, the vehicle's controller will enter a low-power state and will no longer send the operating status information of multiple control components to the vehicle networking terminal. Instead, it will send sleep information to the vehicle networking terminal before the vehicle enters the vehicle sleep state. Notification information.
  • the vehicle-mounted networking terminal will report sleep notification information to the server, and the server will receive the sleep notification information reported by the vehicle-mounted networking terminal. After the vehicle enters the vehicle sleep state, the vehicle networking terminal itself may also enter the sleep state.
  • the vehicle networking terminal reports sleep notification information to the server, it may also report a specified amount of heartbeat data.
  • the heartbeat data includes heartbeat messages, and the heartbeat messages are used to monitor the operating status of the vehicle-mounted networking terminal.
  • Using a specified amount of heartbeat data can indicate that the in-vehicle networking terminal is about to enter a sleep state or an offline state. Determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or whether the sleep notification information and the specified amount of heartbeat data reported by the vehicle-mounted networking terminal are received.
  • Step 205 In response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the determination result of the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal, determine that the current state of the vehicle is Sleep state.
  • the vehicle networking terminal When the vehicle enters the vehicle sleep state, the vehicle networking terminal will report sleep notification information to the server. Therefore, if the sleep notification information reported by the vehicle-mounted networking terminal is received, it is determined that the current state of the vehicle is the sleep state.
  • the vehicle networking terminal When the vehicle enters the vehicle sleep state and the vehicle networking terminal also enters the sleep state or offline state, the vehicle networking terminal will report the sleep notification information and the specified amount of heartbeat data to the server. Therefore, if the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal are received, it is determined that the current state of the vehicle is the sleep state.
  • Step 206 When the current state of the vehicle is the sleep state, determine that the feedback data is the last received operating state information of the control component.
  • Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle.
  • the current state of the vehicle is the sleep state, it indicates that the vehicle will not be used temporarily, and the user only needs to know the operating status information of the control components before the vehicle enters the vehicle sleep state.
  • the feedback data is determined to be the last received operating state information of the control component.
  • Step 207 Determine whether the operating status information of the control component reported by the vehicle-mounted networking terminal is received within the second preset time period.
  • the second preset duration may be determined according to the first preset duration and specific needs, and the second preset duration is longer than the first preset duration.
  • the network may be poor or disconnected.
  • the vehicle networking terminal cannot report the operating status information of the control component to the server, and the server will not receive the operating status of the control component reported by the vehicle networking terminal within the second preset time period. information. Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within the second preset time period.
  • Step 208 In response to the determination result that the operating status information of the control component reported by the vehicle-mounted networking terminal is not received within the second preset time period, determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received within the second preset time period.
  • the vehicle networking terminal When the vehicle is in a non-working state or a dormant state, the vehicle networking terminal will not send the operating status information of the control component to the server at a fixed period. Therefore, when the operating status information of the control component reported by the vehicle networking terminal is not received within the second preset time period, it means that the vehicle is in a non-working state or the network is abnormal. Sleep notification information reported by network-connected terminals. Of course, if the operating status information of the control component reported by the vehicle networking terminal is received within the second preset time period, it is determined that the current state of the vehicle is a working state.
  • Step 209 In response to the determination result that the sleep notification information reported by the vehicle networking terminal is not received within the second preset time period, determine that the current state of the vehicle is a network abnormal state.
  • the operating status information of the control component reported by the vehicle networking terminal is not received within the second preset time period, it means that the vehicle may be in a non-working state or a dormant state or a network abnormal state. If the operating status information of the control component reported by the vehicle networking terminal is not received within the second preset time period, and the sleep notification information reported by the vehicle networking terminal is not received within the second preset time period, it indicates that the vehicle has not entered the vehicle at the current moment. The entire vehicle is in sleep state, and it can be determined that the current state of the vehicle is a network abnormal state. Of course, if the sleep notification information reported by the vehicle networking terminal is received within the second preset time, it is determined that the current state of the vehicle is the sleep state.
  • Step 210 When the current state of the vehicle is a network abnormality state, determine that the feedback data is network abnormality notification information.
  • the feedback data can be determined to be network exception notification information.
  • the operating status information of the control component received before the vehicle is in the network abnormal state is set to invalid information to avoid the inconsistency between the feedback data received by the user and the actual working status of the vehicle.
  • the network abnormality notification information is fed back to the user so that the user can understand the current working status of the vehicle.
  • network abnormality notification information can be fed back to users by displaying pictures or text of network abnormality on mobile phones and other devices.
  • Step 211 Send feedback data to the client.
  • the vehicle status feedback method can determine whether the vehicle is within the first preset time period. Whether the operating status information of the control component reported by the vehicle-mounted networking terminal is received; in response to the determination result of receiving the operating status information of the control component reported by the vehicle-mounted networking terminal within the first preset time period, it is determined that the current state of the vehicle is working status; when the current status of the vehicle is the working status, determine that the feedback data is the operating status information of the control component received at the current moment; determine whether the sleep notification information reported by the vehicle networking terminal is received, or whether it is received The sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal; in response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal As a result of the determination, it is determined that the current state of the vehicle is the sleep state; when the current state of the vehicle is the sleep state, it is determined that the feedback data
  • the sleep notification information reported by the vehicle-mounted networking terminal is received within the second preset time period; in response to the determination result that the sleep notification information reported by the vehicle-mounted networking terminal is not received within the second preset time period, it is determined that the current state of the vehicle is a network abnormal state ;
  • the current state of the vehicle is a network abnormality state
  • the method of the embodiment of the present application can accurately determine the actual status of the vehicle in real time. When the vehicle network status is abnormal, network abnormality information is fed back to the user, thus avoiding the feedback received by the user when the vehicle network status is abnormal. The data does not match the actual working status of the vehicle, which improves the user experience.
  • FIG. 4 is a schematic structural diagram of a vehicle status feedback device provided by an embodiment of the present application.
  • An embodiment of the present application provides a vehicle status feedback device.
  • the device includes: a status determination module 401, configured to determine the current status of the vehicle based on the data reporting situation of the vehicle networking terminal; a data determination module 402 , is configured to determine the feedback data corresponding to the current state of the vehicle; the data sending module 403 is configured to send the feedback data to the client.
  • the status determination module 401 is configured to: determine whether the operating status information of the control component reported by the vehicle networking terminal is received within the first preset time period; respond to After receiving the determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal, it is determined that the current state of the vehicle is a working state.
  • the data determination module 402 is configured to: when the current state of the vehicle is a working state, determine that the feedback data is the operating state information of the control component received at the current moment.
  • the status determination module 401 is configured to: determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or determine whether the sleep notification reported by the vehicle-mounted networking terminal is received. information and a specified number of heartbeat data; in response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal and the specified number of heartbeat data , determining that the current state of the vehicle is a dormant state.
  • the data determination module 402 is configured to determine that the feedback data is the last received operating status information of the control component when the current state of the vehicle is a sleep state.
  • the status determination module 401 is configured to: determine whether the operating status information of the control component reported by the vehicle networking terminal is received within the second preset time period; The determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal is not received, and determining whether the sleep notification information reported by the vehicle-mounted networking terminal is received within the second preset time period; in response to the If the determination result is that the sleep notification information reported by the vehicle-mounted networking terminal is not received within the second preset time period, it is determined that the current state of the vehicle is a network abnormal state.
  • the data determination module 402 is configured to determine that the feedback data is network abnormality notification information when the current state of the vehicle is a network abnormality state.
  • the vehicle status feedback device provided by the embodiments of this application can execute the vehicle status feedback method provided by any embodiment of this application, and has corresponding functional modules and effects for executing the method.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 shows a schematic structural diagram of a computer system 12 suitable for implementing the electronic device of the embodiment of the present application.
  • the electronic device shown in FIG. 5 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present application.
  • Components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting various system components (including system memory 28 and processing unit 16).
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerated port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards) Association, VESA) local bus and Peripheral Component Interconnect (PCI) bus.
  • Electronic device 12 includes a variety of computer system readable media. These media may be any available media that can be accessed by electronic device 12, including volatile and non-volatile media, removable and non-removable. medium.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • Electronic device 12 may include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in Figure 5, commonly referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk may be provided, as well as a disk drive for reading and writing to a removable non-volatile optical disk (such as a portable compact disk read-only memory ( Compact Disc Read-Only Memory, CD-ROM), high-density digital video disc read-only memory (Digital Video Disc Read-Only Memory, DVD-ROM) or other optical media) read and write optical disc drive.
  • a removable non-volatile optical disk such as a portable compact disk read-only memory ( Compact Disc Read-Only Memory, CD-ROM), high-density digital video disc read-only memory (Digital Video Disc Read-Only Memory, DVD-ROM) or other optical media
  • each drive may be connected to bus 18 through one or more data media interfaces.
  • Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present application.
  • a program/utility 40 having a set of (at least one) program modules 42, which may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other programs Modules, as well as program data, each or a combination of these examples may include an implementation of a network environment.
  • Program modules 42 generally perform functions and/or methods in the embodiments described herein.
  • Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 12, and/or with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. This communication may occur through an input/output (I/O) interface 22 .
  • the display 24 does not exist as an independent entity, but is embedded in the mirror. When the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated.
  • the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN), and/or a public network, such as the Internet) through the network adapter 20.
  • network adapter 20 communicates with other modules of electronic device 12 via bus 18 .
  • other hardware and/or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays). of Independent Disks, RAID) systems, tape drives and data backup storage systems, etc.
  • the processing unit 16 executes a variety of functional applications and vehicle status feedback by running programs stored in the system memory 28, for example, implementing a vehicle status feedback provided by the embodiment of the present application.
  • Feedback method determine the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal; determine feedback data corresponding to the current state of the vehicle; and send the feedback data to the client.
  • Embodiments of the present application provide a computer-readable storage medium on which a computer program is stored.
  • a vehicle status feedback method as provided by all inventive embodiments of the present application is implemented: based on the vehicle-mounted
  • the data reporting situation of the networking terminal determines the current state of the vehicle; determines feedback data corresponding to the current state of the vehicle; and sends the feedback data to the client.
  • Any combination of one or more computer-readable media may be employed.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof.
  • Computer-readable storage media may include (a non-exhaustive list): an electrical connection having one or more wires, a portable computer disk, a hard drive, RAM, read-only memory (ROM), erasable programmable Read-only memory (Electrically Erasable Programmable Read-Only Memory, EPROM) or flash memory, optical fiber, CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, the propagated data signal carrying computer-readable program code. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can be sent, propagated, or transmitted for use by or in connection with an instruction execution system, apparatus, or device. A program for use with a device or device.
  • Program code embodied on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • any appropriate medium including but not limited to wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages. , such as "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, through the Internet using an Internet service provider).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Cardiology (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present application disclose a vehicle state feedback method and apparatus, an electronic device, and a storage medium. The method comprises: determining the current state of a vehicle on the basis of a data reporting condition of a vehicle-mounted networked terminal; determining feedback data corresponding to the current state of the vehicle; and sending the feedback data to a client.

Description

车辆的状态反馈方法、装置、电子设备和存储介质Vehicle status feedback method, device, electronic equipment and storage medium
本申请要求在2022年05月23日提交中国专利局、申请号为202210561048.4的中国专利申请的优先权,以上申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application with application number 202210561048.4, which was submitted to the China Patent Office on May 23, 2022. The entire content of the above application is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及车辆状态控制领域,例如涉及一种车辆的状态反馈方法、装置、电子设备和存储介质。Embodiments of the present application relate to the field of vehicle status control, for example, to a vehicle status feedback method, device, electronic device, and storage medium.
背景技术Background technique
随着互联网的发展,越来越多的车辆具备了联网功能。通过车联网***,用户可以利用手机应用程序(Application,APP)远程查看车辆状态。但是车辆所处的环境往往会存在网络状态不佳的情况,导致云端服务器无法将车辆状态报文实时发送至客户端。With the development of the Internet, more and more vehicles are equipped with networking functions. Through the Internet of Vehicles system, users can use mobile applications (Application, APP) to remotely check vehicle status. However, the environment in which the vehicle is located often has poor network status, causing the cloud server to be unable to send vehicle status messages to the client in real time.
相关技术中的车辆状态监控方法中,当车辆的网络状况出现异常,无法将车辆状态报文实时发送给客户端时,会将在网络状况出现异常之前的车辆状态报文发送给客户端。这种情况会使得用户无法得知到实际的车辆状态信息,会出现实际车辆状态与客户端接收到的车辆状态不符的情况,降低了用户体验。In the vehicle status monitoring method in the related art, when the network condition of the vehicle is abnormal and the vehicle status message cannot be sent to the client in real time, the vehicle status message before the network condition is abnormal will be sent to the client. This situation will prevent the user from knowing the actual vehicle status information, and the actual vehicle status will be inconsistent with the vehicle status received by the client, which will reduce the user experience.
发明内容Contents of the invention
本申请提供一种车辆的状态反馈方法、装置、电子设备和存储介质,能够实时向用户发送车辆实际所处状态,提高用户体验。This application provides a vehicle status feedback method, device, electronic device and storage medium, which can send the actual status of the vehicle to the user in real time and improve the user experience.
本申请实施例提供了一种车辆的状态反馈方法,所述方法应用于服务器,所述车辆包括车载联网终端、网关、控制器和所述控制器对应的控制组件,所述控制器将所述控制组件的运行状态信息通过所述网关发送给所述车载联网终端,所述车载联网终端根据所述控制组件的运行状态信息向所述服务器上报数据,所述方法包括:The embodiment of the present application provides a vehicle status feedback method. The method is applied to a server. The vehicle includes a vehicle-mounted networking terminal, a gateway, a controller and a control component corresponding to the controller. The controller sends the The running status information of the control component is sent to the vehicle networking terminal through the gateway, and the vehicle networking terminal reports data to the server according to the running status information of the control component. The method includes:
基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态;Determine the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal;
确定所述车辆的当前所处状态对应的反馈数据;Determine feedback data corresponding to the current state of the vehicle;
向客户端发送所述反馈数据。Send the feedback data to the client.
本申请实施例还提供了一种车辆的状态反馈装置,所述装置包括:An embodiment of the present application also provides a vehicle status feedback device, which device includes:
状态确定模块,设置为基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态; A status determination module configured to determine the current status of the vehicle based on the data reporting status of the vehicle-mounted networking terminal;
数据确定模块,设置为确定所述车辆的当前所处状态对应的反馈数据;a data determination module configured to determine feedback data corresponding to the current state of the vehicle;
数据发送模块,设置为向客户端发送所述反馈数据。The data sending module is configured to send the feedback data to the client.
本申请实施例还提供了一种电子设备,所述电子设备包括:An embodiment of the present application also provides an electronic device, where the electronic device includes:
一个或多个处理器;one or more processors;
存储器,设置为存储一个或多个程序;memory configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本申请任意实施例提供的车辆的状态反馈方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the vehicle status feedback method as provided in any embodiment of the present application.
本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请任意实施例提供的车辆的状态反馈方法。Embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the vehicle status feedback method as provided in any embodiment of the present application is implemented.
附图说明Description of the drawings
图1是本申请实施例提供的一种车辆的状态反馈方法的流程图;Figure 1 is a flow chart of a vehicle status feedback method provided by an embodiment of the present application;
图2是本申请实施例提供的车载联网终端数据上报过程的示意图;Figure 2 is a schematic diagram of the vehicle networking terminal data reporting process provided by the embodiment of the present application;
图3是本申请实施例提供的另一种车辆的状态反馈方法的流程图;Figure 3 is a flow chart of another vehicle status feedback method provided by an embodiment of the present application;
图4是本申请实施例提供的一种车辆的状态反馈装置的结构示意图;Figure 4 is a schematic structural diagram of a vehicle status feedback device provided by an embodiment of the present application;
图5是本申请实施例提供的电子设备的一个结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The present application will be described below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, for convenience of description, only some but not all structures related to the present application are shown in the drawings.
图1是本申请实施例提供的一种车辆的状态反馈方法的流程图,本实施例的方法能够实时向用户发送车辆实际所处状态,提高用户体验。该方法可以由本申请实施例中的车辆的状态反馈装置来执行,该装置可集成在电子设备中,所述电子设备可以是服务器,该方法可以采用软件和/或硬件的方式实现。本实施例提供的车辆的状态反馈方法包括如下步骤:Figure 1 is a flow chart of a vehicle status feedback method provided by an embodiment of the present application. The method of this embodiment can send the actual status of the vehicle to the user in real time, improving the user experience. This method can be executed by the vehicle's status feedback device in the embodiment of the present application. The device can be integrated in an electronic device. The electronic device can be a server. The method can be implemented in software and/or hardware. The vehicle status feedback method provided by this embodiment includes the following steps:
步骤101、基于车载联网终端的数据上报情况确定车辆的当前所处状态。Step 101: Determine the current status of the vehicle based on the data reporting status of the vehicle-mounted networking terminal.
车载联网终端可以控制服务器和网关之间进行通信。车辆的当前所处状态包括工作状态、休眠状态和网络异常状态。车载联网终端可以接收网关发送的多个控制组件的运行状态信息,车辆联网终端接收到多个控制组件的运行状态信息后,可以将多个控制组件的运行状态信息上报给服务器。其中,网关是一 种用于对不同的通信协议、数据格式和不同的计算机语言进行翻译的计算机***或设备。服务器在接收到车载联网终端上传的数据后,可以对车载联网终端的数据上报情况进行分析,根据分析结果确定车辆的当前所处状态。The vehicle networking terminal can control communication between the server and the gateway. The current status of the vehicle includes working status, dormant status and network abnormal status. The vehicle networking terminal can receive the operating status information of multiple control components sent by the gateway. After receiving the operating status information of the multiple control components, the vehicle networking terminal can report the operating status information of the multiple control components to the server. Among them, the gateway is a A computer system or device used to translate different communication protocols, data formats, and different computer languages. After receiving the data uploaded by the vehicle networking terminal, the server can analyze the data reporting situation of the vehicle networking terminal and determine the current status of the vehicle based on the analysis results.
图2是本申请实施例提供的车载联网终端数据上报过程的示意图。如图2所示,车辆中存在有多个控制器,每个控制器可以控制其对应的控制组件的运行状态,并将控制组件的运行状态信息发送给网关。网关在接收到多个控制组件的运行状态信息后,将多个控制组件的运行状态信息发送给车载联网终端。车载联网终端将多个控制组件的运行状态信息和自身运行状态信息发送给服务器,服务器可以将多个控制组件的运行状态信息发送至客户端。用户可以通过客户端实时查看当前车辆的多个控制组件的运行状态信息。Figure 2 is a schematic diagram of the data reporting process of a vehicle-mounted networking terminal provided by an embodiment of the present application. As shown in Figure 2, there are multiple controllers in the vehicle. Each controller can control the operating status of its corresponding control component and send the operating status information of the control component to the gateway. After receiving the operating status information of the multiple control components, the gateway sends the operating status information of the multiple control components to the vehicle-mounted networking terminal. The vehicle-mounted networking terminal sends the operating status information of multiple control components and its own operating status information to the server, and the server can send the operating status information of multiple control components to the client. Users can view the running status information of multiple control components of the current vehicle in real time through the client.
步骤102、确定车辆的当前所处状态对应的反馈数据。Step 102: Determine feedback data corresponding to the current state of the vehicle.
反馈数据是服务器在确定了车辆的当前所处状态后,针对当前所处状态确定的可以向客户端发送的数据。车辆的当前所处状态包括工作状态、休眠状态和网络异常状态。车辆的当前所处状态不同时,服务器需要向客户端发送不同的反馈数据,以便用户实时了解到车辆当前所处的实际状态。例如,当车辆的多个部件(网关、车载联网终端和控制器)都处于正常的运行状态时,即车辆的当前所处状态为工作状态时,服务器可以实时接收到网关发送的多个控制组件的运行状态信息,然后可以将多个控制组件的运行状态信息确定为反馈数据。当车辆处于休眠状态时,服务器在此期间不会接收到多个控制组件的运行状态信息,可以将在车辆进入休眠之前最后一次接收到的多个控制组件的运行状态信息确定为反馈数据。当车辆处于网络异常状态时,车辆无法再接收到多个控制组件的运行状态信息,但由于车辆也没有进入休眠状态,因此用户无法得知车辆当前所处的实际状态,可以将网络异常通知信息作为反馈数据发送至客户端,以便于用户了解到车辆当前所处的实际状态。Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle. The current status of the vehicle includes working status, dormant status and network abnormal status. When the current status of the vehicle is different, the server needs to send different feedback data to the client so that the user can understand the actual current status of the vehicle in real time. For example, when multiple components of the vehicle (gateway, vehicle networking terminal and controller) are in normal operating status, that is, when the current status of the vehicle is working status, the server can receive multiple control components sent by the gateway in real time. The operating status information of multiple control components can then be determined as feedback data. When the vehicle is in a hibernation state, the server will not receive the running status information of multiple control components during this period, and the last running status information of the multiple control components received before the vehicle enters hibernation can be determined as feedback data. When the vehicle is in a network abnormality state, the vehicle can no longer receive the operating status information of multiple control components. However, since the vehicle has not entered the dormant state, the user cannot know the actual status of the vehicle. The network abnormality notification information can be It is sent to the client as feedback data so that the user can understand the actual status of the vehicle.
步骤103、向客户端发送反馈数据。Step 103: Send feedback data to the client.
客户端可以是手机、笔记本电脑和平板电脑等设备。反馈数据是服务器在确定了车辆的当前所处状态后,针对当前所处状态确定的可以向客户端发送的数据。在确定了当前所处状态对应的反馈数据后,向客户端发送反馈数据。例如,车辆的当前所处状态为工作状态,服务器接收到的多个控制组件的运行状态信息包括:电动车窗关闭、空调开启、大灯关闭、转向灯关闭和定位***开启等。服务器在接收到多个控制组件的运行状态信息后,将多个控制组件的运行状态信息发送给客户端,用户可以通过客户端查看到车辆的电动车窗关闭、空调开启、大灯关闭、转向灯关闭和定***开启等信息。Clients can be devices such as mobile phones, laptops, and tablets. Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle. After determining the feedback data corresponding to the current state, the feedback data is sent to the client. For example, the current status of the vehicle is the working status, and the operating status information of multiple control components received by the server includes: electric windows are closed, air conditioning is on, headlights are off, turn signals are off, and positioning systems are on. After receiving the operating status information of multiple control components, the server sends the operating status information of multiple control components to the client. The user can view the vehicle's electric windows closed, air conditioner turned on, headlights turned off, and steering through the client. Information such as lights off and system on.
本方案通过基于车载联网终端的数据上报情况确定车辆的当前所处状态; 确定车辆的当前所处状态对应的反馈数据;向客户端发送反馈数据。本实施例的方法能够准确、及时的确定出车辆的当前所处状态,并且根据车辆的当前所处的不同的状态,向用户反馈车辆的当前所处状态对应的反馈数据,使得用户可以实时、准确的得知到车辆当前时刻的实际所处状态,避免了用户接收到的反馈数据与车辆实际所处状态不对应的情况发生,提高了用户体验。This solution determines the current status of the vehicle through data reporting based on the vehicle networking terminal; Determine the feedback data corresponding to the current state of the vehicle; send the feedback data to the client. The method of this embodiment can accurately and timely determine the current state of the vehicle, and feedback data corresponding to the current state of the vehicle to the user according to the different current states of the vehicle, so that the user can real-time, The actual status of the vehicle at the current moment is accurately known, which avoids the situation where the feedback data received by the user does not correspond to the actual status of the vehicle, and improves the user experience.
实施例二Embodiment 2
图3是本申请实施例提供的另一种车辆的状态反馈方法的流程图,本实施例细化了车辆的状态反馈方法,如图3所示,细化后的车辆的状态反馈方法主要包括如下步骤:Figure 3 is a flow chart of another vehicle status feedback method provided by an embodiment of the present application. This embodiment refines the vehicle status feedback method. As shown in Figure 3, the refined vehicle status feedback method mainly includes Follow these steps:
步骤201、确定在第一预设时长内是否接收到车载联网终端上报的控制组件的运行状态信息。Step 201: Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within a first preset time period.
车辆在正常工作的情况下,车辆的多个控制器可以通过网关向车载联网终端实时传递控制组件的运行状态信息。车载联网终端会按照固定周期将控制组件的运行状态信息上传至服务器。其中,固定周期的时长可以根据具体需求和实际环境进行设定。第一预设时长可以根据固定周期的时长和具体需求而定,第一预设时长可以和固定周期的时长相同,也可以大于固定周期的时长。确定在第一预设时长内是否接收到车载联网终端上报的控制组件的运行状态信息。When the vehicle is operating normally, the vehicle's multiple controllers can transmit the operating status information of the control components to the vehicle networking terminal in real time through the gateway. The vehicle networking terminal will upload the operating status information of the control components to the server at a fixed period. Among them, the length of the fixed period can be set according to specific needs and actual environment. The first preset duration may be determined according to the duration of the fixed period and specific needs. The first preset duration may be the same as the duration of the fixed period, or may be greater than the duration of the fixed period. Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within a first preset time period.
步骤202、响应于在第一预设时长内接收到了车载联网终端上报的控制组件的运行状态信息的确定结果,确定车辆的当前所处状态为工作状态。Step 202: In response to receiving the determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal within the first preset time period, determine that the current state of the vehicle is the working state.
当车辆的当前所处状态为工作状态时,在车载联网终端以固定周期的方式将控制组件的运行状态信息上传至服务器后,服务器可以在第一预设时长内接收到控制组件的运行状态信息。因此,若在第一预设时长内接收到了车载联网终端上报的控制组件的运行状态信息,则确定车辆的当前所处状态为工作状态。When the current state of the vehicle is the working state, after the vehicle networking terminal uploads the operating state information of the control component to the server in a fixed periodic manner, the server can receive the operating state information of the control component within the first preset time period. . Therefore, if the operating status information of the control component reported by the vehicle-mounted networking terminal is received within the first preset time period, it is determined that the current state of the vehicle is the working state.
步骤203、在车辆的当前所处状态为工作状态的情况下,确定反馈数据为当前时刻接收到的控制组件的运行状态信息。Step 203: When the current state of the vehicle is the working state, determine that the feedback data is the operating state information of the control component received at the current moment.
反馈数据是服务器在确定了车辆的当前所处状态后,针对当前所处状态确定的可以向客户端发送的数据。当车辆的当前所处状态为工作状态时,表明车辆正在被使用并且用户需要得知车辆当前时刻的控制组件的运行状态信息。在车辆的当前所处状态为工作状态时,确定反馈数据为当前时刻接收到的控制组件的运行状态信息。Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle. When the current state of the vehicle is the working state, it indicates that the vehicle is being used and the user needs to know the operating status information of the control components of the vehicle at the current moment. When the current state of the vehicle is the working state, the feedback data is determined to be the operating state information of the control component received at the current moment.
步骤204、确定是否接收到车载联网终端上报的休眠通知信息,或者确定是否接收到车载联网终端上报的休眠通知信息和指定数量的心跳数据。 Step 204: Determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or whether the sleep notification information and the specified amount of heartbeat data reported by the vehicle-mounted networking terminal are received.
休眠通知信息是整车进入休眠状态时,车载联网终端需要向服务器发送的通知信息。当车辆暂时不会被使用时,车辆会进入整车休眠状态。整车休眠状态下车辆的控制器会进入低功耗状态,不会再向车载联网终端发送多个控制组件的运行状态信息,而是在车辆进入整车休眠状态之前,向车载联网终端发送休眠通知信息。车载联网终端会向服务器上报休眠通知信息,服务器会接收到车载联网终端上报的休眠通知信息。在车辆进入整车休眠状态后,车载联网终端自身也可能会进入休眠状态,因此,在车载联网终端向服务器上报休眠通知信息的同时,还可能会上报指定数量的心跳数据。其中,心跳数据包括心跳报文,心跳报文用于监控车载联网终端的运行状态。用指定数量的心跳数据可以表示车载联网终端即将进入休眠状态或离线状态。确定是否接收到车载联网终端上报的休眠通知信息,或者确定是否接收到车载联网终端上报的休眠通知信息和指定数量的心跳数据。The sleep notification information is the notification information that the vehicle networking terminal needs to send to the server when the vehicle enters the sleep state. When the vehicle will not be used temporarily, the vehicle will enter the vehicle sleep state. When the vehicle is in sleep state, the vehicle's controller will enter a low-power state and will no longer send the operating status information of multiple control components to the vehicle networking terminal. Instead, it will send sleep information to the vehicle networking terminal before the vehicle enters the vehicle sleep state. Notification information. The vehicle-mounted networking terminal will report sleep notification information to the server, and the server will receive the sleep notification information reported by the vehicle-mounted networking terminal. After the vehicle enters the vehicle sleep state, the vehicle networking terminal itself may also enter the sleep state. Therefore, while the vehicle networking terminal reports sleep notification information to the server, it may also report a specified amount of heartbeat data. Among them, the heartbeat data includes heartbeat messages, and the heartbeat messages are used to monitor the operating status of the vehicle-mounted networking terminal. Using a specified amount of heartbeat data can indicate that the in-vehicle networking terminal is about to enter a sleep state or an offline state. Determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or whether the sleep notification information and the specified amount of heartbeat data reported by the vehicle-mounted networking terminal are received.
步骤205、响应于接收到了车载联网终端上报的休眠通知信息的确定结果,或者响应于接收到了车载联网终端上报的休眠通知信息和指定数量的心跳数据的确定结果,确定车辆的当前所处状态为休眠状态。Step 205: In response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the determination result of the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal, determine that the current state of the vehicle is Sleep state.
在车辆进入整车休眠状态时,车载联网终端会向服务器上报休眠通知信息。因此,若接收到了车载联网终端上报的休眠通知信息,则确定车辆的当前所处状态为休眠状态。当车辆进入整车休眠状态,车载联网终端也进入休眠状态或离线状态时,车载联网终端会向服务器上报休眠通知信息和指定数量的心跳数据。因此,若接收到了车载联网终端上报的休眠通知信息和指定数量的心跳数据,则确定车辆的当前所处状态为休眠状态。When the vehicle enters the vehicle sleep state, the vehicle networking terminal will report sleep notification information to the server. Therefore, if the sleep notification information reported by the vehicle-mounted networking terminal is received, it is determined that the current state of the vehicle is the sleep state. When the vehicle enters the vehicle sleep state and the vehicle networking terminal also enters the sleep state or offline state, the vehicle networking terminal will report the sleep notification information and the specified amount of heartbeat data to the server. Therefore, if the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal are received, it is determined that the current state of the vehicle is the sleep state.
步骤206、在车辆的当前所处状态为休眠状态的情况下,确定反馈数据为最后一次接收到的控制组件的运行状态信息。Step 206: When the current state of the vehicle is the sleep state, determine that the feedback data is the last received operating state information of the control component.
反馈数据是服务器在确定了车辆的当前所处状态后,针对当前所处状态确定的可以向客户端发送的数据。当车辆的当前所处状态为休眠状态时,表明车辆暂时不会被使用,用户只需知道车辆在进入整车休眠状态之前的控制组件的运行状态信息。在车辆的当前所处状态为休眠状态时,确定反馈数据为最后一次接收到的控制组件的运行状态信息。Feedback data is data that the server can send to the client based on the current state after determining the current state of the vehicle. When the current state of the vehicle is the sleep state, it indicates that the vehicle will not be used temporarily, and the user only needs to know the operating status information of the control components before the vehicle enters the vehicle sleep state. When the current state of the vehicle is the sleep state, the feedback data is determined to be the last received operating state information of the control component.
步骤207、确定在第二预设时长内是否接收到车载联网终端上报的控制组件的运行状态信息。Step 207: Determine whether the operating status information of the control component reported by the vehicle-mounted networking terminal is received within the second preset time period.
第二预设时长可以根据第一预设时长和具体需求而定,第二预设时长大于第一预设时长。车辆处于工作状态时,有可能存在网络不好或网络断开的情况。在这种情况下,车载联网终端无法向服务器上报控制组件的运行状态信息,服务器在第二预设时长内也不会接收到车载联网终端上报的控制组件的运行状态 信息。确定在第二预设时长内是否接收到车载联网终端上报的控制组件的运行状态信息。The second preset duration may be determined according to the first preset duration and specific needs, and the second preset duration is longer than the first preset duration. When the vehicle is in working condition, the network may be poor or disconnected. In this case, the vehicle networking terminal cannot report the operating status information of the control component to the server, and the server will not receive the operating status of the control component reported by the vehicle networking terminal within the second preset time period. information. Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within the second preset time period.
步骤208、响应于在第二预设时长内没有接收到车载联网终端上报的控制组件的运行状态信息的确定结果,确定在第二预设时长内是否接收到车载联网终端上报的休眠通知信息。Step 208: In response to the determination result that the operating status information of the control component reported by the vehicle-mounted networking terminal is not received within the second preset time period, determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received within the second preset time period.
当车辆处于非工作状态或者休眠状态时,车载联网终端不会按照固定周期向服务器发送控制组件的运行状态信息。因此,当在第二预设时长内没有接收到车载联网终端上报的控制组件的运行状态信息时,表示车辆处于非工作状态或者网络异常状态,可以确定在第二预设时长内是否接收到车载联网终端上报的休眠通知信息。当然,若在第二预设时长内接收到了车载联网终端上报的控制组件的运行状态信息,则确定车辆的当前所处状态为工作状态。When the vehicle is in a non-working state or a dormant state, the vehicle networking terminal will not send the operating status information of the control component to the server at a fixed period. Therefore, when the operating status information of the control component reported by the vehicle networking terminal is not received within the second preset time period, it means that the vehicle is in a non-working state or the network is abnormal. Sleep notification information reported by network-connected terminals. Of course, if the operating status information of the control component reported by the vehicle networking terminal is received within the second preset time period, it is determined that the current state of the vehicle is a working state.
步骤209、响应于在第二预设时长内没有接收到车载联网终端上报的休眠通知信息的确定结果,确定车辆的当前所处状态为网络异常状态。Step 209: In response to the determination result that the sleep notification information reported by the vehicle networking terminal is not received within the second preset time period, determine that the current state of the vehicle is a network abnormal state.
若在第二预设时长内没有接收到车载联网终端上报的控制组件的运行状态信息,则表示车辆可能处于非工作状态或休眠状态或网络异常状态。若在第二预设时长内没有接收到车载联网终端上报的控制组件的运行状态信息,并且在第二预设时长内没有接收到车载联网终端上报的休眠通知信息,则表明当前时刻车辆没有进入整车休眠状态,可以确定车辆的当前所处状态为网络异常状态。当然,若在第二预设时间内接收到了车载联网终端上报的休眠通知信息,则确定车辆的当前所处状态为休眠状态。If the operating status information of the control component reported by the vehicle networking terminal is not received within the second preset time period, it means that the vehicle may be in a non-working state or a dormant state or a network abnormal state. If the operating status information of the control component reported by the vehicle networking terminal is not received within the second preset time period, and the sleep notification information reported by the vehicle networking terminal is not received within the second preset time period, it indicates that the vehicle has not entered the vehicle at the current moment. The entire vehicle is in sleep state, and it can be determined that the current state of the vehicle is a network abnormal state. Of course, if the sleep notification information reported by the vehicle networking terminal is received within the second preset time, it is determined that the current state of the vehicle is the sleep state.
步骤210、在车辆的当前所处状态为网络异常状态的情况下,确定反馈数据为网络异常通知信息。Step 210: When the current state of the vehicle is a network abnormality state, determine that the feedback data is network abnormality notification information.
在车辆的当前所处状态为网络异常状态时,有可能此时车辆正在被使用,但用户无法接收到当前车辆的控制组件的运行状态信息。为了让用户在无法得知当前车辆的控制组件的运行状态信息下,了解到当前车辆无法显示控制组件的运行状态信息的原因以及车辆所处的实际状态,可以确定反馈数据为网络异常通知信息。并且将在车辆的所处状态为网络异常状态之前接收到的控制组件的运行状态信息设置为无效信息,避免用户接收到的反馈数据和车辆实际工作状态不符的情况发生。然后将网络异常通知信息反馈给用户,使用户可以了解到当前车辆所处的工作状态。其中,可以通过在手机等设备上显示网络异常的图片或文本的方式,向用户反馈网络异常通知信息。When the current state of the vehicle is a network abnormal state, it is possible that the vehicle is being used at this time, but the user cannot receive the operating status information of the current vehicle's control components. In order to allow users to understand the reason why the current vehicle cannot display the operating status information of the control components and the actual status of the vehicle without knowing the operating status information of the current vehicle's control components, the feedback data can be determined to be network exception notification information. And the operating status information of the control component received before the vehicle is in the network abnormal state is set to invalid information to avoid the inconsistency between the feedback data received by the user and the actual working status of the vehicle. Then the network abnormality notification information is fed back to the user so that the user can understand the current working status of the vehicle. Among them, network abnormality notification information can be fed back to users by displaying pictures or text of network abnormality on mobile phones and other devices.
步骤211、向客户端发送反馈数据。Step 211: Send feedback data to the client.
本申请实施例提供的车辆的状态反馈方法,可以确定在第一预设时长内是 否接收到车载联网终端上报的控制组件的运行状态信息;响应于在第一预设时长内接收到了车载联网终端上报的控制组件的运行状态信息的确定结果,确定车辆的当前所处状态为工作状态;在车辆的当前所处状态为工作状态的情况下,确定反馈数据为当前时刻接收到的控制组件的运行状态信息;确定是否接收到车载联网终端上报的休眠通知信息,或者确定是否接收到车载联网终端上报的休眠通知信息和指定数量的心跳数据;响应于接收到了车载联网终端上报的休眠通知信息的确定结果,或者响应于接收到了车载联网终端上报的休眠通知信息和指定数量的心跳数据的确定结果,确定车辆的当前所处状态为休眠状态;在车辆的当前所处状态为休眠状态的情况下,确定反馈数据为最后一次接收到的控制组件的运行状态信息;确定在第二预设时长内是否接收到车载联网终端上报的控制组件的运行状态信息;响应于在第二预设时长内没有接收到车载联网终端上报的控制组件的运行状态信息的确定结果,确定在第二预设时长内是否接收到车载联网终端上报的休眠通知信息;响应于在第二预设时长内没有接收到车载联网终端上报的休眠通知信息的确定结果,确定车辆的当前所处状态为网络异常状态;在车辆的当前所处状态为网络异常状态的情况下,确定反馈数据为网络异常通知信息;向客户端发送反馈数据。本申请实施例的方法可以实时、准确的判断出车辆当前所处的实际状态,当车辆网络状态异常时,为用户反馈网络异常的信息,避免了当车辆网络状态异常时,用户接收到的反馈数据和车辆实际工作状态不符的情况发生,提高了用户体验。The vehicle status feedback method provided by the embodiment of the present application can determine whether the vehicle is within the first preset time period. Whether the operating status information of the control component reported by the vehicle-mounted networking terminal is received; in response to the determination result of receiving the operating status information of the control component reported by the vehicle-mounted networking terminal within the first preset time period, it is determined that the current state of the vehicle is working status; when the current status of the vehicle is the working status, determine that the feedback data is the operating status information of the control component received at the current moment; determine whether the sleep notification information reported by the vehicle networking terminal is received, or whether it is received The sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal; in response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal As a result of the determination, it is determined that the current state of the vehicle is the sleep state; when the current state of the vehicle is the sleep state, it is determined that the feedback data is the last received operating state information of the control component; it is determined that in the second preset It is assumed that whether the operating status information of the control component reported by the vehicle-mounted networking terminal is received within the second preset time period; in response to the determination result that the operating status information of the control component reported by the vehicle-mounted networking terminal is not received within the second preset time period, it is determined that the operation status information of the control component reported by the vehicle-mounted networking terminal is not received within the second preset time period. Set whether the sleep notification information reported by the vehicle-mounted networking terminal is received within the second preset time period; in response to the determination result that the sleep notification information reported by the vehicle-mounted networking terminal is not received within the second preset time period, it is determined that the current state of the vehicle is a network abnormal state ; When the current state of the vehicle is a network abnormality state, determine the feedback data to be network abnormality notification information; send the feedback data to the client. The method of the embodiment of the present application can accurately determine the actual status of the vehicle in real time. When the vehicle network status is abnormal, network abnormality information is fed back to the user, thus avoiding the feedback received by the user when the vehicle network status is abnormal. The data does not match the actual working status of the vehicle, which improves the user experience.
图4是本申请实施例提供的一种车辆的状态反馈装置的结构示意图。本申请实施例提供了一种车辆的状态反馈装置,所述装置包括:状态确定模块401,设置为基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态;数据确定模块402,设置为确定所述车辆的当前所处状态对应的反馈数据;数据发送模块403,设置为向客户端发送所述反馈数据。FIG. 4 is a schematic structural diagram of a vehicle status feedback device provided by an embodiment of the present application. An embodiment of the present application provides a vehicle status feedback device. The device includes: a status determination module 401, configured to determine the current status of the vehicle based on the data reporting situation of the vehicle networking terminal; a data determination module 402 , is configured to determine the feedback data corresponding to the current state of the vehicle; the data sending module 403 is configured to send the feedback data to the client.
可选的,状态确定模块401是设置为:确定在第一预设时长内是否接收到所述车载联网终端上报的所述控制组件的运行状态信息;响应于在所述第一预设时长内接收到了所述车载联网终端上报的所述控制组件的运行状态信息的确定结果,确定所述车辆的当前所处状态为工作状态。Optionally, the status determination module 401 is configured to: determine whether the operating status information of the control component reported by the vehicle networking terminal is received within the first preset time period; respond to After receiving the determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal, it is determined that the current state of the vehicle is a working state.
可选的,数据确定模块402是设置为:在所述车辆的当前所处状态为工作状态的情况下,确定所述反馈数据为当前时刻接收到的所述控制组件的运行状态信息。Optionally, the data determination module 402 is configured to: when the current state of the vehicle is a working state, determine that the feedback data is the operating state information of the control component received at the current moment.
可选的,状态确定模块401是设置为:确定是否接收到所述车载联网终端上报的休眠通知信息,或者确定是否接收到所述车载联网终端上报的休眠通知 信息和指定数量的心跳数据;响应于接收到了所述车载联网终端上报的休眠通知信息的确定结果,或者响应于接收到了所述车载联网终端上报的休眠通知信息和指定数量的心跳数据的确定结果,确定所述车辆的当前所处状态为休眠状态。Optionally, the status determination module 401 is configured to: determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or determine whether the sleep notification reported by the vehicle-mounted networking terminal is received. information and a specified number of heartbeat data; in response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal and the specified number of heartbeat data , determining that the current state of the vehicle is a dormant state.
可选的,数据确定模块402是设置为:在所述车辆的当前所处状态为休眠状态的情况下,确定所述反馈数据为最后一次接收到的所述控制组件的运行状态信息。Optionally, the data determination module 402 is configured to determine that the feedback data is the last received operating status information of the control component when the current state of the vehicle is a sleep state.
可选的,状态确定模块401是设置为:确定在第二预设时长内是否接收到所述车载联网终端上报的所述控制组件的运行状态信息;响应于在所述第二预设时长内没有接收到所述车载联网终端上报的所述控制组件的运行状态信息的确定结果,确定在所述第二预设时长内是否接收到所述车载联网终端上报的休眠通知信息;响应于在所述第二预设时长内没有接收到所述车载联网终端上报的休眠通知信息的确定结果,确定所述车辆的当前所处状态为网络异常状态。Optionally, the status determination module 401 is configured to: determine whether the operating status information of the control component reported by the vehicle networking terminal is received within the second preset time period; The determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal is not received, and determining whether the sleep notification information reported by the vehicle-mounted networking terminal is received within the second preset time period; in response to the If the determination result is that the sleep notification information reported by the vehicle-mounted networking terminal is not received within the second preset time period, it is determined that the current state of the vehicle is a network abnormal state.
可选的,数据确定模块402是设置为:在所述车辆的当前所处状态为网络异常状态的情况下,确定所述反馈数据为网络异常通知信息。Optionally, the data determination module 402 is configured to determine that the feedback data is network abnormality notification information when the current state of the vehicle is a network abnormality state.
本申请实施例所提供的车辆的状态反馈装置可执行本申请任意实施例所提供的车辆的状态反馈方法,具备执行方法相应的功能模块和效果。The vehicle status feedback device provided by the embodiments of this application can execute the vehicle status feedback method provided by any embodiment of this application, and has corresponding functional modules and effects for executing the method.
图5是本申请实施例提供的电子设备的一个结构示意图,参考图5,其示出了适于用来实现本申请实施例的电子设备的计算机***12的结构示意图。图5示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,***存储器28,连接不同***组件(包括***存储器28和处理单元16)的总线18。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Refer to FIG. 5 , which shows a schematic structural diagram of a computer system 12 suitable for implementing the electronic device of the embodiment of the present application. The electronic device shown in FIG. 5 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present application. Components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting various system components (including system memory 28 and processing unit 16).
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,***总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及***组件互连(Peripheral Component Interconnect,PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerated port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards) Association, VESA) local bus and Peripheral Component Interconnect (PCI) bus.
电子设备12包括多种计算机***可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动 的介质。Electronic device 12 includes a variety of computer system readable media. These media may be any available media that can be accessed by electronic device 12, including volatile and non-volatile media, removable and non-removable. medium.
***存储器28可以包括易失性存储器形式的计算机***可读介质,例如随机存取存储器(Random Access Memory,RAM)30和/或高速缓存存储器32。电子设备12可以包括其它可移动/不可移动的、易失性/非易失性计算机***存储介质。仅作为举例,存储***34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM),高密度数字视频光盘只读存储器(Digital Video Disc Read-Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请多个实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Electronic device 12 may include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in Figure 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") may be provided, as well as a disk drive for reading and writing to a removable non-volatile optical disk (such as a portable compact disk read-only memory ( Compact Disc Read-Only Memory, CD-ROM), high-density digital video disc read-only memory (Digital Video Disc Read-Only Memory, DVD-ROM) or other optical media) read and write optical disc drive. In these cases, each drive may be connected to bus 18 through one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作***、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或一种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。A program/utility 40 having a set of (at least one) program modules 42, which may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other programs Modules, as well as program data, each or a combination of these examples may include an implementation of a network environment. Program modules 42 generally perform functions and/or methods in the embodiments described herein.
电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(Input/Output,I/O)接口22进行。另外,本实施例中的电子设备12,显示器24不是作为独立个体存在,而是嵌入镜面中,在显示器24的显示面不予显示时,显示器24的显示面与镜面从视觉上融为一体。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)***、磁带驱动器以及数据备份存储***等。Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 12, and/or with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. This communication may occur through an input/output (I/O) interface 22 . In addition, in the electronic device 12 in this embodiment, the display 24 does not exist as an independent entity, but is embedded in the mirror. When the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Moreover, the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN), and/or a public network, such as the Internet) through the network adapter 20. As shown, network adapter 20 communicates with other modules of electronic device 12 via bus 18 . It should be understood that, although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays). of Independent Disks, RAID) systems, tape drives and data backup storage systems, etc.
处理单元16通过运行存储在***存储器28中的程序,从而执行多种功能应用以及车辆的状态反馈,例如实现本申请实施例所提供的一种车辆的状态反 馈方法:基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态;确定所述车辆的当前所处状态对应的反馈数据;向客户端发送所述反馈数据。The processing unit 16 executes a variety of functional applications and vehicle status feedback by running programs stored in the system memory 28, for example, implementing a vehicle status feedback provided by the embodiment of the present application. Feedback method: determine the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal; determine feedback data corresponding to the current state of the vehicle; and send the feedback data to the client.
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有发明实施例提供的一种车辆的状态反馈方法:基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态;确定所述车辆的当前所处状态对应的反馈数据;向客户端发送所述反馈数据。可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质可以(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EPROM)或闪存、光纤、CD-ROM、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与指令执行***、装置或者器件结合使用。Embodiments of the present application provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a vehicle status feedback method as provided by all inventive embodiments of the present application is implemented: based on the vehicle-mounted The data reporting situation of the networking terminal determines the current state of the vehicle; determines feedback data corresponding to the current state of the vehicle; and sends the feedback data to the client. Any combination of one or more computer-readable media may be employed. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. Computer-readable storage media may include (a non-exhaustive list): an electrical connection having one or more wires, a portable computer disk, a hard drive, RAM, read-only memory (ROM), erasable programmable Read-only memory (Electrically Erasable Programmable Read-Only Memory, EPROM) or flash memory, optical fiber, CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above. As used herein, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,传播的数据信号中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与指令执行***、装置或者器件结合使用的程序。A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, the propagated data signal carrying computer-readable program code. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can be sent, propagated, or transmitted for use by or in connection with an instruction execution system, apparatus, or device. A program for use with a device or device.
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
可以以一种或多种程序设计语言来编写用于执行本申请操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。 Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages. , such as "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, through the Internet using an Internet service provider).

Claims (10)

  1. 一种车辆的状态反馈方法,所述车辆的状态反馈方法应用于服务器,所述车辆包括车载联网终端、网关、控制器和所述控制器对应的控制组件,所述控制器将所述控制组件的运行状态信息通过所述网关发送给所述车载联网终端,所述车载联网终端根据所述控制组件的运行状态信息向所述服务器上报数据,所述方法包括:A vehicle status feedback method, the vehicle status feedback method is applied to a server, the vehicle includes a vehicle networking terminal, a gateway, a controller and a control component corresponding to the controller, the controller controls the control component The running status information is sent to the vehicle networking terminal through the gateway, and the vehicle networking terminal reports data to the server according to the running status information of the control component. The method includes:
    基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态;Determine the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal;
    确定所述车辆的当前所处状态对应的反馈数据;Determine feedback data corresponding to the current state of the vehicle;
    向客户端发送所述反馈数据。Send the feedback data to the client.
  2. 根据权利要求1所述的方法,其中,所述基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态,包括:The method according to claim 1, wherein determining the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal includes:
    确定在第一预设时长内是否接收到所述车载联网终端上报的所述控制组件的运行状态信息;Determine whether the operating status information of the control component reported by the vehicle-mounted networking terminal is received within a first preset time period;
    响应于在所述第一预设时长内接收到了所述车载联网终端上报的所述控制组件的运行状态信息的确定结果,确定所述车辆的当前所处状态为工作状态。In response to receiving the determination result of the operating status information of the control component reported by the vehicle-mounted networking terminal within the first preset time period, it is determined that the current state of the vehicle is a working state.
  3. 根据权利要求2所述的方法,其中,所述确定所述车辆的当前所处状态对应的反馈数据,包括:The method according to claim 2, wherein determining the feedback data corresponding to the current state of the vehicle includes:
    在所述车辆的当前所处状态为工作状态的情况下,确定所述反馈数据为当前时刻接收到的所述控制组件的运行状态信息。When the current state of the vehicle is a working state, it is determined that the feedback data is the operating state information of the control component received at the current moment.
  4. 根据权利要求1所述的方法,其中,所述基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态,包括:The method according to claim 1, wherein determining the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal includes:
    确定是否接收到所述车载联网终端上报的休眠通知信息,或者确定是否接收到所述车载联网终端上报的休眠通知信息和指定数量的心跳数据;Determine whether the sleep notification information reported by the vehicle-mounted networking terminal is received, or whether the sleep notification information and a specified amount of heartbeat data reported by the vehicle-mounted networking terminal are received;
    响应于接收到了所述车载联网终端上报的休眠通知信息的确定结果,或者响应于接收到了所述车载联网终端上报的休眠通知信息和指定数量的心跳数据的确定结果,确定所述车辆的当前所处状态为休眠状态。In response to receiving the determination result of the sleep notification information reported by the vehicle-mounted networking terminal, or in response to receiving the determination result of the sleep notification information and the specified number of heartbeat data reported by the vehicle-mounted networking terminal, determine the current location of the vehicle. The state is hibernation.
  5. 根据权利要求4所述的方法,其中,所述确定所述车辆的当前所处状态对应的反馈数据,包括:The method according to claim 4, wherein the determining the feedback data corresponding to the current state of the vehicle includes:
    在所述车辆的当前所处状态为休眠状态的情况下,确定所述反馈数据为最后一次接收到的所述控制组件的运行状态信息。When the current state of the vehicle is a sleep state, it is determined that the feedback data is the last received operating state information of the control component.
  6. 根据权利要求1所述的方法,其中,所述基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态,包括: The method according to claim 1, wherein determining the current state of the vehicle based on the data reporting situation of the vehicle-mounted networking terminal includes:
    确定在第二预设时长内是否接收到所述车载联网终端上报的所述控制组件的运行状态信息;Determine whether the operating status information of the control component reported by the vehicle networking terminal is received within a second preset time period;
    响应于在所述第二预设时长内没有接收到所述车载联网终端上报的所述控制组件的运行状态信息的确定结果,确定在所述第二预设时长内是否接收到所述车载联网终端上报的休眠通知信息;In response to the determination result that the operating status information of the control component reported by the vehicle-mounted networking terminal is not received within the second preset time period, it is determined whether the vehicle-mounted networking terminal is received within the second preset time period. Sleep notification information reported by the terminal;
    响应于在所述第二预设时长内没有接收到所述车载联网终端上报的休眠通知信息的确定结果,确定所述车辆的当前所处状态为网络异常状态。In response to the determination result that the sleep notification information reported by the vehicle networking terminal is not received within the second preset time period, it is determined that the current state of the vehicle is a network abnormal state.
  7. 根据权利要求6所述的方法,其中,所述确定所述车辆的当前所处状态对应的反馈数据,包括:The method according to claim 6, wherein the determining the feedback data corresponding to the current state of the vehicle includes:
    在所述车辆的当前所处状态为网络异常状态的情况下,确定所述反馈数据为网络异常通知信息。When the current state of the vehicle is a network abnormality state, the feedback data is determined to be network abnormality notification information.
  8. 一种车辆的状态反馈装置,所述车辆的状态反馈装置集成于服务器中,所述车辆包括车载联网终端、网关、控制器和所述控制器对应的控制组件,所述控制器将所述控制组件的运行状态信息通过所述网关发送给所述车载联网终端,所述车载联网终端根据所述控制组件的运行状态信息向所述服务器上报数据,所述装置包括:A state feedback device for a vehicle. The state feedback device for the vehicle is integrated in a server. The vehicle includes a vehicle-mounted networking terminal, a gateway, a controller and a control component corresponding to the controller. The controller controls the The running status information of the component is sent to the vehicle networking terminal through the gateway, and the vehicle networking terminal reports data to the server according to the running status information of the control component. The device includes:
    状态确定模块,设置为基于所述车载联网终端的数据上报情况确定所述车辆的当前所处状态;A status determination module configured to determine the current status of the vehicle based on the data reporting status of the vehicle-mounted networking terminal;
    数据确定模块,设置为确定所述车辆的当前所处状态对应的反馈数据;a data determination module configured to determine feedback data corresponding to the current state of the vehicle;
    数据发送模块,设置为向客户端发送所述反馈数据。The data sending module is configured to send the feedback data to the client.
  9. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1至7中任一所述的车辆的状态反馈方法。An electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any one of claims 1 to 7. The vehicle status feedback method described above.
  10. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-7中任一所述的车辆的状态反馈方法。 A computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the vehicle status feedback method as described in any one of claims 1-7 is implemented.
PCT/CN2023/095667 2022-05-23 2023-05-23 Vehicle state feedback method and apparatus, electronic device, and storage medium WO2023226952A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210561048.4A CN114980021A (en) 2022-05-23 2022-05-23 Vehicle state feedback method and device, electronic equipment and storage medium
CN202210561048.4 2022-05-23

Publications (1)

Publication Number Publication Date
WO2023226952A1 true WO2023226952A1 (en) 2023-11-30

Family

ID=82986195

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/095667 WO2023226952A1 (en) 2022-05-23 2023-05-23 Vehicle state feedback method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN114980021A (en)
WO (1) WO2023226952A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114980021A (en) * 2022-05-23 2022-08-30 中国第一汽车股份有限公司 Vehicle state feedback method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312818A (en) * 2013-07-03 2013-09-18 深圳市元征科技股份有限公司 Vehicle diagnostic method and server
WO2017128877A1 (en) * 2016-01-26 2017-08-03 深圳市元征科技股份有限公司 Method and device for monitoring vehicle operation status
CN110493070A (en) * 2018-05-15 2019-11-22 深圳市尚云互联技术有限公司 Suspension notification method and its application system
CN114980021A (en) * 2022-05-23 2022-08-30 中国第一汽车股份有限公司 Vehicle state feedback method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312818A (en) * 2013-07-03 2013-09-18 深圳市元征科技股份有限公司 Vehicle diagnostic method and server
WO2017128877A1 (en) * 2016-01-26 2017-08-03 深圳市元征科技股份有限公司 Method and device for monitoring vehicle operation status
CN110493070A (en) * 2018-05-15 2019-11-22 深圳市尚云互联技术有限公司 Suspension notification method and its application system
CN114980021A (en) * 2022-05-23 2022-08-30 中国第一汽车股份有限公司 Vehicle state feedback method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114980021A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
WO2020221190A1 (en) Applet state synchronization method, device and computer storage medium
WO2020187121A1 (en) Applet start method, device, and computer storage medium
WO2017124806A1 (en) Automobile controller program flashing method, device, system, and terminal
JP6710790B2 (en) Method and apparatus for operating a smart network interface card
WO2023226952A1 (en) Vehicle state feedback method and apparatus, electronic device, and storage medium
CN110928561B (en) Vehicle controller software version management method and device, vehicle and storage medium
CN111600848B (en) Protocol converter and control method thereof
WO2017045190A1 (en) Method, apparatus and device for instructing operations on terminal device
WO2019042116A1 (en) Network connection processing method, device and apparatus, and computer storage medium
CN110597229A (en) Vehicle diagnosis mutual exclusion method and device, vehicle and storage medium
WO2024022366A1 (en) In-car entertainment information display method and apparatus, device, and medium
CN112769876B (en) Method, device, equipment and medium for acquiring equipment channel information
CN115576217A (en) Vehicle testing method, device, equipment and medium
CN110175050B (en) Peripheral device control method, device, system, electronic device and storage medium
US9384525B2 (en) Systems and methods for providing pre-operating system and post-operating system remote management of information handling system
CN107659641B (en) Method, device, server, equipment and storage medium for web awakening client
CN114217900A (en) Remote control method, device and system, computing equipment and storage medium
CN110893616B (en) Remote control method and device, computer equipment and storage medium
US11954951B2 (en) Component of electric vehicle, data collecting system for electric vehicle, and data collecting method for electric vehicle
US10540136B2 (en) Faster frame buffer rendering over a network
CN110602162B (en) Terminal evidence obtaining method, device, equipment and storage medium
CN114706371A (en) Complete vehicle network non-dormancy diagnosis method and device, electronic equipment and storage medium
CN108833568B (en) Message synchronization method, client, server and electronic equipment
JP7370409B2 (en) Data processing methods, equipment, electronic equipment and media
TWI706645B (en) Remote wake-up method and remote wake-up system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23811023

Country of ref document: EP

Kind code of ref document: A1