Device configuration method, electronic apparatus and computer-readable storage medium
A device configuration method, an electronic apparatus, and a computer-readable storage medium are disclosed. The method is applied to a server side, and includes: acquiring identification information of a first device, and sending a content acquisition request to the first device; acquiring a content acquisition response sent by the first device, and the content acquisition response includes a first content acquired by the first device; determining whether the first content satisfies a privacy protection rule; and in response to the first content dissatisfying the privacy protection rule, performing device configuration on the first device.
1 . A device configuration method, applied to a server side, and comprising:
acquiring identification information of a first device, and sending a content acquisition request to the first device;
acquiring a content acquisition response sent by the first device, wherein the content acquisition response comprises a first content acquired by the first device; and
judging whether the first content meets a privacy protection rule, and performing device configuration on the first device in response to the first content not meeting the privacy protection rule;
the performing device configuration on the first device comprises:
configuring at least one first function of the first device to make the first content acquired by the first device configured meet the privacy protection rule;
wherein the configuring at least one first function of the first device comprises: configuring a function parameter of the at least one first function;
the at least one first function comprises a first image shoot function; and
the configuring at least one first function of the first device comprises: configuring the first image shoot function;
the first device comprises an image acquiring module, the image acquiring module is configured to implement the first image shoot function; and the first content comprises static image information and/or dynamic image information acquired by the image acquiring module;
the privacy protection rule comprises that: the static image information and/or the dynamic image information does not comprise a privacy concern object, and/or clarity of a portion of the static image information and/or the dynamic image information that comprises the privacy concern object is less than a clarity threshold;
the function parameter of the first image shoot function comprises a shooting distance corresponding to the image acquiring module,
the configuring the first image shoot function, comprises:
adjusting the shooting distance corresponding to the image acquiring module, the shooting distance represents a distance range from an object that can be clearly photographed by the image acquisition module to the image acquisition module, to make a clarity of an image within a predetermined range comprising the privacy concern object less than the clarity threshold or make a content shot by the image acquiring module exclude the privacy concern object.
2 . The device configuration method according to claim 1 , wherein before performing device configuration on the first device, the device configuration method further comprises:
sending a configuration adjustment confirmation request to a first terminal associated with the first device; and
performing device configuration on the first device in response to receiving the configuration adjustment confirmation response sent from the first terminal.
3 . The device configuration method according to claim 1 , wherein
the configuring the first image shoot function, further comprises:
adjusting time for the image acquiring module of the first device to capture the object, so as to limit the first image shoot function in terms of usage time.
4 . The device configuration method according to claim 1 , wherein the at least one first function comprises a first image shoot function, a first object sensing function, and a first snapping function, and the first snapping function is implemented based on the first object sensing function triggering the first image shoot function,
the configuring at least one first function of the first device, comprises: configuring the first snapping function and/or the first object sensing function.
5 . The device configuration method according to claim 4 , wherein
the first device comprises a first inductive sensor for implementing the first object sensing function, the first snapping function comprises a first pedestrian pass-by snapping function, and the first pedestrian pass-by snapping function is implemented based on sensing data of the first inductive sensor triggering the first image shoot function;
the first content comprises static image information and/or dynamic image information acquired by the image acquiring module;
the privacy protection rule comprises that: the static image information and/or the dynamic image information does not comprise a privacy concern object, and/or clarity of a portion of the static image information and/or the dynamic image information that comprises the privacy concern object is less than a clarity threshold;
the configuring the first snapping function and/or the first object sensing function, comprises:
determining a first current sensing distance and a first sensing distance threshold corresponding to the first inductive sensor, wherein the first sensing distance threshold is a distance corresponding to a minimum sensing range of the first inductive sensor when sensing an object;
determining an object distance between the first device and the privacy concern object;
deactivating the first pedestrian pass-by snapping function, in response to a product of the object distance and a preset parameter being less than or equal to the first sensing distance threshold;
in response to the product of the object distance and the preset parameter being greater than the first sensing distance threshold and less than or equal to the first current sensing distance, adjusting the first current sensing distance so that the first current sensing distance adjusted is less than the object distance.
6 . The device configuration method according to claim 4 , wherein the first device comprises a first inductive sensor and a second inductive sensor for implementing the first object sensing function,
the first snapping function comprises a first pedestrian pass-by snapping function and a first hover snapping function,
the first pedestrian pass-by snapping function is implemented based on sensing data of the first inductive sensor triggering the first image shoot function, the first hover snapping function is implemented based on sensing data of the second inductive sensor triggering the first image shoot function;
the first content comprises static image information and/or dynamic image information acquired by the image acquiring module;
the privacy protection rule comprises that: the static image information and/or the dynamic image information does not comprise a privacy concern object, and/or clarity of a portion of the static image information and/or the dynamic image information that comprises the privacy concern object is less than a clarity threshold;
the configuring the first snapping function and/or the first object sensing function, comprises:
determining a first current sensing distance and a first sensing distance threshold corresponding to the first inductive sensor, and determining a second current sensing distance corresponding to the second inductive sensor, wherein the first sensing distance threshold is a distance corresponding to a minimum sensing range of the first inductive sensor when sensing an object, the second current sensing distance is less than the first current sensing distance;
determining an object distance between the first device and the privacy concern object;
in response to a product of the object distance and a preset parameter being greater than the first sensing distance threshold, adjusting the first current sensing distance to make the first current sensing distance adjusted less than the product of the object distance and the preset parameter;
deactivating the first pedestrian pass-by snapping function in response to the product of the object distance and the preset parameter being less than or equal to the first sensing distance threshold and greater than the second current sensing distance;
in response to the product of the object distance and the preset parameter being less than or equal to the first sensing distance threshold and less than or equal to the second current sensing distance:
determining a second sensing distance threshold corresponding to the second inductive sensor, wherein the second sensing distance threshold is a distance corresponding to a minimum sensing range of the second inductive sensor when sensing an object;
in response to the product of the object distance and the preset parameter being greater than the second sensing distance threshold, and adjusting the second current sensing distance so that the second current sensing distance adjusted is less than the product of the object distance and the preset parameter, and deactivating the first pedestrian pass-by snapping function; and
deactivating the first pedestrian pass-by snapping function and the first hover snapping function, in response to the product of the object distance and the preset parameter being less than or equal to the second sensing distance threshold.
7 . The device configuration method according to claim 4 , wherein
the server side has a second device corresponding thereto;
the device configuration method further comprises:
performing device configuration on the second device, in response to the first content not meeting the privacy protection rule;
wherein the first device comprises a first inductive sensor for implementing the first object sensing function, the first snapping function comprises a first pedestrian pass-by snapping function, and the first pedestrian pass-by snapping function is implemented based on sensing data of the first inductive sensor triggering the first image shoot function;
the second device has at least one second function, the at least one second function comprises a second image shoot function and a second object sensing function, the second image shoot function is activated or deactivated according to the second object sensing function, and the second device comprises a third inductive sensor for implementing the second object sensing function;
the first content comprises static image information and/or dynamic image information acquired by the image acquiring module;
the privacy protection rule comprises that: the static image information and/or the dynamic image information does not comprise a privacy concern object, and/or clarity of a portion of the static image information and/or the dynamic image information that comprises the privacy concern object is less than a clarity threshold;
the configuring the first snapping function and/or the first object sensing function, comprises:
determining a first current sensing distance and a first sensing distance threshold corresponding to the first inductive sensor, and a third current sensing distance and a third sensing distance threshold corresponding to the third inductive sensor, wherein the first sensing distance threshold is a distance corresponding to a minimum sensing range of the first inductive sensor when sensing an object, and the third sensing distance threshold is a distance corresponding to a minimum sensing range of the third inductive sensor when sensing an object;
determining a device distance between the first device and the second device;
adjusting the first current sensing distance, in response to a sum of the first sensing distance threshold and the third sensing distance threshold being less than or equal to the device distance, so that no overlapping sensing region exists between the first inductive sensor and the third inductive sensor; and
deactivating the first pedestrian pass-by snapping function, in response to the sum of the first sensing distance threshold and the third sensing distance threshold being greater than the device distance.
8 . The device configuration method according to claim 7 , wherein the at least one second function further comprises a second pedestrian pass-by snapping function,
the performing device configuration on the second device, comprises:
adjusting the third current sensing distance, in response to the sum of the first sensing distance threshold and the third sensing distance threshold being less than or equal to the device distance, so that no overlapping sensing region exists between the first inductive sensor and the third inductive sensor;
deactivating the second pedestrian pass-by snapping function, in response to the sum of the first sensing distance threshold and the third sensing distance threshold being greater than the device distance.
9 . The device configuration method according to claim 1 , wherein a second device different from the first device is also registered to the server side,
before acquiring the identification information of the first device, and sending the content acquisition request to the first device, the device configuration method further comprises: generating trigger information,
wherein the generating trigger information, comprises:
receiving first address information corresponding to the first device and second address information corresponding to the second device; and
generating the trigger information, in response to the first address information and second address information being identical.
10 . The device configuration method according to claim 9 , wherein before acquiring the identification information of the first device, and sending the content acquisition request to the first device, the device configuration method further comprises:
controlling the first device to send a test request, wherein the test request comprises a test signal and signal sending time;
controlling the second device to receive the test request sent by the first device; and
controlling the first device to receive a test response sent by the second device, wherein the test response comprises signal receiving time;
wherein the acquiring a content acquisition response sent by the first device, comprises:
acquiring the test request sent by the first device and the test response sent by the second device; and
determining the first content in the content acquisition response, based on the test request and the test response.
11 . The device configuration method according to claim 1 , wherein before acquiring the identification information of the first device, and sending the content acquisition request to the first device, the device configuration method further comprises: generating trigger information,
wherein the generating trigger information, comprises:
acquiring image information, wherein the image information comprises a video and/or a picture;
analyzing the image information, to determine whether the image information comprises a privacy concern object; and
generating the trigger information, in response to the image information comprising the privacy concern object; or
the generating trigger information, comprises:
receiving audio information and acquisition perspective information; and
generating the trigger information, in response to the audio information comprising sound emitted by the privacy concern object, and the acquisition perspective information indicating that an acquisition perspective of the image acquiring module on the first device has not changed; or
the generating trigger information, comprises:
receiving device location information;
acquiring a scene structure of a location of the first device based on the device location information; and
generating the trigger information, in response to the scene structure indicating that a space corresponding to the first device comprises the privacy concern object;
or
the generating trigger information, comprises:
receiving input information; and
generating the trigger information, in response to the input information indicating that the space corresponding to the first device comprises the privacy concern object.
12 . The device configuration method according to claim 1 , wherein before acquiring the identification information of the first device, and sending the content acquisition request to the first device, the device configuration method further comprises: receiving trigger information sent from the second terminal,
wherein the trigger information comprises the identification information of the first device, and the identification information is acquired by the second terminal.
13 . The device configuration method according to claim 12 , wherein before receiving the trigger information sent from the second terminal, the device configuration method further comprises:
receiving a query request sent from the second terminal; and
querying based on the query request and feeding back a query response to the second terminal,
wherein the query response comprises a function list, all functions in the function list are activated functions, and the trigger information further comprises a function identification code of at least one function in the function list; or,
the query response comprises the first content meeting the privacy protection rule or the first content not meeting the privacy protection rule.
14 . The device configuration method according to claim 13 , wherein the function list comprises at least one of functions below: a video call function, an image snapping function, a first pedestrian pass-by snapping function, and a first hover snapping function,
the acquiring a content acquisition response sent by the first device, comprises:
in a case where a function indicated by the function identification code comprised in the trigger information is the video call function and/or the image snapping function, controlling the first device performing the video call function and/or the image snapping function, to acquire a test video and/or a test picture, wherein the test video and/or the test picture is a video and/or a picture acquired by the first device when performing the video call function and/or the image snapping function; determining the content acquisition response based on the test video and/or the test picture, wherein the first content in the content acquisition response comprises the test video and/or the test picture;
in a case where the function indicated by the function identification code comprised in the trigger information is the first pedestrian pass-by snapping function and/or the first hover snapping function, sending indication information to the second terminal to indicate a target user to pass through the first device following a preset path and controlling the first device perform the first pedestrian pass-by snapping function and/or the first hover snapping function to acquire a test snap content; and determining the content acquisition response, based on the test snap content, wherein the first content in the content acquisition response comprises the test snap content.
15 . A device configuration method, applied to a first device, and comprising:
acquiring a content acquisition request;
generating a content acquisition response, wherein the content acquisition response comprises a first content acquired by the first device;
judging whether the first content meets a privacy protection rule, and performing device configuration on the first device in response to the first content not meeting the privacy protection rule;
the performing device configuration on the first device comprises:
configuring at least one first function of the first device to make the first content acquired by the first device configured meet the privacy protection rule;
wherein the configuring at least one first function of the first device comprises: configuring a function parameter of the at least one first function;
the at least one first function comprises a first image shoot function; and
the configuring at least one first function of the first device comprises: configuring the first image shoot function;
the first device comprises an image acquiring module, the image acquiring module is configured to implement the first image shoot function; and the first content comprises static image information and/or dynamic image information acquired by the image acquiring module;
the privacy protection rule comprises that: the static image information and/or the dynamic image information does not comprise a privacy concern object, and/or clarity of a portion of the static image information and/or the dynamic image information that comprises the privacy concern object is less than a clarity threshold;
the function parameter of the first image shoot function comprises a shooting distance corresponding to the image acquiring module,
the configuring the first image shoot function, comprises:
adjusting the shooting distance corresponding to the image acquiring module, the shooting distance represents a distance range from an object that can be clearly photographed by the image acquisition module to the image acquisition module, to make a clarity of an image within a predetermined range comprising the privacy concern object less than the clarity threshold or make a content shot by the image acquiring module exclude the privacy concern object.
16 . The device configuration method according to claim 15 , wherein
the performing device configuration on the first device, comprises: configuring at least one first function of the first device, so that the first content acquired by the first device configured meets the privacy protection rule;
wherein the configuring at least one first function of the first device comprises: configuring a function parameter of the at least one first function.
17 . An electronic apparatus, comprising:
a memory, configured to non-temporarily store computer-readable instructions; and
a processor, configured to run the computer-readable instructions;
wherein when run by the processor, the computer-readable instructions execute a device configuration method,
wherein the device configuration method is applied to a server side, and comprises:
acquiring identification information of a first device, and sending a content acquisition request to the first device;
acquiring a content acquisition response sent by the first device, wherein the content acquisition response comprises a first content acquired by the first device;
judging whether the first content meets a privacy protection rule, and performing device configuration on the first device in response to the first content not meeting the privacy protection rule;
the performing device configuration on the first device comprises:
configuring at least one first function of the first device to make the first content acquired by the first device configured meet the privacy protection rule;
wherein the configuring at least one first function of the first device comprises: configuring a function parameter of the at least one first function;
the at least one first function comprises a first image shoot function; and
the configuring at least one first function of the first device comprises: configuring the first image shoot function;
the first device comprises an image acquiring module, the image acquiring module is configured to implement the first image shoot function; and the first content comprises static image information and/or dynamic image information acquired by the image acquiring module;
the privacy protection rule comprises that: the static image information and/or the dynamic image information does not comprise a privacy concern object, and/or clarity of a portion of the static image information and/or the dynamic image information that comprises the privacy concern object is less than a clarity threshold;
the function parameter of the first image shoot function comprises a shooting distance corresponding to the image acquiring module,
the configuring the first image shoot function, comprises:
adjusting the shooting distance corresponding to the image acquiring module, the shooting distance represents a distance range from an object that can be clearly photographed by the image acquisition module to the image acquisition module, to make a clarity of an image within a predetermined range comprising the privacy concern object less than the clarity threshold or make a content shot by the image acquiring module exclude the privacy concern object.
18 . A computer-readable storage medium, non-temporarily storing computer-readable instructions,
wherein when run by a computer, the computer-readable instructions cause the computer to execute the device configuration method according to claim 1 .