CN110851544A - Method for controlling remote vehicle by using remote service - Google Patents

Method for controlling remote vehicle by using remote service Download PDF

Info

Publication number
CN110851544A
CN110851544A CN201911099837.5A CN201911099837A CN110851544A CN 110851544 A CN110851544 A CN 110851544A CN 201911099837 A CN201911099837 A CN 201911099837A CN 110851544 A CN110851544 A CN 110851544A
Authority
CN
China
Prior art keywords
vehicle
control data
data
server
communication equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911099837.5A
Other languages
Chinese (zh)
Inventor
张开祝
李秋标
吴恭辉
陈伟德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhu Ombo Technology Co Ltd
Original Assignee
Wuhu Ombo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhu Ombo Technology Co Ltd filed Critical Wuhu Ombo Technology Co Ltd
Priority to CN201911099837.5A priority Critical patent/CN110851544A/en
Publication of CN110851544A publication Critical patent/CN110851544A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/289Object oriented databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • 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/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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computational Linguistics (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for controlling a remote vehicle by using remote service.A user sends a control data request through a mobile phone application end, after receiving control data, a service end stores the control data into a vehicle control information table, and sets a cache mark to indicate that the vehicle has an operation request to execute; the terminal communication equipment on the vehicle is connected with the server, requests for obtaining control data of a user in real time, continuously inquires the cache mark until the cache mark has a control data request record, inquires specific detailed control data from the vehicle control information table, packages and packs the control data into network byte data, and sends the network byte data to the terminal communication equipment through a network socket. The invention greatly improves the inquiry and issuing speed of specific control data, improves the timeliness of the mobile phone client to the vehicle control, and ensures that the vehicle remote control is safer.

Description

Method for controlling remote vehicle by using remote service
Technical Field
The present invention relates to a method for controlling a remote vehicle using a remote service.
Background
Although systems capable of remotely controlling vehicles through a remote control device are available in the market at present, the systems often need to transmit through a remote server in the process of controlling the vehicles. The server generally serves a plurality of users and vehicles, and the server and the terminal communication equipment of the vehicle can send corresponding control data after connection is established, so that the control information is stored firstly in the prior art, and the control information corresponding to the terminal communication equipment is inquired one by one after the connection is established between the server and the terminal communication equipment, so that the data stored by the server side needs to be inquired in a traversing manner in each connection process, thereby spending a great deal of time, reducing the timeliness of vehicle control and even bringing safety risks.
Disclosure of Invention
The invention aims to provide a method for controlling a remote vehicle by using remote service, which aims to solve the problems that the timeliness of the remote vehicle control by remote service control in the prior art is insufficient, and safety hazard is easily brought.
According to the method for controlling the remote vehicle by using the remote service, a user sends a control data request through a mobile phone application end, after the service end receives the control data, the control data is stored in a vehicle control information table, and a cache mark is set to indicate that the vehicle has an operation request to execute.
The terminal communication equipment on the vehicle is connected with the server, requests for obtaining control data of a user in real time, continuously inquires the cache mark until the cache mark has a control data request record, inquires specific detailed control data from the vehicle control information table, packages and packs the control data into network byte data, and sends the network byte data to the terminal communication equipment through a network socket.
The terminal communication equipment receives the data sent by the server, analyzes the data block and analyzes the data content to obtain vehicle operation control data, sends the vehicle operation control data to the vehicle CAN bus, feeds back the result to the terminal communication equipment after the vehicle executes the operation, then uploads the result to the server, and finally the server pushes the feedback result to the corresponding mobile phone application end.
Preferably, the cache tag is implemented based on a redis cache database, the redis cache tag is initially issued without data, the server sets the redis cache tag to be issued with data after receiving control data requested by a user, and the server resets the redis cache tag to be issued without data after issuing data.
Preferably, the vehicle control information table is based on a Mysql database, a user operation record corresponding to each piece of control data is stored in the database, the server updates and sets the corresponding user operation record as execution while issuing the control data, the server updates and sets the corresponding user operation record as execution completion when receiving a feedback result, and both the mobile phone application terminal and the terminal communication device access the server to query the user operation record.
Preferably, after the user logs in and authenticates through the mobile phone application terminal, the corresponding vehicle terminal communication equipment is bound, a binding relation is established, and the vehicle is controlled.
Preferably, the mobile phone application terminal is connected with the server terminal for network communication through an http mode. And the terminal communication equipment is communicated with the server network in a Socket mode. The network communication data is transmitted according to the electric automobile remote service communication protocol and the standard GB/T32960 data format.
The invention has the following advantages: according to the invention, through the data cache marks based on the redis cache database, the corresponding cache marks can be inquired to determine whether the corresponding control data exists or not when the terminal communication equipment is connected, the control data corresponding to the terminal communication equipment is inquired in the Mysql database under the condition that the corresponding control data exists, and then the corresponding control data is issued to realize the control of the vehicle. Because whether the corresponding control data exist is inquired through the data cache marks of the redis cache database, the data content is less, the speed is high, and mysql database inquiry operation is saved. The operation number of the server is greatly reduced, the operation number can be fed back in time, the query and issuing speed of specific control data is greatly improved, the timeliness of the mobile phone client for controlling the vehicle is improved, and the vehicle remote control is safer.
Drawings
Fig. 1 is a system diagram of a method of controlling a remote vehicle using a remote service according to the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be given in order to provide those skilled in the art with a more complete, accurate and thorough understanding of the inventive concept and technical solutions of the present invention.
As shown in fig. 1, the present invention provides a method for controlling a remote vehicle by using a remote service, after a user logs in and authenticates through a mobile phone application, the user binds a corresponding vehicle terminal communication device, establishes a binding relationship, and controls the vehicle. The control data sent by the user comprises the name or code of the corresponding user, the real-time data and the feedback result sent by the terminal communication equipment also have the corresponding terminal communication equipment code, and the server side carries out corresponding data transmission according to the binding relationship between the user and the terminal communication equipment.
The user sends a control data request through the mobile phone application end, the server end stores the control data into the vehicle control information table after receiving the control data, and a cache mark is set to indicate that the vehicle (the control data corresponds to the terminal communication equipment of the vehicle) has an operation request to execute.
The terminal communication equipment on the vehicle is connected with the server for long time, requests to acquire the control data of the user in real time, and continuously inquires the cache mark. The cache mark is realized based on a redis cache database, the redis cache mark is in one-to-one correspondence with the terminal communication equipment, the redis cache mark is initially issued without data, the redis cache mark is set to be issued with data after the server receives control data requested by a user, and the redis cache mark is reset to be issued without data after the server issues the data.
When the cache corresponding to the terminal communication equipment is inquired and marked with a control data request record, specific detailed control data is inquired from the vehicle control information table, and then the control data is packaged into network byte data and is issued to the terminal communication equipment through a network socket.
The terminal communication equipment receives the data sent by the server, analyzes the data block and analyzes the data content to obtain vehicle operation control data, sends the vehicle operation control data to the vehicle CAN bus, feeds back the result to the terminal communication equipment after the vehicle executes the operation, then uploads the result to the server, and finally the server pushes the feedback result to the corresponding mobile phone application end.
Preferably, the vehicle control information table is based on a Mysql database, a user operation record corresponding to each piece of control data is stored in the database, the server updates and sets the corresponding user operation record as execution while issuing the control data, the server updates and sets the corresponding user operation record as execution completion when receiving a feedback result, and both the mobile phone application terminal and the terminal communication device access the server to query the user operation record. Therefore, when the control data is issued, the repeated issuing of the control data in execution or after the execution is avoided, and the repeated issuing operation can not be carried out when the repeated control data in execution is received. The mobile phone application end and the terminal communication equipment can also know the execution conditions of different control data through accessing the server end, so that error correction is convenient.
And the mobile phone application terminal is connected with the server terminal for network communication in an http mode. And the terminal communication equipment is communicated with the server network in a Socket mode. The network communication data is transmitted according to the electric automobile remote service communication protocol and the standard GB/T32960 data format. The scheme has the advantages that the vehicle is controlled simply and conveniently through the mobile phone, the data communication stability is high, the communication data is standardized, the redis cache database and the Mysql database are combined for use, the control data is issued quickly, and the timeliness of remote control is guaranteed.
The invention is described above with reference to the accompanying drawings, it is obvious that the specific implementation of the invention is not limited by the above-mentioned manner, and it is within the scope of the invention to adopt various insubstantial modifications of the inventive concept and solution of the invention, or to apply the inventive concept and solution directly to other applications without modification.

Claims (5)

1. A method of controlling a remote vehicle using a remote service, characterized by: a user sends a control data request through a mobile phone application end, after receiving the control data, a server end stores the control data into a vehicle control information table, and sets a cache mark to indicate that the vehicle has an operation request to execute;
the terminal communication equipment on the vehicle is connected with the server, requests to acquire control data of a user in real time, continuously inquires the cache mark until the cache mark has a control data request record, inquires specific detailed control data from the vehicle control information table, packages and packs the control data into network byte data, and sends the network byte data to the terminal communication equipment through a network socket;
the terminal communication equipment receives the data sent by the server, analyzes the data block and analyzes the data content to obtain vehicle operation control data, sends the vehicle operation control data to the vehicle CAN bus, feeds back the result to the terminal communication equipment after the vehicle executes the operation, then uploads the result to the server, and finally the server pushes the feedback result to the corresponding mobile phone application end.
2. The method of claim 1, wherein the method further comprises the step of: the cache mark is realized based on a redis cache database, the redis cache mark is initially issued without data, the redis cache mark is set to be issued with data after the server receives control data requested by a user, and the redis cache mark is reset to be issued without data after the server issues the data.
3. The method of claim 1, wherein the method further comprises the step of: the vehicle control information table is based on a Mysql database, user operation records corresponding to all control data are stored in the database, the server updates and sets the corresponding user operation records as execution while issuing the control data, the server updates and sets the corresponding user operation records as execution completion when receiving a feedback result, and the mobile phone application end and the terminal communication equipment both access the server to inquire the user operation records.
4. The method of claim 1, wherein the method further comprises the step of: and after the user logs in and authenticates through the mobile phone application terminal, the corresponding vehicle terminal communication equipment is bound, a binding relation is established, and the vehicle is controlled.
5. The method of claim 1, wherein the method further comprises the step of: the mobile phone application terminal is connected with the server terminal for network communication in an http mode; the terminal communication equipment communicates with a server network in a Socket mode; the network communication data is transmitted according to the electric automobile remote service communication protocol and the standard GB/T32960 data format.
CN201911099837.5A 2019-11-12 2019-11-12 Method for controlling remote vehicle by using remote service Pending CN110851544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911099837.5A CN110851544A (en) 2019-11-12 2019-11-12 Method for controlling remote vehicle by using remote service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911099837.5A CN110851544A (en) 2019-11-12 2019-11-12 Method for controlling remote vehicle by using remote service

Publications (1)

Publication Number Publication Date
CN110851544A true CN110851544A (en) 2020-02-28

Family

ID=69600247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911099837.5A Pending CN110851544A (en) 2019-11-12 2019-11-12 Method for controlling remote vehicle by using remote service

Country Status (1)

Country Link
CN (1) CN110851544A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520823A (en) * 2020-11-03 2022-05-20 北京地平线机器人技术研发有限公司 Communication establishment method, device and system based on fatigue driving state

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360145B1 (en) * 2000-05-16 2002-03-19 General Motors Corporation Vehicle platform-portable controller
CN102065140A (en) * 2010-12-24 2011-05-18 深圳市翰盛通讯设备有限公司 Remote real-time acquiring method and system of vehicle state information
CN103885996A (en) * 2012-12-24 2014-06-25 北京掌城科技有限公司 Method of querying real-time bus arrival information
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software programs in a vehicle
CN104572486A (en) * 2015-01-29 2015-04-29 深圳市科陆电子科技股份有限公司 Method for dynamically storing data of electric energy meters
US20160039424A1 (en) * 2014-08-11 2016-02-11 Lg Electronics Inc. Wearable device and method of operating the same
CN105610984A (en) * 2016-03-07 2016-05-25 安徽江淮汽车股份有限公司 Method for remotely controlling vehicle
CN105827720A (en) * 2016-04-18 2016-08-03 宁波轩悦行电动汽车服务有限公司 Mobile phone APP vehicle information obtaining system and load balancing method and vehicle renting method
CN105929815A (en) * 2016-05-30 2016-09-07 长安大学 Large-scale vehicle real-time monitoring and diagnosis, remote service and comprehensive processing method
CN105978975A (en) * 2016-05-12 2016-09-28 广州橙行智动汽车科技有限公司 Upgrading method and system for automobile function module
CN106953847A (en) * 2017-02-27 2017-07-14 江苏徐工信息技术股份有限公司 A kind of cross-platform real-time processing method of big data based on thrift
CN108805053A (en) * 2018-05-28 2018-11-13 江铃汽车股份有限公司 Vehicle nameplate labeling method, system, intelligent terminal and storage medium
CN108829880A (en) * 2018-06-27 2018-11-16 烽火通信科技股份有限公司 A kind of method of the configuration management of optical network terminal
CN109032919A (en) * 2018-05-31 2018-12-18 深圳壹账通智能科技有限公司 APP flux monitoring method, system, computer equipment and storage medium
CN109558450A (en) * 2018-10-30 2019-04-02 中国汽车技术研究中心有限公司 A kind of automobile remote monitoring method and apparatus based on distributed structure/architecture

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360145B1 (en) * 2000-05-16 2002-03-19 General Motors Corporation Vehicle platform-portable controller
CN102065140A (en) * 2010-12-24 2011-05-18 深圳市翰盛通讯设备有限公司 Remote real-time acquiring method and system of vehicle state information
CN103885996A (en) * 2012-12-24 2014-06-25 北京掌城科技有限公司 Method of querying real-time bus arrival information
US20160039424A1 (en) * 2014-08-11 2016-02-11 Lg Electronics Inc. Wearable device and method of operating the same
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software programs in a vehicle
CN104572486A (en) * 2015-01-29 2015-04-29 深圳市科陆电子科技股份有限公司 Method for dynamically storing data of electric energy meters
CN105610984A (en) * 2016-03-07 2016-05-25 安徽江淮汽车股份有限公司 Method for remotely controlling vehicle
CN105827720A (en) * 2016-04-18 2016-08-03 宁波轩悦行电动汽车服务有限公司 Mobile phone APP vehicle information obtaining system and load balancing method and vehicle renting method
CN105978975A (en) * 2016-05-12 2016-09-28 广州橙行智动汽车科技有限公司 Upgrading method and system for automobile function module
CN105929815A (en) * 2016-05-30 2016-09-07 长安大学 Large-scale vehicle real-time monitoring and diagnosis, remote service and comprehensive processing method
CN106953847A (en) * 2017-02-27 2017-07-14 江苏徐工信息技术股份有限公司 A kind of cross-platform real-time processing method of big data based on thrift
CN108805053A (en) * 2018-05-28 2018-11-13 江铃汽车股份有限公司 Vehicle nameplate labeling method, system, intelligent terminal and storage medium
CN109032919A (en) * 2018-05-31 2018-12-18 深圳壹账通智能科技有限公司 APP flux monitoring method, system, computer equipment and storage medium
CN108829880A (en) * 2018-06-27 2018-11-16 烽火通信科技股份有限公司 A kind of method of the configuration management of optical network terminal
CN109558450A (en) * 2018-10-30 2019-04-02 中国汽车技术研究中心有限公司 A kind of automobile remote monitoring method and apparatus based on distributed structure/architecture

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾繁景等: "基于RFID车辆网络信息管理平台的设计", 《通信技术》 *
李辉: "《数据库系统原理及MySQL应用教程》", 31 October 2019 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520823A (en) * 2020-11-03 2022-05-20 北京地平线机器人技术研发有限公司 Communication establishment method, device and system based on fatigue driving state
CN114520823B (en) * 2020-11-03 2024-02-20 北京地平线机器人技术研发有限公司 Communication establishment method, device and system based on fatigue driving state

Similar Documents

Publication Publication Date Title
CN110855774B (en) Internet of things system capable of being automatically configured based on MQTT protocol
CN108551665B (en) System and method for realizing personalized electrical function of vehicle
KR20030097011A (en) Gateway and remote server for automatically configuring a device, and the method thereof
CN110708205A (en) Method and system for performing FOTA (firmware over the air) on equipment through gateway
CN112752245B (en) Distribution network method and device, electronic equipment and storage medium
US9836958B2 (en) Device control method, server, system and computer storage medium
CN110851544A (en) Method for controlling remote vehicle by using remote service
CN103929784A (en) User bandwidth control method, apparatus and system
CN105005500A (en) Remote procedure calling method, server side and client
CN103369000A (en) Data transmission method and data transmission system
CN104184768B (en) A kind of internet of things data transmission method, device and system
CN113766020A (en) Remote control system and method for satellite navigation receiver equipment
CN102546225A (en) Video resource sharing method and management platform
CN101977210A (en) Wireless-network-based logistics information interactive mode between handheld terminal and handheld remote end
CN102761780A (en) Method for obtaining media metadata by intelligent remote controller to
CN106790076B (en) Electric power telecontrol original data transmission method
CN107404517A (en) Control method of network module, scheduling server and system
CN110716524B (en) WEB-based ESOP system
CN106685078A (en) Smart grid remote monitoring system based on Android system
CN110430075B (en) Method for managing logic configuration of support network controller
CN106878924A (en) A kind of method that industrial equipment positioning and authorization service are carried out using Wireless Telecom Equipment
CN112654012A (en) Vehicle control solution under network-free condition
CN113709226A (en) Remote communication terminal data acquisition method based on configuration file
CN105116883A (en) Method and server of establishing corresponding relation of sweeping robot and terminal and system
CN112822034A (en) Service subscription mode-based data transmission method and system between main and distribution network systems

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200228

RJ01 Rejection of invention patent application after publication