CN111194019A - Control method and control device for vehicle-mounted equipment - Google Patents

Control method and control device for vehicle-mounted equipment Download PDF

Info

Publication number
CN111194019A
CN111194019A CN201811350326.1A CN201811350326A CN111194019A CN 111194019 A CN111194019 A CN 111194019A CN 201811350326 A CN201811350326 A CN 201811350326A CN 111194019 A CN111194019 A CN 111194019A
Authority
CN
China
Prior art keywords
mobile terminal
vehicle
wifi module
video data
connection
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
CN201811350326.1A
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811350326.1A priority Critical patent/CN111194019A/en
Publication of CN111194019A publication Critical patent/CN111194019A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The application provides a control method and a control device for vehicle-mounted equipment. The control method comprises the following steps: detecting a wifi module accessed through a local designated interface; under the condition that the access of the wifi module is detected, broadcasting the wireless hotspot of the wifi module to inform a mobile terminal to access the wifi module through the wireless hotspot; according to an access request which is sent by the mobile terminal through the wifi module and is accessed to the vehicle-mounted equipment, connection between the vehicle-mounted equipment and the mobile terminal is established; and after the connection is successfully established, if a control instruction from the mobile terminal is received through the connection, executing corresponding control operation according to the control instruction.

Description

Control method and control device for vehicle-mounted equipment
Technical Field
The present disclosure relates to the field of vehicle-mounted devices, and in particular, to a control method and a control device for a vehicle-mounted device.
Background
The vehicle-mounted video recording equipment is used for recording relevant information such as video images and sound of a scene in the driving process or the parking process of the automobile, can provide evidence for traffic accidents and can assist a driver in parking.
In the related art, when the vehicle-mounted video recording equipment needs to be configured, the vehicle-mounted video recording equipment is generally connected with a notebook computer by adopting a network cable, and the vehicle-mounted video recording equipment is configured by the notebook computer; when the video recorded by the vehicle-mounted video equipment is to be acquired, the USB flash disk is accessed into the vehicle-mounted video equipment to acquire data. Therefore, in the related art, different devices are needed to realize different controls on the vehicle-mounted video equipment, and the operation is complicated.
Disclosure of Invention
The first aspect of the present application provides a control method and a control device for an in-vehicle device, where the control method is applied to the in-vehicle device, and the control method includes:
detecting a wifi module accessed through a local designated interface;
under the condition that the access of the wifi module is detected, broadcasting the wireless hotspot of the wifi module to inform a mobile terminal to access the wifi module through the wireless hotspot;
according to an access request which is sent by the mobile terminal through the wifi module and is accessed to the vehicle-mounted equipment, connection between the vehicle-mounted equipment and the mobile terminal is established;
and after the connection is successfully established, if a control instruction from the mobile terminal is received through the connection, executing corresponding control operation according to the control instruction.
In one embodiment, in the event access to the wifi module is detected, broadcasting the wireless hotspot of the wifi module comprises:
loading a driver of the wifi module and configuring broadcast parameters under the condition that the wifi module is detected to be accessed;
and broadcasting according to the configured broadcasting parameters.
In one embodiment, the establishing of the connection between the vehicle-mounted device and the mobile terminal includes:
receiving the access request sent by the mobile terminal through the wifi module;
judging whether the verification password carried by the access request is consistent with a preset password or not;
and if so, establishing the connection between the vehicle-mounted equipment and the mobile terminal.
In an embodiment, when the control instruction is an instruction to acquire video data, the executing a corresponding control operation according to the control instruction includes:
sending a video data list to the mobile terminal according to the instruction for acquiring the video data, so that the mobile terminal identifies the identifier of the target video data to be acquired from the video data list after receiving the video data list;
receiving the identification of the target video data sent by the mobile terminal through the connection;
after receiving the identification of the target video data through the connection, searching the target video data according to the identification;
and sending the target video data to the mobile terminal through the connection.
In one embodiment, the local designated interface is a local USB interface, the wifi module is a portable wireless module, and detecting the wifi module accessed through the local designated interface includes:
detecting the portable wireless module accessed through the local USB interface.
A second aspect of the present application provides a control device of an in-vehicle apparatus, the control device including:
the detection module is used for detecting the wifi module accessed through the local designated interface;
the broadcasting module is used for broadcasting the wireless hotspot of the wifi module accessed by the local appointed interface under the condition that the wifi module is detected to be accessed, so as to inform the mobile terminal to access the wifi module through the wireless hotspot;
the connection establishing module is used for establishing connection between the vehicle-mounted equipment and the mobile terminal according to an access request which is sent by the mobile terminal through the wifi module and is used for accessing the vehicle-mounted equipment;
and the execution module is used for executing corresponding control operation according to the control instruction if the control instruction from the mobile terminal is received through the connection after the connection is successfully established.
In one embodiment, the broadcasting module includes:
the loading unit is used for loading the drive of the wifi module and configuring broadcast parameters under the condition that the wifi module is detected to be accessed;
and the broadcasting unit is used for broadcasting according to the configured broadcasting parameters.
In one embodiment, the connection establishment module comprises:
the request receiving unit is used for receiving an access request sent by the mobile terminal through the wifi module;
the judging unit is used for judging whether the verification password carried by the access request is consistent with a preset password or not;
and the connection establishing unit is used for establishing the connection between the vehicle-mounted equipment and the mobile terminal when the verification password is judged to be consistent with the preset password.
In one embodiment, when the control instruction is an instruction to acquire video data, the execution module includes:
the list sending unit is used for sending a video data list to the mobile terminal according to the instruction for obtaining the video data so that the mobile terminal can identify the identifier of the target video data to be obtained from the video data list after receiving the video data list;
the identification receiving unit is used for receiving the identification of the target video data sent by the mobile terminal through the connection;
the data searching unit is used for searching the target video data according to the identification after receiving the identification of the target video data through the connection;
and the data sending unit is used for sending the target video data to the mobile terminal through the connection.
In one embodiment, the local designated interface is a local USB interface, the wifi module is a portable wireless module, and the detection module is further configured to:
detecting the portable wireless module accessed through the local USB interface.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
according to the control method and the control device for the vehicle-mounted equipment, the connection between the vehicle-mounted equipment and the mobile terminal is established through the wifi module accessed by the vehicle-mounted equipment, so that the mobile terminal can send a control instruction to the vehicle-mounted equipment through the connection to control the vehicle-mounted equipment. Can know when controlling the mobile unit, only need the mobile unit access wifi module can, the operation is fairly simple, required external equipment is than less to wifi module and mobile terminal conveniently carry, and the user of being convenient for carries, can promote user experience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of a control method for an on-board device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another control method for an in-vehicle device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a control method for a vehicle-mounted device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a control method for a vehicle-mounted device according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a control method for a vehicle-mounted device according to an embodiment of the present application;
fig. 6 is a block diagram illustrating a control apparatus of an in-vehicle device according to an embodiment of the present disclosure;
FIG. 7 is a hardware configuration diagram of a mobile terminal in which a control device of the in-vehicle apparatus shown in FIG. 6 is located;
FIG. 8 is a schematic diagram of a plant control system provided in an embodiment of the present application;
fig. 9 is a flowchart of a control method for a vehicle-mounted device according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a control method for a vehicle-mounted device according to an embodiment of the present disclosure;
fig. 11 is a flowchart of a control method for a vehicle-mounted device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The control method and the control device for the vehicle-mounted equipment in the embodiment of the application can be used in a scene in which the vehicle-mounted equipment needs to be controlled, for example, a scene in which the vehicle-mounted video equipment is configured and maintained or video data recorded by the vehicle-mounted video equipment is acquired. The method provided by the embodiment of the application can control the vehicle-mounted equipment through the mobile terminal, and the mobile terminal can be a mobile phone, a tablet or a notebook computer and other mobile terminals.
In the prior art, when the operations of configuring parameters, exporting logs, downloading video data and the like are performed on the vehicle-mounted video equipment, a notebook computer needs to be connected with the vehicle-mounted video equipment through a network cable; when the video software needs to be upgraded, the USB flash disk storing the installation package needs to be accessed into the vehicle-mounted video equipment; when the video recorded by the vehicle-mounted video recording equipment needs to be watched in real time, the display screen needs to be connected with the vehicle-mounted video recording equipment. Therefore, different external devices need to be connected for controlling different vehicle-mounted video equipment, the operation is complex, and the user experience is not good.
Based on the above discovery, the embodiment of the application provides a control method of a vehicle-mounted device, the vehicle-mounted device is connected into a wireless module, and a mobile terminal is connected into a wireless hotspot of a wifi (wireless) module, so that the vehicle-mounted device can be controlled by the mobile terminal, the operation is simple, fewer external devices are needed, the wifi module and the mobile terminal are convenient to carry, the carrying by a user is convenient, and the user experience can be improved. And, wifi module does not insert public network, and the wireless hotspot of wifi module is the intranet. The public network refers to a network connected to the internet, and when two electronic devices communicate through the public network, data transfer needs to be carried out through a cloud platform server; the intranet refers to a local area network, and is not connected to the internet. The vehicle-mounted equipment and the mobile terminal transmit data through an intranet, transfer through a cloud platform server is not needed, and time required by data transmission can be saved.
The vehicle-mounted equipment and the mobile terminal both have a communication function so as to realize communication between the vehicle-mounted equipment and the mobile terminal. The vehicle-mounted equipment is provided with a local interface, and after the wifi module is connected into the vehicle-mounted equipment through the local specified interface, the vehicle-mounted equipment can broadcast the wireless hotspot of the wifi module. The mobile terminal can search the wireless hotspot and access the wireless hotspot. The wifi module can be portable, for example, can be a module of a USB flash disk size, and is convenient to carry. According to the control method of the vehicle-mounted device, the vehicle-mounted device and the mobile terminal can directly interact data through the wifi module, transfer through the cloud platform server is not needed, and time consumed in the data transmission process is reduced.
The following describes in detail a control method and a control device for an in-vehicle device provided in an embodiment of the present application, but the present application is not limited thereto.
Fig. 1 is a flowchart of a control method of an on-vehicle device according to an embodiment of the present application, where the control method of the on-vehicle device is applied to the on-vehicle device. Referring to fig. 1, the control method of the in-vehicle apparatus includes the following steps 110 to 140.
In the embodiment of the application, the vehicle-mounted equipment can be a vehicle-mounted video recorder. The vehicle-mounted video recorder can record relevant information such as video images, sound and the like of a scene in the process of driving or parking the automobile.
In step 110, a wifi module accessed through a local designated interface is detected.
The local interface is a port which is arranged on the vehicle-mounted equipment and used for accessing the external equipment. The local designated interface is a specific interface used for accessing the wifi module. The local interface may be, for example, a USB (Universal Serial Bus wireless) interface.
In one embodiment, the step 110 of detecting a wifi module accessed through a local designated interface may be implemented by the following steps 111 and 112.
In step 111, whether a wifi module is inserted into the local designated interface is detected.
In step 112, if yes, the wifi module is accessed; if not, return to step 111.
In step 120, under the condition that the access of the wifi module is detected, broadcasting the wireless hotspot of the wifi module so as to inform the mobile terminal to access the wifi module through the wireless hotspot.
In one embodiment, referring to fig. 2, in case of detecting access to the wifi module, the step 120 of broadcasting the wireless hotspot of the wifi module may be accomplished by the following steps 121 and 122.
In step 121, in the case of detecting that the wifi module is accessed, loading the driver of the wifi module and configuring the broadcast parameters.
In step 122, broadcasting is performed according to the configured broadcasting parameters.
After the vehicle-mounted equipment detects that the accessed wifi module is matched, parameters are configured for the wifi module. The vehicle-mounted device is mainly configured with parameters such as wifi essid (extended service set Identifier, that is, the name of wifi) of the wifi module, SSID (service set Identifier) broadcast start, and a connection password of a wireless hotspot of the wifi module. When the vehicle-mounted equipment is provided with the wifi module to start SSID broadcasting, other equipment can search the wireless hotspot of the wifi module and access the wireless hotspot.
In one embodiment, referring to fig. 3, the process of accessing the wireless hotspot by the mobile terminal may be completed through the following steps 123 to 126.
In step 123, the mobile terminal searches for a wireless hotspot of the accessory.
In step 124, after searching for the wireless hotspot of the wifi module, the mobile terminal receives an externally input wireless password and sends a connection request for accessing the wireless hotspot to the wireless module, where the connection request carries the wireless password.
In step 125, the wifi module receives the connection request sent by the mobile terminal, and determines whether the wireless password carried by the connection request is consistent with the preset connection password.
In step 126, when the wifi module judges that the wireless password is consistent with the preset password, the mobile terminal is allowed to access the wifi module through the wireless hotspot; if not, return to step 123.
For safety, when the mobile terminal sends the wireless password input by the user to the wifi module, the wireless password can be encrypted. The wifi module receives the encrypted wireless password and decrypts the wireless password, and then judges whether the decrypted wireless password is consistent with a preset connection password. The preset connection password is the connection password of the wireless hotspot configured by the wifi module of the vehicle-mounted device.
In step 130, according to an access request sent by the mobile terminal through the wifi module to access the vehicle-mounted device, a connection between the vehicle-mounted device and the mobile terminal is established.
In one embodiment, referring to fig. 4, the process of establishing the connection between the vehicle-mounted device and the mobile terminal may be implemented through the following steps 131 to 133.
In step 131, an access request sent by the mobile terminal through the wifi module to access the vehicle-mounted device is received.
The mobile terminal may be a terminal integrated with an APP for controlling the in-vehicle device. The mobile terminal can be provided with a display screen and can display the interface of the APP for controlling the vehicle-mounted equipment.
In one embodiment, after opening the APP, the mobile terminal presents a login interface, which can be used for the user to enter an authentication password. The mobile terminal receives an authentication password input by a user to the login interface, and sends an access request for accessing the vehicle-mounted device to the vehicle-mounted device so as to request to establish connection with the vehicle-mounted device through an SDK (software development kit), wherein the access request carries the authentication password.
In another embodiment, after the mobile terminal is accessed to the wifi module through the wireless hotspot, an access request can be automatically sent to the vehicle-mounted device through the wifi module, and the verification password carried by the access request is the same as the wireless password input by the user. In this case, the user can input the password to the mobile terminal once, which further simplifies the operation of the user.
And then, the vehicle-mounted equipment receives the verification password sent by the mobile terminal through the wifi module.
In step 132, it is determined whether the verification password carried by the access request is consistent with a preset password.
Generally, for security, the authentication password carried by the access request sent by the mobile terminal to the vehicle-mounted device is a password encrypted by using a public key. Correspondingly, after the vehicle-mounted equipment receives the access request sent by the mobile terminal through the wifi module, the verification password carried by the received access request needs to be decrypted by a private key matched with the public key. Then the step 132 of determining whether the verification password carried by the access request is consistent with the preset password comprises: and judging whether the decrypted verification password is consistent with the preset password. Wherein, the public key can be RSA public key, and the private key can be RSA private key.
In step 133, if yes, a connection between the vehicle-mounted device and the mobile terminal is established.
If the vehicle-mounted device judges that the verification password carried by the received access request is consistent with the preset password, the vehicle-mounted device is allowed to access through the wifi module, and the vehicle-mounted device is communicated with the mobile terminal through the wifi module.
When the vehicle-mounted equipment judges that the verification password carried by the received access request is consistent with the preset password, prompt information of successful connection can be sent to the mobile terminal, and the APP of the mobile terminal is switched to be a control interface.
A part of the control interface of the APP may present relevant control buttons for controlling the in-vehicle device, which may be touch buttons or voice control buttons. After the user clicks the touch button, the mobile terminal can acquire a control instruction corresponding to the touch button, and therefore the vehicle-mounted equipment executes corresponding operation after receiving the control instruction. Signals generated by touch buttons on the control interface of the APP can carry different identifications or are different identifications, and the mobile terminal can identify a target touch signal from a plurality of touch signals so as to acquire a control instruction corresponding to the target touch signal. The control instruction may be generated by the mobile terminal, or the mobile terminal reads from a locally pre-stored control instruction, and the specific details are not limited as long as the corresponding control instruction can be obtained by external touch. For example, when a user clicks a touch button for configuring the in-vehicle device, the mobile terminal acquires a configuration instruction. When a user clicks a touch button of software of the upgrading vehicle-mounted equipment, the mobile terminal acquires an upgrading instruction. When a user clicks a touch button for acquiring video data, the mobile terminal acquires an instruction for requesting to acquire the video data. The user can click the voice control button to input voice to the mobile terminal, and the mobile terminal can recognize the semantic meaning of the voice and acquire a corresponding control instruction according to the semantic meaning. The control buttons may include a configuration button, an upgrade button, a button for acquiring video data, a button for turning on and off the in-vehicle device, and the like.
Another portion of the control interface of the APP may present real-time video data for the in-vehicle device. After clicking the part of the interface, the video recorded in real time by the vehicle-mounted equipment can be acquired and played, or one or more frames in the video recorded in real time can be acquired. The control interface through APP presents real-time video data of the vehicle-mounted device, so that a user can observe the inconvenient scene observed through naked eyes conveniently, and the user can be helped to perform operations such as adjusting the angle of the camera. The interface of the part can also be used for playing the recorded video of the vehicle-mounted equipment acquired by the mobile terminal.
In step 140, after the connection is successfully established, if a control instruction from the mobile terminal is received through the connection, a corresponding control operation is executed according to the control instruction.
And after the mobile terminal acquires the control instruction, the control instruction is sent to the vehicle-mounted equipment through the connection between the vehicle-mounted equipment and the mobile terminal. After the vehicle-mounted equipment receives the control instruction sent by the mobile terminal through the connection, the vehicle-mounted equipment can firstly identify the control instruction, acquire the type of the control instruction and execute the control operation corresponding to the control instruction according to the type of the control instruction.
The control instruction may include a configuration instruction, an upgrade instruction, a video data acquisition instruction, and the like. In an embodiment, referring to fig. 5, when the control command is a command for acquiring video data, the step of performing the corresponding control operation according to the control command may include the following steps 141 to 144.
In step 141, a video data list is sent to the mobile terminal according to the instruction for acquiring video data, so that the mobile terminal identifies the identifier of the target video data to be acquired from the video data list after receiving the video data list.
When the vehicle-mounted equipment receives an instruction of acquiring video data from the mobile terminal, a video data list is acquired, wherein the video data list can contain identifications of all video data in the vehicle-mounted equipment, and the identification of the video data can be the time of recording the video data.
After the mobile terminal receives the video data list through the connection between the vehicle-mounted equipment and the mobile terminal, the video data list can be displayed on the control interface, and therefore a user can select the identification of the target video data to be acquired from the video data list. And after acquiring the identifier of the target video data selected by the user, the mobile terminal sends the identifier of the target video data to the vehicle-mounted equipment through the connection.
In step 142, receiving the identification of the target video data sent by the mobile terminal through the connection.
In step 143, after receiving the identifier of the target video data through the connection, the target video data is searched according to the identifier.
After the vehicle-mounted equipment receives the identification of the target video data, the corresponding target video data is searched in all the stored video data according to the identification of the target video data.
In step 144, the target video data is transmitted to the mobile terminal through the connection.
In one embodiment, after the vehicle-mounted device successfully sends the target video to the mobile terminal, the vehicle-mounted device can send prompt information to the mobile terminal through the connection between the vehicle-mounted device and the mobile terminal.
According to the control method of the vehicle-mounted device, the connection between the vehicle-mounted device and the mobile terminal is established through the wifi module accessed by the vehicle-mounted device, so that the mobile terminal can send a control instruction to the vehicle-mounted device through the connection to control the vehicle-mounted device. Can know when controlling the mobile unit, only need the mobile unit access wifi module can, the operation is fairly simple, required external equipment is than less to wifi module and mobile terminal conveniently carry, and the user of being convenient for carries, can promote user experience.
Fig. 6 is a control device of an in-vehicle apparatus according to an embodiment of the present application, where the control device is applicable to the in-vehicle apparatus. Referring to fig. 6, the control apparatus includes:
the detection module 610 is used for detecting a wireless wifi module accessed through a local designated interface;
the broadcasting module 620 is configured to broadcast the wireless hotspot of the wifi module accessed by the local specified interface to notify the mobile terminal to access the wifi module through the wireless hotspot when the wifi module is detected to be accessed;
a connection establishing module 630, configured to establish a connection between the vehicle-mounted device and the mobile terminal according to an access request sent by the mobile terminal through the wifi module to access the vehicle-mounted device;
the executing module 640 is configured to, after the connection is successfully established, if a control instruction from the mobile terminal is received through the connection, execute a corresponding control operation according to the control instruction.
In one embodiment, the broadcasting module 620 includes:
the loading unit is used for loading the drive of the wifi module and configuring broadcast parameters under the condition that the wifi module is detected to be accessed;
and the broadcasting unit is used for broadcasting according to the configured broadcasting parameters. In one embodiment, the connection establishing module 630 includes:
the request receiving unit is used for receiving an access request sent by the mobile terminal through the wifi module;
the judging unit is used for judging whether the verification password carried by the access request is consistent with a preset password or not;
and the connection establishing unit is used for establishing the connection between the vehicle-mounted equipment and the mobile terminal when the verification password is judged to be consistent with the preset password.
In one embodiment, when the control instruction is an instruction to acquire video data, the executing module 640 includes:
the list sending unit is used for sending a video data list to the mobile terminal according to the instruction for obtaining the video data so that the mobile terminal can identify the identifier of the target video data to be obtained from the video data list after receiving the video data list;
the identification receiving unit is used for receiving the identification of the target video data sent by the mobile terminal through the connection;
the data searching unit is used for searching the target video data according to the identification after receiving the identification of the target video data through the connection;
and the data sending unit is used for sending the target video data to the mobile terminal through the connection.
In one embodiment of the present invention,
the local appointed interface is a local USB interface, the wifi module is a portable wireless module, and the detection module is further used for:
detecting the portable wireless module accessed through the local USB interface.
The specific details of the implementation process of the functions and actions of each module in the device are referred to the implementation process of the corresponding step in the method, and are not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the control device of the vehicle-mounted equipment can be applied to the vehicle-mounted equipment. Taking software implementation as an example, as a device in a logical sense, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the vehicle-mounted device where the device is located. In terms of hardware, as shown in fig. 7, fig. 7 is a hardware structure diagram of a vehicle-mounted device where a device control apparatus 732 is located according to an exemplary embodiment of the present application, and except for the processor 710, the memory 730, the network interface 720, and the nonvolatile memory 740 shown in fig. 7, the vehicle-mounted device where the device control apparatus 732 of the vehicle-mounted device is located in the embodiment may also include other hardware according to an actual function of the vehicle-mounted device, which is not described again, for example, a camera.
The present application also provides a machine-readable storage medium on which a program is stored, which when executed by a processor, implements the control method of the in-vehicle apparatus as described in the foregoing embodiments.
This application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Machine-readable storage media include both permanent and non-permanent, removable and non-removable media, and the storage of information may be accomplished by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of machine-readable storage media include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The embodiment of the application also provides a control system of the vehicle-mounted device, and referring to fig. 8, the device control system comprises the mobile terminal 10, the vehicle-mounted device 20 and the wireless module 30. The wireless module 30 is externally connected to the in-vehicle apparatus 20.
The vehicle-mounted equipment 20 is used for detecting a wireless wifi module accessed through a local designated interface, and broadcasting a wireless hotspot of the wifi module under the condition that the access of the wifi module is detected;
the mobile terminal 10 is used for accessing the wifi module through the wireless hotspot, sending an access request for accessing the vehicle-mounted device 20 to the vehicle-mounted device 20 through the wifi module 30 after accessing the wifi module 30, and sending a control instruction to the vehicle-mounted device 20 through the connection;
the vehicle-mounted device 20 is further configured to, after receiving the access request sent by the mobile terminal 10, establish a connection between the vehicle-mounted device and the mobile terminal according to the access request sent by the mobile terminal 10, receive a control instruction from the mobile terminal through the connection, and execute a corresponding control operation according to the control instruction.
In one embodiment, the mobile terminal is a terminal integrated with an APP for managing the vehicle-mounted device.
An embodiment of the present application further provides a control method of an on-board device, which is applied to the control system of the on-board device described above, and referring to fig. 9, the control method of the on-board device includes the following steps 910 to 970.
In step 910, the vehicle-mounted device detects a wifi module accessed through a local specified interface.
In step 920, the vehicle-mounted device broadcasts the wireless hotspot of the wifi module when detecting that the wifi module is accessed.
In step 930, the mobile terminal accesses the wifi module through a wireless hotspot.
In step 940, after the mobile terminal is accessed to the wifi module, an access request for accessing the vehicle-mounted device is sent to the vehicle-mounted device through the wifi module.
In step 950, the vehicle-mounted device establishes a connection between the vehicle-mounted device and the mobile terminal according to an access request sent by the mobile terminal.
In step 960, after the connection is successfully established, the mobile terminal sends a control command to the vehicle-mounted device through the connection.
In step 970, the vehicle-mounted device receives the control instruction from the mobile terminal through the connection, and executes a corresponding control operation according to the control instruction.
The control instruction may include a configuration instruction, an upgrade instruction, a video data acquisition instruction, and the like. The following describes in detail the process of the mobile terminal controlling the vehicle-mounted device by taking the video data acquisition and the instruction upgrading instruction as examples.
FIG. 10 is a flow chart of a mobile terminal acquiring video data from an in-vehicle device. The process may include steps 1001 through 1006 as follows.
In step 1001, the mobile terminal sends an instruction for acquiring video data to the in-vehicle device through a connection between the in-vehicle device and the mobile terminal.
In step 1002, the in-vehicle apparatus receives an instruction to acquire video data, and transmits a video list to the mobile terminal through the connection.
In step 1003, the mobile terminal receives the video list, identifies the identifier of the target video data to be acquired from the video list, and sends the identifier of the target video data to the vehicle-mounted device through the connection.
In step 1004, the vehicle-mounted device receives the identifier of the target video data sent by the mobile terminal, and searches the corresponding target video data according to the identifier.
In step 1005, the in-vehicle apparatus transmits the target video data to the mobile terminal through the connection.
In step 1006, after the in-vehicle device successfully sends the target video, the prompt message is sent to the mobile terminal through the connection.
Fig. 11 is a flowchart of the mobile terminal controlling the in-vehicle device to perform upgrading. The flow may include steps 1101 through 1105 as follows.
In step 1101, the mobile terminal transmits an upgrade instruction to the in-vehicle device through the connection.
In step 1102, the in-vehicle device receives the upgrade instruction and transmits response information to the mobile terminal through the connection.
In step 1103, the mobile terminal receives the response message and sends the upgrade data package to the in-vehicle device through the connection.
In step 1104, the in-vehicle device receives the upgrade data packet and performs an upgrade operation.
And step 1105, after the vehicle-mounted equipment is upgraded, sending prompt information to the mobile terminal through the connection.
According to the control method of the vehicle-mounted equipment, the connection between the vehicle-mounted equipment and the mobile terminal is established through the wifi module accessed by the vehicle-mounted equipment, so that the mobile terminal can send a control instruction to the vehicle-mounted equipment through the connection to control the vehicle-mounted equipment. According to the control method, when the vehicle-mounted equipment is controlled, only the vehicle-mounted equipment is required to be connected with the wifi module, the operation is simple, the number of required external equipment is small, the wifi module and the mobile terminal are convenient to carry, the carrying by a user is convenient, and the user experience can be improved.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A control method of an in-vehicle apparatus, characterized in that the control method is applied to an in-vehicle apparatus, the control method comprising:
detecting a wifi module accessed through a local designated interface;
under the condition that the access of the wifi module is detected, broadcasting the wireless hotspot of the wifi module to inform a mobile terminal to access the wifi module through the wireless hotspot;
according to an access request which is sent by the mobile terminal through the wifi module and is accessed to the vehicle-mounted equipment, connection between the vehicle-mounted equipment and the mobile terminal is established;
and after the connection is successfully established, if a control instruction from the mobile terminal is received through the connection, executing corresponding control operation according to the control instruction.
2. The control method according to claim 1, wherein broadcasting the wireless hotspot of the wifi module in case of detecting access to the wifi module comprises:
loading a driver of the wifi module and configuring broadcast parameters under the condition that the wifi module is detected to be accessed;
and broadcasting according to the configured broadcasting parameters.
3. The control method according to claim 1, wherein the establishing of the connection between the in-vehicle device and the mobile terminal includes:
receiving the access request sent by the mobile terminal through the wifi module;
judging whether the verification password carried by the access request is consistent with a preset password or not;
and if so, establishing the connection between the vehicle-mounted equipment and the mobile terminal.
4. The control method according to claim 1, wherein when the control command is a command for acquiring video data, the executing a corresponding control operation according to the control command includes:
sending a video data list to the mobile terminal according to the instruction for acquiring the video data, so that the mobile terminal identifies the identifier of the target video data to be acquired from the video data list after receiving the video data list;
receiving the identification of the target video data sent by the mobile terminal through the connection;
after receiving the identification of the target video data through the connection, searching the target video data according to the identification;
and sending the target video data to the mobile terminal through the connection.
5. The control method according to claim 1, wherein the local designated interface is a local USB interface, the wifi module is a portable wireless module, and detecting the wifi module accessed through the local designated interface comprises:
detecting the portable wireless module accessed through the local USB interface.
6. A control device of an in-vehicle apparatus, characterized by comprising:
the detection module is used for detecting the wifi module accessed through the local designated interface;
the broadcasting module is used for broadcasting the wireless hotspot of the wifi module accessed by the local appointed interface under the condition that the wifi module is detected to be accessed, so as to inform the mobile terminal to access the wifi module through the wireless hotspot;
the connection establishing module is used for establishing connection between the vehicle-mounted equipment and the mobile terminal according to an access request which is sent by the mobile terminal through the wifi module and is used for accessing the vehicle-mounted equipment;
and the execution module is used for executing corresponding control operation according to the control instruction if the control instruction from the mobile terminal is received through the connection after the connection is successfully established.
7. The control device of claim 6, wherein the broadcast module comprises:
the loading unit is used for loading the drive of the wifi module and configuring broadcast parameters under the condition that the wifi module is detected to be accessed;
and the broadcasting unit is used for broadcasting according to the configured broadcasting parameters.
8. The control device of claim 6, wherein the connection establishment module comprises:
the request receiving unit is used for receiving the access request sent by the mobile terminal through the wifi module;
the judging unit is used for judging whether the verification password carried by the access request is consistent with a preset password or not;
and the connection establishing unit is used for establishing the connection between the vehicle-mounted equipment and the mobile terminal when the verification password is judged to be consistent with the preset password.
9. The control device according to claim 6, wherein when the control command is a command for acquiring video data, the execution module includes:
the list sending unit is used for sending a video data list to the mobile terminal according to the instruction for obtaining the video data so that the mobile terminal can identify the identifier of the target video data to be obtained from the video data list after receiving the video data list;
the identification receiving unit is used for receiving the identification of the target video data sent by the mobile terminal through the connection;
the data searching unit is used for searching the target video data according to the identification after receiving the identification of the target video data through the connection;
and the data sending unit is used for sending the target video data to the mobile terminal through the connection.
10. The control device of claim 6, wherein the local designated interface is a local USB interface, the wifi module is a portable wireless module, and the detection module is further configured to:
detecting the portable wireless module accessed through the local USB interface.
CN201811350326.1A 2018-11-14 2018-11-14 Control method and control device for vehicle-mounted equipment Pending CN111194019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811350326.1A CN111194019A (en) 2018-11-14 2018-11-14 Control method and control device for vehicle-mounted equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811350326.1A CN111194019A (en) 2018-11-14 2018-11-14 Control method and control device for vehicle-mounted equipment

Publications (1)

Publication Number Publication Date
CN111194019A true CN111194019A (en) 2020-05-22

Family

ID=70708960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811350326.1A Pending CN111194019A (en) 2018-11-14 2018-11-14 Control method and control device for vehicle-mounted equipment

Country Status (1)

Country Link
CN (1) CN111194019A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573136A (en) * 2011-12-19 2012-07-11 厦门万安智能股份有限公司 Wireless gateway capable of being controlled by portable mobile device
JP2012186666A (en) * 2011-03-07 2012-09-27 Mitsubishi Electric Corp Wireless communication system, on-board wireless communication apparatus, portable terminal and wireless communication method
CN103167628A (en) * 2013-02-04 2013-06-19 深圳市浩科电子有限公司 Vehicle-mounted control method and system
CN203103998U (en) * 2012-12-21 2013-07-31 深圳市傲冠软件股份有限公司 Remote management system and control device
US20130237189A1 (en) * 2012-03-08 2013-09-12 Omron Automotive Electronics Co., Ltd. Communication system, communication method, and portable machine
CN104837154A (en) * 2015-03-31 2015-08-12 小米科技有限责任公司 Wireless access point control method and device
CN105160854A (en) * 2015-09-16 2015-12-16 小米科技有限责任公司 Equipment control method, device and terminal equipment
CN106376003A (en) * 2015-07-23 2017-02-01 中移(杭州)信息技术有限公司 Method and device for detecting wireless local area network connection and wireless local area network data transmission

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012186666A (en) * 2011-03-07 2012-09-27 Mitsubishi Electric Corp Wireless communication system, on-board wireless communication apparatus, portable terminal and wireless communication method
CN102573136A (en) * 2011-12-19 2012-07-11 厦门万安智能股份有限公司 Wireless gateway capable of being controlled by portable mobile device
US20130237189A1 (en) * 2012-03-08 2013-09-12 Omron Automotive Electronics Co., Ltd. Communication system, communication method, and portable machine
CN203103998U (en) * 2012-12-21 2013-07-31 深圳市傲冠软件股份有限公司 Remote management system and control device
CN103167628A (en) * 2013-02-04 2013-06-19 深圳市浩科电子有限公司 Vehicle-mounted control method and system
CN104837154A (en) * 2015-03-31 2015-08-12 小米科技有限责任公司 Wireless access point control method and device
CN106376003A (en) * 2015-07-23 2017-02-01 中移(杭州)信息技术有限公司 Method and device for detecting wireless local area network connection and wireless local area network data transmission
CN105160854A (en) * 2015-09-16 2015-12-16 小米科技有限责任公司 Equipment control method, device and terminal equipment

Similar Documents

Publication Publication Date Title
AU2013313755B2 (en) Vehicle information processing system and method
RU2659805C2 (en) Method and device for determining the location of the target portable device
CN111586590A (en) Method, device and system for distributing network to equipment
US20160241698A1 (en) Bluetooth control system and method therefor
CN103297096A (en) Apparatus and method for transmitting and receiving multimedia data by using NFC
CN104640234A (en) Method and device for accessing to wireless network
US20120259480A1 (en) Vehicle-mounted device, method for activating the vehicle-mounted device and vehicle-mounted system
US20090279526A1 (en) Wireless lan system, a terminal and a recording medium readable by a computer
US9426273B2 (en) Program expanding system, server for use therein, program expanding method and program managing program
US20160088052A1 (en) Indexing mobile device content using vehicle electronics
CN115002168A (en) Safety detection method for vehicle remote control and vehicle-mounted system
JP6867098B2 (en) Information system
KR102472405B1 (en) Method for sequential mirroring between avn and user unit
CN111194019A (en) Control method and control device for vehicle-mounted equipment
US11606676B2 (en) Information processing device, a recording medium and method that enable sharing, among vehicles, of information about music that is being played back
CN106095781A (en) Malicious websites recognition methods and device
EP3544860B1 (en) Vehicle operating method and vehicle operating apparatus
EP3314596B1 (en) Method for controlling a functionality of a vehicle by means of a user terminal
KR20150060093A (en) AVN for Vehicle and Mobile Device
CN115225627A (en) File transmission method and device, computer equipment and storage medium
KR20220060813A (en) System and method for providing seamless contents in mobile phone and infotainement device, and infotainment device therefor
CN106230455B (en) Content output method, device and system
EP3363178B1 (en) Electronic device comprising a secure module supporting a mode for the local management of the configuration of a subscriber profile
CN110611769A (en) Vehicle-mounted image acquisition method and device, electronic equipment and storage medium
KR20200124909A (en) System and method of wireless connection for vehicle

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: 20200522

RJ01 Rejection of invention patent application after publication