Data sharing method and device, electronic equipment and storage medium
By automatically detecting and sending data in the camera device using a wireless communication module, the problem of low data sharing efficiency in the prior art is solved, and efficient data sharing is achieved without the need for manual operation of the user.
Patent Information
- Application Number
- CN202411431399.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-10
AI Technical Summary
Existing camera equipment is less efficient when sharing data, requiring manual operation by users, which is cumbersome and unreasonable.
By integrating the wireless communication module in the camera device, the intersection area of the visual range and the scanning range is determined as the data sharing range, and the camera data corresponding to the target wireless communication device is automatically detected and sent, simplifying the data sharing process.
It improves the data sharing efficiency of camera equipment, realizes automatic data transmission without manual operation by users, and enhances the rationality and security of data sharing.
Smart Images

Figure CN119299841A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a data sharing method and device, an electronic device, and a storage medium. Background Art
[0002] After the current camera device collects the camera data, if the camera data is to be shared with other electronic devices, the user needs to manually send and transmit the data, which is cumbersome.
[0003] It can be seen that in the related art, the data sharing efficiency of the camera equipment is low. Summary of the invention
[0004] The embodiments of the present application disclose a data sharing method and device, an electronic device, and a storage medium, which can improve the data sharing efficiency of a camera device.
[0005] A first aspect of an embodiment of the present application discloses a data sharing method, which is applied to a first camera device, wherein the first camera device includes a first wireless communication module, and the method includes:
[0006] Determine that there is a target wireless communication device within a first physical space range, where the first physical space range is determined based on a visible range of the first camera device and a scanning range of the first wireless communication module, where the visible range is a first space range that can be photographed by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module;
[0007] The first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0008] By implementing the above method, the first camera device can detect the target wireless communication device within the first physical space range corresponding to it, and then send the first camera data corresponding to the target wireless communication device to the target wireless communication device, thereby eliminating the need for the user to manually perform data transmission operations, simplifying the data sharing process of the first camera device, and thereby improving the data sharing efficiency of the first camera device. In addition, the first physical space range is determined based on the visible range of the first camera device and the scanning range of the first wireless communication module, so the target wireless communication device within the first physical space range is a wireless communication device near the first camera device, and the camera data captured by the first camera device can collect camera data related to the target wireless communication device, and then can send its corresponding camera data to the target wireless communication device. Data sharing based on this method is not only reasonable, but also can improve data sharing efficiency and simplify user operations.
[0009] As an optional implementation manner, in the first aspect of the embodiment of the present application, determining that there is a target wireless communication device within the first physical space includes:
[0010] Scanning, by the first wireless communication module, wireless communication devices within a scanning range of the first wireless communication module to obtain a first scanning result;
[0011] Among the wireless communication devices corresponding to the first scanning result, the wireless communication devices within the visible range of the first camera device are determined as target wireless communication devices within the first physical space range.
[0012] By implementing the above method, the target wireless communication device within the first physical space range can be determined in the first scanning result of the first wireless communication module, thereby improving the efficiency of determining the target wireless communication device.
[0013] As an optional implementation, in the first aspect of the embodiment of the present application, determining, among the wireless communication devices corresponding to the first scanning result, the wireless communication devices within the visible range of the first camera device as the target wireless communication devices within the first physical space, includes:
[0014] If the wireless communication devices corresponding to the first scanning result include newly connected wireless communication devices that were not scanned in the previous scanning result, the wireless communication devices within the visible range of the first camera device among the newly connected wireless communication devices are determined as target wireless communication devices within the first physical space.
[0015] By implementing the above method, the first camera device determines whether the newly connected wireless communication device is within the visible range of the first camera device only when it determines that the latest first scanning result includes the newly connected wireless communication device, thereby reducing the calculation amount and power consumption of the first camera device.
[0016] As an optional implementation manner, in the first aspect of the embodiment of the present application, scanning, by the first wireless communication module, a wireless communication device within a scanning range of the first wireless communication module includes:
[0017] If a target object is detected within the visible range of the first camera device, the first wireless communication module is used to scan wireless communication devices within the scanning range of the first wireless communication module, wherein the target object is an object associated with the wireless communication device; or
[0018] The first wireless communication module is used to scan wireless communication devices within a scanning range of the first wireless communication module at intervals of a first time length.
[0019] By implementing the above method, the first wireless communication module can be controlled to scan intermittently, or when the probability of the first wireless communication module scanning a wireless communication device is high, the first wireless communication module can be started to scan the surrounding wireless communication devices, thereby increasing the probability of scanning a wireless communication device; in addition, compared with continuous scanning, the power consumption of the first wireless communication module can be reduced, thereby also reducing the power consumption of the first camera device.
[0020] As an optional implementation manner, in the first aspect of the embodiment of the present application, before determining that there is a target wireless communication device within the first physical space range, the method further includes:
[0021] Acquire the visual range of the first camera device;
[0022] Acquire a scanning range of the first wireless communication module;
[0023] Determine a target intersection range of the visible range and the scanning range, and determine a first physical space range according to the target intersection range, wherein the first physical space range is within the target intersection range, and the first physical space range is less than or equal to the target intersection range.
[0024] The implementation of the above method improves the accuracy of determining the first physical space range.
[0025] As an optional implementation manner, in the first aspect of the embodiment of the present application, obtaining the visible range of the first camera device includes:
[0026] Acquire a target image by using the first camera device;
[0027] Determine depth information of each pixel point included in the target image relative to the first camera device;
[0028] The visible range of the first camera device is determined according to the depth information corresponding to each pixel point.
[0029] By implementing the above method, the visible range of the first camera device can be determined based on the target image captured by the first camera device in combination with image analysis methods such as depth estimation. The data collection required by this method is simple and the calculation method is not complicated, thereby reducing the implementation cost and difficulty of the method.
[0030] As an optional implementation, in the first aspect of the embodiment of the present application, the first camera device is rotatable within a first shooting angle range; and the step of acquiring a target image through the first camera device includes:
[0031] The first camera device is controlled to rotate within a first shooting angle range, and target images are captured at different rotation angles to obtain multiple target images.
[0032] By implementing the above method, for a first camera device with a rotatable lens, the first camera device can be controlled to capture target images at different rotation angles to obtain multiple target images, and the visible range of the rotatable first camera device can be determined by a similar method introduced above, thereby improving the compatibility and usage scenarios of the method.
[0033] As an optional implementation manner, in the first aspect of the embodiment of the present application, before determining that there is a target wireless communication device within the first physical space range, the method further includes:
[0034] In response to the adjustment operation on the first physical space range, adjusting the target intersection range to obtain an adjusted first physical space range, wherein the target intersection range is the intersection of the visible range of the first camera device and the scanning range of the first wireless communication module;
[0035] And, determining that there is a target wireless communication device within the first physical space includes:
[0036] It is determined that a target wireless communication device exists within the adjusted first physical space range.
[0037] By implementing the above method, the first camera device can flexibly adjust the first physical space range in response to the adjustment operation on the first physical space range, so that the adjusted first physical space range adapts to different usage requirements, thereby improving the flexibility and controllability of the method and making the method compatible with more usage scenarios.
[0038] As an optional implementation manner, in the first aspect of the embodiment of the present application, before sending the first camera data corresponding to the target wireless communication device to the target wireless communication device, the method further includes:
[0039] The first imaging data corresponding to the target wireless communication device is determined from the imaging data collected by the first imaging device.
[0040] By implementing the above method, the first camera data corresponding to the target wireless communication device can be determined from the camera data collected by the first camera device for sharing, so as to improve the rationality of data sharing and protect the privacy of other users.
[0041] As an optional implementation manner, in the first aspect of the embodiment of the present application, determining the first camera data corresponding to the target wireless communication device from the camera data collected by the first camera device includes:
[0042] Determine the camera data collected by the first camera device as the first camera data corresponding to the target wireless communication device; or,
[0043] Determine part of the image data collected by the first image pickup device as first image data corresponding to the target wireless communication device; or,
[0044] The camera data including the camera data of the person among the camera data collected by the first camera device is determined as the first camera data corresponding to the target wireless communication device.
[0045] By implementing the above method, all camera data collected by the first camera device can be shared with the target wireless communication device, and the first camera device does not need to screen the camera data, thereby reducing the amount of calculation and power consumption of the first camera device.
[0046] As an optional implementation manner, in the first aspect of the embodiment of the present application, part of the camera data corresponding to the first camera device is determined according to the first feature information of the target wireless communication device and / or the recognition result of the first camera device;
[0047] The first characteristic information of the target wireless communication device includes at least one of the following: target identity information of the target wireless communication device, target frequency, time point and duration of appearance of the target wireless communication device within the visible range of the first camera device;
[0048] The recognition result of the first camera device includes: scene information recognized by the first camera device, and / or person information recognized by the first camera device.
[0049] By implementing the above method, when it is determined that the current scene is a public scene, only the camera data of the target wireless communication device during the period when it appears in the public scene can be shared with the target wireless communication device, which improves the rationality of data sharing and can also protect the privacy of other users in the public scene as much as possible.
[0050] As an optional implementation manner, in the first aspect of the embodiment of the present application, sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes:
[0051] While the target wireless communication device is within the scanning range of the first wireless communication module, first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0052] By implementing the above method, the first camera device can directly send the first camera data to the target wireless communication device through the first wireless communication module, thereby realizing short-distance and fast data transmission and improving the efficiency of data transmission.
[0053] As an optional implementation manner, in the first aspect of the embodiment of the present application, before sending the first camera data corresponding to the target wireless communication device to the target wireless communication device, the method further includes:
[0054] Marking the target identity information of the target wireless communication device and the first camera data corresponding to the target wireless communication device;
[0055] And, sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes:
[0056] The first camera data is sent to the target wireless communication device according to the target identity information.
[0057] By implementing the above method, the first camera device can mark the target identity information of the target wireless communication device and the first camera data corresponding to the target wireless communication device, so that when the target wireless communication device needs to obtain the first camera data later, the corresponding first camera data can be accurately sent to the target wireless communication device according to the target identity information, thereby improving the accuracy of camera data sharing.
[0058] As an optional implementation manner, in the first aspect of the embodiment of the present application, sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes:
[0059] Identifying a target person within the visible range from the image captured by the first camera device;
[0060] If the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, the first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0061] When the above method is implemented, if the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, it means that the target wireless communication device is held by the user, and the video data is sent to the target wireless communication device held by the user. This can avoid the risk of an unmanned and concealed wireless communication device being deliberately placed within the visible range of the first camera device by an unlawful user, and then using the camera data sharing mechanism of the first camera device to maliciously obtain the video data.
[0062] As an optional implementation, in the first aspect of the embodiment of the present application, if the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes:
[0063] If the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, and the first person information of the target person matches the second person information provided by the target wireless communication device, the first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0064] By implementing the above method, the first camera device can further determine that the target person is a person authorized by the target wireless communication device before sharing the camera data with the target wireless communication device, thereby further improving the security of sharing the camera data.
[0065] As an optional implementation, in the first aspect of the embodiment of the present application, after sending the first camera data corresponding to the target wireless communication device to the target wireless communication device, the method further includes:
[0066] When the target wireless communication device leaves the scanning range of the first wireless communication module, or when the target person leaves the visible range of the first camera device, the first camera data is stopped from being sent to the target wireless communication device.
[0067] By implementing the above method, when the target person leaves the visual range of the first camera device, the first camera data is stopped from being sent to the target wireless communication device, thereby preventing other illegal users from maliciously obtaining the camera data by approaching the target wireless communication, thereby improving the security of sharing the camera data.
[0068] As an optional implementation manner, in the first aspect of the embodiment of the present application, the method further includes:
[0069] After determining that the distance between the target person and the target wireless communication device is less than or equal to a distance threshold, if the target wireless communication device is within the first physical space range corresponding to the first camera device, but the target person is not within the first physical space range, a reminder message is output, and the reminder message is used to remind the target wireless communication device that it is in a lost state.
[0070] By implementing the above method, the first camera device can assist the user in monitoring whether the target wireless communication device is lost, and can output a reminder message to remind the user that the target wireless communication device is lost, thereby facilitating the user to find the lost target wireless communication device as quickly as possible, thereby improving the intelligence level of the method and further improving the user's usage experience.
[0071] As an optional implementation manner, in the first aspect of the embodiment of the present application, before identifying the target person in the visible range from the image captured by the first camera device, the method further includes:
[0072] When a wireless communication device is scanned by the first wireless communication module, the first camera device is controlled to rotate toward the scanned wireless communication device until the scanned wireless communication device is within the visible range of the first camera device.
[0073] By implementing the above method, when the first camera device scans a wireless communication device, it can actively rotate toward the scanned wireless communication device, so that the scanned wireless communication device is within the visual range of the first camera device, thereby facilitating the collection of camera data of the scanned wireless communication device and facilitating the first camera device to send corresponding camera data to it, thereby improving the efficiency of data sharing and the intelligence level of the first camera device.
[0074] As an optional implementation manner, in the first aspect of the embodiment of the present application, the method further includes:
[0075] If a second camera device is scanned within the first physical space range corresponding to the first camera device, a second physical space range corresponding to the second camera device is obtained;
[0076] If the target wireless communication device is detected to move from the first physical space range to the second physical space range, the second characteristic information of the target wireless communication device is sent to the second camera device, so that the second camera device sends the second camera data corresponding to the target wireless communication device to the target wireless communication device based on the second characteristic information.
[0077] By implementing the above method, the first camera device can send the second characteristic information of the target wireless communication device to the second camera device in advance, so that the second camera device can send the second camera data corresponding to the target wireless communication device to the target wireless communication device based on the second characteristic information, thereby saving the process of the second camera device identifying and obtaining the characteristic message of the target wireless communication device, thereby improving the sharing efficiency of camera data.
[0078] As an optional implementation, in the first aspect of the embodiments of the present application, the second camera device is rotatable within a second shooting angle range; the second characteristic information includes the location information of the target wireless communication device, so that the second camera device rotates to the location of the target wireless communication device according to the location information.
[0079] By implementing the above method, the second camera device can rotate toward the position of the target wireless communication device based on the position information of the target wireless communication device sent in advance by the first camera device, so that the second camera device can quickly photograph the target wireless communication device, thereby improving the flexibility of the method and the efficiency of sharing camera data.
[0080] A second aspect of an embodiment of the present application discloses a data sharing device, which is applied to a first camera device, wherein the first camera device includes a first wireless communication module, and the device includes:
[0081] A first determining unit, configured to determine that a target wireless communication device exists within a first physical space range, wherein the first physical space range is determined according to a visible range of the first camera device and a scanning range of the first wireless communication module, wherein the visible range is a first space range that can be photographed by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module;
[0082] The first sending unit is used to send first camera data corresponding to the target wireless communication device to the target wireless communication device.
[0083] By implementing the above-mentioned device, the first camera device can detect the target wireless communication device within the first physical space range corresponding to it, and then send the first camera data corresponding to the target wireless communication device to the target wireless communication device, thereby eliminating the need for the user to manually perform data transmission operations, simplifying the data sharing process of the first camera device, and thereby improving the data sharing efficiency of the first camera device. In addition, the first physical space range is determined based on the visible range of the first camera device and the scanning range of the first wireless communication module, so the target wireless communication device within the first physical space range is a wireless communication device near the first camera device, and the camera data captured by the first camera device can collect camera data related to the target wireless communication device, and then can send its corresponding camera data to the target wireless communication device, thereby improving the rationality of data sharing.
[0084] A third aspect of the present application discloses an electronic device, including:
[0085] A memory storing executable program code;
[0086] a processor coupled to the memory;
[0087] The processor calls the executable program code stored in the memory to execute the method disclosed in the first aspect of the embodiment of the present application.
[0088] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the method disclosed in the first aspect of the embodiment of the present application.
[0089] The fifth aspect of the embodiments of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one of the methods of the first aspect of the embodiments of the present application.
[0090] A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one of the methods of the first aspect of the embodiment of the present application.
[0091] Compared with the related art, the embodiments of the present application have the following beneficial effects:
[0092] In the embodiment of the present application, the first camera device can detect the target wireless communication device within the first physical space range corresponding to it, and then send the first camera data corresponding to the target wireless communication device to the target wireless communication device, thereby eliminating the need for the user to manually perform data transmission operations, simplifying the data sharing process of the first camera device, and thereby improving the data sharing efficiency of the first camera device. In addition, the first physical space range is determined based on the visible range of the first camera device and the scanning range of the first wireless communication module, so the target wireless communication device within the first physical space range is a wireless communication device near the first camera device, and the camera data captured by the first camera device can collect camera data related to the target wireless communication device, and then can send its corresponding camera data to the target wireless communication device, thereby improving the rationality of data sharing. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0094] Figure 1 It is a flowchart of a camera data sharing method disclosed in this application;
[0095] Figure 2 is a structural schematic diagram of a first camera device disclosed in an embodiment of the present application;
[0096] Figure 3 It is a schematic diagram of a system architecture disclosed in an embodiment of the present application;
[0097] Figure 4 It is a flowchart of a data sharing method disclosed in an embodiment of the present application;
[0098] Figure 5 is a schematic diagram of a first physical space range disclosed in an embodiment of the present application;
[0099] Figure 6 It is a flowchart of another data sharing method disclosed in an embodiment of the present application;
[0100] Figure 7 is a moving schematic diagram of a stepping motor disclosed in an embodiment of the present application;
[0101] Figure 8 It is a flowchart of another data sharing method disclosed in the embodiment of the present application;
[0102] Fig. 9 It is a flowchart of another data sharing method disclosed in the embodiment of the present application;
[0103] Fig.10 is a schematic diagram of the position of a second camera device disclosed in an embodiment of the present application;
[0104] Fig.11 It is a structural schematic diagram of a data sharing device disclosed in an embodiment of the present application;
[0105] Fig.12 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0106] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0107] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present application are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device including 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 devices.
[0108] The embodiments of the present application disclose a data sharing method and device, an electronic device, and a storage medium, which can improve the data sharing efficiency of a camera device.
[0109] The technical solution of the present application will be described in detail below in conjunction with specific embodiments.
[0110] In order to more clearly introduce the data sharing method disclosed in the embodiment of the present application, firstly, the common way of sharing data by camera equipment in the related art is introduced.
[0111] In the related art, when a camera device captures camera data (for example, image data, video data, etc.), one of the data sharing methods is: the user of the camera device is required to actively search for the other party's terminal, and then share the access rights to the camera data with the other party's terminal; or manually share the camera data with the other party's terminal via Bluetooth communication, WI-FI communication, etc.
[0112] The above methods all require the user of the camera device to perform manual operations, which is cumbersome and reduces the efficiency of sharing camera data.
[0113] See also Figure 1 , Figure 1 This is a flowchart of a method for sharing camera data disclosed in this application. Other data sharing methods are: the user can enter identity information (for example, face information) into the camera device in advance through the application program, and become an authorized user with the right to access the camera data; then, when the camera device analyzes the captured camera data and obtains the face information of the authorized user, the captured camera data can be shared with the terminal device carried by the user.
[0114] The above method needs to collect the user's facial information before sharing data, which poses certain privacy and security risks. In addition, authorized users with access rights to camera data can usually view all camera data, resulting in authorized users being able to view some camera data that is not related to themselves. It can be seen that the data sharing method in the relevant technology is somewhat unreasonable.
[0115] In this regard, the embodiment of the present application provides a data sharing method to solve the defects of the related art. Optionally, the method can be applied to a first camera device. The first camera device can include a surveillance camera, a network camera, a PTZ camera or other camera devices, which are not limited here.
[0116] See also Figure 2 , Figure 2 Optionally, the hardware of the first camera device 200 may include: one or more of a network controller 210 , an antenna 220 , a wireless communication module 230 , a memory 240 , an image sensor 250 and a microphone 260 .
[0117] The network controller 210 is a network card, which can realize functions such as surfing the Internet, network data transmission, etc. Optionally, the network controller 210 can be used for the first camera device 200 and the cloud system 270 to perform network data transmission, which is not limited here.
[0118] The antenna 220 may include: a single antenna, an array antenna, etc., which are not limited here. Optionally, the antenna 220 may be used for functions such as signal transmission and reception, device positioning, etc., which are not limited here.
[0119] The wireless communication module 230 may include: a Bluetooth communication module, a WI-FI communication module and a Near Field Communication (NFC) module, etc., which are not limited here. The wireless communication module 230 can be used to communicate wirelessly with a target wireless communication device 300 (for example: a user terminal device such as a mobile phone, a smart wearable device, a tablet computer, etc.).
[0120] The memory 240 can be used to store the video data, sound data, user information, etc. collected by the first camera device 200, which is not limited here.
[0121] The image sensor 250 is a device that can convert optical signals into electrical signals and has the capability of imaging. The first camera device 200 can collect camera data through the image sensor 250 .
[0122] Microphone 260 can be used to collect sound information.
[0123] It should be noted that the first camera device 200 may also include other hardware. Figure 2 This is only an example for the convenience of explanation and should not be construed as limiting the embodiments of the present application.
[0124] Optionally, the first camera device 200 may also be installed with a driver 280 corresponding to various hardware described above. Optionally, the first camera device 200 may also include a camera data analysis module 290, which may analyze the camera data collected by the first camera device 200. Optionally, the camera data analysis module 290 may analyze the camera data to implement functions such as human shape and face detection, depth information detection, and visual positioning, which are not limited here.
[0125] In order to more clearly explain the camera data sharing method disclosed in the embodiment of the present application, the application scenarios applicable to the method are further introduced. Figure 3 , Figure 3 1 is a schematic diagram of a system architecture disclosed in an embodiment of the present application. Optionally, the system architecture applicable to the method may include the first camera device 200 and the target wireless communication device 300 introduced above.
[0126] The first camera device 200 can determine the first physical space range corresponding to the first camera device according to the scanning range corresponding to the wireless communication module 230 and the visible range of the first camera device 200. The visible range of the first camera device 200 can be determined by analyzing the image captured by the image sensor 250 through the camera data analysis module 290.
[0127] When the first camera device 200 detects the target wireless communication device 300 within the first physical space range corresponding to it, it can determine the corresponding camera data of the target wireless communication device 300 according to a certain data sharing strategy, and then send the corresponding camera data to the target wireless communication device 300. Therefore, there is no need for the user to manually perform the data transmission operation, which simplifies the data sharing process of the first camera device 200 and improves the data sharing efficiency of the first camera device 200.
[0128] In addition, the first physical space range is determined based on the visible range of the first camera device 200 and the scanning range of the wireless communication module 230, so the target wireless communication device 300 within the first physical space range is a wireless communication device near the first camera device 200, and the camera data taken by the first camera device 200 is usually related to the target wireless communication device 300. Sending the corresponding first camera data to the target wireless communication device 300 also improves the rationality of data sharing; in addition, the method does not need to collect the user's facial information, thereby avoiding privacy and security risks.
[0129] Based on this, the data sharing method and device, electronic device, and storage medium disclosed in the embodiments of the present application are introduced below.
[0130] See also Figure 4 , Figure 4 It is a flowchart of a data sharing method disclosed in an embodiment of the present application. Optionally, the method can be applied to the first camera device mentioned above, or other execution entities. The embodiment of the present application is introduced by taking the first camera device as an example, which should not be limited to the embodiment of the present application. Optionally, the method can include the following steps:
[0131] 402. Determine whether a target wireless communication device exists within a first physical space range, where the first physical space range is determined based on a visible range of a first camera device and a scanning range of a first wireless communication module. The visible range is a first space range that can be captured by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module.
[0132] In an embodiment of the present application, the first physical space range corresponding to the first camera device may be determined in advance by a developer based on the hardware configuration of the first camera device, thereby reducing the amount of calculation required for the first camera device to subsequently determine the first physical space range.
[0133] In another embodiment, the first physical space range corresponding to the first camera device may be determined in real time after the first camera device is turned on each time. The range size of the first physical space range determined in real time may be set more flexibly, thereby improving the flexibility of the method.
[0134] Optionally, the first physical space may be determined by: obtaining the visible range of the first camera device and the scanning range of the first wireless communication module; then determining the visible range of the first camera device and the target intersection range of the scanning range of the first wireless communication module, and determining the first physical space range according to the target intersection range. Optionally, the first physical space range may be within the target intersection range, and the first physical space range may be less than or equal to the target intersection range.
[0135] The visible range of the first camera device refers to the range of the physical space that the first camera device can capture. The scanning range of the first wireless communication module refers to the range of the physical space that the first wireless communication module can scan, which is not limited here. Optionally, the scanning range corresponding to the first wireless communication module can be determined according to the radio transmission power and radio reception power of the first wireless communication module.
[0136] For example, see Figure 5 , Figure 5510 , and the scanning range of the first wireless communication module is the circular area 520 . The first physical space range 530 corresponding to the first camera device can be the intersection of the fan-shaped area 510 and the circular area 520 .
[0137] It is understandable that in indoor scenes, due to obstructions by walls, floors, ceilings or indoor facilities, the visible range of the first camera device may be smaller than the actual shooting capability range, and the specific area size depends on the actual room layout.
[0138] As an optional implementation, the method for obtaining the visible range of the first camera device can be: capturing the target image through the first camera device; and then determining the depth information of each pixel point contained in the target image relative to the first camera device; and then determining the visible range of the first camera device based on the depth information corresponding to each pixel point.
[0139] It can be understood that the visible range of the first camera device is the boundary of the range that the first camera device can capture. The image content of each pixel point contained in the target image is the boundary of the range that the first camera device can capture, and the depth information of each pixel point relative to the first camera device represents the relative distance of each pixel point relative to the first camera device. In this regard, if the position of the first camera device is known, the visible range of the first camera device can be determined based on the depth information corresponding to each pixel point.
[0140] Optionally, the depth information of each pixel contained in the target image relative to the first camera device can be determined by a depth estimation algorithm, wherein the depth estimation algorithm may include: a monocular depth estimation algorithm, a binocular depth estimation algorithm, etc., which are not limited here.
[0141] By implementing the above method, the visible range of the first camera device can be determined based on the target image captured by the first camera device in combination with image analysis methods such as depth estimation. The data collection required by this method is simple and the calculation method is not complicated, thereby reducing the implementation cost and difficulty of the method.
[0142] In an optional embodiment, the first camera device may be a camera device that can rotate within a first shooting angle range. Optionally, the first shooting angle range may include a first sub-angle range in the horizontal direction and / or a second sub-angle range in the vertical direction, which is not limited here.
[0143] Exemplarily, the first camera device may be rotated within a range of 180 degrees, 270 degrees or 360 degrees in the horizontal direction; and / or may be rotated within a range of 180 degrees, 270 degrees or 360 degrees in the vertical direction, etc., which is not limited here.
[0144] Compared with a camera device with a fixed camera, a camera device that can rotate can capture a wider range, that is, a wider visible range, so the visible range of the first camera device cannot be fully covered by capturing a single target image. Optionally, the first camera device can be controlled to rotate within a first shooting angle, and target images can be captured at different rotation angles to obtain multiple target images. Optionally, the image content included in the multiple target images covers the visible range of the first camera device.
[0145] For example, assuming that the first camera device can rotate within a range of 360 degrees in the horizontal direction, and the viewing angle of the lens is 90 degrees each time it shoots, the lens can be controlled to stay at positions of 0 degrees, 90 degrees, 180 degrees, and 270 degrees for shooting, so that the final 4 target images can completely cover the viewing range of the first camera device.
[0146] By implementing the above method, for a first camera device with a rotatable lens, the first camera device can be controlled to capture target images at different rotation angles to obtain multiple target images, and the visible range of the rotatable first camera device can be determined by a similar method introduced above, thereby improving the compatibility and usage scenarios of the method.
[0147] The above descriptions are all about the situation where the first physical space range is the largest. Optionally, in the embodiment of the present application, the first physical space range can be flexibly adjusted to adapt to different usage requirements.
[0148] Optionally, the first camera device can adjust the target intersection range in response to the adjustment operation on the first physical space range to obtain the adjusted first physical space range. The target intersection range is the intersection of the visible range of the first camera device described above and the scanning range of the first wireless communication module.
[0149] In an optional embodiment, the first camera device may output the target intersection range for user reference. Optionally, the first camera device may output a graphic of the target intersection range in a graphical manner so that the user can understand the target intersection range more intuitively.
[0150] Optionally, the first camera device may also output range parameters of the target intersection range in parameter form for user reference, such as how long the radius of the target intersection range is, how many cubic meters the target intersection range is, vertex coordinates, etc., which are not limited here.
[0151] Optionally, the first camera device may display the target intersection range through a display program, wherein the display program may be a graphic display software on a computer, a mobile application, or a background management website corresponding to the first camera device, etc., which is not limited here.
[0152] Optionally, the adjustment operation on the first physical space range may include: an adjustment operation on a graphical target intersection range, and / or a parameter configuration operation on a range parameter of the target intersection range, etc., which is not limited here.
[0153] By implementing the above method, the first camera device can flexibly adjust the first physical space range in response to the adjustment operation on the first physical space range, so that the adjusted first physical space range adapts to different usage requirements, thereby improving the flexibility and controllability of the method and making the method compatible with more usage scenarios.
[0154] 404. Send first camera data corresponding to the target wireless communication device to the target wireless communication device.
[0155] In an embodiment of the present application, when the target wireless communication device is within the range of the first physical space, it means that the target wireless communication device appears near the first camera device. The first camera device can collect the camera data related to the target wireless communication device, and send the corresponding camera data to the target wireless communication device, thereby improving the rationality of data sharing.
[0156] It is understandable that before sending the first camera data, the first camera device may send a data transmission request, and if a confirmation message of the transmission request is received from the target wireless communication device, the first camera data is sent to the target wireless communication device.
[0157] For example, users usually carry mobile phones with them. If the first camera device detects that the mobile phone is within the first physical space, it means that both the mobile phone and the user are near the first camera device. The first camera device can collect camera data related to the user and send corresponding first camera data containing the user to the mobile phone, thereby improving the rationality of data sharing.
[0158] As an optional implementation manner, the first camera device may send first camera data corresponding to the target wireless communication device to the target wireless communication device while the target wireless communication device is within the scanning range of the first wireless communication module.
[0159] It is understandable that if the target wireless communication device is within the scanning range of the first wireless communication module, the first wireless communication module can perform data transmission with the target wireless communication device. Optionally, the first camera device can send the first camera data corresponding to the target wireless communication device to the target wireless communication device through the first wireless communication module.
[0160] By implementing the above method, the first camera device can directly send the first camera data to the target wireless communication device through the first wireless communication module, thereby realizing short-distance and fast data transmission and improving the efficiency of data transmission.
[0161] In another optional embodiment, the first camera device may send the first camera data corresponding to the target wireless communication device to the target wireless communication device via a cellular network.
[0162] By implementing the above method, the transmission of video data through a cellular network is no longer subject to the limitation of the scanning range of the first wireless communication module. Even if the target wireless communication device leaves the scanning range of the first wireless communication module, the first video device can still send the first video data to the target wireless communication device, thereby improving the flexibility of the method and expanding the usage scenarios.
[0163] In an optional embodiment, before the first camera device sends the first camera data corresponding to the target wireless communication device to the target wireless communication device, the target identity information of the target wireless communication device may be marked with the first camera data corresponding to the target wireless communication device; wherein the target identity information of the target wireless communication device may include: the network address, device number, etc. of the target wireless communication device, which are not limited here.
[0164] Furthermore, when the target wireless communication device needs to obtain the first camera data, the target wireless communication device can send the target identity information to the first camera device. When the first camera device receives the target identity information, it can determine the first camera data marked with the target identity information and send the first camera data marked with the target identity information to the target wireless communication device.
[0165] By implementing the above method, the first camera device can mark the target identity information of the target wireless communication device and the first camera data corresponding to the target wireless communication device, so that when the target wireless communication device needs to obtain the first camera data later, the corresponding first camera data can be accurately sent to the target wireless communication device according to the target identity information, thereby improving the accuracy of camera data sharing.
[0166] By implementing the methods disclosed in the above embodiments, the first camera device can detect the target wireless communication device within the first physical space range corresponding to it, and then send the first camera data corresponding to the target wireless communication device to the target wireless communication device, thereby eliminating the need for the user to manually perform data transmission operations, simplifying the data sharing process of the first camera device, and thereby improving the data sharing efficiency of the first camera device. In addition, the first physical space range is determined based on the visible range of the first camera device and the scanning range of the first wireless communication module, so the target wireless communication device within the first physical space range is a wireless communication device near the first camera device, and the camera data captured by the first camera device can collect camera data related to the target wireless communication device, and then can send its corresponding camera data to the target wireless communication device, thereby improving the rationality of data sharing.
[0167] See also Figure 6 , Figure 6 1 is a flowchart of another data sharing method disclosed in an embodiment of the present application. Optionally, the method can be applied to the first camera device mentioned above, or other execution entities. The embodiment of the present application is introduced by taking the first camera device as an example, which should not be limited to the embodiment of the present application. Optionally, the method can include the following steps:
[0168] 602. Scan, through the first wireless communication module, wireless communication devices within a scanning range of the first wireless communication module to obtain a first scanning result.
[0169] In the embodiment of the present application, the first camera device can scan the wireless communication devices within the scanning range of the first wireless communication module through the first wireless communication module at intervals of the first time length. The first time length can be set by the developer based on a large amount of development experience, or by the user based on actual usage requirements. The typical value can be 10 seconds, 30 seconds, 1 minute, etc., which is not limited here.
[0170] By implementing the above method, the first wireless communication module can be controlled to scan intermittently, which can reduce the power consumption of the first wireless communication module compared to continuous scanning, thereby also reducing the power consumption of the first camera device.
[0171] In another optional embodiment, the first camera device can identify whether there is a target object within the visible range through the captured image. The target object can be an object associated with the wireless communication device. For example, the target object can include the wireless communication device itself, a user carrying the wireless communication device, etc., which is not limited here.
[0172] If the target object is detected within the visible range of the first camera device, the probability that the first wireless communication module has scanned the wireless communication device is high. In this regard, the first camera device can scan the wireless communication devices within the scanning range of the first wireless communication module through the first wireless communication module.
[0173] By implementing the above method, the first camera device can start the first wireless communication module to scan the surrounding wireless communication devices when the probability of the first wireless communication module scanning the wireless communication device is high, thereby increasing the probability of scanning the wireless communication device; in addition, compared with continuous scanning, the power consumption of the first wireless communication module can be reduced, thereby also reducing the power consumption of the first camera device.
[0174] 604. Determine, among the wireless communication devices corresponding to the first scanning result, the wireless communication devices within the visible range of the first camera device as target wireless communication devices within the first physical space range.
[0175] In the embodiment of the present application, the first scanning result may include one or more wireless communication devices. Figure 5 As shown, the scanning range corresponding to the first wireless communication module may exceed the visible range of the first camera device, so the wireless communication device in the first scanning result can only prove that it is within the scanning range of the first wireless communication module, but not necessarily within the visible range of the first camera device.
[0176] Optionally, the first camera device may determine the location information of each wireless communication device corresponding to the first scanning result, and determine whether the corresponding wireless communication device is within the visible range of the first camera device based on the location information of each wireless communication device.
[0177] In one embodiment, the first camera device can obtain the communication signal between the first wireless communication module and the first wireless communication device, the corresponding first signal strength and the first signal receiving and transmitting angle; wherein the first wireless communication device is any one of the wireless communication devices included in the first scanning result.
[0178] Optionally, the first camera device can determine the first distance between the first wireless communication module and the first wireless communication device according to the first signal strength, and then determine the position information of the first wireless communication device by triangulation according to the first distance and the first signal receiving and transmitting angle. The triangulation positioning method is a mathematical principle that uses two or more detectors to detect the target position at different positions, and then uses triangulation geometry principles to determine information such as the target position and distance.
[0179] Furthermore, if the location information of the first wireless communication device is within the visible range of the first camera device, the first wireless communication device is determined to be a target wireless communication device within the first physical space.
[0180] By implementing the above method, the first camera device can determine the location information of the wireless communication device through the triangulation method based on the communication signal between the first wireless communication module and the wireless communication device. This method is applicable to a wide range of scenarios and the required communication signal information is easy to obtain, thereby reducing the implementation difficulty and cost of the method.
[0181] In another embodiment, the first camera device can rotate within the first shooting angle range based on a stepper motor. Optionally, the first camera device can determine the position information of the first wireless communication device according to the target number of steps currently traveled by the stepper motor and the first image including the first wireless communication device captured by the first camera device; the first wireless communication device is any one of the wireless communication devices included in the first scanning result.
[0182] See also Figure 7 , Figure 7 is a schematic diagram of the movement of a stepper motor disclosed in an embodiment of the present application. Optionally, the first camera device can be moved in the horizontal and vertical directions by a stepper motor, so that the position of the camera screen of the first camera device can be adjusted;
[0183] Optionally, the first camera device moves to a position pointing to the first wireless communication device, thereby obtaining the current number of steps of the stepper motor, and determining the target direction of the center of the current camera image relative to the first camera device according to the number of steps of the stepper motor 710;
[0184] Then, the current viewing angle 720 of the first camera device can be determined according to the target pointing 710; then, according to the pixel position of the target pixel and the viewing angle 720, the first wireless communication device can be projected onto the vertical / horizontal axis to obtain the polar coordinate position 730 corresponding to the first wireless communication device, where the target pixel is the corresponding pixel point of the first wireless communication device in the captured image;
[0185] Furthermore, the position information of the first wireless communication device may be determined according to the polar coordinate position 730 corresponding to the first wireless communication device and the depth information corresponding to the first wireless communication device.
[0186] As an optional implementation manner, the first camera device may determine whether the wireless communication devices corresponding to the first scanning result include newly connected wireless communication devices that were not scanned in the previous scanning result.
[0187] Optionally, if the wireless communication devices corresponding to the first scanning result include newly connected wireless communication devices that were not scanned in the previous scanning result, the wireless communication devices within the visible range of the first camera device among the newly connected wireless communication devices can be further determined as target wireless communication devices within the first physical space.
[0188] Optionally, if the wireless communication devices corresponding to the first scanning result do not include a newly connected wireless communication device that was not scanned in the previous scanning result, the subsequent steps may not be performed.
[0189] By implementing the above method, the first camera device determines whether the newly connected wireless communication device is within the visible range of the first camera device only when it determines that the latest first scanning result includes the newly connected wireless communication device, thereby reducing the calculation amount and power consumption of the first camera device.
[0190] 606. Send first camera data corresponding to the target wireless communication device to the target wireless communication device.
[0191] As an optional implementation, before sending the first imaging data corresponding to the target wireless communication device to the target wireless communication device, the first imaging device may determine the first imaging data corresponding to the target wireless communication device from the imaging data collected by the first imaging device.
[0192] It should be noted that the camera data collected by the first camera device, in addition to the camera data related to the target wireless communication device, may also include other camera data that is not related to the target wireless communication device. In this regard, the first camera device can determine the first camera data corresponding to the target wireless communication device from the camera data collected by the first camera device for sharing, so as to improve the rationality of data sharing and protect the privacy of other users.
[0193] Optionally, the first camera device may determine the first camera data corresponding to the target wireless communication device through different data sharing strategies, and the data sharing strategies may be as follows:
[0194] In an embodiment, the first camera device may determine all the camera data collected by the first camera device as the first camera data corresponding to the target wireless communication device.
[0195] By implementing the above method, all camera data collected by the first camera device can be shared with the target wireless communication device, and the first camera device does not need to screen the camera data, thereby reducing the amount of calculation and power consumption of the first camera device.
[0196] Optionally, when the first camera device identifies that the current scene is a private scene, if it is determined that the first frequency at which the target wireless communication device appears within the visible range of the first camera device is greater than the first frequency threshold, then the camera data collected by the first camera device can be determined as the first camera data corresponding to the target wireless communication device. Optionally, the first frequency threshold can be set by the developer or user and is not limited here.
[0197] Optionally, the private scene may be a scene that the first camera device is bound to and owned by the user, including: a home scene, an office scene, etc., which is not limited here. The first frequency threshold may be set by the developer or the user, which is not limited here.
[0198] By implementing the above method, when it is determined that the current scene is private and the target wireless communication device is a frequently appearing device, it can be determined that the target wireless communication device is a device trusted by the first camera device. All camera data collected by the first camera device can be shared with the target wireless communication device, thereby improving the rationality of data sharing and protecting the privacy of the user.
[0199] In another embodiment, the first camera device may determine part of the camera data collected by the first camera device as the first camera data corresponding to the target wireless communication device.
[0200] Optionally, part of the video data corresponding to the first camera device may be determined based on the first characteristic information of the target wireless communication device, and / or the recognition result of the first camera device; wherein the first characteristic information of the target wireless communication device includes at least one of the following: target identity information of the target wireless communication device, target frequency, time point and duration of appearance of the target wireless communication device within the visible range of the first camera device; the recognition result of the first camera device includes: scene information recognized by the first camera device, and / or person information recognized by the first camera device.
[0201] Optionally, the scene information recognized by the first camera device may include: public scenes; public scenes may include: shopping mall scenes, restaurant scenes, and sports field scenes, etc., which are not limited here.
[0202] Optionally, the first camera device may determine the camera data of the target wireless communication device while it is in the public scene identified by the first camera device as the first camera data corresponding to the target wireless communication device based on the time point and duration of the target wireless communication device's appearance in the public scene identified by the first camera device.
[0203] For example, the target wireless communication device appears in a restaurant where a first camera is deployed for 60 minutes starting from 8 pm. The first camera device can determine the camera data of the target wireless communication device during the 60 minutes as the first camera data corresponding to the target wireless communication device.
[0204] By implementing the above method, when it is determined that the current scene is a public scene, only the camera data of the target wireless communication device during the period when it appears in the public scene can be shared with the target wireless communication device, which improves the rationality of data sharing and can also protect the privacy of other users in the public scene as much as possible.
[0205] In one embodiment, if the scene information identified by the first camera device is a private scene, and the second frequency of the target wireless communication device appearing in the private scene is greater than the second frequency threshold, the first camera device can determine the camera data of the target wireless communication device when it is not in the first camera device private scene as the first camera data corresponding to the target wireless communication device based on the time point and duration of the target wireless communication device appearing in the private scene identified by the first camera device. Optionally, the second frequency threshold can be set by the developer or user, which is not limited here.
[0206] Exemplarily, for a target wireless communication device that frequently appears within the first physical space range of a first camera device, the camera data outside the time period when the target wireless communication device appears can be shared with the target wireless communication device, so that when one returns to his hometown during holidays, he can still obtain the camera data of his hometown through the Internet after leaving, thereby achieving the effect of remote monitoring.
[0207] Optionally, if the scene information recognized by the first camera device is a private scene, the first camera device may determine the camera data containing a person in the camera data collected by the first camera device as the first camera data corresponding to the target wireless communication device.
[0208] Optionally, the first camera device may have a face recognition function, and the first camera device may determine the person information corresponding to the person in the camera data through the face recognition function. Optionally, the first camera device may determine the camera data including the person information as the specific person information as the first camera data corresponding to the target wireless communication device.
[0209] Exemplarily, the character information included in the video data collected by the first camera device may include "Zhang San" and "Li Si"; assuming that "Zhang San" is a specific person selected by the user, the first camera device can determine the video data including "Zhang San" as the first video data corresponding to the target wireless communication device.
[0210] By implementing the above method, the first camera device can determine the first camera data corresponding to the target wireless communication device through different sharing strategies, thereby improving the flexibility of the method and expanding the applicable scenarios of the method.
[0211] By implementing the methods disclosed in the above-mentioned embodiments, there is no need for the user to manually perform data transmission operations, which simplifies the data sharing process of the first camera device and thereby improves the data sharing efficiency of the first camera device; and, the first wireless communication module can be controlled to scan intermittently, which can reduce the power consumption of the first wireless communication module compared to continuous scanning, thereby also reducing the power consumption of the first camera device; and, when the probability of the first wireless communication module scanning a wireless communication device is high, the first wireless communication module can be started to scan the surrounding wireless communication devices, thereby increasing the probability of scanning a wireless communication device; in addition, compared to continuous scanning, the power consumption of the first wireless communication module can be reduced, thereby also reducing the power consumption of the first camera device; and, in determining the current latest first scanning result, the first wireless communication module can be used to scan the surrounding wireless communication devices. Only when a newly connected wireless communication device is included, it is determined whether the newly connected wireless communication device is within the visible range of the first camera device, thereby reducing the calculation amount and power consumption of the first camera device; and the first camera device can determine the first camera data corresponding to the target wireless communication device from the camera data collected by the first camera device for sharing, so as to improve the rationality of data sharing and protect the privacy of other users; and all camera data collected by the first camera device can be shared with the target wireless communication device, and the first camera device does not need to screen the camera data, thereby reducing the calculation amount and power consumption of the first camera device; and different sharing strategies can be used to determine the first camera data corresponding to the target wireless communication device, thereby improving the flexibility of the method and expanding the applicable scenarios of the method.
[0212] See also Figure 8 , Figure 8 This is a flowchart of another data sharing method disclosed in the embodiment of the present application. Optionally, the method can be applied to the first camera device mentioned above, or other execution entities. The embodiment of the present application is introduced by taking the first camera device as an example, which should not be limited to the embodiment of the present application. Optionally, the method can include the following steps:
[0213] 802. Determine whether a target wireless communication device exists within a first physical space range, where the first physical space range is determined based on a visible range of a first camera device and a scanning range of a first wireless communication module. The visible range is a first space range that can be captured by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module.
[0214] 804. Identify a target person within a visible range from the image captured by the first camera device.
[0215] In the embodiment of the present application, the first camera device can use a person recognition algorithm to identify the target person in the visible range through the captured image. Optionally, the person recognition algorithm is a recognition algorithm that can recognize a human shape and / or a human face, which is not limited here.
[0216] Optionally, the target person may refer to any person identified within the visible range of the first camera device, which is not limited here.
[0217] 806. If the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0218] In the embodiment of the present application, when the first camera device recognizes the target person, it can further determine whether the distance between the target person and the target wireless communication device is less than or equal to a distance threshold, wherein the distance threshold can be set by the developer based on a large amount of development experience, or by the user based on actual usage requirements, and is not limited here. In one embodiment, the distance threshold can be 0 meters, 0.1 meters, etc., that is, the target person and the target wireless communication device are at the same position.
[0219] Optionally, the first camera device may determine the depth information of the target person in the image, and then determine the position information of the target person according to the depth information; and then determine whether the distance between the target person and the target wireless communication device is less than or equal to the distance threshold according to the position information of the target person and the position information of the target wireless communication device. The acquisition of the position information of the target wireless communication device has been introduced above and will not be repeated here.
[0220] Furthermore, if the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, it means that the target wireless communication device is held by the user. Sending the video data to the target wireless communication device held by the user can avoid the risk of an unmanned and hidden wireless communication device being deliberately placed within the visible range of the first camera device by an illegal user, and then using the video data sharing mechanism of the first camera device to maliciously obtain the video data.
[0221] In addition, by sending the video data to a target wireless communication device held by a user, it is possible to clearly know which users the video data has been shared with, thereby facilitating tracking of the whereabouts of the video data and protecting the security of the video data.
[0222] In one embodiment, the first camera device may also obtain first person information of the target person, and obtain second person information provided by the target wireless communication device. Optionally, the person information may include: the name, gender, account information or face information of the target person, etc. The method for obtaining the person information has been introduced above and will not be repeated here.
[0223] Optionally, the first camera device may obtain the second person information provided by the target wireless communication device through the first wireless communication module, and the second person information may be the person information authorized by the first camera device.
[0224] Furthermore, the first camera device can determine whether the first person information of the target person matches the second person information provided by the target wireless communication device; if the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, and the first person information of the target person matches the second person information provided by the target wireless communication device, the first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0225] Optionally, the situation where the first character information and the second character information match may include: the first character information and the second character information correspond to the same character; or the character corresponding to the first character information and the character corresponding to the second character information have a relationship, such as: a relative relationship, a partnership, etc., which is not limited here.
[0226] By implementing the above method, the first camera device can further determine that the target person is a person authorized by the target wireless communication device before sharing the camera data with the target wireless communication device, thereby further improving the security of sharing the camera data.
[0227] Optionally, when the target wireless communication device leaves the scanning range of the first wireless communication module, or when the target person leaves the visible range of the first camera device, sending the first camera data to the target wireless communication device may be stopped.
[0228] By implementing the above method, when the target person leaves the visual range of the first camera device, the first camera data is stopped from being sent to the target wireless communication device, thereby preventing other illegal users from maliciously obtaining the camera data by approaching the target wireless communication, thereby improving the security of sharing the camera data.
[0229] In an optional embodiment, after determining that the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, the first camera device may continuously monitor whether the target wireless communication device and the target person are within the first physical space;
[0230] Optionally, if either the target wireless communication device or the target person is not within the first physical space, it means that the target wireless communication device is not near the target person and may be lost. In this case, the first camera device can output a reminder message, which is used to remind the target wireless communication device that it is in a lost state.
[0231] Optionally, the reminder message may include: the camera data of the target wireless communication device's last appearance within the first physical space and the first time point of its last appearance; or, the camera data of the target person's last appearance within the first physical space and the second time point of its last appearance, thereby facilitating subsequent searches for the lost target wireless communication device based on the reminder message, thereby improving the intelligence of the method and thereby improving the user experience.
[0232] Optionally, the first camera device may output the reminder message in the form of text message, voice message, etc., which is not limited here.
[0233] By implementing the above method, the first camera device can assist the user in monitoring whether the target wireless communication device is lost, and can output a reminder message to remind the user that the target wireless communication device is lost, thereby facilitating the user to find the lost target wireless communication device as quickly as possible, thereby improving the intelligence level of the method and further improving the user's usage experience.
[0234] Please refer again Figure 5 ,like Figure 5 As shown, the scanning range corresponding to the first wireless communication module may be larger than the visible range of the first camera device, so when the first wireless communication module scans a wireless communication device, the scanned wireless communication device is not necessarily within the visible range of the first camera device.
[0235] Optionally, when the first camera device scans a wireless communication device through the first wireless communication module, the first camera device can be controlled to rotate toward the scanned wireless communication device until the scanned wireless communication device is within the visible range of the first camera device, thereby facilitating the collection of camera data of the scanned wireless communication device.
[0236] By implementing the above method, when the first camera device scans a wireless communication device, it can actively rotate toward the scanned wireless communication device, so that the scanned wireless communication device is within the visual range of the first camera device, thereby facilitating the collection of camera data of the scanned wireless communication device and facilitating the first camera device to send corresponding camera data to it, thereby improving the efficiency of data sharing and the intelligence level of the first camera device.
[0237] By implementing the methods disclosed in the above-mentioned embodiments, there is no need for the user to manually perform data transmission operations, which simplifies the data sharing process of the first camera device and thereby improves the data sharing efficiency of the first camera device; and, if the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, it means that the target wireless communication device is held by the user, and the camera data is sent to the target wireless communication device held by the user, which can avoid the risk of currently unmanned and concealed wireless communication devices being deliberately placed within the visible range of the first camera device by unscrupulous users, and then using the camera data sharing mechanism of the first camera device to maliciously obtain the camera data; and, only when it can be further determined that the target person is a person authorized by the target wireless communication device, the camera data is shared with the target wireless communication device, thereby further improving the security of sharing the camera data; and, when the target person leaves the visible range of the first camera device , stop sending the first camera data to the target wireless communication device, so as to prevent other illegal users from maliciously obtaining the camera data by approaching the target wireless communication, thereby improving the security of sharing the camera data; and, it can assist the user in monitoring whether the target wireless communication device is lost, and can output a reminder message to remind the target wireless communication device that it is lost, so that the user can find the lost target wireless communication device as soon as possible, thereby improving the intelligence of the method and thus improving the user's experience; and, when the first camera device scans the wireless communication device, it can actively rotate toward the scanned wireless communication device so that the scanned wireless communication device is within the visible range of the first camera device, thereby facilitating the collection of the camera data of the scanned wireless communication device and facilitating the first camera device to send the corresponding camera data to it, thereby improving the efficiency of data sharing and the intelligence of the first camera device.
[0238] See also Fig. 9 , Fig. 9 1 is a flowchart of another data sharing method disclosed in an embodiment of the present application. Optionally, the method can be applied to the first camera device mentioned above, or other execution entities. The embodiment of the present application is introduced by taking the first camera device as an example, which should not be limited to the embodiment of the present application. Optionally, the method can include the following steps:
[0239] 902. Determine that a target wireless communication device exists within a first physical space, and send first camera data corresponding to the target wireless communication device to the target wireless communication device.
[0240] 904. If a second camera device is scanned within the first physical space range corresponding to the first camera device, a second physical space range corresponding to the second camera device is obtained.
[0241] See also Fig.10 , Fig.10 Schematic diagram of the position of a second camera device disclosed in an embodiment of the present application. Optionally, the first camera device 200 corresponds to a first physical space range 530; the second camera device 900 corresponds to a second physical space range 910. When the first camera device scans the second camera device 900 within the corresponding first physical space range 530, the second physical space range 910 corresponding to the second camera device 900 can be obtained.
[0242] 906. If the target wireless communication device is detected and moves from the first physical space range to the second physical space range, the second characteristic information of the target wireless communication device is sent to the second camera device, so that the second camera device sends the second camera data corresponding to the target wireless communication device to the target wireless communication device based on the second characteristic information.
[0243] Please refer again Fig.10 At this time, the target wireless communication device 300 is within the first physical space range 530, and the first camera device can identify the target wireless communication device 300 and send corresponding camera data to it. However, the second camera device 900 cannot identify the target wireless communication device 300, and cannot send corresponding camera data to the target wireless communication device 300.
[0244] It is understandable that if the target wireless communication device 300 moves to the second physical space range 910, the second camera device 900 can also share the camera data with the target wireless communication device 300, but the second camera device 900 still needs to identify the target wireless communication device 300, obtain the characteristic message of the target wireless communication device 300, etc., which makes the operation cumbersome and reduces the efficiency of sharing the camera data.
[0245] Optionally, when the first camera device 200 detects the target wireless communication device 300 and moves it from the first physical space range 530 to the second physical space range 910, the second characteristic information (for example, wireless network address, device number, location information, etc., not limited here) of the target wireless communication device 300 can be sent to the second camera device 900, so that the second camera device 900 can send the second camera data corresponding to the target wireless communication device 300 to the target wireless communication device 300 based on the second characteristic information, thereby saving the process of the second camera device 900 identifying and obtaining the characteristic message of the target wireless communication device 300, thereby improving the sharing efficiency of the camera data.
[0246] In one embodiment, the second camera device is rotatable within a second shooting angle range; the second feature information may include location information of the target wireless communication device;
[0247] Furthermore, the second camera device may rotate toward the location of the target wireless communication device according to the location information of the target wireless communication device.
[0248] It is understandable that, since the second camera device can rotate, even if the target wireless communication device is in the second physical space, the target wireless communication device may not be photographed because the second camera device has moved to another place. In this regard, the second camera device can rotate to the position of the target wireless communication device according to the position information of the target wireless communication device sent in advance by the first camera device, so that the second camera device can quickly photograph the target wireless communication device, thereby improving the flexibility of the method and the efficiency of sharing camera data.
[0249] By implementing the methods disclosed in the above-mentioned embodiments, there is no need for the user to manually perform data transmission operations, which simplifies the data sharing process of the first camera device and thereby improves the data sharing efficiency of the first camera device; and, the first camera device can send the second characteristic information of the target wireless communication device to the second camera device in advance, so that the second camera device can send the second camera data corresponding to the target wireless communication device to the target wireless communication device based on the second characteristic information, thereby saving the process of the second camera device identifying and obtaining the characteristic message of the target wireless communication device, and improving the sharing efficiency of the camera data; and, the second camera device can rotate to the position of the target wireless communication device based on the position information of the target wireless communication device sent in advance by the first camera device, so that the second camera device can quickly capture the target wireless communication device, thereby improving the flexibility of the method and the efficiency of sharing the camera data.
[0250] See also Fig.11 , Fig.11 1 is a schematic diagram of a data sharing device disclosed in an embodiment of the present application. Optionally, the device can be applied to the first camera device mentioned above, or other execution entities. The first camera device is used as an example to introduce the embodiment of the present application, which should not be limited to the embodiment of the present application. Optionally, the device may include a first determining unit 1102 and a first sending unit 1104, wherein:
[0251] A first determining unit 1102 is used to determine whether a target wireless communication device exists within a first physical space range, where the first physical space range is determined based on a visible range of a first camera device and a scanning range of a first wireless communication module, where the visible range is a first space range that can be photographed by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module;
[0252] The first sending unit 1104 is configured to send first camera data corresponding to the target wireless communication device to the target wireless communication device.
[0253] By implementing the above-mentioned device, the first camera device can detect the target wireless communication device within the first physical space range corresponding to it, and then send the first camera data corresponding to the target wireless communication device to the target wireless communication device, thereby eliminating the need for the user to manually perform data transmission operations, simplifying the data sharing process of the first camera device, and thereby improving the data sharing efficiency of the first camera device. In addition, the first physical space range is determined based on the visible range of the first camera device and the scanning range of the first wireless communication module, so the target wireless communication device within the first physical space range is a wireless communication device near the first camera device, and the camera data captured by the first camera device can collect camera data related to the target wireless communication device, and then can send its corresponding camera data to the target wireless communication device, thereby improving the rationality of data sharing.
[0254] As an optional embodiment, the first determination unit 1102 is also used to scan the wireless communication devices within the scanning range of the first wireless communication module through the first wireless communication module to obtain a first scanning result; and, among the wireless communication devices corresponding to the first scanning result, the wireless communication devices within the visible range of the first camera device are determined as target wireless communication devices within the first physical space.
[0255] By implementing the above device, the target wireless communication device within the first physical space range can be determined in the first scanning result of the first wireless communication module, thereby improving the efficiency of determining the target wireless communication device.
[0256] As an optional embodiment, the first determination unit 1102 is also used to, among the wireless communication devices corresponding to the first scanning result, include newly connected wireless communication devices that were not scanned in the previous scanning result, determine the wireless communication devices within the visible range of the first camera device as target wireless communication devices within the first physical space.
[0257] By implementing the above device, the first camera device determines whether the newly connected wireless communication device is within the visual range of the first camera device only when it determines that the latest first scanning result includes the newly connected wireless communication device, thereby reducing the calculation amount and power consumption of the first camera device.
[0258] As an optional embodiment, the first determination unit 1102 is further configured to, when a target object is detected within a visible range of the first camera device, scan the wireless communication device within the scanning range of the first wireless communication module through the first wireless communication module, where the target object is an object associated with the wireless communication device; or,
[0259] The first wireless communication module is used to scan wireless communication devices within a scanning range of the first wireless communication module at intervals of a first time length.
[0260] By implementing the above-mentioned device, the first wireless communication module can be controlled to scan intermittently, or when the probability of the first wireless communication module scanning a wireless communication device is high, the first wireless communication module can be started to scan the surrounding wireless communication devices, thereby increasing the probability of scanning a wireless communication device; in addition, compared with continuous scanning, the power consumption of the first wireless communication module can be reduced, thereby also reducing the power consumption of the first camera device.
[0261] As an optional embodiment, Fig.11 The device shown may further include a second determining unit not shown in the figure, wherein:
[0262] The second determination unit is used to obtain the visible range of the first camera device before determining that the target wireless communication device exists within the first physical space range; obtain the scanning range of the first wireless communication module; determine the target intersection range of the visible range and the scanning range, and determine the first physical space range according to the target intersection range, wherein the first physical space range is within the target intersection range and the first physical space range is less than or equal to the target intersection range.
[0263] The implementation of the above device improves the accuracy of determining the first physical space range.
[0264] As an optional embodiment, the second determination unit is also used to capture the target image through the first camera device; determine the depth information of each pixel point contained in the target image relative to the first camera device; and determine the visible range of the first camera device based on the depth information corresponding to each pixel point.
[0265] By implementing the above-mentioned device, the visible range of the first camera device can be determined based on the target image captured by the first camera device in combination with image analysis methods such as depth estimation. The data collection required by this method is simple and the calculation method is not complicated, thereby reducing the implementation cost and difficulty of the method.
[0266] As an optional embodiment, the second determination unit is further used to control the first camera device to rotate within a first shooting angle range, and to capture target images at different rotation angles to obtain multiple target images.
[0267] By implementing the above-mentioned device, for a first camera device with a rotatable lens, the first camera device can be controlled to capture target images at different rotation angles to obtain multiple target images, and the visible range of the rotatable first camera device can be determined by a similar method to that described above, thereby improving the compatibility and usage scenarios of the method.
[0268] As an optional embodiment, Fig.11 The device shown may also include an adjustment unit not shown, wherein:
[0269] an adjustment unit, configured to adjust the target intersection range in response to an adjustment operation on the first physical space range before determining that the target wireless communication device exists within the first physical space range, so as to obtain an adjusted first physical space range, wherein the target intersection range is an intersection of a visible range of the first camera device and a scanning range of the first wireless communication module;
[0270] And, the first determining unit 1102 is further used to determine whether a target wireless communication device exists within the adjusted first physical space range.
[0271] By implementing the above-mentioned device, the first camera device can flexibly adjust the first physical space range in response to the adjustment operation on the first physical space range, so that the adjusted first physical space range adapts to different usage requirements, thereby improving the flexibility and controllability of the method and making the method compatible with more usage scenarios.
[0272] As an optional embodiment, the first sending unit 1104 is further used to determine the first camera data corresponding to the target wireless communication device from the camera data collected by the first camera device before sending the first camera data corresponding to the target wireless communication device to the target wireless communication device.
[0273] By implementing the above device, the first camera data corresponding to the target wireless communication device can be determined from the camera data collected by the first camera device for sharing, so as to improve the rationality of data sharing and protect the privacy of other users.
[0274] As an optional embodiment, the first sending unit 1104 is also used to determine all the video data collected by the first camera device as the first video data corresponding to the target wireless communication device; or, to determine part of the video data collected by the first camera device as the first video data corresponding to the target wireless communication device; or, to determine the video data containing a person in the video data collected by the first camera device as the first video data corresponding to the target wireless communication device.
[0275] By implementing the above device, all camera data collected by the first camera device can be shared with the target wireless communication device, and the first camera device does not need to filter the camera data, thereby reducing the calculation amount and power consumption of the first camera device.
[0276] As an optional embodiment, part of the video data corresponding to the first camera device is determined based on the first characteristic information of the target wireless communication device, and / or the recognition result of the first camera device; wherein the first characteristic information of the target wireless communication device includes at least one of the following: target identity information of the target wireless communication device, target frequency, time point and duration of appearance of the target wireless communication device within the visible range of the first camera device; the recognition result of the first camera device includes: scene information recognized by the first camera device, and / or person information recognized by the first camera device.
[0277] By implementing the above device, when it is determined that the current scene is a public scene, only the camera data of the target wireless communication device during the period when it appears in the public scene can be shared with the target wireless communication device, which improves the rationality of data sharing and can also protect the privacy of other users in the public scene as much as possible.
[0278] As an optional embodiment, the first sending unit 1104 is further configured to send first camera data corresponding to the target wireless communication device to the target wireless communication device while the target wireless communication device is within the scanning range of the first wireless communication module.
[0279] By implementing the above device, the first camera device can directly send the first camera data to the target wireless communication device through the first wireless communication module, thereby realizing short-distance and fast data transmission and improving the efficiency of data transmission.
[0280] As an optional embodiment, Fig.11 The device shown may also include a marking unit (not shown), wherein:
[0281] a marking unit, configured to mark the target identity information of the target wireless communication device and the first camera data corresponding to the target wireless communication device before sending the first camera data corresponding to the target wireless communication device to the target wireless communication device;
[0282] And, the first sending unit 1104 is further configured to send the first camera data to the target wireless communication device according to the target identity information.
[0283] By implementing the above-mentioned device, the first camera device can mark the target identity information of the target wireless communication device and the first camera data corresponding to the target wireless communication device, so that when the target wireless communication device needs to obtain the first camera data later, the corresponding first camera data can be accurately sent to the target wireless communication device according to the target identity information, thereby improving the accuracy of camera data sharing.
[0284] As an optional embodiment, the first sending unit 1104 is also used to identify a target person within the visible range from the image taken by the first camera device; if the distance between the target person and the target wireless communication device is less than or equal to a distance threshold, the first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
[0285] When the above device is implemented, if the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, it means that the target wireless communication device is held by the user, and the camera data is sent to the target wireless communication device held by the user. This can avoid the risk of an unmanned and concealed wireless communication device being deliberately placed within the visible range of the first camera device by an unlawful user, and then the camera data sharing mechanism of the first camera device is used to maliciously obtain the camera data.
[0286] As an optional embodiment, the first sending unit 1104 is also used to send the first camera data corresponding to the target wireless communication device to the target wireless communication device when the distance between the target person and the target wireless communication device is less than or equal to a distance threshold and the first person information of the target person matches the second person information provided by the target wireless communication device.
[0287] By implementing the above device, the first camera device can further determine that the target person is a person authorized by the target wireless communication device before sharing the camera data with the target wireless communication device, thereby further improving the security of sharing the camera data.
[0288] As an optional embodiment, Fig.11 The device shown may also include a stopping unit (not shown), wherein:
[0289] The stopping unit is used to stop sending the first camera data corresponding to the target wireless communication device to the target wireless communication device when the target wireless communication device leaves the scanning range of the first wireless communication module or when the target person leaves the visible range of the first camera device.
[0290] By implementing the above device, when the target person leaves the visual range of the first camera device, the first camera data is stopped from being sent to the target wireless communication device, thereby preventing other illegal users from maliciously obtaining the camera data by approaching the target wireless communication, thereby improving the security of sharing the camera data.
[0291] As an optional embodiment, Fig.11 The device shown may also include a reminder unit not shown, wherein:
[0292] A reminder unit is used to output a reminder message after determining that the distance between the target person and the target wireless communication device is less than or equal to a distance threshold, if the target wireless communication device is within the first physical space corresponding to the first camera device, but the target person is not within the first physical space. The reminder message is used to remind the target wireless communication device that it is in a lost state.
[0293] By implementing the above-mentioned device, the first camera device can assist the user in monitoring whether the target wireless communication device is lost, and can output a reminder message to remind the user that the target wireless communication device is lost, thereby facilitating the user to find the lost target wireless communication device as quickly as possible, thereby improving the intelligence level of the method and further improving the user's usage experience.
[0294] As an optional embodiment, Fig.11 The device shown may also include a control unit (not shown), wherein:
[0295] A control unit is used to control the first camera device to rotate toward the scanned wireless communication device when the wireless communication device is scanned by the first wireless communication module before identifying a target person existing in the visible range in the image taken by the first camera device, until the scanned wireless communication device is within the visible range of the first camera device.
[0296] By implementing the above-mentioned device, when the first camera device scans a wireless communication device, it can actively rotate towards the scanned wireless communication device, so that the scanned wireless communication device is within the visual range of the first camera device, thereby facilitating the collection of camera data of the scanned wireless communication device and facilitating the first camera device to send corresponding camera data to it, thereby improving the efficiency of data sharing and the intelligence level of the first camera device.
[0297] As an optional embodiment, Fig.11 The device shown may further include a third sending unit not shown in the figure, wherein:
[0298] The third sending unit is used to obtain the second physical space range corresponding to the second camera device when the second camera device is scanned within the first physical space range corresponding to the first camera device; if the target wireless communication device is detected and moves from the first physical space range to the second physical space range, the second characteristic information of the target wireless communication device is sent to the second camera device, so that the second camera device sends the second camera data corresponding to the target wireless communication device to the target wireless communication device according to the second characteristic information.
[0299] By implementing the above-mentioned device, the first camera device can send the second characteristic information of the target wireless communication device to the second camera device in advance, so that the second camera device can send the second camera data corresponding to the target wireless communication device to the target wireless communication device based on the second characteristic information, thereby saving the process of the second camera device identifying and obtaining the characteristic message of the target wireless communication device, thereby improving the sharing efficiency of camera data.
[0300] As an optional embodiment, the second camera device is rotatable within a second shooting angle range; the second feature information includes location information of the target wireless communication device, so that the second camera device rotates to the location of the target wireless communication device according to the location information.
[0301] By implementing the above-mentioned device, the second camera device can rotate toward the position of the target wireless communication device according to the position information of the target wireless communication device sent in advance by the first camera device, so that the second camera device can quickly photograph the target wireless communication device, thereby improving the flexibility of the method and the efficiency of sharing camera data.
[0302] See also Fig.12 , Fig.12 Schematic diagram of the structure of an electronic device disclosed in the embodiment of the present application. Fig.12 As shown, the electronic device may include:
[0303] A memory 1201 storing executable program codes;
[0304] A processor 1202 coupled to the memory 1201;
[0305] The processor 1202 calls the executable program code stored in the memory 1201 to execute the data sharing method disclosed in the above embodiments.
[0306] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the data sharing method disclosed in the above embodiments.
[0307] The embodiments of the present application also disclose an application publishing platform, wherein the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes part or all of the steps of the method in the above method embodiments.
[0308] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0309] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0310] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0311] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0312] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0313] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0314] The data sharing method and device, electronic device, and storage medium disclosed in the embodiments of the present application are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A data sharing method, characterized in that: Applied to a first camera device, the first camera device includes a first wireless communication module, and the method includes: Determine that there is a target wireless communication device within a first physical space range, where the first physical space range is determined based on a visible range of the first camera device and a scanning range of the first wireless communication module, where the visible range is a first space range that can be photographed by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module; The first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
2. The method according to claim 1, characterized in that: The determining that there is a target wireless communication device within the first physical space range includes: Scanning, by the first wireless communication module, wireless communication devices within a scanning range of the first wireless communication module to obtain a first scanning result; Among the wireless communication devices corresponding to the first scanning result, the wireless communication devices within the visible range of the first camera device are determined as target wireless communication devices within the first physical space range.
3. The method according to claim 2, characterized in that The step of determining, among the wireless communication devices corresponding to the first scanning result, the wireless communication devices within the visible range of the first camera device as target wireless communication devices within the first physical space range, includes: If the wireless communication devices corresponding to the first scanning result include newly connected wireless communication devices that were not scanned in the previous scanning result, the wireless communication devices within the visible range of the first camera device among the newly connected wireless communication devices are determined as target wireless communication devices within the first physical space.
4. The method according to claim 2 or 3, characterized in that: Scanning the wireless communication devices within the scanning range of the first wireless communication module by the first wireless communication module includes: If a target object is detected within the visible range of the first camera device, the first wireless communication module is used to scan wireless communication devices within the scanning range of the first wireless communication module, wherein the target object is an object associated with the wireless communication device; or The first wireless communication module is used to scan wireless communication devices within a scanning range of the first wireless communication module at intervals of a first time length.
5. The method according to claim 1, characterized in that Before determining that there is a target wireless communication device within the first physical space, the method further includes: Acquire the visual range of the first camera device; Acquire a scanning range of the first wireless communication module; Determine a target intersection range of the visible range and the scanning range, and determine a first physical space range according to the target intersection range, wherein the first physical space range is within the target intersection range, and the first physical space range is less than or equal to the target intersection range.
6. The method according to claim 5, characterized in that The obtaining the visible range of the first camera device includes: Acquire a target image by using the first camera device; Determine depth information of each pixel point included in the target image relative to the first camera device; The visible range of the first camera device is determined according to the depth information corresponding to each pixel point.
7. The method according to claim 6, characterized in that The first camera device is rotatable within a first shooting angle range; and collecting a target image by using the first camera device includes: The first camera device is controlled to rotate within a first shooting angle range, and target images are captured at different rotation angles to obtain multiple target images.
8. The method according to claim 1, characterized in that Before determining that there is a target wireless communication device within the first physical space, the method further includes: In response to the adjustment operation on the first physical space range, adjusting the target intersection range to obtain an adjusted first physical space range, wherein the target intersection range is the intersection of the visible range of the first camera device and the scanning range of the first wireless communication module; And, determining that there is a target wireless communication device within the first physical space includes: It is determined that a target wireless communication device exists within the adjusted first physical space range.
9. The method according to claim 1, characterized in that: Before sending the first camera data corresponding to the target wireless communication device to the target wireless communication device, the method further includes: The first imaging data corresponding to the target wireless communication device is determined from the imaging data collected by the first imaging device.
10. The method according to claim 9, characterized in that Determining the first camera data corresponding to the target wireless communication device from the camera data collected by the first camera device includes: Determine the camera data collected by the first camera device as the first camera data corresponding to the target wireless communication device; or, Determine part of the image data collected by the first image pickup device as first image data corresponding to the target wireless communication device; or, The camera data including the camera data of the person among the camera data collected by the first camera device is determined as the first camera data corresponding to the target wireless communication device.
11. The method according to claim 10, characterized in that Part of the camera data corresponding to the first camera device is determined based on the first feature information of the target wireless communication device and / or the recognition result of the first camera device; The first characteristic information of the target wireless communication device includes at least one of the following: target identity information of the target wireless communication device, target frequency, time point and duration of appearance of the target wireless communication device within the visible range of the first camera device; The recognition result of the first camera device includes: scene information recognized by the first camera device, and / or person information recognized by the first camera device.
12. The method according to claim 1, characterized in that The step of sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes: While the target wireless communication device is within the scanning range of the first wireless communication module, first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
13. The method according to claim 1, characterized in that Before sending the first camera data corresponding to the target wireless communication device to the target wireless communication device, the method further includes: Marking the target identity information of the target wireless communication device and the first camera data corresponding to the target wireless communication device; And, sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes: The first camera data is sent to the target wireless communication device according to the target identity information.
14. The method according to claim 1, characterized in that The step of sending the first camera data corresponding to the target wireless communication device to the target wireless communication device includes: Identifying a target person within the visible range from the image captured by the first camera device; If the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, the first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
15. The method according to claim 14, characterized in that If the distance between the target person and the target wireless communication device is less than or equal to a distance threshold, sending first camera data corresponding to the target wireless communication device to the target wireless communication device includes: If the distance between the target person and the target wireless communication device is less than or equal to the distance threshold, and the first person information of the target person matches the second person information provided by the target wireless communication device, the first camera data corresponding to the target wireless communication device is sent to the target wireless communication device.
16. The method according to claim 14 or 15, characterized in that After sending the first camera data corresponding to the target wireless communication device to the target wireless communication device, the method further includes: When the target wireless communication device leaves the scanning range of the first wireless communication module, or when the target person leaves the visible range of the first camera device, the first camera data is stopped from being sent to the target wireless communication device.
17. The method according to claim 14 or 15, characterized in that The method further comprises: After determining that the distance between the target person and the target wireless communication device is less than or equal to a distance threshold, if the target wireless communication device is within the first physical space range corresponding to the first camera device, but the target person is not within the first physical space range, a reminder message is output, and the reminder message is used to remind the target wireless communication device that it is in a lost state.
18. The method according to claim 14 or 15, characterized in that Before identifying the target person in the visible range from the image captured by the first camera device, the method further includes: When a wireless communication device is scanned by the first wireless communication module, the first camera device is controlled to rotate toward the scanned wireless communication device until the scanned wireless communication device is within the visible range of the first camera device.
19. The method according to claim 1, characterized in that The method further comprises: If a second camera device is scanned within the first physical space range corresponding to the first camera device, a second physical space range corresponding to the second camera device is obtained; If the target wireless communication device is detected to move from the first physical space range to the second physical space range, the second characteristic information of the target wireless communication device is sent to the second camera device, so that the second camera device sends the second camera data corresponding to the target wireless communication device to the target wireless communication device based on the second characteristic information.
20. The method according to claim 19, characterized in that The second camera device is rotatable within a second shooting angle range; the second feature information includes position information of the target wireless communication device, so that the second camera device rotates toward the position of the target wireless communication device according to the position information.
21. A data sharing device, characterized in that: Applied to a first camera device, the first camera device includes a first wireless communication module, and the apparatus includes: A first determining unit, configured to determine that a target wireless communication device exists within a first physical space range, wherein the first physical space range is determined according to a visible range of the first camera device and a scanning range of the first wireless communication module, wherein the visible range is a first space range that can be photographed by the first camera device, and the scanning range is a second space range that can be scanned by the first wireless communication module; The first sending unit is used to send first camera data corresponding to the target wireless communication device to the target wireless communication device.
22. An electronic device, characterized in that: It comprises a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 20.
23. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 20 is implemented.