CN112261124B - Method and system for reporting vehicle state data and method for checking vehicle state - Google Patents

Method and system for reporting vehicle state data and method for checking vehicle state Download PDF

Info

Publication number
CN112261124B
CN112261124B CN202011127504.1A CN202011127504A CN112261124B CN 112261124 B CN112261124 B CN 112261124B CN 202011127504 A CN202011127504 A CN 202011127504A CN 112261124 B CN112261124 B CN 112261124B
Authority
CN
China
Prior art keywords
vehicle
priority
state
data
remote control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011127504.1A
Other languages
Chinese (zh)
Other versions
CN112261124A (en
Inventor
倪泽伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202011127504.1A priority Critical patent/CN112261124B/en
Publication of CN112261124A publication Critical patent/CN112261124A/en
Application granted granted Critical
Publication of CN112261124B publication Critical patent/CN112261124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Abstract

The invention provides a method and a system for reporting vehicle state data and a method for checking vehicle states. The reporting method is applied to a cloud, and the cloud comprises a remote control server and a shadow server. The reporting method comprises the following steps: the shadow server receives vehicle state data reported by a vehicle, wherein the vehicle state data carries a first vehicle identifier; the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier; the shadow server transmits the vehicle status data to the remote control server through a data channel corresponding to the service status priority of the vehicle. According to the scheme, the reported vehicle state data can be classified according to the service state priority of the vehicle reporting the data, so that the data reported by the vehicle with high service state priority can be processed preferentially, and the problem of delay in vehicle state storage is relieved and even solved.

Description

Method and system for reporting vehicle state data and method for checking vehicle state
Technical Field
The invention relates to the technical field of computer network communication, in particular to a method and a system for reporting vehicle state data and a method for checking vehicle states.
Background
As the number of vehicles increases, the number of vehicle message reports has also increased, especially during peak hours, such as commute hours, where the number of vehicle message reports may reach 2000tps. In the prior art, message transmission is performed through a message queue (such as a lockmq). Under the condition that the number of the reported messages is so large, a series of business logic judgment needs to be carried out on each reported message cloud, wherein delay in any link possibly causes message consumption to be slow, message stacking is caused, vehicle state storage delay is caused, and finally a user cannot check the current state of the vehicle in real time.
Disclosure of Invention
In view of the foregoing, the present invention has been made to provide a method and system for reporting vehicle state data and a method for viewing a vehicle state that overcome or at least partially solve the foregoing problems.
An object of the present invention is to provide a method and a system for reporting vehicle state data, which can classify and process the reported vehicle state data according to the service state priority of the vehicle reporting the data, so as to alleviate or even solve the problem of delay in vehicle state storage.
The invention further aims to mark the service state priority of the vehicle according to the use state of the terminal corresponding to the vehicle, and ensure that the vehicle state data reported by the vehicle corresponding to the terminal in use is preferentially processed, thereby ensuring that a user can check the current state of the vehicle through the terminal in real time.
According to an aspect of the embodiment of the invention, a method for reporting vehicle state data is provided and applied to a cloud, wherein the cloud comprises a remote control server and a shadow server, and the method comprises the following steps:
the shadow server receives vehicle state data reported by a vehicle, wherein the vehicle state data carries a first vehicle identifier;
the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier;
and the shadow server transmits the vehicle state data to the remote control server through a data channel corresponding to the service state priority of the vehicle.
Optionally, the shadow server includes a plurality of mapping modules, each of which corresponds to a vehicle identifier and stores a service state priority of a vehicle corresponding to the vehicle identifier;
the shadow server determining the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier, including:
determining a first mapping module corresponding to the first vehicle identifier according to the first vehicle identifier;
and acquiring the service state priority corresponding to the first vehicle identifier from the first mapping module.
Optionally, the mapping module stores service status priorities of vehicles corresponding to the vehicle identifications, and the service status priorities are generated by the following modes:
the shadow server receives a terminal use state signal sent by the remote control server, wherein if the remote control server receives the terminal use state signal sent by the terminal, the terminal use state signal is sent to the shadow server, and the terminal use state signal carries a second vehicle identifier;
and the shadow server determines a corresponding second mapping module according to the second vehicle identifier, and marks the service state priority of the vehicle in the second mapping module as a first priority.
Optionally, after receiving the terminal usage status signal, the shadow server monitors whether the second mapping module corresponding to the second vehicle identifier receives the terminal usage status signal again within a specified time;
if not, the shadow server marks the service state priority of the vehicle in the second mapping module as the second priority.
Optionally, the service status priority comprises a first priority and a second priority,
the shadow server transmitting the vehicle state data to the remote control server through a data channel corresponding to a service state priority of the vehicle, comprising:
if the service state priority of the vehicle is the first priority, adding a first tag to the vehicle state data, and sending the vehicle state data to the remote control server through a first data channel corresponding to the first tag;
if the service state priority of the vehicle is the second priority, adding a second tag to the vehicle state data, transmitting the vehicle state data to the remote control server through a second data channel corresponding to the second tag,
wherein the vehicle status data in the first data channel is sent to the remote control server in preference to the vehicle status data in the second data channel.
According to another aspect of the embodiment of the present invention, there is also provided a vehicle state checking method applied to a cloud remote control server, the checking method including:
receiving a vehicle state checking request sent by a terminal, wherein the vehicle state checking request carries a third vehicle identifier;
according to the third vehicle identifier, acquiring vehicle state data corresponding to the third vehicle identifier from a cache of the remote control server, wherein the vehicle state data is reported to the remote control server for processing by the method according to any one of claims 1-5 and then stored in the cache;
and sending the vehicle state data to the terminal as a result of responding to the vehicle state check request.
According to still another aspect of the embodiment of the present invention, there is also provided a vehicle state checking method, applied to a terminal, the checking method including:
a vehicle state checking request is sent to a remote control server of the cloud, wherein the vehicle state checking request carries a third vehicle identifier;
receiving vehicle state data sent by the remote control server in response to the vehicle state viewing request, wherein the vehicle state data is reported to the remote control server by the method according to any one of claims 1-5.
According to still another aspect of the embodiment of the present invention, there is further provided a system for reporting vehicle status data, including a remote control server, a shadow server, and a plurality of vehicles; wherein, the liquid crystal display device comprises a liquid crystal display device,
the vehicle is used for reporting vehicle state data to the shadow server, and the vehicle state data carries a first vehicle identifier;
the shadow server is used for determining the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier, and sending the vehicle state data to the remote control server through a data channel corresponding to the service state priority of the vehicle.
Optionally, the shadow server includes a plurality of mapping modules, each of which corresponds to a vehicle identifier and stores a service state priority of a vehicle corresponding to the vehicle identifier;
the shadow server is further used for determining a first mapping module corresponding to the first vehicle identifier according to the first vehicle identifier;
and acquiring the service state priority of the vehicle corresponding to the first vehicle identifier from the first mapping module.
Optionally, the shadow server is further configured to:
receiving a terminal use state signal sent by the remote control server, wherein if the remote control server receives the terminal use state signal sent by the terminal, the terminal use state signal is sent to the shadow server, and the terminal use state signal carries a second vehicle identifier;
and determining a corresponding second mapping module according to the second vehicle identifier, and marking the service state priority of the vehicle in the second mapping module as a first priority.
In the method and the system for reporting the vehicle state data, which are provided by the embodiment of the invention, the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier carried by the received vehicle state data reported by the vehicle, and sends the vehicle state data to the remote control server through the data channel corresponding to the service state priority of the vehicle. According to the scheme, the reported vehicle state data can be classified according to the service state priority of the vehicle reporting the data, so that the data reported by the vehicle with high service state priority can be processed preferentially, and the problem of delay in vehicle state storage is relieved and even solved.
Further, the service state priority of the vehicle is marked according to the use state of the terminal corresponding to the vehicle, and the vehicle state data reported by the vehicle corresponding to the terminal in use is guaranteed to be processed preferentially, so that a user can check the current state of the vehicle through the terminal in real time.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
The above, as well as additional objectives, advantages, and features of the present invention will become apparent to those skilled in the art from the following detailed description of a specific embodiment of the present invention when read in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a flowchart of a method for reporting vehicle status data according to an embodiment of the present invention.
FIG. 2 is a flow chart illustrating a service status priority generation step of a vehicle according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for reporting vehicle status data according to another embodiment of the present invention;
fig. 4 is a flow chart of a method for checking a vehicle state of a remote control server applied to a cloud according to an embodiment of the invention;
fig. 5 shows a flow chart of a method for checking a vehicle state applied to a terminal according to an embodiment of the present invention;
FIG. 6 is a schematic diagram showing a configuration of a reporting system of vehicle status data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram showing a reporting system of vehicle state data according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve or at least partially solve the above technical problems, an embodiment of the present invention provides a method for reporting vehicle state data. The method for reporting the vehicle state data is applied to the cloud, wherein the cloud refers to a background server relative to a vehicle and a terminal (particularly a terminal provided with a terminal application program such as a mobile phone application APP). The cloud may include a remote control server (abbreviated as remote) and a shadow server (abbreviated as shadow). The remote control server is used for providing remote control services, namely business processing services, including database inquiry, redis inquiry, vehicle state setting, third party pushing call and the like. The shadow server is used for providing a shadow service, the shadow service is used for feeding back the current state of the vehicle, can be communicated with the vehicle through an MQTT (Message Queuing Telemetry Transport, message queue telemetry transport) communication protocol, and is connected with a remote control server as an intermediate service.
Fig. 1 is a flowchart of a method for reporting vehicle status data according to an embodiment of the present invention. Referring to fig. 1, the reporting method may at least include the following steps S102 to S106.
In step S102, the shadow server receives vehicle status data reported by the vehicle, where the vehicle status data carries a first vehicle identifier.
In step S104, the shadow server determines, according to the first vehicle identifier, a service status priority of the vehicle corresponding to the first vehicle identifier.
In step S106, the shadow server transmits the vehicle status data to the remote control server through the data channel corresponding to the service status priority of the vehicle.
After receiving the vehicle state data, the remote control server can store the vehicle state data into a memory in the remote control server, and can further transmit the vehicle state data to a designated buffer for storage, so that the reported vehicle state data is stored into a cloud.
In the method for reporting vehicle state data provided by the embodiment of the invention, the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the received first vehicle identifier carried by the vehicle state data reported by the vehicle, and sends the vehicle state data to the remote control server through the data channel corresponding to the service state priority of the vehicle. According to the scheme, the reported vehicle state data can be classified according to the service state priority of the vehicle reporting the data, so that the data reported by the vehicle with high priority can be processed preferentially, and the problem of delay in vehicle state storage is relieved and even solved.
In the embodiment of the invention, the vehicle state data is data for representing the real-time state of the vehicle, such as the vehicle oil quantity, the vehicle engine temperature, the opening and closing conditions of the doors and windows of the vehicle, and the like. The vehicle identification is used for distinguishing different vehicles and is used for uniquely identifying and determining the vehicles. Specifically, the vehicle identification may be one of the following train vehicle identification information: a car networking device ID, a car identification code (Vehicle Identification Number, VIN), a mobile station international integrated services digital network number (Mobile Subscriber International ISDN number, MSISDN) associated with the car hardware, an international mobile subscriber identity (International Mobile Subscriber Identity, IMSI), an integrated circuit card identity (Integrate circuit card identity, ICCID), an infotainment host identity (Infotainment Head Unit Identity, IHUID), etc.
In the step S102, the vehicle may periodically report the vehicle state data according to a preset frequency (for example, 1 min), or may trigger reporting the vehicle state data when the vehicle state changes (for example, when the opening and closing states of the doors and windows of the vehicle change), or may combine the two modes to report the vehicle state data, and so on. Further, the shadow server receives vehicle state data reported by the vehicle and modifies data in the corresponding mapping module.
In step S104 above, the shadow server determines the service status priority of the corresponding vehicle according to the first vehicle identifier.
In one embodiment, the shadow server may include a plurality of mapping modules, each mapping module corresponding to a vehicle identification and storing a service status priority of a vehicle corresponding to the vehicle identification. In this case, step S104 may be further implemented as: the shadow server firstly determines a first mapping module corresponding to a first vehicle identifier according to the first vehicle identifier carried by the vehicle state data, and then obtains the service state priority corresponding to the first vehicle identifier from the corresponding first mapping module.
The service state priority of the vehicle corresponding to the vehicle identifier stored in the mapping module may be generated according to a use state of the terminal corresponding to the vehicle. The terminal referred to herein may correspond to one or more vehicles, and in particular may be set by an application of the terminal to a plurality of users or to a plurality of vehicles. The terminal may be used to view the state of the corresponding vehicle through a corresponding application on the terminal, for example, the terminal may be a mobile phone, and view the state of the corresponding vehicle through a vehicle state query APP on the mobile phone. The service state priority of the vehicle refers to the processing priority of data sent to the cloud by the vehicle. The higher the priority of the service status priority of a vehicle, the more preferentially the data that the vehicle sends to the cloud is processed.
Specifically, if the remote control server receives the terminal use state signal sent by the terminal, the terminal use state signal is sent to the shadow server, and the terminal use state signal carries the second vehicle identifier. After receiving the terminal use state signal sent by the remote control server, the shadow server can determine a corresponding second mapping module according to the second vehicle identifier, mark the service state priority of the vehicle in the second mapping module as the first priority, and store the first priority.
Fig. 2 shows a flow chart of a service state priority generation step of a vehicle according to an embodiment of the present invention. Referring to fig. 2, the service state priority generation step of the vehicle may be implemented as follows:
in step S202, the remote control server receives the terminal usage status signal sent by the terminal, and sends the terminal usage status signal to the shadow server. The terminal usage status signal carries a second vehicle identification (i.e., the vehicle identification of the terminal corresponding to the vehicle).
In this step, when the corresponding application program on the terminal is triggered or used (for example, the user opens the application program on the terminal or clicks any operation button in the user interface of the application program, etc.), a terminal usage status signal indicating that the application program of the terminal is being used by the user is generated, and a communication interface between the application program and the remote control server is automatically invoked to send the terminal usage status signal to the remote control server. Further, after receiving the terminal usage status signal sent by the terminal, the remote control server sends the terminal usage status signal to the shadow server through the kafka message channel.
In step S204, after receiving the terminal usage status signal sent by the remote control server, the shadow server determines a corresponding second mapping module according to the second vehicle identifier, and marks the service status priority of the vehicle in the second mapping module as the first priority.
In addition, since the time for which the user uses the application of the terminal is generally limited, the use state of the terminal may be changed after a certain period of time. Therefore, in one embodiment, after receiving the terminal usage status signal, the shadow server may further monitor whether the terminal usage status signal is received again within a specified time by using the second mapping module corresponding to the second vehicle identifier carried by the terminal usage status signal. If not, the shadow server marks the service state priority of the vehicle in the second mapping module as a second priority. The first priority is higher in priority than the second priority. The first priority and the second priority herein may be expressed in numerals, characters, etc. which are agreed in advance, for example, the first priority may be expressed by "1", "a", or "in use", etc., and the second priority may be expressed by "2", "B", or "unused", etc. The shadow server no longer receives the terminal usage status signal for the terminal within the specified time, which is most likely to indicate that the user is not currently using the application of the terminal. The service state priority of the corresponding vehicle is marked from the first priority to the second priority after the condition is detected, so that the processing priority of the vehicle state data reported by the corresponding vehicle is reduced, and the problem of delay in vehicle state storage is further relieved.
Fig. 3 is a flowchart of a method for reporting vehicle status data according to another embodiment of the present invention. Referring to fig. 3, in this embodiment, the shadow server determines, by executing step S102 and step S104, a service status priority of the vehicle corresponding to the first vehicle identifier carried by the received vehicle status data. The determined service status priority of the vehicle may be the first priority or the second priority.
Accordingly, step S106 may be further implemented as step S306: if the service state priority of the vehicle is the first priority, adding a first tag to the vehicle state data, and sending the vehicle state data to a remote control server through a first data channel corresponding to the first tag. And if the service state priority of the vehicle is the second priority, adding a second tag to the vehicle state data, and transmitting the vehicle state data to the remote control server through a second data channel corresponding to the second tag. The vehicle state data in the first data channel is sent to the remote control server in preference to the vehicle state data in the second data channel, and the vehicle state data is processed by the remote server according to the service requirement and then stored in a cache of the remote server.
In a specific embodiment, the first data channel may be a dockmq message channel corresponding to topic of the first tag and the second data channel may be a dockmq message channel corresponding to topic of the second tag, where topic specifies the content and format of the message transmission, and dockmq is a distributed message middleware.
More specifically, the first tag may be vip for representing higher priority data, and the second tag may be common for representing lower priority data. As such, if the service status priority of the vehicle is the first priority (indicating that the use status of the application of the terminal to which the vehicle corresponds is in use), the vehicle status data is transmitted to the remote control server using the dockmq message channel corresponding to the topic of the vip tag. If the service status priority of the vehicle is a second priority (indicating that the application of the terminal to which the vehicle corresponds is not in use), the vehicle status data is transmitted to the remote control server using a dockmq message channel corresponding to the topic of the common tag. Therefore, the reported vehicle state data are classified by the topic according to the priority, and the classification processing of the vehicle state data of the vehicle is realized.
The scheme of the invention marks the service state priority of the vehicle according to the use state of the terminal corresponding to the vehicle, and can ensure that the vehicle state data reported by the vehicle corresponding to the terminal in use is processed preferentially. Since the number of users using the terminal is small even during the peak period, and accordingly the number of reported data (such as the reported data of the vip tag) of the vehicle to be preferentially processed (i.e., the first priority) is small, the processing capacity of the remote control server is fully sufficient to cope with the situation without causing delay, thereby alleviating and even solving the problem of delay in storing the state of the vehicle. For the reported data (such as the reported data of the common tag) of the vehicle which does not need to be processed preferentially (namely, the second priority), the reported data can be accumulated in the message queue of the dockmq in the peak period, and the data can be consumed by utilizing the peak clipping function of the dockmq after the peak period.
Correspondingly, the embodiment of the invention also provides a vehicle state checking method.
Fig. 4 shows a flow diagram of a method of viewing a vehicle state according to an embodiment of the invention. The checking method is applied to a remote control server of the cloud. Referring to fig. 4, the viewing method may include at least the following steps S402 to S406.
In step S402, a vehicle state checking request sent by the terminal is received, where the vehicle state checking request carries a third vehicle identifier.
In this step, for viewing requests of different vehicle states, the terminal may call a corresponding interface between an application program of the terminal and the remote control server, and send the vehicle state viewing request to the remote control server. For example, for a vehicle state viewing request to view the closing of a door window, the terminal may invoke an interface between an application of the terminal and a remote control server to view the state of the door window, and send the vehicle state viewing request to the remote control server.
Step S404, according to the third vehicle identification, acquiring vehicle state data corresponding to the third vehicle identification from the cache of the remote control server. The vehicle state data mentioned herein are reported to the remote control server by the reporting method of the vehicle state data introduced by any embodiment or the combination of embodiments, and then stored in the cache of the remote control server after being processed.
Step S406, the vehicle state data is transmitted to the terminal as a result of responding to the vehicle state check request.
In this embodiment, when the user wishes to view the vehicle state through the terminal, the remote control server acquires the reported vehicle state data through the data channel corresponding to the service state priority of the vehicle and returns the reported vehicle state data to the terminal, so that the terminal can quickly acquire the vehicle state data, thereby ensuring that the user can view the current state of the vehicle through the terminal in real time without delay.
Fig. 5 shows a flow chart of a method of viewing a vehicle state according to another embodiment of the invention. The viewing method is applied to the terminal. Referring to fig. 5, the viewing method may include at least the following steps S502 to S504.
Step S502, a vehicle state checking request is sent to a remote control server of the cloud end, wherein the vehicle state checking request carries a third vehicle identifier.
The manner in which the terminal sends the vehicle status viewing request to the remote control server is as described above and is not repeated.
Step S504, vehicle state data transmitted by the remote control server in response to the vehicle state viewing request is received. The vehicle state data mentioned herein are reported to the remote control server by the reporting method of the vehicle state data described in any of the foregoing embodiments or combinations of embodiments.
The terminal can also display the received vehicle state data to the user so that the user can timely see the vehicle state.
The vehicle state data reported by the vehicle is classified according to the service state priority of the vehicle, and particularly, the service state priority of the vehicle is marked according to the use state of the terminal corresponding to the vehicle, so that the vehicle state data reported by the vehicle corresponding to the terminal in use can be preferentially processed.
Based on the same inventive concept, the embodiment of the invention also provides a system for reporting the vehicle state data. Fig. 6 shows a schematic structural diagram of a vehicle status data reporting system 10 according to an embodiment of the present invention. Referring to fig. 6, the reporting system 10 may include at least a remote control server 100, a shadow server 200 in communication with the remote control server 100, and a plurality of vehicles 300 in communication with the shadow server 200. The remote control server 100 and the shadow server 200 are installed in the cloud. The vehicle 300 reports vehicle status data to the shadow server 200, the vehicle status data carrying a first vehicle identification. The shadow server 200 determines the service state priority of the vehicle 300 corresponding to the first vehicle identifier according to the first vehicle identifier carried by the vehicle state data, and transmits the vehicle state data to the remote control server 100 through a data channel corresponding to the service state priority of the vehicle 300. The remote control server 100 receives the vehicle state data transmitted from the shadow server 200. Further, the remote control server 100 may also store vehicle state data to the cloud.
In the reporting system of the vehicle state data provided by the embodiment of the invention, the shadow server 200 determines the service state priority of the vehicle 300 corresponding to the first vehicle identifier according to the first vehicle identifier carried by the received vehicle state data reported by the vehicle, and sends the vehicle state data to the remote control server 100 through the data channel corresponding to the service state priority of the vehicle 300, so that the reported vehicle state data can be classified according to the service state priority of the vehicle 300 reporting the data, and the data reported by the vehicle 300 with high service state priority can be processed preferentially, thereby alleviating or even solving the problem of delay in vehicle state storage.
Further, referring to FIG. 7, shadow server 200 may include a plurality of mapping modules 201. Each mapping module 201 corresponds to a vehicle identifier and stores the service status priority of the vehicle 300 corresponding to the vehicle identifier. In this case, the shadow server 200 is further configured to determine a first mapping module (one of the plurality of mapping modules 201) corresponding to the first vehicle identifier according to the first vehicle identifier carried by the vehicle status data, and then obtain the service status priority corresponding to the first vehicle identifier from the corresponding first mapping module.
Further, the mapping module 201 stores service status priorities of vehicles corresponding to the vehicle identifications, the service status priorities being generated by:
the shadow server 200 receives the terminal usage status signal sent by the remote control server 100, where if the remote control server 100 receives the terminal usage status signal sent by the terminal 400, the terminal usage status signal is sent to the shadow server 200, and the terminal usage status signal carries the second vehicle identifier. After receiving the terminal usage status signal, the shadow server 200 determines a corresponding second mapping module (one of the plurality of mapping modules 201) according to the second vehicle identifier, and marks the service status priority of the vehicle in the second mapping module as the first priority.
In one embodiment, the shadow server 200, upon receiving the terminal usage status signal, the second mapping module may monitor whether the terminal usage status signal is received again within a specified time. If not, the shadow server 200 marks the service status priority of the vehicle in the second mapping module as a second priority. The service state priority, the first priority and the second priority of the vehicle are defined as described above, and are not described in detail.
In one embodiment, the shadow server 200 is also to:
if the service status priority of the vehicle is the first priority, a first tag is added to the vehicle status data, and the vehicle status data is transmitted to the remote control server 100 through a first data channel corresponding to the first tag. If the service status priority of the vehicle is the second priority, a second tag is added to the vehicle status data, and the vehicle status data is transmitted to the remote control server 100 through a second data channel corresponding to the second tag. The vehicle status data in the first data channel is transmitted to the remote control server 100 in preference to the vehicle status data in the second data channel. The definition of the first data channel and the second data channel is as described above and is not repeated.
In one embodiment, the terminal 400 may also send a vehicle status viewing request to the remote control server 100, the vehicle status viewing request carrying a third vehicle identification. The remote control server 100 may also determine, according to the third vehicle identifier, to acquire vehicle state data corresponding to the third vehicle identifier from the cache of the remote control server 100, and then send the acquired vehicle state data to the terminal 400 as a result of responding to the vehicle state check request. The terminal 400 receives vehicle state data transmitted by the remote control server 100 in response to the vehicle state viewing request. The terminal 400 may also present the received vehicle status data to the user.
Note that, the connection lines in fig. 6 and 7 merely indicate communication connection relationships between the respective devices. In addition, the number of vehicles 300, mapping modules 201, and terminals 400 shown in fig. 6 and 7 is merely illustrative and not limiting of the present invention.
According to any one of the optional embodiments or the combination of multiple optional embodiments, the following beneficial effects can be achieved according to the embodiment of the invention:
in the method and the system for reporting the vehicle state data, which are provided by the embodiment of the invention, the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier carried by the received vehicle state data reported by the vehicle, and sends the vehicle state data to the remote control server through the data channel corresponding to the service state priority of the vehicle. According to the scheme, the reported vehicle state data can be classified according to the service state priority of the vehicle reporting the data, so that the data reported by the vehicle with high service state priority can be processed preferentially, and the problem of delay in vehicle state storage is relieved and even solved.
Further, the service state priority of the vehicle is marked according to the use state of the terminal corresponding to the vehicle, and the vehicle state data reported by the vehicle corresponding to the terminal in use is guaranteed to be processed preferentially, so that a user can check the current state of the vehicle through the terminal in real time.
Further, the service state priority of the vehicle is marked according to the use state of the terminal application program corresponding to the vehicle, and the vehicle state data reported by the vehicle corresponding to the terminal application program in use is guaranteed to be processed preferentially and stored in the cloud, so that a user can be guaranteed to check the current state of the vehicle in real time through the terminal application program.
It will be clear to those skilled in the art that the specific working procedures of the above-described systems, devices and units may refer to the corresponding procedures in the foregoing method embodiments, and are not repeated herein for brevity.
In addition, each functional unit in the embodiments of the present invention may be physically independent, two or more functional units may be integrated together, or all functional units may be integrated in one processing unit. The integrated functional units may be implemented in hardware or in software or firmware.
Those of ordinary skill in the art will appreciate that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or in whole or in part in the form of a software product stored in a storage medium, comprising instructions for causing a computing device (e.g., a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (ROM), a random-access memory (RAM), a magnetic disk, or an optical disk, etc.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a personal computer, a server, or a computing device such as a network device) associated with program instructions, where the program instructions may be stored on a computer-readable storage medium, and where the program instructions, when executed by a processor of the computing device, perform all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all technical features thereof can be replaced by others within the spirit and principle of the present invention; such modifications and substitutions do not depart from the scope of the invention.

Claims (5)

1. The method for reporting the vehicle state data is applied to a cloud end, and is characterized in that the cloud end comprises a remote control server and a shadow server, and the method comprises the following steps:
the shadow server receives vehicle state data reported by a vehicle, wherein the vehicle state data carries a first vehicle identifier;
the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier;
the shadow server sends the vehicle state data to the remote control server through a data channel corresponding to the service state priority of the vehicle;
the shadow server comprises a plurality of mapping modules, wherein each mapping module corresponds to a vehicle identifier and stores service state priority of a vehicle corresponding to the vehicle identifier;
the shadow server determining the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier, including:
determining a first mapping module corresponding to the first vehicle identifier according to the first vehicle identifier;
acquiring the service state priority corresponding to the first vehicle identifier from the first mapping module, wherein
The service state priority of the vehicle corresponding to the vehicle identifier stored in the mapping module is generated by the following modes:
the shadow server receives a terminal use state signal sent by the remote control server, wherein if the remote control server receives the terminal use state signal sent by the terminal, the terminal use state signal is sent to the shadow server, and the terminal use state signal carries a second vehicle identifier;
the shadow server determines a corresponding second mapping module according to the second vehicle identifier, and marks the service state priority of the vehicle in the second mapping module as a first priority; and is also provided with
After receiving the terminal use state signal, the shadow server monitors whether the terminal use state signal is received again in a designated time or not by the second mapping module corresponding to the second vehicle identifier;
if not, the shadow server marks the service state priority of the vehicle in the second mapping module as a second priority.
2. The reporting method of claim 1, wherein,
the shadow server transmitting the vehicle state data to the remote control server through a data channel corresponding to a service state priority of the vehicle, comprising:
if the service state priority of the vehicle is the first priority, adding a first tag to the vehicle state data, and sending the vehicle state data to the remote control server through a first data channel corresponding to the first tag;
if the service state priority of the vehicle is the second priority, adding a second tag to the vehicle state data, transmitting the vehicle state data to the remote control server through a second data channel corresponding to the second tag,
wherein the vehicle status data in the first data channel is sent to the remote control server in preference to the vehicle status data in the second data channel.
3. The vehicle state checking method is characterized by being applied to a remote control server of a cloud, and comprises the following steps:
receiving a vehicle state checking request sent by a terminal, wherein the vehicle state checking request carries a third vehicle identifier;
according to the third vehicle identifier, acquiring vehicle state data corresponding to the third vehicle identifier from a cache of the remote control server, wherein the vehicle state data is reported to the remote control server for processing by the method according to any one of claims 1-2 and then stored in the cache;
and sending the vehicle state data to the terminal as a result of responding to the vehicle state check request.
4. A viewing method for a vehicle state, which is applied to a terminal, the viewing method comprising:
a vehicle state checking request is sent to a remote control server of the cloud, wherein the vehicle state checking request carries a third vehicle identifier;
receiving vehicle state data sent by the remote control server in response to the vehicle state viewing request, wherein the vehicle state data is reported to the remote control server by the method according to any one of claims 1-2.
5. The reporting system of the vehicle state data is characterized by comprising a remote control server, a shadow server and a plurality of vehicles; wherein, the liquid crystal display device comprises a liquid crystal display device,
the vehicle is used for reporting vehicle state data to the shadow server, and the vehicle state data carries a first vehicle identifier;
the shadow server is used for determining the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier, and sending the vehicle state data to the remote control server through a data channel corresponding to the service state priority of the vehicle;
the shadow server comprises a plurality of mapping modules, wherein each mapping module corresponds to a vehicle identifier and stores service state priority of a vehicle corresponding to the vehicle identifier;
the shadow server is further used for determining a first mapping module corresponding to the first vehicle identifier according to the first vehicle identifier;
acquiring service state priority of the vehicle corresponding to the first vehicle identifier from the first mapping module, wherein
The shadow server is further configured to:
receiving a terminal use state signal sent by the remote control server, wherein if the remote control server receives the terminal use state signal sent by the terminal, the terminal use state signal is sent to the shadow server, and the terminal use state signal carries a second vehicle identifier;
determining a corresponding second mapping module according to the second vehicle identifier, and marking the service state priority of the vehicle in the second mapping module as a first priority; and is also provided with
After receiving the terminal use state signal, the shadow server monitors whether the terminal use state signal is received again in a designated time or not by the second mapping module corresponding to the second vehicle identifier;
if not, the shadow server marks the service state priority of the vehicle in the second mapping module as a second priority.
CN202011127504.1A 2020-10-20 2020-10-20 Method and system for reporting vehicle state data and method for checking vehicle state Active CN112261124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011127504.1A CN112261124B (en) 2020-10-20 2020-10-20 Method and system for reporting vehicle state data and method for checking vehicle state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011127504.1A CN112261124B (en) 2020-10-20 2020-10-20 Method and system for reporting vehicle state data and method for checking vehicle state

Publications (2)

Publication Number Publication Date
CN112261124A CN112261124A (en) 2021-01-22
CN112261124B true CN112261124B (en) 2023-10-13

Family

ID=74243990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011127504.1A Active CN112261124B (en) 2020-10-20 2020-10-20 Method and system for reporting vehicle state data and method for checking vehicle state

Country Status (1)

Country Link
CN (1) CN112261124B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002035395A2 (en) * 2000-10-27 2002-05-02 Entigen Corporation Integrating heterogeneous data and tools
WO2014205817A1 (en) * 2013-06-28 2014-12-31 华为技术有限公司 Data scheduling method, apparatus and system
CN104270725A (en) * 2014-09-24 2015-01-07 中兴通讯股份有限公司 Indication information determination and processing method and device and request message processing method and device
CN105329211A (en) * 2015-12-15 2016-02-17 重庆联导金宏电子有限公司 Vehicle control system with real-time vehicle condition display function
CN105353697A (en) * 2015-12-15 2016-02-24 重庆联导金宏电子有限公司 Vehicle remote control system capable of remotely controlling automobile data recorder
CN111462351A (en) * 2020-03-20 2020-07-28 北京智行者科技有限公司 Vehicle driving data processing method, system and equipment based on automatic driving platform
CN111726414A (en) * 2020-06-29 2020-09-29 湖北亿咖通科技有限公司 Vehicle reported data processing method and vehicle data reporting system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10075422B2 (en) * 2015-06-30 2018-09-11 Amazon Technologies, Inc. Device communication environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002035395A2 (en) * 2000-10-27 2002-05-02 Entigen Corporation Integrating heterogeneous data and tools
WO2014205817A1 (en) * 2013-06-28 2014-12-31 华为技术有限公司 Data scheduling method, apparatus and system
CN104270725A (en) * 2014-09-24 2015-01-07 中兴通讯股份有限公司 Indication information determination and processing method and device and request message processing method and device
CN105329211A (en) * 2015-12-15 2016-02-17 重庆联导金宏电子有限公司 Vehicle control system with real-time vehicle condition display function
CN105353697A (en) * 2015-12-15 2016-02-24 重庆联导金宏电子有限公司 Vehicle remote control system capable of remotely controlling automobile data recorder
CN111462351A (en) * 2020-03-20 2020-07-28 北京智行者科技有限公司 Vehicle driving data processing method, system and equipment based on automatic driving platform
CN111726414A (en) * 2020-06-29 2020-09-29 湖北亿咖通科技有限公司 Vehicle reported data processing method and vehicle data reporting system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Angelos Argyrou.A data fusion system for controlling the execution status in human-robot collaborative cells.《 Procedia CIRP》.2018,全文. *
申樟虹.车辆及车辆基地智能管控系统设计方案.《智能城市》.2020,全文. *

Also Published As

Publication number Publication date
CN112261124A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US7437413B2 (en) Text messaging system and method
CN101459611B (en) Data transmission scheduling method, system and device for IP SAN storage
CA2481638A1 (en) Demand-based provisioning for a mobile communication device
CN110808948B (en) Remote procedure calling method, device and system
US7239878B2 (en) Telecommunication method for a wireless network
US20030236769A1 (en) Method and device for mobile communication
CN107872396B (en) Communication method with timeout control, processing device, terminal device and server
JP2009087346A (en) Communication terminal, mail push system and method
US20100146075A1 (en) Mobile radio communication device and method of managing connectivity status for the same
CN104243611A (en) Distribution thought based message service middleware system
CN111726414A (en) Vehicle reported data processing method and vehicle data reporting system
CN1996963A (en) Information processing method, information processing device, and program
CN105165035A (en) Transmission of multimedia message doubled with transmission of text message
CN103581846A (en) User business card updating method and system
CN112261124B (en) Method and system for reporting vehicle state data and method for checking vehicle state
CN110545556B (en) MAC CE, information sending method, information receiving method and communication equipment
CN109766347B (en) Data updating method, device, system, computer equipment and storage medium
CN113055921B (en) Fault processing method and terminal
CN113727453B (en) Method, device, system and storage medium for resource scheduling
US11425632B2 (en) Mechanism to provide updates to NB-IoT devices
CN108989467B (en) Centralized addressing method
CN114337942A (en) Message retransmission method and device and electronic equipment
CN102685236A (en) Message processing method and system
CN114079974A (en) Network capability opening method and device, UPF entity and CPE network element
JP2008311701A (en) Data communication method, and edge router

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220322

Address after: 430051 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Applicant after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: No.c101, chuanggu start up area, taizihu cultural Digital Industrial Park, No.18 Shenlong Avenue, Wuhan Economic Development Zone, Hubei Province

Applicant before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant