Disclosure of Invention
The embodiment of the invention provides a vehicle-mounted machine interaction method and system based on WeChat, which can associate a WeChat account with vehicle-mounted machine equipment through a WeChat client to establish connection between a user corresponding to the WeChat account and the vehicle-mounted machine equipment, so that human-vehicle information interaction can be realized under the remote condition.
In order to solve the above technical problem, the technical solution of the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a vehicle-mounted device interaction method based on WeChat, where the method includes:
the WeChat client acquires identification information of the vehicle-mounted equipment;
the wechat client associates the wechat account of the user with the car machine equipment through the wechat public number corresponding to the car machine equipment based on the identification information;
if the vehicle-mounted equipment receives an interaction instruction sent by the WeChat client, the vehicle-mounted equipment performs corresponding information interaction with the WeChat account based on the interaction instruction; the interactive instruction is an instruction issued by the wechat account through the wechat public number.
Optionally, the wechat account includes a first wechat account and a second wechat account, and the wechat client associates the second wechat account with the car machine device through a wechat public number corresponding to the car machine device based on the identification information, including:
the wechat client sends prompt information to the first wechat account through the wechat public number, wherein the prompt information is used for prompting whether the first wechat account agrees to associate the second wechat account with the vehicle equipment;
and if the wechat client receives a response operation aiming at the prompt message and the response operation is that the second wechat account is associated with the car machine equipment, the wechat client associates the second wechat account with the car machine equipment.
Optionally, if the interactive instruction is used for interacting first information generated in a driving process of the car machine device, the car machine device performs corresponding information interaction with the wechat account based on the interactive instruction, including:
the vehicle-mounted equipment acquires the first information based on the interactive instruction;
the vehicle-mounted machine equipment sends the first information to a WeChat platform;
and the wechat platform pushes the first information to the wechat account through the wechat public number.
Optionally, if the interaction instruction is used to interact second information of the user corresponding to the wechat account, the in-vehicle device performs corresponding information interaction with the wechat account based on the interaction instruction, including:
and the vehicle-mounted equipment analyzes the interactive instruction to obtain the second information.
Optionally, the method further includes:
if the vehicle-mounted equipment does not receive the interactive instruction sent by the WeChat client and detects an interactive trigger event, the vehicle-mounted equipment sends third information generated in the driving process to a WeChat platform;
and the wechat platform pushes the third information to the wechat account through the wechat public number.
In a second aspect, an embodiment of the present invention further provides a vehicle-mounted device interaction system based on a wechat, where the system includes a wechat client and a vehicle-mounted device; wherein,
the WeChat client is used for acquiring identification information of the vehicle equipment; based on the identification information, associating the wechat account of the user with the car machine equipment through a wechat public number corresponding to the car machine equipment;
the vehicle-mounted device is used for carrying out corresponding information interaction with the WeChat account number based on an interaction instruction sent by the WeChat client if the interaction instruction is received; the interactive instruction is an instruction issued by the wechat account through the wechat public number.
Optionally, the wechat account includes a first wechat account and a second wechat account, the wechat client is specifically configured to send a prompt message to the first wechat account through the wechat public signal, where the prompt message is used to prompt whether the first wechat account agrees to associate the second wechat account with the car machine device;
the wechat client is specifically configured to associate the second wechat account with the car machine device if a response operation for the prompt information is received and the response operation agrees to associate the second wechat account with the car machine device.
Optionally, if the interaction instruction is used for interacting first information generated in a driving process of the vehicle-mounted device, the system further includes a wechat platform; wherein,
the vehicle-mounted device is specifically configured to acquire the first information based on the interactive instruction; sending the first information to a WeChat platform;
and the wechat platform is used for pushing the first information to the wechat account number through the wechat public number.
Optionally, if the interaction instruction is used to interact second information of the user corresponding to the wechat account, the in-vehicle device is specifically configured to analyze the interaction instruction to obtain the second information.
Optionally, the car-in-vehicle device is further configured to send third information generated in a driving process to the wechat platform if an interaction instruction sent by the wechat client is not received and an interaction trigger event is detected;
the wechat platform is further used for pushing the third information to the wechat account through the wechat public number.
In the embodiment of the invention, a WeChat client acquires the identification information of the vehicle-mounted equipment; the wechat client associates the wechat account of the user with the car machine equipment through the wechat public number corresponding to the car machine equipment based on the identification information; if the vehicle-mounted equipment receives an interaction instruction sent by the WeChat client, the vehicle-mounted equipment performs corresponding information interaction with the WeChat account based on the interaction instruction; the interactive instruction is an instruction issued by the wechat account through the wechat public number. Therefore, the WeChat account of the user is associated with the car machine equipment, so that the connection between the user corresponding to the WeChat account and the car machine equipment is realized, the human-car information interaction can be realized under the remote condition, and the user experience can be improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a vehicle-mounted device interaction method based on wechat in an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
the vehicle-mounted machine interaction method based on the WeChat is applied to a vehicle-mounted machine interaction system based on the WeChat, the system comprises a WeChat client and vehicle-mounted machine equipment, a WeChat account number of a user is associated with the vehicle-mounted machine equipment through the WeChat client, so that connection is established between the user corresponding to the WeChat account and the vehicle-mounted machine equipment, the purpose is that no matter how far away the user is located from the vehicle-mounted machine equipment, the user can carry out information interaction with the vehicle-mounted machine equipment, and through the information interaction, the user can realize remote monitoring on the vehicle-mounted machine equipment.
Step 101, a WeChat client acquires identification information of a vehicle-mounted device;
in the embodiment of the present invention, the identification information of the car machine device is an identification code of the car machine device, and the identification code is unique and can be set when the car machine device leaves a factory.
In the embodiment of the invention, the identification information of the vehicle equipment can be acquired in various ways, for example, after a user pays attention to a micro message public number corresponding to the vehicle equipment, the identification information of the vehicle equipment is searched and input in the micro message public number, and the micro message client can acquire the identification information by receiving input information of the user. For another example, after the user scans the two-dimensional code representing the identification information through the wechat client, acquires and pays attention to the wechat public number corresponding to the vehicle equipment, the user scans the two-dimensional code through the wechat client again, and the wechat client can acquire the identification information of the vehicle equipment.
102, the wechat client associates a wechat account of a user with the car machine equipment through a wechat public number corresponding to the car machine equipment based on the identification information;
in practical application, firstly, after a user corresponding to the wechat account scans a two-dimensional code representing identification information of the car machine equipment by using a wechat client for the first time, the user can pay attention to a wechat public number corresponding to the car machine equipment, then, the user scans the two-dimensional code again through the wechat client, and the wechat client can bind the wechat account with the car machine equipment.
In addition, in order to more flexibly realize human-vehicle information interaction, the vehicle-mounted device can be bound by multiple people, but other users need to be bound only after the agreement of the vehicle owner, namely the user who successfully binds the vehicle-mounted device for the first time. That is, the user a (the user corresponding to the first wechat account) becomes the vehicle owner after the vehicle equipment is bound for the first time, and if the user B (the user corresponding to the second wechat account) wants to bind the vehicle equipment, the user a agrees to the binding.
Specifically, the wechat account includes a first wechat account and a second wechat account, and the wechat client associates the second wechat account with the car machine device through the wechat public number corresponding to the car machine device based on the identification information, including:
the wechat client sends prompt information to the first wechat account through the wechat public number, wherein the prompt information is used for prompting whether the first wechat account agrees to associate the second wechat account with the vehicle equipment;
and if the wechat client receives a response operation aiming at the prompt message and the response operation is that the second wechat account is associated with the car machine equipment, the wechat client associates the second wechat account with the car machine equipment.
In the embodiment of the present invention, if the wechat client receives a response operation for the prompt message, but the response operation does not agree to associate the second wechat account with the in-vehicle device, the wechat client will not perform any operation, that is, associate the second wechat account with the in-vehicle device.
Further, the first wechat account number has a right to unbind a third wechat account number and the car machine equipment, specifically, a user corresponding to the first wechat account number inputs a unbinding instruction through the wechat public number, the wechat client analyzes the unbinding instruction to obtain a third wechat account number to be unbound, and the wechat client unbinds the third wechat account number and the car machine equipment to unbind the binding relationship between the third wechat account number and the car machine equipment.
103, if the in-vehicle device receives an interaction instruction sent by the wechat client, the in-vehicle device performs corresponding information interaction with the wechat account based on the interaction instruction; the interactive instruction is an instruction issued by the wechat account through the wechat public number.
In the embodiment of the invention, the information interaction between the user corresponding to the wechat account and the vehicle equipment is realized in two ways:
the first mode is as follows: and actively inquiring, wherein after the micro-letter account is associated with the vehicle equipment, a user corresponding to the micro-letter account issues an interactive instruction to the vehicle equipment through the micro-letter public number, and the micro-letter client sends the interactive instruction to the vehicle equipment through the micro-letter public number. And if the vehicle-mounted equipment receives the interactive instruction sent by the WeChat client, the vehicle-mounted equipment performs corresponding information interaction with the WeChat account based on the interactive instruction.
In the mode, the user corresponding to the wechat account can issue an interactive instruction to the vehicle-mounted equipment through the wechat public number, and after the vehicle-mounted equipment receives the interactive instruction sent by the wechat client, some corresponding functions can be realized based on the interactive instruction.
The interaction instruction can be used for interacting first information generated in the vehicle-mounted device driving process and can also be used for interacting second information of a user corresponding to the WeChat account. If the interaction instruction is used for interacting first information generated in the driving process of the vehicle equipment, the first information is current first position information of the vehicle equipment, and the first position information is longitude and latitude information of the current location of the vehicle equipment, under the condition, the embodiment of the invention can realize the positioning function of the vehicle equipment by WeChat, namely, the function of searching the vehicle at any time and any place; specifically, the vehicle device performs corresponding information interaction with the wechat account based on the interaction instruction, including:
the vehicle-mounted equipment acquires the first position information based on the interactive instruction;
the vehicle-mounted machine equipment sends the first position information to a micro information platform;
and the micro information platform pushes the first position information to the micro information account number through the micro information public number.
If the interactive instruction is used for interacting first information generated in the driving process of the vehicle equipment, and the first information is driving track information of the vehicle equipment, in this case, the embodiment of the invention can realize a driving track tracking function of the vehicle equipment by WeChat, that is, a function of knowing driving dynamics of the vehicle in real time; specifically, the vehicle device performs corresponding information interaction with the wechat account based on the interaction instruction, including:
the vehicle-mounted equipment acquires the driving track information based on the interactive instruction;
the vehicle-mounted equipment sends the traveling track information to a WeChat platform;
and the wechat platform pushes the driving track information to the wechat account through the wechat public number.
If the interactive instruction is used for interacting first information generated in the driving process of the vehicle equipment, and the first information is monitoring information of the vehicle equipment (such as photos or videos shot when collision occurs in the driving process), in this case, the embodiment of the invention can realize the function of monitoring the vehicle equipment by using WeChat; specifically, the vehicle device performs corresponding information interaction with the wechat account based on the interaction instruction, including:
the vehicle-mounted equipment acquires the monitoring information based on the interactive instruction;
the vehicle-mounted machine equipment sends the monitoring information to a WeChat platform;
and the wechat platform pushes the monitoring information to the wechat account through the wechat public number.
If the interaction instruction is used for interacting second information of the user corresponding to the WeChat account, and the second information is second position information of the user, in this case, the embodiment of the invention can realize the function of guiding the car machine equipment to navigate and receive people through the WeChat; specifically, the vehicle device performs corresponding information interaction with the wechat account based on the interaction instruction, including:
and the vehicle-mounted equipment analyzes the interactive instruction to obtain the second position information. And after the vehicle-mounted equipment obtains the second position information, navigating to the position indicated by the user according to the second position information.
The second way is: and passively receiving, wherein the information interaction mode is not that a user actively queries the relevant information of the vehicle-mounted device, but the vehicle-mounted device sends the notification information to the user after detecting the interaction triggering event, and the user can check the relevant information of the vehicle-mounted device only by clicking the notification information. Specifically, if the car machine equipment does not receive the interactive instruction sent by the WeChat client and detects an interactive trigger event, the car machine equipment sends third information generated in the driving process to the WeChat platform; and the wechat platform pushes the third information to the wechat account through the wechat public number.
In this manner, the interaction triggering event may be that a prescribed time expires, for example, the in-vehicle device sends the notification information to the user every half hour, or the interaction triggering event may be that the in-vehicle device detects that the corresponding vehicle has a fault, for example, the in-vehicle device sends the notification information to the user when detecting that the corresponding vehicle has a collision or a scratch.
Taking the function of monitoring the vehicle equipment by using the WeChat as an example, the interaction triggering event is that the vehicle equipment detects that a corresponding vehicle sends a fault (such as collision or scraping), when the vehicle runs or stops in a parking lot, if the vehicle is collided or scraped, the vehicle equipment monitors that the vehicle has the fault and immediately takes a picture or records a video, and meanwhile, the vehicle equipment sends the pictures or the video to the WeChat public number concerned by the user corresponding to the WeChat account number for the user to view; or the vehicle-mounted equipment sends a notification to the WeChat public number concerned by the user corresponding to the WeChat account, and after the user clicks to check the notification, the vehicle-mounted equipment uploads the photos or videos to the WeChat public number for the user to check.
In summary, in the embodiment of the present invention, the WeChat account of the user is associated with the car machine device, so that the connection between the user corresponding to the WeChat account and the car machine device is realized, and thus, the human-car information interaction can be realized in a long distance, and further, the functions of remote positioning and monitoring of the car machine device and the like are realized. .
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
Referring to fig. 2, fig. 2 is a schematic diagram of a constituent structure of a vehicle-machine interaction system based on a WeChat in the embodiment of the present invention, and as shown in fig. 2, the vehicle-machine interaction system based on a WeChat in the embodiment includes: a WeChat client 21 and a car machine device 22; wherein,
the wechat client 21 is configured to obtain identification information of the in-vehicle device 22; associating the wechat account number of the user with the car machine device 22 through the wechat public number corresponding to the car machine device 22 based on the identification information;
the car machine device 22 is configured to perform corresponding information interaction with the wechat account based on the interaction instruction if the interaction instruction sent by the wechat client 21 is received; the interactive instruction is an instruction issued by the wechat account through the wechat public number.
Optionally, the wechat account includes a first wechat account and a second wechat account, the wechat client 21 is specifically configured to send a prompt message to the first wechat account through the wechat public number, where the prompt message is used to prompt whether the first wechat account agrees to associate the second wechat account with the car machine device 22;
the wechat client 21 is specifically configured to associate the second wechat account with the car machine device 22 if a response operation for the prompt information is received and the response operation agrees to associate the second wechat account with the car machine device 22.
Optionally, if the interaction instruction is used for interacting first information generated in the driving process of the car machine device 22, the system further includes a wechat platform 23; wherein,
the in-vehicle device 22 is specifically configured to obtain the first information based on the interactive instruction; sending the first information to the wechat platform 23;
the wechat platform 23 is configured to push the first information to the wechat account through the wechat public number.
Optionally, if the interaction instruction is used to interact second information of the user corresponding to the wechat account, the in-vehicle device 22 is specifically configured to analyze the interaction instruction to obtain the second information.
Optionally, the car machine device 22 is further configured to send third information generated in the driving process to the wechat platform 23 if an interaction instruction sent by the wechat client 21 is not received and an interaction trigger event is detected;
the wechat platform 23 is further configured to push the third information to the wechat account through the wechat public number.
The vehicle-machine interaction system based on the WeChat provided by the embodiment of the present invention can implement each process implemented by the vehicle-machine interaction system based on the WeChat in the method embodiment of FIG. 1, and is not described herein again to avoid repetition.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units 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 computer device (which may be 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. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.