CN112261124A - 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 PDFInfo
- Publication number
- CN112261124A CN112261124A CN202011127504.1A CN202011127504A CN112261124A CN 112261124 A CN112261124 A CN 112261124A CN 202011127504 A CN202011127504 A CN 202011127504A CN 112261124 A CN112261124 A CN 112261124A
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000013507 mapping Methods 0.000 claims description 53
- 230000004044 response Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling 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/61—Scheduling 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method and a system for reporting vehicle state data and a method for checking a vehicle state. 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 sends the vehicle status data to the remote control server through a data channel corresponding to the service status priority of the vehicle. The scheme of the invention can classify and process the reported vehicle state data 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, thereby relieving or even solving the problem of vehicle state storage delay.
Description
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 a vehicle state.
Background
As the number of vehicles increases, the number of vehicle message reports increases, especially during peak periods, such as commute hours, which may reach 2000 tps. Message transmission is performed through a message queue (such as a rocktmq) in the prior art. Under the condition that the number of reported messages is large, a series of business logic judgment needs to be carried out on each reported message cloud, and delay in any link can possibly cause slow message consumption, so that message stacking is caused, vehicle state storage is delayed, and finally a user cannot check the current state of a vehicle in real time.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a reporting method and system of vehicle status data and a viewing method of vehicle status that overcome or at least partially solve the above problems.
The invention aims to provide a vehicle state data reporting method and a vehicle state data reporting system, which can classify and process reported vehicle state data according to the service state priority of a vehicle reporting the data so as to relieve and even solve the problem of vehicle state storage delay.
A further object of the present invention is to mark the service status priority of a vehicle according to the usage status of a terminal corresponding to the vehicle, so as to ensure that vehicle status data reported by the vehicle corresponding to the terminal in use is processed preferentially, thereby ensuring that a user can view the current status of the vehicle through the terminal in real time.
According to an aspect of the embodiments of the present invention, there is provided a method for reporting vehicle status data, which is applied to a cloud, where the cloud includes a remote control server and a shadow server, and the method includes:
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 sends 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 mapping module corresponds to a vehicle identifier and stores a service status priority of a vehicle corresponding to the 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 method comprises the following steps:
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 a service status priority of the vehicle corresponding to the vehicle identifier, and generates the service status priority by:
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 a 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 use status signal, the shadow server monitors whether the second mapping module corresponding to the second vehicle identifier receives the terminal use 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 sends the vehicle state data to the remote control server through a data channel corresponding to the service state priority of the vehicle, including:
if the service state priority of the vehicle is the first priority, adding a first label 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 label;
if the service state priority of the vehicle is the second priority, adding a second label to the vehicle state data, sending the vehicle state data to the remote control server through a second data channel corresponding to the second label,
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 method for checking a vehicle state, which is applied to a cloud-side remote control server, and the method for checking includes:
receiving a vehicle state viewing request sent by a terminal, wherein the vehicle state viewing request carries a third vehicle identifier;
determining to obtain vehicle state data corresponding to the third vehicle identifier from a cache of the remote control server according to the third vehicle identifier, wherein the vehicle state data is reported to the remote control server by the method of any one of claims 1 to 5, processed and stored in the cache;
and sending the vehicle state data to the terminal as a result of responding to the vehicle state viewing request.
According to another aspect of the embodiments of the present invention, there is also provided a method for checking a vehicle state, applied to a terminal, the method including:
sending a vehicle state checking request to a remote control server at the cloud end, 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 another aspect of the embodiment of the present invention, there is also provided a system for reporting vehicle status data, including a remote control server, a shadow server, and a plurality of vehicles; wherein,
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 mapping module corresponds to a vehicle identifier and stores a service status 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 identification 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 a 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 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 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. The scheme of the invention can classify and process the reported vehicle state data 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, thereby relieving or even solving the problem of vehicle state storage delay.
Furthermore, 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 ensures that the vehicle state data reported by the vehicle corresponding to the terminal in use is processed preferentially, thereby ensuring that a user can check the current state of the vehicle in real time through the terminal.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken 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 refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating 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 schematic flow chart illustrating a reporting method of vehicle status data according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for checking a vehicle status of a remote control server applied to a cloud according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a viewing method of a vehicle state applied to a terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram illustrating a reporting system of vehicle status data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a reporting system of vehicle status 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 technical problem, an embodiment of the present invention provides a method for reporting vehicle status data. The reporting method of the vehicle state data is applied to a cloud, wherein the cloud refers to a background server relative to a vehicle and a terminal (specifically, a terminal provided with a terminal application program such as a mobile phone application APP). The cloud may include a remote control server (remote for short) and a shadow server (shadow for short). The remote control server is used for providing remote control services, namely service processing services, including database query, redis query, vehicle state setting, third party push calling and the like. The shadow server is used for providing 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) communication protocol and is connected with the remote control server as an intermediate service.
Fig. 1 is a flowchart illustrating a method for reporting vehicle status data according to an embodiment of the present invention. Referring to fig. 1, the reporting method at least includes the following steps S102 to S106.
Step S102, the shadow server receives vehicle state data reported by the vehicle, and the vehicle state data carries a first vehicle identifier.
Step S104, the shadow server determines the service state priority of the vehicle corresponding to the first vehicle identifier according to the first vehicle identifier.
And step S106, the shadow server transmits the vehicle state data to the remote control server through the data channel corresponding to the service state priority of the vehicle.
After receiving the vehicle state data, the remote control server can store the vehicle state data to a memory inside 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 can be stored to the cloud.
In the reporting method of the 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. The scheme of the invention can classify and process the reported vehicle state data 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, thereby relieving or even solving the problem of vehicle state storage delay.
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 vehicle door and window, and the like. The vehicle identification is used to distinguish between different vehicles for unique identification of the vehicle. Specifically, the vehicle identification may be one of the following pieces of vehicle identification information: a Vehicle networking device ID, a Vehicle Identification Number (VIN), a Mobile station International integrated services digital network Number (MSISDN) associated with Vehicle hardware, an International Mobile Subscriber Identity (IMSI), an Integrated Circuit Card Identity (ICCID), an Infotainment Head Unit Identity (IHUID), and so on.
In step S102, the vehicle may report the vehicle state data periodically according to a preset frequency (e.g., 1min), may trigger reporting of the vehicle state data when the vehicle state changes (e.g., when the vehicle door/window switch state changes), may report the vehicle state data by combining the above two manners, and so on. Furthermore, the shadow server receives the vehicle state data reported by the vehicle and modifies the data in the corresponding mapping module.
In step S104, 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 identifier and storing a service status priority of the vehicle corresponding to the vehicle identifier. 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 status priority of the vehicle corresponding to the vehicle identification stored in the mapping module may be generated according to a use status of the terminal corresponding to the vehicle. The terminal mentioned herein may correspond to one or more vehicles, and specifically, a plurality of users or a plurality of vehicles may be set by an application program of the terminal. The terminal can be used for checking the state of the corresponding vehicle through a corresponding application program on the terminal, for example, the terminal can be a mobile phone, and the state of the corresponding vehicle is checked 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 by the vehicle to the cloud. The higher the priority of the service state of the vehicle is, the higher the priority of the data sent to the cloud by the vehicle is.
Specifically, if the remote control server receives a 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 a second vehicle identifier, mark the service state priority of the vehicle in the second mapping module as a first priority and store the first priority.
Fig. 2 is a flowchart illustrating a service status priority generation step of a vehicle according to an embodiment of the present invention. Referring to fig. 2, the service status priority generation step of the vehicle may be implemented as follows:
step S202, the remote control server receives the terminal use state signal sent by the terminal and sends the terminal use state signal to the shadow server. The terminal usage status signal carries a second vehicle identification (i.e., the vehicle identification of the vehicle to which the terminal corresponds).
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), a terminal use status signal indicating that the application program of the terminal is being used by the user is generated, and the communication interface between the application program and the remote control server is automatically called to send the terminal use status signal to the remote control server. Furthermore, after receiving the terminal use status signal sent by the terminal, the remote control server sends the terminal use status signal to the shadow server through the kafka message channel.
Step S204, after receiving the terminal use state signal sent by the remote control server, the shadow server determines a corresponding second mapping module according to a second vehicle identifier, and marks the service state priority of the vehicle in the second mapping module as a first priority.
In addition, since the time for which the user uses the application of the terminal is generally limited, the usage state of the terminal may change 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 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 prioritized over the second priority. The first priority and the second priority herein may be represented by numbers, characters, etc. agreed in advance, for example, the first priority may be represented by "1", "a", or "in use", etc., and the second priority may be represented by "2", "B", or "not in use", etc. The shadow server no longer receives the terminal use state signal of the terminal within the specified time, and the shadow server is probably to indicate that the user does not use the application program of the terminal currently. After the condition is monitored, the service state priority of the corresponding vehicle is marked as a second priority from the first priority, so that the processing priority of the vehicle state data reported by the corresponding vehicle is reduced, and the problem of vehicle state storage delay is further solved.
Fig. 3 is a flowchart illustrating a method for reporting vehicle status data according to another embodiment of the present invention. Referring to fig. 3, in the present embodiment, the shadow server determines the service status priority of the vehicle corresponding to the first vehicle identifier carried by the received vehicle status data by executing step S102 and step S104. The determined service status priority of the vehicle may be a first priority or a second priority.
Accordingly, step S106 may be further implemented as step S306: and if the service state priority of the vehicle is the first priority, adding a first label 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 label. And if the service state priority of the vehicle is the second priority, adding a second label to the vehicle state data, and sending the vehicle state data to the remote control server through a second data channel corresponding to the second label. And the vehicle state data in the first data channel is sent to the remote control server in priority to the vehicle state data in the second data channel, and is stored in a cache of the remote server after being processed by the remote server according to the service requirement.
In a particular embodiment, the first data channel may be a rockmq message channel corresponding to a topic of the first tag, and the second data channel may be a rockmq message channel corresponding to a topic of the second tag, where topic specifies the content and format of the message transport, and the rockmq is a distributed message middleware.
More specifically, the first tag may be vip for indicating higher priority data, and the second tag may be common for indicating lower priority data. As such, if the service status priority of the vehicle is the first priority (indicating that the usage status of the application of the terminal corresponding to the vehicle is in use), the rockmq message channel corresponding to the topic of the vip tag is used to send the vehicle status data to the remote control server. If the service status priority of the vehicle is a second priority (indicating that the use status of the application of the terminal corresponding to the vehicle is not in use), the rockmq message channel corresponding to topic of the common tag is used to transmit the vehicle status data to the remote control server. Therefore, the priorities of the reported vehicle state data are distinguished through topic, 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 there are a small number of users using the terminal even during the peak period, the amount of reported data (e.g., the reported data of the vip tag) of the vehicle that needs to be processed preferentially (i.e., the first priority) is small, and the processing capability of the remote control server is sufficient to deal with the situation, and no delay is caused, thereby alleviating or even solving the problem of vehicle state storage delay. For the reported data (such as the reported data of the common tag) of the vehicles which do not need to be processed preferentially (i.e. the second priority), the reported data can be accumulated in the message queue of the rocktmq in the peak period, and the rocktmq can be consumed by using the peak clipping function of the rocktmq after the peak period elapses.
Correspondingly, the embodiment of the invention also provides a checking method of the vehicle state.
Fig. 4 shows a flow chart of a viewing method of a vehicle state according to an embodiment of the present invention. The checking method is applied to a remote control server at the cloud end. Referring to fig. 4, the viewing method may include at least the following steps S402 to S406.
And step S402, receiving a vehicle state checking request sent by the terminal, wherein the vehicle state checking request carries a third vehicle identifier.
In this step, for the viewing requests of different vehicle states, the terminal may call a corresponding interface between the application program of the terminal and the remote control server, and send the viewing requests of the vehicle states to the remote control server. For example, for a vehicle state viewing request for viewing the closing condition of the car door window, the terminal may call an interface between an application program of the terminal and the remote control server for viewing the state of the car door window, and send the vehicle state viewing request to the remote control server.
And S404, determining to acquire the vehicle state data corresponding to the third vehicle identifier from the cache of the remote control server according to the third vehicle identifier. The vehicle state data mentioned here is reported to the remote control server through the reporting method of the vehicle state data described in any embodiment or the combination of the embodiments, and is 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 viewing request.
In this embodiment, when the user wishes to check the vehicle state through the terminal, the remote control server obtains the reported vehicle state data through the data channel corresponding to the service state priority of the vehicle and returns the vehicle state data to the terminal, so that the terminal can quickly obtain the vehicle state data, and the user can be ensured to check the current state of the vehicle through the terminal in real time without causing delay.
Fig. 5 shows a flowchart of a viewing method of a vehicle state according to another embodiment of the present 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 at the cloud end, and the vehicle state checking request carries a third vehicle identifier.
The manner in which the terminal transmits the vehicle status check request to the remote control server is not repeated as described above.
In step S504, vehicle state data sent by the remote control server in response to the vehicle state viewing request is received. The vehicle state data mentioned here is reported to the remote control server by the reporting method of the vehicle state data described in any embodiment or combination of embodiments.
The terminal can also display the received vehicle state data to the user so that the user can check the vehicle state in time.
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 processed preferentially, and therefore when a user wants to check the vehicle state through the terminal, the user can be ensured to check the current state of the vehicle through the terminal in real time without delay.
Based on the same inventive concept, the embodiment of the invention also provides a system for reporting the vehicle state data. Fig. 6 is a schematic structural diagram of a reporting system 10 for vehicle status data 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 disposed in the cloud. The vehicle 300 reports vehicle status data to the shadow server 200, the vehicle status data carrying a first vehicle identifier. 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 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. 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 the vehicle state data to the cloud.
In the system for reporting vehicle status data according to the embodiment of the present invention, the shadow server 200 determines the service status priority of the vehicle 300 corresponding to the first vehicle identifier according to the first vehicle identifier carried by the received vehicle status data reported by the vehicle, and sends the vehicle status data to the remote control server 100 through the data channel corresponding to the service status priority of the vehicle 300, so that the reported vehicle status data can be classified according to the service status priority of the vehicle 300 reporting the data, the data reported by the vehicle 300 with a high service status priority can be processed preferentially, and the problem of vehicle status storage delay is alleviated or even solved.
Further, as shown in FIG. 7, the 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, according to the first vehicle identifier carried by the vehicle status data, a first mapping module (one of the plurality of mapping modules 201) corresponding to the first vehicle identifier, and then obtain, from the corresponding first mapping module, a service status priority corresponding to the first vehicle identifier.
Further, the mapping module 201 stores a service status priority of the vehicle corresponding to the vehicle identification, the service status priority being generated by:
the shadow server 200 receives the terminal use state signal sent by the remote control server 100, wherein if the remote control server 100 receives the terminal use state signal sent by the terminal 400, the terminal use state signal is sent to the shadow server 200, and the terminal use state signal carries the second vehicle identifier. After receiving the terminal use 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 a first priority.
In one embodiment, the shadow server 200 may monitor whether the terminal usage status signal is received again within a specified time after receiving the terminal usage status signal. 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 status priority, the first priority and the second priority of the vehicle are defined as described above and will not be described in detail.
In one embodiment, the shadow server 200 is further configured to:
if the service state priority of the vehicle is the first priority, a first tag is added to the vehicle state data, and the vehicle state data is sent to the remote control server 100 through a first data channel corresponding to the first tag. If the service state priority of the vehicle is the second priority, a second tag is added to the vehicle state data, and the vehicle state data is sent 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 sent 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 further send a vehicle status check request to the remote control server 100, where the vehicle status check request carries the third vehicle identifier. 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 transmit the acquired vehicle state data to the terminal 400 as a result of responding to the vehicle state viewing 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 connecting lines in fig. 6 and 7 only indicate the communication connection relationship between the devices. In addition, the number of vehicles 300, mapping modules 201, and terminals 400 shown in fig. 6 and 7 is merely illustrative and does not constitute a limitation of the present invention.
According to any one or a combination of multiple optional embodiments, the embodiment of the present invention can achieve the following advantages:
in the method and the system 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 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. The scheme of the invention can classify and process the reported vehicle state data 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, thereby relieving or even solving the problem of vehicle state storage delay.
Furthermore, 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 ensures that the vehicle state data reported by the vehicle corresponding to the terminal in use is processed preferentially, thereby ensuring that a user can check the current state of the vehicle in real time through the terminal.
Furthermore, 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 are 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 is clear to those skilled in the art that the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand 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 the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes 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 used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.
Claims (10)
1. A reporting method of 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;
and 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.
2. A reporting method according to claim 1, wherein the shadow server includes a plurality of mapping modules, each mapping module corresponds to a vehicle identifier and stores a service status priority of a vehicle corresponding to the 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 method comprises the following steps:
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.
3. A reporting method according to claim 2, wherein the mapping module stores the service status priority of the vehicle corresponding to the vehicle identifier, and generates the service status priority by:
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 a 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.
4. A reporting method according to claim 3, wherein after the shadow server receives the terminal use status signal, the second mapping module corresponding to the second vehicle identifier monitors whether the terminal use status signal is received 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.
5. The reporting method of claim 1, wherein the service status priority comprises a first priority and a second priority,
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, including:
if the service state priority of the vehicle is the first priority, adding a first label 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 label;
if the service state priority of the vehicle is the second priority, adding a second label to the vehicle state data, sending the vehicle state data to the remote control server through a second data channel corresponding to the second label,
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.
6. A checking method for a vehicle state is applied to a remote control server at the cloud end, and comprises the following steps:
receiving a vehicle state viewing request sent by a terminal, wherein the vehicle state viewing request carries a third vehicle identifier;
determining to obtain vehicle state data corresponding to the third vehicle identifier from a cache of the remote control server according to the third vehicle identifier, wherein the vehicle state data is reported to the remote control server by the method of any one of claims 1 to 5, processed and stored in the cache;
and sending the vehicle state data to the terminal as a result of responding to the vehicle state viewing request.
7. A method for checking a vehicle state is applied to a terminal, and comprises the following steps:
sending a vehicle state checking request to a remote control server at the cloud end, 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.
8. A reporting system of vehicle state data is characterized by comprising a remote control server, a shadow server and a plurality of vehicles; wherein,
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.
9. The reporting system of claim 8, wherein the shadow server comprises a plurality of mapping modules, each mapping module corresponds to a vehicle identifier and stores a service status 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 identification from the first mapping module.
10. The reporting system of claim 9, 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 a 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.
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 true CN112261124A (en) | 2021-01-22 |
CN112261124B 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 (8)
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 |
US20170006006A1 (en) * | 2015-06-30 | 2017-01-05 | Amazon Technologies, Inc. | Device Communication Environment |
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 |
-
2020
- 2020-10-20 CN CN202011127504.1A patent/CN112261124B/en active Active
Patent Citations (8)
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 |
US20170006006A1 (en) * | 2015-06-30 | 2017-01-05 | Amazon Technologies, Inc. | Device Communication Environment |
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)
Title |
---|
ANGELOS ARGYROU: "A data fusion system for controlling the execution status in human-robot collaborative cells", 《 PROCEDIA CIRP》 * |
申樟虹: "车辆及车辆基地智能管控系统设计方案", 《智能城市》 * |
Also Published As
Publication number | Publication date |
---|---|
CN112261124B (en) | 2023-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11071013B2 (en) | Method and system for group communication, group server, and group member device | |
EP2134138B1 (en) | Information processing method and system | |
KR101006114B1 (en) | Content push service | |
CN107872396B (en) | Communication method with timeout control, processing device, terminal device and server | |
US8768310B1 (en) | Providing a notification message | |
CN104243611A (en) | Distribution thought based message service middleware system | |
CN113467969B (en) | Method for processing message accumulation | |
CN111726414A (en) | Vehicle reported data processing method and vehicle data reporting system | |
CN102811283A (en) | Terminal communication display method and terminal thereof | |
WO2008110504A4 (en) | Charging or billing depending on the reaction to an advert received by a user | |
US20070167195A1 (en) | Communication system, method for extending stand-by time, and computer readable medium therefor | |
CN109756464B (en) | Communication method, server and client | |
CN108200543B (en) | Short message sending method and device | |
CN114051013A (en) | Communication data transmission method and device | |
US20160112525A1 (en) | Distribution control device and method for same, push distribution system, and storage medium | |
CN112261124B (en) | Method and system for reporting vehicle state data and method for checking vehicle state | |
WO2011150968A1 (en) | Communication method and device | |
CN105634931B (en) | Message service processing method and instant communication server | |
KR20070061139A (en) | Parla y 멀티미디어 Method and apparatus for multimedia message service using web service | |
CN114979250B (en) | Message pushing method, device and equipment | |
CN113055921B (en) | Fault processing method and terminal | |
CN114337942A (en) | Message retransmission method and device and electronic equipment | |
CN108989467B (en) | Centralized addressing method | |
CN112671883A (en) | Design method of multifunctional message notification system | |
CN101378538B (en) | Method and system for processing mass-sending messages |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |