CN108206864B - Vehicle information synchronization real-time query system and information synchronization method based on WeChat - Google Patents

Vehicle information synchronization real-time query system and information synchronization method based on WeChat Download PDF

Info

Publication number
CN108206864B
CN108206864B CN201810321497.5A CN201810321497A CN108206864B CN 108206864 B CN108206864 B CN 108206864B CN 201810321497 A CN201810321497 A CN 201810321497A CN 108206864 B CN108206864 B CN 108206864B
Authority
CN
China
Prior art keywords
data
wechat
vehicle
message
running state
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
CN201810321497.5A
Other languages
Chinese (zh)
Other versions
CN108206864A (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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN201810321497.5A priority Critical patent/CN108206864B/en
Publication of CN108206864A publication Critical patent/CN108206864A/en
Application granted granted Critical
Publication of CN108206864B publication Critical patent/CN108206864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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

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)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a vehicle information synchronization real-time query system and an information synchronization method based on WeChat, relates to an information synchronization system and an information synchronization method, and particularly relates to a vehicle information synchronization real-time query system and an information synchronization method based on WeChat. The system comprises a vehicle-mounted mobile terminal, a data receiving module and a vehicle-mounted APP, wherein the vehicle-mounted mobile terminal is used for acquiring vehicle running state information and generating a data message from the vehicle running state information to send the data message to the data receiving module; the data receiving module is used for receiving and analyzing the data message and restoring the vehicle running state information; the terminal instruction system is internally provided with a query instruction and is used for reporting the triggered query instruction to the data forwarding sub-module and receiving a query result returned by the data forwarding sub-module; the user does not need to log in the Internet of vehicles APP to inquire the amount of the trouble, and only needs to autonomously acquire required information through a WeChat public platform and a mode of sending an instruction.

Description

Vehicle information synchronization real-time query system and information synchronization method based on WeChat
Technical Field
The invention relates to an information synchronization system, in particular to a real-time query system and an information synchronization method based on WeChat.
Background
With the rapid development of the Internet of vehicles platform. The technology of vehicle information synchronization is also advancing. More and more car networking APPs are being released on the market. But also has many disadvantages, such as too scattered functions, complex operation, complicated steps, etc. Resulting in inefficiency for the user in conducting operational queries.
Disclosure of Invention
The invention aims to solve the problems of complex operation and complex steps of inquiring the state of a vehicle by using an internet of vehicles (APP), and low efficiency, and provides a vehicle information synchronization real-time inquiry system and an information synchronization method based on WeChat.
The vehicle information synchronization real-time query system based on the WeChat comprises a vehicle-mounted mobile terminal, a production server, a data receiving module and a data synchronization module; the data receiving module and the data synchronization module are both deployed in the production server;
the vehicle-mounted mobile terminal is used for acquiring vehicle running state information, generating a data message from the vehicle running state information and sending the data message to the data receiving module;
the data receiving module is used for receiving and analyzing the data message and restoring the vehicle running state information;
the data synchronization module comprises a data forwarding sub-module and a terminal instruction system;
the terminal instruction system is internally provided with a query instruction and is used for reporting the triggered query instruction to the data forwarding sub-module and receiving a query result returned by the data forwarding sub-module;
the data forwarding sub-module is encapsulated with a predefined WeChat template message interface and is used for receiving a query instruction uploaded by a terminal instruction system, executing data query operation corresponding to the query instruction and acquiring vehicle running state information corresponding to the query instruction; and calling a WeChat message template, filling the vehicle running state information corresponding to the query instruction, and pushing the vehicle running state information corresponding to the query instruction in a template message form to the WeChat user.
The invention discloses an information synchronization method of a vehicle information synchronization real-time query system based on WeChat, which comprises the following steps
Step one, collecting vehicle running state information, and generating a data message from the vehicle running state information;
step two, uploading the data message in the step one to a remote production server;
step three, analyzing the data message in a remote production server, restoring and storing the vehicle running state information;
triggering a built-in query instruction, executing data query operation, and acquiring vehicle running state information corresponding to the query instruction;
and step five, a WeChat message template of a WeChat public platform is called up, the vehicle running state information acquired in the step four is filled into the WeChat message template, and the vehicle running state information is pushed to the WeChat user in a template message mode.
The method has the advantages that the user does not need to log in the Internet of vehicles APP to perform complicated inquiry, and only needs to autonomously acquire the required information through a WeChat public platform and an instruction sending mode. Not only do not have other car networking APP to occupy the memory, but also done the very first time and carried out high-efficient feedback to user's demand. Moreover, because the WeChat has good cross-platform performance, information on various mobile devices can be synchronized. The complicated operation of 75% is avoided, and the efficiency of data query is improved by 30%.
Drawings
Fig. 1 is a block diagram of a vehicle information synchronization real-time query system and an information synchronization method based on WeChat according to the present invention.
Detailed Description
Detailed description of the invention
The vehicle information synchronization real-time query system based on the WeChat comprises a vehicle-mounted mobile terminal 1, a production server 2, a data receiving module 4 and a data synchronization module 7; the data receiving module 4 and the data synchronization module 7 are both deployed in the production server 2;
the vehicle-mounted mobile terminal 1 is a data acquisition module and is used for acquiring vehicle running state information, generating a data message from the vehicle running state information and sending the data message to the data receiving module 4;
the data receiving module 4 is used for receiving and analyzing the data message and restoring the vehicle running state information;
the data synchronization module 7 comprises a data forwarding sub-module 5 and a terminal instruction system 6;
the terminal instruction system 6 is internally provided with a query instruction and is used for reporting the triggered query instruction to the data forwarding sub-module 5 and receiving a query result returned by the data forwarding sub-module 5;
the terminal instruction system 6 is a series of built-in query instructions, and the key-value content of the query instructions is predefined query content, such as: the method comprises the steps of real-time vehicle speed query, real-time position query and the like, wherein a user is represented as a group of query instruction buttons, the user can trigger a WeChat event by clicking the query instruction buttons, the instruction is reported to a data forwarding submodule 5 of a server by an HTTP protocol, and query results are finished and returned by the data forwarding submodule 5. And clicking an instruction button with a corresponding instruction by a user, triggering a WeChat event by the action, and judging that the user clicking the action needs to call a template message API by the WeChat event.
The data forwarding sub-module 5 is packaged with a predefined WeChat template message interface and is used for receiving the query instruction uploaded by the terminal instruction system 6, executing data query operation corresponding to the query instruction and acquiring vehicle running state information corresponding to the query instruction; and calling a WeChat message template, filling the vehicle running state information corresponding to the query instruction, and pushing the vehicle running state information corresponding to the query instruction in a template message form to the WeChat user.
The data forwarding sub-module 5 encapsulates a predefined wechat template message interface, and the interface calls a wechat template message API through an HTTP protocol, and is responsible for executing corresponding data query operation after receiving a query instruction uploaded by the terminal instruction system 6, acquiring a query result, then calling a wechat message template, filling the query result, and pushing the query result in a template message form to a wechat user.
Detailed description of the invention
The second embodiment is different from the first embodiment in that the data message includes the encrypted user identity, the encrypted vehicle identification information, and the encrypted vehicle operating state information.
Detailed description of the invention
The third embodiment is different from the first embodiment in that the data receiving module 4 is a service program.
The data receiving module 4 is a central control module of the whole system and is responsible for receiving data messages of the vehicle-mounted mobile terminal 1, analyzing the data messages, distributing and processing the data and the like;
the data receiving module 4 is a set of Service programs deployed in the production server, the module is deployed by adopting Service, and is a passive request-response mode, after the vehicle-mounted mobile terminal 1 sends a data message uploading request, connection is established, the data message transmission is started, after the transmission is completed, the connection is closed, and the Service analyzes and distributes the uploaded data message.
The method comprises the steps of acquiring a corresponding key-value key value pair by decrypting an uploaded Json character string, calling different processing methods by a system according to the corresponding key value in Service, storing the value, and finally analyzing and distributing the data message after the data message is uploaded for one time.
Detailed description of the invention
The difference between the fourth embodiment and the first embodiment is that the query instruction in the terminal instruction system 6 reports the query instruction to the data forwarding sub-module 5 through the HTTP protocol by triggering the wechat event.
Detailed description of the invention
The difference between the fifth embodiment and the first embodiment is that the wechat template message interface in the data forwarding sub-module 5 calls the wechat message template by calling the wechat template message API.
Detailed description of the invention
The invention discloses an information synchronization method of a vehicle information synchronization real-time query system based on WeChat, which comprises the following steps
Step one, collecting vehicle running state information, and generating a data message from the vehicle running state information;
step two, uploading the data message in the step one to a remote production server;
step three, analyzing the data message in a remote production server, restoring and storing the vehicle running state information;
triggering a built-in query instruction, executing data query operation, and acquiring vehicle running state information corresponding to the query instruction;
and step five, a WeChat message template of a WeChat public platform is called up, the vehicle running state information acquired in the step four is filled into the WeChat message template, and the vehicle running state information is pushed to the WeChat user in a template message mode.
The general flow is that after the data message of the vehicle state information is uploaded to the production server by the vehicle-mounted mobile terminal 1, the production server calls a WeChat template message interface, and the vehicle running state information is provided for the user through WeChat service.
Detailed description of the invention
The seventh embodiment is different from the sixth embodiment in that the data packet is a key-value character string conforming to the Json format.
JSON (JSON Object tagging) is a lightweight data exchange format. The network transmission method is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency. JSON can convert a set of data represented in a JavaScript object into a character string, and then can easily transfer the character string between networks or programs, and restore it to a data format supported by each programming language when necessary,
the key-value is a key value pair in the JSON object, the key and the value respectively represent a key and a value, the key and the value are in one-to-one correspondence, and the value can be found according to the key.
The vehicle-mounted mobile terminal 1 sends a corresponding instruction to a data receiving module 4 in a remote production server by taking a TCP/IP network control protocol as a bottom communication protocol; the command is a key-value character string in a Json data format, and comprises encrypted user identity, vehicle identification information and vehicle running state information.
The invention is a module developed in a WeChat public platform, and depends on the calling service of an event triggering type WeChat template message pushing interface of a WeChat client and the WeChat public platform, because the module belongs to the calling of a WeChat built-in message module, a mobile phone installation program is not needed, and the module can operate in an android and apple environment according to the version of the WeChat client.
The basic architecture can be interpreted as that the vehicle-mounted mobile terminal forms a data message from fields in the database, the data message is transferred to the data receiving module, the data is analyzed after being received and is transmitted to the data forwarding submodule to form a WeChat message template, and the WeChat message template and the terminal instruction system form an architecture system.

Claims (4)

1. The vehicle information synchronization real-time query system based on the WeChat comprises a vehicle-mounted mobile terminal (1) and a production server (2), and is characterized by further comprising a data receiving module (4) and a data synchronization module (7); the data receiving module (4) and the data synchronization module (7) are both deployed in the production server (2);
the vehicle-mounted mobile terminal (1) is used for acquiring vehicle running state information, generating a data message from the vehicle running state information and sending the data message to the data receiving module (4);
the data receiving module (4) is used for receiving and analyzing the data message and restoring the vehicle running state information;
the data synchronization module (7) comprises a data forwarding sub-module (5) and a terminal instruction system (6);
the terminal instruction system (6) is internally provided with a query instruction and is used for reporting the triggered query instruction to the data forwarding sub-module (5) and receiving a query result returned by the data forwarding sub-module (5);
the data forwarding sub-module (5) is packaged with a predefined WeChat template message interface and is used for receiving a query instruction uploaded by the terminal instruction system (6), executing data query operation corresponding to the query instruction and acquiring vehicle running state information corresponding to the query instruction; calling a WeChat message template, filling vehicle running state information corresponding to the query instruction, and pushing the vehicle running state information corresponding to the query instruction in a template message form to a WeChat user;
the inquiry instruction in the terminal instruction system (6) reports the inquiry instruction to the data forwarding sub-module (5) through an HTTP (hyper text transport protocol) by triggering a WeChat event;
the data message comprises the encrypted user identity, the encrypted identification information of the vehicle and the encrypted running state information of the vehicle;
the data receiving module (4) is a service program;
the data receiving module (4) is a passive request-response mode, after the vehicle-mounted mobile terminal (1) sends a data message uploading request, connection is established, data message transmission is started, after the transmission is finished, the connection is closed, and Service is used for analyzing and distributing the uploaded data message;
and decrypting the uploaded Json character string to obtain a corresponding key-value key value pair, and calling different processing methods by the system according to the corresponding key value in the Service to store the value.
2. The synchronous real-time query system for vehicle information based on WeChat as claimed in claim 1, wherein the WeChat template message interface in the data forwarding sub-module (5) invokes the WeChat message template by calling the WeChat template message API.
3. The information synchronization method of the vehicle information synchronization real-time inquiry system based on the WeChat of claim 1, characterized by comprising
Step one, collecting vehicle running state information, and generating a data message from the vehicle running state information;
step two, uploading the data message in the step one to a remote production server;
step three, analyzing the data message in a remote production server, restoring and storing the vehicle running state information;
triggering a built-in query instruction, executing data query operation, and acquiring vehicle running state information corresponding to the query instruction;
and step five, a WeChat message template of a WeChat public platform is called up, the vehicle running state information acquired in the step four is filled into the WeChat message template, and the vehicle running state information is pushed to the WeChat user in a template message mode.
4. The information synchronization method of the vehicle information synchronization real-time query system based on the WeChat as claimed in claim 3, wherein the data message is a key-value character string conforming to the Json format.
CN201810321497.5A 2018-04-11 2018-04-11 Vehicle information synchronization real-time query system and information synchronization method based on WeChat Active CN108206864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810321497.5A CN108206864B (en) 2018-04-11 2018-04-11 Vehicle information synchronization real-time query system and information synchronization method based on WeChat

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810321497.5A CN108206864B (en) 2018-04-11 2018-04-11 Vehicle information synchronization real-time query system and information synchronization method based on WeChat

Publications (2)

Publication Number Publication Date
CN108206864A CN108206864A (en) 2018-06-26
CN108206864B true CN108206864B (en) 2021-09-10

Family

ID=62606944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810321497.5A Active CN108206864B (en) 2018-04-11 2018-04-11 Vehicle information synchronization real-time query system and information synchronization method based on WeChat

Country Status (1)

Country Link
CN (1) CN108206864B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862116A (en) * 2019-03-13 2019-06-07 深圳市元征科技股份有限公司 A kind of information of vehicles method for pushing and device
CN110009290A (en) * 2019-04-16 2019-07-12 广西先飞达物流股份有限公司 A kind of transit information Synergistic method and system based on wechat end
CN110519384A (en) * 2019-08-30 2019-11-29 四川爱联科技有限公司 Vehicle operation monitoring system based on wechat and Internet of Things
CN110930537A (en) * 2019-10-16 2020-03-27 中国平安财产保险股份有限公司 Vehicle data acquisition method, device and equipment based on big data and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956905A (en) * 2016-04-26 2016-09-21 深圳市中交万乘科技有限公司 Unmanned vehicle time sharing renting system
CN106713397A (en) * 2015-11-17 2017-05-24 北京爱德盛业科技有限公司 Vehicle owner vehicle self-check method based on intelligent mobile phone platform
CN106741543A (en) * 2017-02-27 2017-05-31 潘毅 A kind of electric motor intelligent cloud controller with positioning function and electric motor car supervisory systems
CN107786512A (en) * 2016-08-26 2018-03-09 黄晓丹 A kind of apparatus control system and method based on wechat
CN107819852A (en) * 2017-11-13 2018-03-20 国网湖南省电力有限公司 A kind of Hydropower Unit on-line early warning method and system based on wechat public platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713397A (en) * 2015-11-17 2017-05-24 北京爱德盛业科技有限公司 Vehicle owner vehicle self-check method based on intelligent mobile phone platform
CN105956905A (en) * 2016-04-26 2016-09-21 深圳市中交万乘科技有限公司 Unmanned vehicle time sharing renting system
CN107786512A (en) * 2016-08-26 2018-03-09 黄晓丹 A kind of apparatus control system and method based on wechat
CN106741543A (en) * 2017-02-27 2017-05-31 潘毅 A kind of electric motor intelligent cloud controller with positioning function and electric motor car supervisory systems
CN107819852A (en) * 2017-11-13 2018-03-20 国网湖南省电力有限公司 A kind of Hydropower Unit on-line early warning method and system based on wechat public platform

Also Published As

Publication number Publication date
CN108206864A (en) 2018-06-26

Similar Documents

Publication Publication Date Title
CN108206864B (en) Vehicle information synchronization real-time query system and information synchronization method based on WeChat
CN111031034A (en) Multi-protocol convergence edge computing gateway
CN105429858A (en) Real-time message transmission method among multiple robots
CN102185716B (en) Universal management method and system for communication equipment
US20120047245A1 (en) Method for provisioning parameters of terminal, system thereof, and terminal management device
CN104980898A (en) Information pushing method, system and equipment
CN110399578A (en) Page access method and device
CN104243610A (en) Distributed file transmission service method
CN104243482A (en) Control method and device of intelligent device
CN111176662B (en) Architecture implementation method capable of being freely assembled and deployed in distributed and single environment and deployment method
CN103916444A (en) Method for displaying number information through cloud model
CN112486706B (en) Internet of things local equipment linkage method based on MQTT message driving mechanism
CN116974948B (en) Service system testing method, system, equipment and medium
CN113890891A (en) Data sharing interaction method and device of energy cloud network
CN113438233A (en) Method for mutual conversion between protocols
CN109089299A (en) It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode
US8463306B1 (en) Method and system for SMS messaging verification
CN104378682A (en) Key counting method based on android system and smart television based on android system
CN108494606B (en) WCF technology-based data service framework building method
CN113518022A (en) Method for connection configuration of user equipment and household equipment
CN114205842B (en) Device cooperation synchronization method, system, device, terminal device and storage medium
CN108924773B (en) Message processing method and device
CN102281584A (en) Method and system for implementing capability of Internet of things
CN110661850A (en) Edge calculation method, system, computer equipment and storage medium
Obermaier et al. Observations on OMNeT++ Real-Time Behaviour

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
GR01 Patent grant
GR01 Patent grant