Wireless network connection gateway architecture for camera on upper cover of outboard engine
By using WiFi P2P wireless communication protocol to connect the camera and the host on the overhead camera, the existing wired video surveillance system is solved, wireless data transmission and simplified connections are achieved, and cost and space occupation are reduced.
Patent Information
- Application Number
- CN202411885264.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-20
AI Technical Summary
The existing wired video surveillance system with overhead cameras has problems such as inconvenient wiring, affecting beauty, high cost and large space occupation.
The wireless network connection gateway architecture of the outboard camera is adopted to connect the camera and the host through the WiFi P2P wireless communication protocol to realize wireless data transmission, and file transfer or custom data communication is carried out through 'Parcel FileDescriptor' or 'Local Server Socket' and 'Client Socket'.
It simplifies wireless connections between devices, provides high-speed, low-latency data transmission, and eliminates network infrastructure, is simple to set up, reducing cost and space usage.
Smart Images

Figure CN119815339A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of outboard motors, and in particular to a wireless network connection gateway architecture for an outboard motor cover camera. Background Art
[0002] At present, most of the outboard motor covers on the market are ordinary plastic covers or fiberglass covers, and most of them do not have cameras installed on them. Some of them are equipped with cameras, and the camera connection method is also to connect and install the camera device and the network hard disk recorder through wired monitoring. The advantages of wired data transmission are obvious. Its data transmission is complete, the data capacity is large, and it is not easily affected by the outside world. However, its disadvantages cannot be ignored. The wired video surveillance system is connected by network cables, which is inconvenient to install and wire, affects the appearance, and is not suitable for certain video surveillance application scenarios. For wired video surveillance sets, the front-end and back-end devices of video surveillance must be connected by network cables, and there are certain limitations on spatial connection; and traditional video surveillance sets need to be connected to display devices. The devices included in the sets are large, occupy more space, and have higher cost and power consumption. Summary of the invention
[0003] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a wireless network connection gateway architecture for an outboard engine cover camera.
[0004] In order to achieve the above object, the present invention adopts the following technical solutions: A wireless network connection gateway architecture for a camera on a cover of an outboard engine comprises a camera and a host, wherein the camera is connected to the host via a WiFi P2P wireless communication protocol; the WiFi of the camera is set to STA mode, and a hotspot name and a hotspot password in WiFi AP mode are input; at this time, the camera acts as a client node in a wireless network; the host discovers the camera and sends a connection request to the camera, and the camera determines whether the request of the host is legal, and establishes a connection if it is legal; the host sends a request for a picture preview stream to the camera, and after the camera receives the request for the picture preview stream from the host, the camera starts a capture thread for the picture preview stream and pushes the picture preview stream of the camera.
[0005] Preferably, a first wireless communication module is provided in the camera, a second wireless communication module is provided in the host, and a WiFi P2P connection channel is established between the first wireless communication module and the second wireless communication module.
[0006] Preferably, the camera is provided with a first port and a second port, and the camera receives the preview instruction sent by the host and detects the connection status between the camera and the host through the first port, and the camera detects the connection status between the camera and the host through the second port and sends the screen preview stream to the host.
[0007] Preferably, the host includes a third port and a fourth port, the host detects the connection status between the host and the camera through the third port and sends a preview instruction to the camera, and the host detects the connection status between the host and the camera through the fourth port and receives the screen preview stream sent by the camera.
[0008] Preferably, the camera sends a matching signal through the first wireless communication module so that other devices can search for it.
[0009] Preferably, the camera sends a matching signal through the first wireless communication module, and the camera broadcasts the existence of the camera through the 'WiFi P2P Manager.Discover Peers()' method and monitors the matching signals of other devices, so as to find nearby available P2P devices.
[0010] Preferably, after the camera is connected to the host, the host sends a picture preview stream request to the camera, and the host starts a capture thread of the picture preview stream and waits for the camera to push the stream.
[0011] Preferably, after the host is connected to the camera, file transfer is performed through 'Parcel File Descriptor', or customized data communication is implemented through 'Local Server Socket' and 'Client Socket'.
[0012] Preferably, the host is connected to a human-machine interface, and the human-machine interface displays the image captured by the camera.
[0013] Preferably, the host is disconnected from the camera, and the screen preview of the human-machine interface stops.
[0014] Compared with the prior art, the present invention has the following beneficial effects: The present invention designs a wireless network connection gateway architecture for an outboard engine cover camera. Through the 'WiFi P2PManager.Discover Peers()' method, a device can broadcast its own existence and listen to the broadcasts of other devices, so as to find nearby available P2P devices; exchange service information between devices, such as device name, service type, etc., to determine whether a connection needs to be established; once a suitable device is found, a connection request can be initiated using 'WiFi P2P Manager.Connect()'. After a successful connection, the device will become the owner or client of the group; after the connection is established, 'Parcel FileDescriptor' can be used for file transfer, or custom data communication can be implemented through 'Local Server Socket' and 'Client Socket'; when the connection is no longer needed, 'WiFi P2P Manager.Remove Group()' is used to disconnect; allow devices to establish a connection directly without going through a traditional Wi-Fi access point or router; simplify wireless connections between devices, provide high-speed, low-latency data transmission; have the characteristics of simple settings and no need for network infrastructure. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 This is a schematic diagram of the connection between the host and the camera proposed by the present invention; Figure 2 This is a connection block diagram of the host and camera proposed by the present invention.
[0016] Legend: 1. Camera, 2. Host, 11. First port, 12. Second port, 21. Third port, 22. Fourth port, 3. Human-machine interface. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the features defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more; in addition, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a communication between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0019] Reference Figure 1 to Figure 2As shown, a wireless network connection gateway architecture for an outboard engine cover camera includes a camera 1 and a host 2, and the camera 1 and the host 2 are connected via a WiFi P2P wireless communication protocol; the WiFi of the camera 1 is set to STA mode, and the hotspot name and hotspot password in the WiFi AP mode are input; at this time, the camera 1 acts as a client node in the wireless network; the host 2 discovers the camera 1 and sends a connection request to the camera 1, and the camera 1 determines whether the request of the host 2 is legal, and establishes a connection if it is legal; the host 2 sends a request for a picture preview stream to the camera 1, and after the camera 1 receives the request for the picture preview stream from the host 2, the capture thread of the picture preview stream is started and the picture preview stream of the camera 1 is pushed; through the 'WiFi P2PManager.Discover Peers()' method, the camera 1 can broadcast its own existence and listen to the broadcasts of other devices, so as to find nearby available P2P devices; the devices exchange service information, such as the device name, service type, etc., to determine whether a connection needs to be established; once a suitable device is found, a connection request can be initiated using 'WiFi P2P Manager.Connect()'. After the connection is successful, the device will become the master or client of the group; after the connection is established, you can use 'Parcel FileDescriptor' to transfer files, or implement custom data communication through 'Local Server Socket' and 'Client Socket'; when the connection is no longer needed, use 'WiFi P2P Manager.Remove Group()' to disconnect.
[0020] Among them, a first wireless communication module is arranged in the camera 1, a second wireless communication module is arranged in the host 2, and a WiFi P2P connection channel is established between the first wireless communication module and the second wireless communication module; a first port 11 and a second port 12 are arranged on the camera 1, the camera 1 receives the preview instruction sent by the host 2 and detects the connection status between the camera 1 and the host 2 through the first port 11, the camera 1 detects the connection status between the camera 1 and the host 2 through the second port 12 and sends the picture preview stream to the host 2; the host 2 includes a third port 21 and a fourth port 22, the host 2 detects the connection status between the host 2 and the camera 1 through the third port 21 and sends a preview instruction to the camera 1, the host 2 detects the connection status between the host 2 and the camera 1 through the fourth port 22 and receives the picture preview stream sent by the camera 1.
[0021] Camera 1 sends a matching signal through the first wireless communication module so that other devices can search for it and monitor the matching signals of other devices; Camera 1 sends a matching signal through the first wireless communication module, and Camera 1 broadcasts the existence of Camera 1 through the 'WiFi P2PManager.Discover Peers()' method and monitors the matching signals of other devices, so as to find available P2P devices nearby.
[0022] After camera 1 is connected to host 2, host 2 sends a preview stream request to camera 1, and host 1 starts the preview stream capture thread and waits for the camera to push the stream; you can use 'WiFi P2P Manager.Connect()' to initiate a connection request; after the connection is successful, the device will become the owner or client of the group; after host 2 is connected to camera 1, file transfer is performed through 'ParcelFile Descriptor', or custom data communication is implemented through 'Local Server Socket' and 'Client Socket'.
[0023] Host 2 is connected to a human-machine interface 3, which displays the image captured by camera 1. Host 2 is disconnected from camera 1, and the image preview of human-machine interface 3 stops. When the connection is no longer needed, use 'WiFi P2P Manager.RemoveGroup()' to disconnect.
[0024] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0025] The above are only preferred specific implementation modes of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solutions and inventive concepts of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: The camera and the host are connected via a WiFi P2P wireless communication protocol; the WiFi of the camera is set to STA mode, and the hotspot name and hotspot password in the WiFi AP mode are input; at this time, the camera acts as a client node in the wireless network; The host discovers the camera and sends a connection request to the camera, and the camera determines whether the request of the host is legal, and establishes a connection if it is legal; The host sends a request for a picture preview stream to the camera. After receiving the request for the picture preview stream from the host, the camera starts a capture thread for the picture preview stream and pushes the picture preview stream of the camera.
2. According to claim 1, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: A first wireless communication module is disposed in the camera, a second wireless communication module is disposed in the host, and a WiFi P2P connection channel is established between the first wireless communication module and the second wireless communication module.
3. According to claim 2, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: The camera is provided with a first port and a second port. The camera receives a preview instruction sent by the host and detects a connection status between the camera and the host through the first port. The camera detects the connection status between the camera and the host through the second port and sends a picture preview stream to the host.
4. According to claim 3, a wireless network connection gateway architecture for an outboard engine cover camera is characterized in that: The host includes a third port and a fourth port. The host detects the connection status between the host and the camera through the third port and sends a preview instruction to the camera. The host detects the connection status between the host and the camera through the fourth port and receives the picture preview stream sent by the camera.
5. According to claim 1, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: The camera sends a matching signal through the first wireless communication module so that other devices can search for it.
6. According to claim 5, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: The camera sends a matching signal through the first wireless communication module. The camera broadcasts the existence of the camera through the 'WiFi P2PManager.Discover Peers()' method and monitors the matching signals of other devices, so as to find nearby available P2P devices.
7. According to claim 1, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: After the camera is connected to the host, the host sends a picture preview stream request to the camera, and the host starts a capture thread of the picture preview stream and waits for the camera to push the stream.
8. According to claim 7, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: After the host is connected to the camera, file transfer is performed through 'Parcel File Descriptor', or customized data communication is implemented through 'Local Server Socket' and 'Client Socket'.
9. According to claim 8, a wireless network connection gateway architecture for an outboard engine cover camera, characterized in that: The host is connected to a human-machine interface, and the human-machine interface displays the image captured by the camera.
10. The wireless network connection gateway architecture of the outboard engine cover camera according to claim 9, characterized in that: The host is disconnected from the camera, and the screen preview of the human-machine interface stops.
Citation Information
Patent Citations
Configuration method of web camera and web camera
CN103747459A
Network accessing method, system, mobile terminal and camera
CN105282485A
Video previewing method, video previewing device, server and computer-readable storage medium
CN108093211A
Ship monitoring management system
CN110602433A
Ship monitoring management equipment
CN110662159A