Vehicle-mounted camera equipment networking method and device, equipment and storage medium
Through Bluetooth and Wi-Fi networking between vehicle-mounted camera equipment, the mobile communication function is used to solve the problem of poor networking convenience of vehicle-mounted camera equipment in the existing technology, and realize rapid networking and remote imaging of multiple devices in the vehicle. Check.
Patent Information
- Application Number
- CN202411037068.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
AI Technical Summary
The communication range of existing vehicle-mounted camera equipment networking methods is limited. Users must be close to the local area network to view images captured by multiple vehicle-mounted camera equipment, resulting in poor convenience.
The vehicle-mounted camera master device sends Bluetooth broadcast information to the slave devices, and sends Wi-Fi information after establishing a Bluetooth connection to realize Wi-Fi networking between vehicle-mounted camera devices. The mobile communication function of the vehicle-mounted camera master device allows users to remotely communicate through smart devices. Device to view captured images.
It improves the convenience for users to view images captured by vehicle-mounted shooting devices through smart devices, and enables rapid networking and remote monitoring of multiple camera devices in the vehicle.
Smart Images

Figure CN118764985A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of device networking, and in particular to a method, device, equipment and storage medium for networking vehicle-mounted camera equipment. Background Art
[0002] With the continuous advancement of vehicle safety technology, on-board camera equipment has become popular in vehicles and has become an indispensable on-board equipment. The shooting angle range of on-board camera equipment is limited, so a vehicle is generally equipped with multiple on-board camera devices. Multiple on-board camera devices are networked for use, so that 360-degree shooting of the vehicle can be achieved without blind spots, thereby improving the safety of the vehicle.
[0003] At present, one way of networking vehicle-mounted camera equipment is: first determine a vehicle-mounted camera master device from multiple vehicle-mounted camera devices, and use the remaining vehicle-mounted camera devices as vehicle-mounted camera slave devices. The user sends a networking signal through a switching control unit preset in the vehicle-mounted camera master device, and the vehicle-mounted camera master device establishes a local area network connection with each vehicle-mounted camera slave device according to the networking signal, thereby realizing the networking of the vehicle-mounted camera equipment; when the user joins the local area network through a smart device, the user can view the images taken by each vehicle-mounted camera device through the smart device.
[0004] However, the communication range of the above-mentioned local area network is limited. The user must bring the smart device close to the local area network before the smart device can join the local area network and view the images taken by each vehicle-mounted camera device. It can be seen that it is not convenient for users to view the images taken by each vehicle-mounted camera device through the smart device. Summary of the invention
[0005] In order to improve the convenience for users to view images captured by various vehicle-mounted camera devices through smart devices, the embodiments of the present application provide a vehicle-mounted camera device networking method, apparatus, device and storage medium.
[0006] In a first aspect, the present application provides a vehicle-mounted camera device networking method, which is applied to a vehicle-mounted camera main device with a mobile communication function, and the method includes:
[0007] In response to obtaining the start networking instruction, sending Bluetooth broadcast information to the vehicle-mounted camera slave device; the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle-mounted camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status;
[0008] In response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information, and sending Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection;
[0009] In response to the vehicle-mounted camera slave device establishing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, networking with the vehicle-mounted camera slave device is completed.
[0010] In a second aspect, the present application further provides a vehicle-mounted camera device networking method, which is applied to a vehicle-mounted camera slave device, and the method comprises:
[0011] In response to obtaining a start networking command, scanning Bluetooth broadcast information sent by the vehicle-mounted camera host device; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera host device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status;
[0012] Establishing a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information;
[0013] In response to acquiring the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, a Wi-Fi connection is established with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
[0014] Preferably, establishing a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information includes:
[0015] Parsing the Bluetooth broadcast information to obtain the Bluetooth MAC address and networking requirement status of the vehicle-mounted camera main device;
[0016] A Bluetooth connection is established with the vehicle-mounted camera main device based on the Bluetooth MAC address of the vehicle-mounted camera main device and the networking requirement status.
[0017] Preferably, after the Wi-Fi connection is established with the vehicle-mounted camera host device based on the Wi-Fi information, the method further includes:
[0018] Determine whether the Wi-Fi connection is established successfully;
[0019] If not, an abnormal feedback is given to the vehicle-mounted camera host device, and a Wi-Fi connection is automatically retried until a Wi-Fi connection is established with the vehicle-mounted camera host device.
[0020] Preferably, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device is a vehicle-mounted camera device with a touch screen and / or with a distributed AI image processing function.
[0021] Preferably, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device is a vehicle-mounted camera device with a distributed storage function; the vehicle-mounted camera master device is a vehicle-mounted camera device used to communicate with a preset storage cloud.
[0022] In a third aspect, the present application provides a vehicle-mounted camera device networking device, which is applied to a vehicle-mounted camera main device with a mobile communication function, and the device includes:
[0023] A Bluetooth broadcast module, configured to send Bluetooth broadcast information to the vehicle-mounted camera slave device in response to obtaining a start-networking instruction; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera master device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status;
[0024] An information sending module, configured to establish a Bluetooth connection with the vehicle-mounted camera master device in response to the vehicle-mounted camera slave device based on the Bluetooth broadcast information, and send Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection;
[0025] The Wi-Fi connection module is used to respond to the vehicle-mounted camera slave device performing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, and complete networking with the vehicle-mounted camera slave device.
[0026] In a fourth aspect, the present application further provides a vehicle-mounted camera device networking device, which is applied to a vehicle-mounted camera slave device, and the device includes:
[0027] A Bluetooth scanning module, configured to scan Bluetooth broadcast information sent by the vehicle-mounted camera host device in response to obtaining a start networking command; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera host device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status;
[0028] A Bluetooth connection module, used to establish a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information;
[0029] The Wi-Fi networking module is used to respond to obtaining the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, and to establish a Wi-Fi connection with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
[0030] In a fifth aspect, an embodiment of the present application provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method when executing the computer program.
[0031] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps in the above-mentioned method when executed by a processor.
[0032] The technical solutions involved in the above-mentioned vehicle-mounted camera device networking method, device, equipment and storage medium are applied to a vehicle-mounted camera master device with a mobile communication function, so that the vehicle-mounted camera master device responds to obtaining a startup networking instruction and sends a Bluetooth broadcast message to the vehicle-mounted camera slave device; the Bluetooth broadcast message at least includes the Bluetooth MAC address of the vehicle-mounted camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status; in response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast message, and sending Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection; in response to the vehicle-mounted camera slave device connecting to the vehicle-mounted camera master device based on the Wi-Fi information The device is connected to the vehicle camera via Wi-Fi to complete networking with the vehicle camera slave device; or it is applied to the vehicle camera slave device so that the vehicle camera slave device responds to obtaining a command to start networking and scans the Bluetooth broadcast information sent by the vehicle camera master device; the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status; a Bluetooth connection is established with the vehicle camera master device based on the Bluetooth broadcast information; in response to obtaining the Wi-Fi information sent by the vehicle camera master device based on the Bluetooth connection, a Wi-Fi connection is established with the vehicle camera master device based on the Wi-Fi information, thereby completing networking with the vehicle camera master device. Through the implementation of the above technical solution, the vehicle-mounted camera master device can send Wi-Fi information to the vehicle-mounted camera slave device through the Bluetooth connection that is preferentially established between the vehicle-mounted camera slave device, thereby establishing a Wi-Fi connection between the vehicle-mounted camera slave device and the vehicle-mounted camera master device to realize Wi-Fi networking. Moreover, since the vehicle-mounted camera master device has the function of mobile communication, the user can remotely establish a mobile communication connection with the vehicle-mounted camera master device through a smart device, thereby remotely viewing the images taken by each vehicle-mounted shooting device, which can improve the convenience of users viewing the images taken by each vehicle-mounted shooting device through a smart device.
[0033] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0035] Figure 1This is an application environment diagram of a vehicle-mounted camera device networking method in one embodiment of the present application;
[0036] Figure 2 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 1 of the present application;
[0037] Figure 3 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 2 of the present application;
[0038] Figure 4 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 3 of the present application;
[0039] Figure 5 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 4 of the present application;
[0040] Figure 6 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 5 of the present application;
[0041] Figure 7 This is a structural diagram of a vehicle-mounted camera equipment networking device provided in Example 6 of the present application;
[0042] Figure 8 This is a structural diagram of a vehicle-mounted camera equipment networking device provided in Embodiment 7 of the present application;
[0043] Fig. 9 A schematic diagram of the structure of a computer device provided in one embodiment of the present application;
[0044] Fig.10 An internal structure diagram of a computer-readable storage medium provided in one embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not used to limit the present disclosure.
[0046] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0047] In this article, the term "and / or" is only a description of the association relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the related objects before and after are in an "or" relationship.
[0048] To solve the above problems, the present disclosure provides a method for networking a vehicle-mounted camera device, which can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0049] Embodiment 1
[0050] Figure 2 A flow chart of a vehicle-mounted camera device networking method provided in Example 1 of the present application, refer to Figure 2 The method may be performed by a device for performing the method, and the device may be implemented by software and / or hardware. The method is applied to a vehicle-mounted camera main device having a mobile communication function, and the method includes:
[0051] S110, in response to obtaining the networking start instruction, sending Bluetooth broadcast information to the vehicle-mounted camera slave device; the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle-mounted camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status.
[0052] Among them, the vehicle-mounted camera main device is a device arranged on a vehicle; exemplarily, the vehicle may be a car, a motorcycle, etc., and the vehicle-mounted camera main device may be one of multiple driving recorders installed on the vehicle, and the multiple driving recorders are respectively responsible for recording driving records in different directions of the vehicle; exemplarily, a total of 4 driving recorders are arranged on the vehicle, and the 4 driving recorders are respectively responsible for recording driving records in 4 directions of the front, back, left and right of the vehicle; in other examples, the vehicle-mounted camera main device may also be a vehicle computer, a vehicle center console, etc., without specific limitation; in this embodiment, a mobile communication module is provided in the vehicle-mounted camera main device, so that the vehicle-mounted camera main device has a mobile communication function; exemplarily, the mobile communication module is a 4G communication module and / or a 5G communication module. The networking objects of the vehicle-mounted camera device networking method described in this embodiment include not only the above-mentioned vehicle-mounted camera master device, but also vehicle-mounted camera slave devices. For example, when multiple driving recorders are set on a vehicle, the vehicle-mounted camera slave device may be a driving recorder other than the driving recorder corresponding to the vehicle-mounted camera master device; or, when the vehicle computer or the vehicle center console is the vehicle-mounted camera master device, the driving recorders installed on the vehicle are all vehicle-mounted camera slave devices.
[0053] In addition, the start networking instruction is an instruction for controlling the vehicle-mounted camera master device to start networking with the vehicle-mounted camera slave device. The user can send the start networking instruction to the vehicle-mounted camera master device by touching the electronic button related to the start networking instruction on the touch screen of the vehicle-mounted camera master device, clicking the physical button related to the start networking instruction on the vehicle-mounted camera master device, and sending a voice related to the start networking instruction to the vehicle-mounted camera master device. The vehicle-mounted camera master device can generate Bluetooth broadcast information according to the obtained start networking instruction, wherein the Bluetooth broadcast information is the broadcast information sent by the vehicle-mounted camera master device, which is used to determine the vehicle-mounted camera slave device that can be networked with the vehicle-mounted camera master device, and establish a Bluetooth connection between the vehicle-mounted camera slave device and the vehicle-mounted camera master device.
[0054] In this embodiment, the format of some information in the Bluetooth broadcast information is as follows:
[0055] ……+Length1+Type1+Data1+Length2+Type2+Data2+……;
[0056] Among them, Length1, Type1, Data1 are the first group of data, Length2, Type2, Data2 are the second group of data, ...; Length represents the data length, and the unit of the data length is Byte; Type represents the data type, which is represented by hexadecimal data, such as 0x99 (representing the full name of the broadcast), 0xFF (representing custom), etc.; Data represents the data content.
[0057] In this embodiment, the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle-mounted camera host device, the Bluetooth protocol version number, the networking requirement status, and the Wi-Fi status.
[0058] Among them, the Bluetooth MAC address of the vehicle-mounted camera master device is the Bluetooth MAC address of the vehicle-mounted camera master device, which is used to enable the vehicle-mounted camera slave device to determine the vehicle-mounted camera master device connected to it by Bluetooth; the Bluetooth protocol version number is the version number of the Bluetooth protocol corresponding to establishing the Bluetooth connection between the vehicle-mounted camera master device and the vehicle-mounted camera slave device; the networking requirement status indicates whether the vehicle-mounted camera master device needs the vehicle-mounted camera slave device to establish a Bluetooth connection with it. For example, if the data content of the networking requirement status is 02, it indicates that the vehicle-mounted camera master device needs the vehicle-mounted camera slave device to establish a Bluetooth connection with it; the Wi-Fi status includes 4 states, including: AP on (hotspot on), AP off (hotspot off), STA on (terminal device on), and STA off (terminal device off).
[0059] Exemplarily, part of the information in the Bluetooth broadcast is: Length1+Type1+Data1+Length2+Type2+Data2+Length3+Type3+Data3+Length4+Type4+Data4; wherein Length1 represents the data length of the Bluetooth MAC address of the vehicle-mounted camera main device. In this embodiment, Length1 is 6 bytes, Type1 represents the data type of the Bluetooth MAC address of the vehicle-mounted camera main device, and Data1 represents the data content of the Bluetooth MAC address of the vehicle-mounted camera main device; Length2 represents the data length of the Bluetooth protocol version. In this embodiment, Length2 is 1 Byte, Type2 represents the data type of the Bluetooth protocol version, and Data2 represents the data content of the Bluetooth protocol version; Length3 represents the data length of the networking requirement status. In this embodiment, Length3 is 1 Byte, Type3 represents the data type of the networking requirement status, and Data3 represents the content of the networking requirement status; Length4 represents the data length of the Wi-Fi status. In this embodiment, Length4 is 1 Byte, Type4 represents the data type of the Wi-Fi status, and Data4 represents the data content of the Wi-Fi status.
[0060] Specifically, after the user sends a startup networking instruction to the vehicle-mounted camera main device installed in the vehicle, the vehicle-mounted camera main device obtains the startup networking instruction and generates Bluetooth broadcast information according to the startup networking instruction. Further, the vehicle-mounted camera main device broadcasts the Bluetooth broadcast information to the surroundings.
[0061] S120: In response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information, the vehicle-mounted camera slave device sends Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection.
[0062] Among them, after the vehicle-mounted camera slave device receives the Bluetooth broadcast information, it parses the Bluetooth broadcast information to obtain the parsed content. Further, the vehicle-mounted camera slave device can establish a Bluetooth connection with the vehicle-mounted camera master device according to the parsed content. The establishment of a Bluetooth connection between the vehicle-mounted camera master device and the vehicle-mounted camera slave device can establish a dedicated Bluetooth transmission channel between the vehicle-mounted camera master device and the vehicle-mounted camera slave device, thereby facilitating the vehicle-mounted camera master device to send Wi-Fi information to the vehicle-mounted camera slave device; in this embodiment, the Wi-Fi information specifically includes a Wi-Fi name and a Wi-Fi password; subsequently, the vehicle-mounted camera master device needs to form a Wi-Fi network with the vehicle-mounted camera slave device, and the vehicle-mounted camera master device serves as a network access point (AP, commonly known as a hotspot) of the Wi-Fi network, and the vehicle-mounted camera slave device serves as a terminal device (STA) of the Wi-Fi network; the vehicle-mounted camera master device sends Wi-Fi information to the vehicle-mounted camera slave device through the Bluetooth transmission channel, so that the subsequent vehicle-mounted camera slave device can establish a Wi-Fi connection with the vehicle-mounted camera master device according to the Wi-Fi information.
[0063] Specifically, after the vehicle-mounted camera master device broadcasts Bluetooth broadcast information to the surrounding area, it determines whether there is a vehicle-mounted camera slave device and establishes a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information. If so, the vehicle-mounted camera master device sends Wi-Fi information to the vehicle-mounted camera slave device through the Bluetooth transmission channel formed by the Bluetooth connection between the vehicle-mounted camera master device and the vehicle-mounted camera slave device.
[0064] S130: In response to the vehicle-mounted camera slave device establishing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, networking with the vehicle-mounted camera slave device is completed.
[0065] If the vehicle-mounted camera slave device establishes a Wi-Fi connection with the vehicle-mounted camera master device according to the Wi-Fi information, the vehicle-mounted camera master device determines that the vehicle-mounted camera master device and the corresponding vehicle-mounted camera slave device complete Wi-Fi networking at this time.
[0066] Specifically, after the vehicle-mounted camera master device sends Wi-Fi information to the vehicle-mounted camera slave device, it determines whether the slave device has established a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information. If so, the vehicle-mounted camera master device determines that the vehicle-mounted camera master device and the corresponding vehicle-mounted camera slave device have completed Wi-Fi networking at this time.
[0067] It should be noted that a Bluetooth transmission channel is first established between the vehicle-mounted camera master device and the vehicle-mounted camera slave device through a Bluetooth connection, and then the Wi-Fi information of the vehicle-mounted camera master device is sent to the vehicle-mounted camera slave device through the Bluetooth transmission channel to realize Wi-Fi networking of the main vehicle-mounted camera slave device, thereby realizing rapid networking of the vehicle-mounted camera master device and the vehicle-mounted camera slave device.
[0068] It should also be noted that the present embodiment is applied to a vehicle-mounted camera master device with a mobile communication function, so that the vehicle-mounted camera master device responds to obtaining a startup networking instruction and sends a Bluetooth broadcast message to the vehicle-mounted camera slave device; in response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast message, and sending Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection; in response to the vehicle-mounted camera slave device establishing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, the vehicle-mounted camera slave device completes networking with the vehicle-mounted camera slave device; through the above With the implementation of the technical solution, the vehicle-mounted camera master device can send Wi-Fi information to the vehicle-mounted camera slave device through the Bluetooth connection that is preferentially established between the vehicle-mounted camera slave device, thereby establishing a Wi-Fi connection between the vehicle-mounted camera slave device and the vehicle-mounted camera master device to realize Wi-Fi networking. Moreover, since the vehicle-mounted camera master device has the function of mobile communication, the user can remotely establish a mobile communication connection with the vehicle-mounted camera master device through a smart device, thereby remotely viewing the images taken by each vehicle-mounted shooting device. This can improve the convenience of users viewing the images taken by each vehicle-mounted shooting device through a smart device.
[0069] Embodiment 2
[0070] Figure 3 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 2 of the present application. It should be noted that for the parts not described in detail in this embodiment, reference may be made to the descriptions of other embodiments. The method includes:
[0071] S210. In response to obtaining the networking start instruction, send Bluetooth broadcast information to the vehicle-mounted camera slave device; the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle-mounted camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status.
[0072] S220: In response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information, stop sending Bluetooth broadcast information to the vehicle-mounted camera slave device, and send Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection.
[0073] Among them, in this embodiment, multiple vehicle-mounted camera slave devices are installed on the vehicle. When multiple vehicle-mounted camera slave devices establish Bluetooth connections with the vehicle-mounted camera master device, the vehicle-mounted camera master device no longer needs to continue broadcasting Bluetooth broadcast information. At this time, the vehicle-mounted camera master device stops broadcasting Bluetooth broadcast information, which not only helps to save its own energy consumption, but also helps to prevent signal impact on other Bluetooth devices installed on the vehicle (non-vehicle-mounted camera master devices and vehicle-mounted camera slave devices).
[0074] Specifically, after the vehicle-mounted camera slave device establishes a Bluetooth connection with the vehicle-mounted camera master device, the vehicle-mounted camera master device determines whether all vehicle-mounted camera slave devices installed on the vehicle have established a Bluetooth connection with the vehicle-mounted camera master device. If so, the vehicle-mounted camera master device stops broadcasting Bluetooth broadcast information.
[0075] S230: In response to the vehicle-mounted camera slave device establishing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, networking with the vehicle-mounted camera slave device is completed.
[0076] Embodiment 3
[0077] Figure 4 A flow chart of a vehicle-mounted camera device networking method provided in Example 3 of the present application, refer to Figure 4 The method may be executed by a device for executing the method, and the device may be implemented by software and / or hardware. The method is applied to a vehicle-mounted camera slave device. It should be noted that for the parts not described in detail in this embodiment, reference may be made to the descriptions of other embodiments. The method includes:
[0078] S310, in response to obtaining a start networking command, scanning Bluetooth broadcast information sent by the vehicle-mounted camera main device; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera main device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status.
[0079] Among them, the user can issue a start networking command to the vehicle-mounted camera slave device set on the vehicle in a variety of ways. For example, the user can issue the start networking command to the vehicle-mounted camera slave device through an operation button set on the vehicle-mounted camera slave device, and can also issue the start networking command to the vehicle-mounted camera slave device by voice. If the vehicle-mounted camera slave device is provided with a touch screen, the user can also issue the start networking command to the vehicle-mounted camera slave device by operating the touch screen; the start networking command is used to enable the corresponding vehicle-mounted camera slave device to start networking with the vehicle-mounted camera master device. In this embodiment, the vehicle-mounted camera slave device can start Bluetooth scanning according to the start networking command to facilitate scanning the Bluetooth broadcast information sent by the vehicle-mounted camera master device, wherein the Bluetooth broadcast information is the broadcast information sent by the vehicle-mounted camera master device, which is used to determine the vehicle-mounted camera slave devices that can be networked with the vehicle-mounted camera master device, and establish a Bluetooth connection between the vehicle-mounted camera slave device and the vehicle-mounted camera master device.
[0080] In this embodiment, the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle-mounted camera host device, the Bluetooth protocol version number, the networking requirement status, and the Wi-Fi status.
[0081] Among them, the Bluetooth MAC address of the vehicle-mounted camera master device is the Bluetooth MAC address of the vehicle-mounted camera master device, which is used to enable the vehicle-mounted camera slave device to determine the vehicle-mounted camera master device connected to it by Bluetooth; the Bluetooth protocol version number is the version number of the Bluetooth protocol corresponding to establishing the Bluetooth connection between the vehicle-mounted camera master device and the vehicle-mounted camera slave device; the networking requirement status indicates whether the vehicle-mounted camera master device needs the vehicle-mounted camera slave device to establish a Bluetooth connection with it. For example, if the data content of the networking requirement status is 02, it indicates that the vehicle-mounted camera master device needs the vehicle-mounted camera slave device to establish a Bluetooth connection with it; the Wi-Fi status includes 4 states, including: AP on (hotspot on), AP off (hotspot off), STA on (terminal device on), and STA off (terminal device off).
[0082] Exemplarily, part of the information in the Bluetooth broadcast is: Length1+Type1+Data1+Length2+Type2+Data2+Length3+Type3+Data3+Length4+Type4+Data4; wherein Length1 represents the data length of the Bluetooth MAC address of the vehicle-mounted camera main device. In this embodiment, Length1 is 6 bytes, Type1 represents the data type of the Bluetooth MAC address of the vehicle-mounted camera main device, and Data1 represents the data content of the Bluetooth MAC address of the vehicle-mounted camera main device; Length2 represents the data length of the Bluetooth protocol version. In this embodiment, Length2 is 1 Byte, Type2 represents the data type of the Bluetooth protocol version, and Data2 represents the data content of the Bluetooth protocol version; Length3 represents the data length of the networking requirement status. In this embodiment, Length3 is 1 Byte, Type3 represents the data type of the networking requirement status, and Data3 represents the content of the networking requirement status; Length4 represents the data length of the Wi-Fi status. In this embodiment, Length4 is 1 Byte, Type4 represents the data type of the Wi-Fi status, and Data4 represents the data content of the Wi-Fi status.
[0083] Specifically, after the vehicle-mounted camera slave device obtains the start networking command issued by the user, it starts Bluetooth scanning to scan the Bluetooth broadcast information issued by the vehicle-mounted camera master device.
[0084] S320: Establish a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information.
[0085] If the vehicle-mounted camera slave device scans the Bluetooth broadcast information sent by the vehicle-mounted camera master device, a Bluetooth connection can be further established with the vehicle-mounted camera master device according to the Bluetooth broadcast information.
[0086] Specifically, the vehicle-mounted camera slave device scans the Bluetooth broadcast information sent by the vehicle-mounted camera master device, and further establishes a Bluetooth connection with the vehicle-mounted camera master device according to the Bluetooth broadcast information.
[0087] S330: In response to obtaining the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, establish a Wi-Fi connection with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
[0088] Among them, the vehicle-mounted camera slave device establishes a Bluetooth connection with the vehicle-mounted camera master device, thereby forming a Bluetooth transmission channel between the vehicle-mounted camera master device and the vehicle-mounted camera slave device. The vehicle-mounted camera slave device can easily receive Wi-Fi information sent by the vehicle-mounted camera master device through the Bluetooth channel; in this embodiment, the Wi-Fi information specifically includes a Wi-Fi name and a Wi-Fi password; the vehicle-mounted camera slave device can establish a Wi-Fi connection with the vehicle-mounted camera master device according to the Wi-Fi information, thereby forming a Wi-Fi network together with the vehicle-mounted camera master device to achieve networking with the vehicle-mounted camera master device, wherein the vehicle-mounted camera master device serves as a network access point (AP, commonly known as a hotspot) of the Wi-Fi network, and the vehicle-mounted camera slave device serves as a terminal device (STA) of the Wi-Fi network.
[0089] Specifically, after the vehicle-mounted camera slave device obtains the Wi-Fi information sent by the vehicle-mounted camera master device through the Bluetooth transmission channel, the vehicle-mounted camera slave device establishes a Wi-Fi connection with the vehicle-mounted camera master device according to the Wi-Fi information, thereby completing the Wi-Fi networking with the vehicle-mounted camera master device.
[0090] It should be noted that this embodiment is applied to the vehicle-mounted camera slave device, so that the vehicle-mounted camera slave device responds to the acquisition of the start networking command, scans the Bluetooth broadcast information sent by the vehicle-mounted camera master device; establishes a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information; responds to the acquisition of the Wi-Fi information sent by the vehicle-mounted camera master device based on the Bluetooth connection, and establishes a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, thereby completing the networking with the vehicle-mounted camera master device. Through the implementation of the above technical solution, the vehicle-mounted camera master device can send Wi-Fi information to the vehicle-mounted camera slave device through the Bluetooth connection that is preferentially established with the vehicle-mounted camera slave device, so that the vehicle-mounted camera slave device and the vehicle-mounted camera master device establish a Wi-Fi connection to realize Wi-Fi networking, and because the vehicle-mounted camera master device has a mobile communication function, the user can remotely establish a mobile communication connection with the vehicle-mounted camera master device through a smart device, so as to remotely view the images taken by each vehicle-mounted shooting device, which can improve the convenience of users viewing the images taken by each vehicle-mounted shooting device through a smart device.
[0091] Embodiment 4
[0092] Figure 5 A flow chart of a vehicle-mounted camera device networking method provided in Embodiment 4 of the present application optimizes the "establishing a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information" in Embodiment 3; it should be noted that for the parts not described in detail in this embodiment, reference may be made to the descriptions of other embodiments, and the method includes:
[0093] S410, in response to obtaining a start networking command, scanning Bluetooth broadcast information sent by the vehicle-mounted camera main device; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera main device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status.
[0094] S421, parsing the Bluetooth broadcast information to obtain the Bluetooth MAC address and networking requirement status of the vehicle-mounted camera host device.
[0095] Among them, the Bluetooth broadcast information includes the Bluetooth MAC address of the vehicle camera master device and the networking requirement status. In this embodiment, the Bluetooth MAC address of the vehicle camera master device is used as the Bluetooth name of the vehicle camera master device, and the networking requirement status is used as a special field for the vehicle camera master device to indicate that a Bluetooth connection needs to be established with the vehicle camera slave device.
[0096] Specifically, the vehicle-mounted camera slave device scans the Bluetooth broadcast information sent by the vehicle-mounted camera master device, and parses the Bluetooth broadcast information to obtain the Bluetooth MAC address and networking requirement status of the vehicle-mounted camera master device.
[0097] It should be noted that the vehicle-mounted camera slave device can determine the object that sends the Bluetooth broadcast information (that is, the vehicle-mounted camera master device in this embodiment) based on the parsed Bluetooth MAC address of the vehicle-mounted camera master device, and can determine whether the object that sends the Bluetooth broadcast information currently needs to establish a Bluetooth connection with itself (the vehicle-mounted camera slave device) based on the networking demand status.
[0098] S422: Establish a Bluetooth connection with the vehicle-mounted camera main device based on the Bluetooth MAC address of the vehicle-mounted camera main device and the networking requirement status.
[0099] Among them, the vehicle-mounted camera slave device can establish a Bluetooth connection with the vehicle-mounted camera master device according to the parsed Bluetooth MAC address of the vehicle-mounted camera master device and the networking requirement status.
[0100] Specifically, the vehicle-mounted camera slave device establishes a Bluetooth connection with the vehicle-mounted camera master device according to the parsed Bluetooth MAC address of the vehicle-mounted camera master device and the networking requirement status.
[0101] It should be noted that establishing a Bluetooth connection between the vehicle-mounted camera slave device and the vehicle-mounted camera master device can form a Bluetooth transmission channel between the vehicle-mounted camera slave device and the vehicle-mounted camera master device, thereby facilitating subsequent acquisition of Wi-Fi information sent by the vehicle-mounted camera master device through the Bluetooth transmission channel.
[0102] S430: In response to obtaining the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, establish a Wi-Fi connection with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
[0103] Embodiment 5
[0104] Figure 6 A flowchart of a vehicle-mounted camera device networking method provided in Embodiment 5 of the present application. It should be noted that for the parts not described in detail in this embodiment, reference may be made to the descriptions of other embodiments. The method includes:
[0105] S510, in response to obtaining a start networking command, scanning Bluetooth broadcast information sent by the vehicle-mounted camera main device; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera main device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status.
[0106] S520: Establish a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information.
[0107] S531: In response to obtaining the Wi-Fi information sent by the vehicle-mounted camera host device based on the Bluetooth connection, establish a Wi-Fi connection with the vehicle-mounted camera host device based on the Wi-Fi information.
[0108] S532: Determine whether the Wi-Fi connection is established successfully.
[0109] Among them, even if the vehicle-mounted camera slave device receives the Wi-Fi information sent by the vehicle-mounted camera master device, it is possible that the Wi-Fi module of the vehicle-mounted camera master device suddenly crashes or is turned off, resulting in the inability to establish a Wi-Fi connection with the vehicle-mounted camera master device. Therefore, when the vehicle-mounted camera slave device attempts to establish a Wi-Fi connection with the vehicle-mounted camera master device through Wi-Fi information, it is also necessary to determine whether the Wi-Fi connection is successfully established.
[0110] Specifically, when the vehicle-mounted camera slave device attempts to establish a Wi-Fi connection with the vehicle-mounted camera master device through Wi-Fi information, it is determined whether the Wi-Fi connection is successfully established.
[0111] S533: If not, an abnormal feedback is given to the vehicle-mounted camera main device, and a Wi-Fi connection is automatically retried to be established until a Wi-Fi connection is established with the vehicle-mounted camera main device, thereby completing networking with the vehicle-mounted camera main device.
[0112] Among them, when the vehicle-mounted camera slave device determines that the Wi-Fi connection is not successfully established, it will feedback the abnormal situation to the vehicle-mounted camera master device through the Bluetooth transmission channel or Bluetooth broadcast. This process is also called abnormal feedback; and when the vehicle-mounted camera slave device determines that the Wi-Fi connection is not successfully established, it will automatically inform the vehicle-mounted camera master device through the Bluetooth transmission channel or Bluetooth broadcast that there may be a problem with its Wi-Fi module, so that the vehicle-mounted camera master device restarts the Wi-Fi module or repairs the Wi-Fi module, so that the Wi-Fi module can operate normally, and then the vehicle-mounted camera slave device tries to establish a Wi-Fi connection with the vehicle-mounted camera master device again. This process is also called automatic retry to establish a Wi-Fi connection.
[0113] Specifically, if the vehicle-mounted camera slave device determines that the Wi-Fi connection has not been successfully established, the vehicle-mounted camera slave device will provide abnormal feedback to the vehicle-mounted camera master device through the Bluetooth transmission channel. In addition, the vehicle-mounted camera slave device will automatically retry to establish a Wi-Fi connection until a Wi-Fi connection is successfully established with the vehicle-mounted camera master device. The vehicle-mounted camera slave device establishes a Wi-Fi connection with the vehicle-mounted camera master device, thereby realizing Wi-Fi networking between the vehicle-mounted camera slave device and the vehicle-mounted camera master device.
[0114] In one embodiment, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device in the above embodiments is a vehicle-mounted camera device with a touch screen and / or with a distributed AI image processing function.
[0115] Among them, after the vehicle-mounted camera master device and the vehicle-mounted camera slave device complete Wi-Fi networking and form a corresponding Wi-Fi network, because the vehicle-mounted camera master device has mobile communication function, the user can remotely establish a communication connection with the vehicle-mounted camera master device through a smart device (such as a smart phone), thereby remotely accessing the Wi-Fi network and controlling the vehicle-mounted camera master device and the vehicle-mounted camera slave device in the Wi-Fi network. In this way, the user can remotely preview, replay, download and set the videos shot by the vehicle-mounted camera master device and each vehicle-mounted camera slave device through the smart device to improve the convenience of users viewing videos.
[0116] In addition, if the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device is a vehicle-mounted camera device with a touch screen, the user component can remotely view the video shot by the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device, and can also view the shot video through the touch screen of the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device. In this way, the user can not only view the video through the smart device, but also directly view the video through the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device, and can even view the video acquired by other devices in the Wi-Fi network through any device in the Wi-Fi network (the vehicle-mounted camera master device or the vehicle-mounted camera slave device), thereby broadening the types of ways to view videos.
[0117] In addition, if the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device is a vehicle-mounted camera device with a distributed AI image processing function, on the one hand, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device can perform AI processing on the captured video separately (in this embodiment, the video is specifically processed by the ADAS algorithm) to determine the target with a higher degree of danger in the video and warn the user, or remotely warn the user through the vehicle-mounted camera master device; this facilitates improving the safety of the vehicle; on the other hand, the vehicle-mounted camera master device and the vehicle-mounted camera slave device can each perform AI image processing on the captured video separately, without the need for the vehicle-mounted camera master device and the vehicle-mounted camera slave device to transmit the acquired video to the main control chip for AI image processing as in the prior art, which will result in the main control chip having higher requirements on computing power, thereby resulting in higher cost of the main control chip, and the CPU and memory occupancy of the main control chip are both high, and the prior art uses a separate main control chip to process multiple videos sent by the vehicle-mounted camera master device and the vehicle-mounted camera slave device, which will result in the main control chip The video recognition effect and recognition efficiency are both low. However, the present application adopts a vehicle-mounted camera master device and / or a vehicle-mounted camera slave device with a distributed AI image processing function, so that the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device can each process the acquired video. In this way, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device each have low requirements for computing power, which helps to reduce the hardware resource cost of AI image processing. In addition, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device each processes the acquired video separately, which also helps to improve the video recognition effect and recognition efficiency.
[0118] In one embodiment, the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device in the above embodiments is a vehicle-mounted camera device with a distributed storage function.
[0119] Among them, if the vehicle-mounted camera master device and / or the vehicle-mounted camera slave device is a vehicle-mounted camera device with a distributed storage function, on the one hand, the vehicle-mounted camera master device and the vehicle-mounted camera slave device can store the acquired videos separately, without the need to uniformly store the videos acquired by the vehicle-mounted camera master device and the vehicle-mounted camera slave device as in the prior art, which helps to reduce the pressure of video storage and improve the efficiency of video storage; on the other hand, since the vehicle-mounted camera master device and the vehicle-mounted camera slave device with a distributed storage function are in the same Wi-Fi network, if there is a problem with the storage medium of one of the devices in the Wi-Fi network (the vehicle-mounted camera master device or the vehicle-mounted camera slave device), as long as the camera module and the network module of the device are normal, the device can transmit the video taken by the camera module through its network module to other devices in the Wi-Fi network for storage, which facilitates improving the disaster preparedness effect of the Wi-Fi network.
[0120] In one embodiment, the vehicle-mounted camera main device in the above embodiments is a vehicle-mounted camera device used for communicating with a preset storage cloud.
[0121] Among them, the storage cloud can be a separate storage server, or a distributed video storage server; since the vehicle-mounted camera main device has mobile communication functions, the vehicle-mounted camera main device can upload the video it obtains, as well as the video obtained by the vehicle-mounted camera slave device in the same Wi-Fi network, to the storage cloud for storage.
[0122] In addition, since the vehicle-mounted camera master device has mobile communication function, users can access the Internet through the vehicle-mounted camera master device, thereby realizing data interaction between the Wi-Fi network and the Internet, and the vehicle-mounted camera slave devices in the Wi-Fi network can share the mobile communication function of the vehicle-mounted camera master device, thereby realizing data interaction between each vehicle-mounted camera slave device and the Internet; this greatly improves the network communication capability of the Wi-Fi network.
[0123] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] Embodiment 6
[0125] Based on the same inventive concept, the embodiment of the present disclosure also provides a vehicle-mounted camera device networking apparatus for implementing the vehicle-mounted camera device networking method involved above. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme recorded in the above embodiment 1, so the specific limitations in one or more vehicle-mounted camera device networking apparatus embodiments provided below can refer to the limitations of the vehicle-mounted camera device networking method above, and will not be repeated here.
[0126] In this embodiment, Figure 7 As shown, a vehicle-mounted camera device networking device is provided, which is applied to a vehicle-mounted camera main device with a mobile communication function, and the device includes:
[0127] A Bluetooth broadcast module, configured to send Bluetooth broadcast information to the vehicle-mounted camera slave device in response to obtaining a start-networking instruction; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera master device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status;
[0128] An information sending module, configured to establish a Bluetooth connection with the vehicle-mounted camera master device in response to the vehicle-mounted camera slave device based on the Bluetooth broadcast information, and send Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection;
[0129] The Wi-Fi connection module is used to respond to the vehicle-mounted camera slave device performing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, and complete networking with the vehicle-mounted camera slave device.
[0130] Embodiment 7
[0131] Based on the same inventive concept, the embodiment of the present disclosure also provides a vehicle-mounted camera device networking apparatus for implementing the vehicle-mounted camera device networking method involved above. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme recorded in the above embodiment 3, so the specific limitations in one or more vehicle-mounted camera device networking apparatus embodiments provided below can refer to the limitations of the vehicle-mounted camera device networking method above, and will not be repeated here.
[0132] In this embodiment, Figure 8 As shown, a vehicle-mounted camera device networking device is provided, which is applied to a vehicle-mounted camera slave device, and the device includes:
[0133] A Bluetooth scanning module, configured to scan Bluetooth broadcast information sent by the vehicle-mounted camera host device in response to obtaining a start networking command; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera host device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status;
[0134] A Bluetooth connection module, used to establish a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information;
[0135] The Wi-Fi networking module is used to respond to obtaining the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, and to establish a Wi-Fi connection with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
[0136] Each module in the above-mentioned vehicle-mounted camera equipment networking device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0137] It should be noted that the above-mentioned device embodiment is applied to a vehicle-mounted camera master device with a mobile communication function, so that the vehicle-mounted camera master device responds to obtaining a startup networking instruction and sends a Bluetooth broadcast message to the vehicle-mounted camera slave device; the Bluetooth broadcast message at least includes the Bluetooth MAC address of the vehicle-mounted camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status; in response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast message, and sending Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection; in response to the vehicle-mounted camera slave device performing Wi-Fi with the vehicle-mounted camera master device based on the Wi-Fi information The method comprises the steps of: connecting the vehicle-mounted camera slave device to complete networking with the vehicle-mounted camera slave device; or applying the vehicle-mounted camera slave device to enable the vehicle-mounted camera slave device to respond to obtaining a command to start networking and scan the Bluetooth broadcast information sent by the vehicle-mounted camera master device; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera master device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status; establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information; and in response to obtaining Wi-Fi information sent by the vehicle-mounted camera master device based on the Bluetooth connection, establishing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera master device. Through the implementation of the above technical solution, the vehicle-mounted camera master device can send Wi-Fi information to the vehicle-mounted camera slave device through the Bluetooth connection that is preferentially established between the vehicle-mounted camera slave device, thereby establishing a Wi-Fi connection between the vehicle-mounted camera slave device and the vehicle-mounted camera master device to realize Wi-Fi networking. Moreover, since the vehicle-mounted camera master device has the function of mobile communication, the user can remotely establish a mobile communication connection with the vehicle-mounted camera master device through a smart device, thereby remotely viewing the images taken by each vehicle-mounted shooting device, which can improve the convenience of users viewing the images taken by each vehicle-mounted shooting device through a smart device.
[0138] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for networking a vehicle-mounted camera device is implemented.
[0139] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present disclosure, and does not constitute a limitation on the computer device to which the scheme of the present disclosure is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0140] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0141] In one embodiment, a computer readable storage medium is provided. Fig.10 As shown, a computer program is stored thereon, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0142] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present disclosure may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present disclosure may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.
[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The above-described embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the attached claims.
Claims
1. A method for networking vehicle-mounted camera equipment, characterized in that: Applied to a vehicle-mounted camera host device having a mobile communication function, the method comprises: In response to obtaining the start networking instruction, sending Bluetooth broadcast information to the vehicle-mounted camera slave device; the Bluetooth broadcast information at least includes the Bluetooth MAC address of the vehicle-mounted camera master device, the Bluetooth protocol version number, the networking requirement status and the Wi-Fi status; In response to the vehicle-mounted camera slave device establishing a Bluetooth connection with the vehicle-mounted camera master device based on the Bluetooth broadcast information, and sending Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection; In response to the vehicle-mounted camera slave device establishing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, networking with the vehicle-mounted camera slave device is completed.
2. A method for networking vehicle-mounted camera equipment, characterized in that: Applied to a vehicle-mounted camera slave device, the method comprises: In response to obtaining a start networking command, scanning Bluetooth broadcast information sent by the vehicle-mounted camera host device; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera host device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status; Establishing a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information; In response to acquiring the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, a Wi-Fi connection is established with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
3. The method according to claim 2, characterized in that The establishing a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information includes: Parsing the Bluetooth broadcast information to obtain the Bluetooth MAC address and networking requirement status of the vehicle-mounted camera main device; A Bluetooth connection is established with the vehicle-mounted camera main device based on the Bluetooth MAC address of the vehicle-mounted camera main device and the networking requirement status.
4. The method according to claim 2, characterized in that: After the Wi-Fi connection is established with the vehicle-mounted camera host device based on the Wi-Fi information, the method further includes: Determine whether the Wi-Fi connection is established successfully; If not, an abnormal feedback is given to the vehicle-mounted camera host device, and a Wi-Fi connection is automatically retried to be established until a Wi-Fi connection is established with the vehicle-mounted camera host device.
5. The method according to any one of claims 1 or 2, characterized in that: The vehicle-mounted camera master device and / or the vehicle-mounted camera slave device is a vehicle-mounted camera device with a touch screen and / or with a distributed AI image processing function.
6. The method according to any one of claims 1 or 2, characterized in that: The vehicle-mounted camera master device and / or the vehicle-mounted camera slave device are vehicle-mounted camera devices with distributed storage functions; the vehicle-mounted camera master device is a vehicle-mounted camera device used to communicate with a preset storage cloud.
7. A vehicle-mounted camera equipment networking device, characterized in that: Applied to a vehicle-mounted camera main device with a mobile communication function, the device comprises: A Bluetooth broadcast module, configured to send Bluetooth broadcast information to the vehicle-mounted camera slave device in response to obtaining a start-networking instruction; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera master device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status; An information sending module, configured to establish a Bluetooth connection with the vehicle-mounted camera master device in response to the vehicle-mounted camera slave device based on the Bluetooth broadcast information, and send Wi-Fi information to the vehicle-mounted camera slave device based on the Bluetooth connection; The Wi-Fi connection module is used to respond to the vehicle-mounted camera slave device performing a Wi-Fi connection with the vehicle-mounted camera master device based on the Wi-Fi information, and complete networking with the vehicle-mounted camera slave device.
8. A vehicle-mounted camera equipment networking device, characterized in that: Applied to a vehicle-mounted camera slave device, the device comprises: A Bluetooth scanning module, configured to scan Bluetooth broadcast information sent by the vehicle-mounted camera host device in response to obtaining a start networking command; the Bluetooth broadcast information at least includes a Bluetooth MAC address of the vehicle-mounted camera host device, a Bluetooth protocol version number, a networking requirement status, and a Wi-Fi status; A Bluetooth connection module, used to establish a Bluetooth connection with the vehicle-mounted camera host device based on the Bluetooth broadcast information; The Wi-Fi networking module is used to respond to obtaining the Wi-Fi information sent by the vehicle-mounted camera main device based on the Bluetooth connection, and to establish a Wi-Fi connection with the vehicle-mounted camera main device based on the Wi-Fi information, thereby completing networking with the vehicle-mounted camera main device.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
