Information modification method and apparatus, and electronic device and storage medium

By triggering routing information changes through face detection and authentication using cameras, and updating routing information using hotspot connections, the complexity of resetting configuration parameters after router replacement in multi-camera environments is solved, and the efficiency of information modification is improved.

WO2026007880A1PCT designated stage Publication Date: 2026-01-08SHANGHAI IMILAB TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/105402
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-04
Filing Date
2025-06-30
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

In multi-camera environments, after changing the router, the camera configuration parameters need to be re-entered, which makes the operation complicated and time-consuming, especially with multiple cameras, resulting in high manpower and time costs.

Method used

The camera detects faces and verifies identities, triggering a routing information change operation. It then uses the hotspot connection between the camera and the mobile terminal to obtain new routing information and automatically updates the camera's routing information without resetting other configuration parameters.

Benefits of technology

It improves the efficiency of information modification in multi-camera environments, reduces manpower and time costs, and retains authentication information and other configuration parameters unchanged.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105402_08012026_PF_FP_ABST
    Figure CN2025105402_08012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to an information modification method and apparatus, and an electronic device and a storage medium. The specific implementation solution involves: the method is applied to a camera, and comprises: when it is detected that there is a face in an image currently captured by a camera, determining first identity information on the basis of the image currently captured by the camera; when the first identity information matches second identity information stored in the camera, triggering a routing information change operation; when the routing information change operation has been triggered, acquiring first routing information from a mobile terminal on the basis of a hotspot connection between the camera and the mobile terminal; and on the basis of the first routing information, changing second routing information stored in the camera, wherein the changed second routing information is used for the camera to connect to a corresponding router.
Need to check novelty before this filing date? Find Prior Art

Description

Information modification method and device, electronic equipment and storage medium

[0001] This application claims priority to Chinese Patent Application No. 2024108945756, filed on July 4, 2024, the disclosure of which is incorporated herein in its entirety as part of the present application TECHNICAL FIELD

[0002] The present application relates to the technical field of computers, and more particularly to an information modification method, device, electronic equipment and storage medium. BACKGROUND

[0003] One or more cameras are arranged in a mall or other indoor or outdoor space to conduct inspection and security protection on people or things in the space. The mobile terminal is connected with the camera, and the configuration parameters in the camera are set. The camera can be connected with the router in the space through wifi information to access the network and transmit image or video data.

[0004] When the wifi password of the router is changed or a new router is replaced, the configuration parameters in the camera need to be reset to input new wifi information to connect to the corresponding router. However, other configuration information in the camera is also lost and needs to be re-input. For the case of installing multiple cameras, the operation is complex and more manpower and time are needed to update the camera data. SUMMARY

[0005] The embodiments of the present application provide an information modification method, device, electronic equipment and storage medium, which can solve at least one of the above problems.

[0006] The embodiments of the present application provide an information modification method applied to a camera, which comprises: in the case that it is detected that there is a face in a current image captured by the camera, determining first identity information based on the current image captured by the camera; in the case that the first identity information matches second identity information stored by the camera, triggering a route information changing operation; in the case that the route information changing operation is triggered, acquiring first route information from a mobile terminal based on a hot spot connection between the camera and the mobile terminal; and changing second route information stored by the camera based on the first route information, wherein the changed second route information is used for the camera to connect to a corresponding router.

[0007] The embodiment of the present application provides an information modification method, which is applied to a mobile terminal, and the method comprises the following steps: determining that a camera has triggered a routing information change operation in a case that a first prompt light in the camera performs light display in a first mode; and sending first routing information to the camera based on a hotspot connection between the camera and the mobile terminal in a case that it is determined that the camera has triggered the routing information change operation; wherein the first routing information is used for changing second routing information stored by the camera, and the changed second routing information is used for the camera to connect to a corresponding router.

[0008] The embodiment of the present application provides an information modification device, which is applied to a camera, and the device comprises the following steps:

[0009] An identity information acquisition module is configured to determine first identity information based on a current photographed image of the camera in a case that it is detected that the current photographed image of the camera contains a face;

[0010] An information change triggering module is configured to trigger a routing information change operation in a case that the first identity information matches second identity information stored by the camera;

[0011] A routing information acquisition module is configured to acquire first routing information from a mobile terminal based on a hotspot connection between the camera and the mobile terminal in a case that the routing information change operation is triggered; and

[0012] A routing information change module is configured to change second routing information stored by the camera based on the first routing information, wherein the changed second routing information is used for the camera to connect to a corresponding router.

[0013] The embodiment of the present application provides an information modification device, which is applied to a mobile terminal, and the device comprises the following steps:

[0014] A triggering operation determination module is configured to determine that a camera has triggered a routing information change operation in a case that a first prompt light in the camera performs light display in a first mode; and

[0015] A routing information sending module is configured to send first routing information to the camera based on a hotspot connection between the camera and the mobile terminal in a case that it is determined that the camera has triggered the routing information change operation;

[0016] Wherein the first routing information is used for changing second routing information stored by the camera, and the changed second routing information is used for the camera to connect to a corresponding router.

[0017] An electronic device is provided, including at least one central processor, and a memory in communication connection with the at least one central processor; wherein the memory stores instructions executable by the at least one central processor, the instructions being executed by the at least one central processor to enable the at least one central processor to perform any of the information modification methods in the embodiments.

[0018] A non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to perform any of the information modification methods in the embodiments.

[0019] In the embodiments, when the camera detects a face, the camera performs an identity verification operation on the user, and when the verification is successful, triggers a routing information changing operation, i.e., triggers a routing information changing operation program. In the case of triggering the operation, new routing information from the mobile terminal is acquired to change the old routing information in the camera. Thus, the user does not need to send a reset request to the camera to reset the information of the entire camera to modify the routing information. Moreover, the identity verification information and other camera configuration parameters in the camera can be kept unchanged. Since the identity verification information and other camera configuration parameters in the camera do not need to be reset, only the routing information needs to be modified, thus in the case of multiple cameras, the information modification efficiency of the camera can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0020] FIG. 1 is a schematic flowchart of an information modification method according to an embodiment of the present application.

[0021] FIG. 2 is a scenario diagram of an information modification method according to an embodiment of the present application.

[0022] FIG. 3 is an interface diagram of a mobile terminal according to an embodiment of the present application.

[0023] FIG. 4 is a schematic flowchart of an information modification method according to another embodiment of the present application.

[0024] FIG. 5 is a schematic flowchart of an information registration method according to an embodiment of the present application.

[0025] FIG. 6 is a schematic flowchart of an information modification method according to another embodiment of the present application.

[0026] FIG. 7 is a schematic block diagram of an information modification apparatus according to an embodiment of the present application.

[0027] FIG. 8 is a schematic block diagram of an information modification apparatus according to another embodiment of the present application.

[0028] FIG. 9 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0030] FIG. 1 is a schematic flowchart of an information modification method according to an embodiment of the present application. The method can be applied to an electronic device. The electronic device is, for example, a terminal, a server or other processing device, wherein the terminal can be a desktop computer, a mobile device, a PDA (Personal Digital Assistant), a handheld device, a computing device, a vehicle-mounted device, a wearable device or other UE (User Equipment). In some implementations, the electronic device can realize the information modification method of the embodiments of the present application by calling computer-readable instructions stored in a memory through a central processing unit.

[0031] As shown in FIG. 1, the information modification method is applied to a camera, and specifically includes:

[0032] S110, in a case where it is detected that a human face exists in a current image captured by the camera, determining first identity information based on the current image captured by the camera;

[0033] S120, in a case where the first identity information matches second identity information stored by the camera, triggering a routing information change operation;

[0034] S130, in a case where the routing information change operation is triggered, obtaining first routing information from a mobile terminal based on a hotspot connection between the camera and the mobile terminal;

[0035] S140, changing the second routing information stored by the camera based on the first routing information, wherein the changed second routing information is used for the camera to connect to a corresponding router.

[0036] Exemplarily, as shown in FIG. 2, the embodiments of the present application can be applied to the scenario of FIG. 2, in which a camera (camera head) interacts with a mobile phone and the camera is connected to a router.

[0037] Exemplarily, the camera can capture a current environment in real time, and if a target object, for example, a human body, exists in the environment, it is detected whether a human face exists in the image, and if the human face exists, identity information of the target object is obtained from the current captured image.

[0038] Exemplarily, the first identity information can include face feature information, gesture information and the like.

[0039] Exemplarily, the second identity information can include face feature information, gesture information and the like.

[0040] Exemplarily, the routing information changing operation is not triggered in a case that the first identity information does not match the second identity information stored in the camera. Further, the subsequent steps are not executed.

[0041] Exemplarily, the first identity information matches the second identity information can be understood as that the similarity between the first identity information and the second identity information is greater than a preset threshold.

[0042] Exemplarily, the hotspot of the camera is started, and the mobile terminal accesses the hotspot network of the camera. Alternatively, the hotspot of the mobile terminal is started, and the camera accesses the hotspot network of the mobile terminal, so that the hotspot connection between the camera and the mobile terminal is established.

[0043] Exemplarily, the second routing information stored in the camera is changed to the first routing information.

[0044] Exemplarily, the routing information can include the identity of the router and the connection password.

[0045] According to the above embodiment, when the camera detects the face, the camera performs the identity verification operation on the user, and when the verification is successful, the routing information changing operation is triggered, that is, the routing information changing operation program is triggered. In the case of triggering the operation, the new routing information from the mobile terminal is obtained to change the old routing information in the camera. Thus, the user does not have to send a reset request to the camera to reset the information of the entire camera to modify the routing information. Moreover, the identity verification information and other camera configuration parameters in the camera can be kept unchanged. Since the identity verification information and other camera configuration parameters in the camera do not have to be reset, only the routing information needs to be modified, so in the case of multiple cameras, the information modification efficiency of the camera can be improved.

[0046] In an embodiment, the above determining the first identity information based on the current shooting image of the camera includes: determining first face feature information based on the current shooting image of the camera; in a case that the first face feature information matches second face feature information stored in the camera, controlling the camera to continue shooting to obtain a next-time shooting image; and determining a first hand gesture based on the next-time shooting image.

[0047] Exemplarily, the first hand gesture can be an OK hand gesture or other hand gestures.

[0048] Exemplarily, in a case that the first face feature information does not match the second face feature information stored in the camera, the first hand gesture is no longer obtained, and it is determined that the routing information changing operation is not triggered.

[0049] In some examples, the user can first make a hand gesture, and then the camera shoots the current shooting image to obtain the first face feature information and the first hand gesture therefrom.

[0050] In a case where the first face feature information and the first gesture match the second face feature information and the second gesture stored in the camera, it is determined to trigger the route information change operation.

[0051] According to the above embodiment, the face feature information and the gesture are acquired in sequence for identity verification, which can improve the security of the information stored in the camera and avoid triggering the route information change operation by an illegal user.

[0052] In an embodiment, in a case where the first identity information matches the second identity information stored in the camera, the route information change operation is triggered, including: in a case where the first gesture matches the second gesture stored in the camera, the route information change operation is triggered.

[0053] Exemplarily, in a case where the first gesture does not match the second gesture stored in the camera, the route information change operation is not triggered.

[0054] It can be understood that, by face feature and gesture for identity verification, in a case where the identity verification is successful, it is determined to trigger the route information change operation. That is, in the camera, a route information change request is generated, and in response to the request, a program corresponding to the route information change operation is executed. In this way, it is not necessary to send a route information reset or modification request to the camera by the mobile terminal.

[0055] According to the above embodiment, the face feature information and the gesture are acquired in sequence for identity verification, which can improve the security of the information stored in the camera and avoid triggering the route information change operation by an illegal user. Moreover, only the user needs to perform identity verification in front of the camera to trigger the route information change operation, and it is not necessary for the user to send a route information reset or modification request to the camera by the mobile terminal to trigger the route information change operation.

[0056] In an embodiment, based on a hotspot connection between the camera and the mobile terminal, the first route information from the mobile terminal is acquired, including: starting a hotspot network of the camera; establishing the hotspot connection between the camera and the mobile terminal through the hotspot network; and based on the hotspot connection, receiving the first route information from the mobile terminal.

[0057] It can be understood that the camera starts the hotspot, thereby generating a corresponding hotspot network. When the mobile terminal scans the hotspot network of the camera, the mobile terminal can access the hotspot network of the camera, so that the camera can establish the hotspot connection between the two.

[0058] As shown in FIG. 3, after the mobile terminal accesses the hotspot network, a routing information input interface is displayed on the mobile terminal, and the user can provide the routing information of the router on the interface. For example, the identification information ssid corresponding to the wifi name and the password information passwd corresponding to the wifi password. After input, the user can click confirm or cancel on the interface. If confirm is clicked, the mobile terminal sends the routing information to the camera. If cancel is clicked, the identification information ssid and the password information passwd are cleared on the interface, so that the user can re-input the identification information ssid and the password information passwd on the interface.

[0059] According to the above embodiment, when it is determined that the routing information change operation is triggered, the camera starts the hotspot network, and the mobile terminal accesses the hotspot network, so as to establish the network connection between the mobile terminal and the camera, and through the connection, the camera can receive the routing information from the mobile terminal.

[0060] In an embodiment, based on the first routing information, the second routing information stored in the camera is changed, including: based on the common key stored in the camera between the mobile terminal and the camera, the first routing information is decrypted to obtain the decrypted first routing information; and based on the decrypted first routing information, the second routing information stored in the camera is changed.

[0061] It can be understood that the common key can be pre-set between the mobile terminal and the camera. For example, the camera receives the public key from the mobile terminal. The camera generates the common key stored in the camera, i.e. the first common private key, according to the private key of the camera and the public key of the mobile terminal.

[0062] In the above example, the camera sends its public key to the mobile terminal. The mobile terminal generates the common key stored in the mobile terminal, i.e. the second common private key, according to the public key of the camera and the private key of the mobile terminal.

[0063] In the above example, the mobile terminal encrypts the first routing information according to the second common private key stored in the mobile terminal, and the mobile terminal sends the encrypted first routing information to the camera, and the camera decrypts the encrypted first routing information by using the first common private key stored in the camera to obtain the decrypted first routing information.

[0064] Exemplarily, the curve25519 algorithm can be used to generate the corresponding key to perform the encryption and decryption process described above.

[0065] According to the above embodiment, the key is used to encrypt and decrypt the routing information, which can improve the information security of the routing information in the transmission process between the camera and the mobile terminal.

[0066] In an embodiment, the method further comprises: in the case that the route information changing operation is triggered, controlling the first prompt light in the camera to display light in a first manner to prompt that the route information changing operation has been triggered.

[0067] For example, the camera displays light in a manner that the yellow light and the blue light are alternately flashed, or displays light in a manner that the yellow light or the blue light is flashed to prompt that the route information changing operation has been triggered and the mobile terminal can connect to the hotspot network of the camera. Meanwhile, the camera starts the hotspot to facilitate the mobile terminal to connect to the hotspot network of the camera.

[0068] According to the above embodiment, the route information changing operation has been triggered can be prompted in the light prompting manner to prompt the user that the new route information can be uploaded through the mobile terminal to change the route information in the camera.

[0069] In an embodiment, the method further comprises: in the case that the camera is successfully connected to the corresponding router based on the changed second route information, controlling the second prompt light in the camera to display light in a second manner to prompt that the route information changing operation has been successfully executed.

[0070] For example, the camera can display light in a manner that the blue light is always on to indicate that the camera is successfully connected to the router based on the new route information, i.e., the route information changing operation has been successfully executed. Alternatively, the camera can display light in a manner that the yellow light is always on.

[0071] According to the above embodiment, the route information changing operation has been successfully executed can be prompted in the light prompting manner.

[0072] In an embodiment, the method further comprises: in the case that the camera is in a reset state or a first boot state, controlling the third prompt light in the camera to display light in a third manner to prompt that the route information configuration and the identity information registration are performed for the camera; in the case that the third route information is received from the mobile terminal, storing the second route information in the camera based on the third route information; in the case that the third identity information is received from the mobile terminal, storing the second identity information in the camera based on the third identity information.

[0073] For example, the camera is in the reset state or the first boot state, at this time, all the parameters in the camera are not set, and no route information, identity information, key information, etc. are stored.

[0074] For example, the camera can display light in a manner that the yellow light is flashed to indicate that the information input is waited, such as the route information configuration (binding), the identity information registration, and the key storage, etc.

[0075] Exemplarily, when the camera has stored the second routing information, the camera can connect with the corresponding router through the second routing information. If the connection is successful, the camera can flash the blue light to indicate that the routing information has been configured successfully.

[0076] Exemplarily, when it is determined that the routing information has been configured successfully, the mobile terminal can register the identity information in the camera. Meanwhile, the mobile terminal and the camera can generate a corresponding shared key to encrypt and decrypt the data transmitted between each other.

[0077] According to the above embodiment, when the camera is in the reset state or the first boot state, the routing information can be bound, and the identity information can be registered. Thus, the camera can connect with the corresponding router through the routing information. Meanwhile, the subsequent operation of whether to change the routing information can be triggered through the identity information verification.

[0078] FIG. 4 is a schematic flowchart of an information modification method according to another embodiment of the present application.

[0079] As shown in FIG. 4, the information modification method can be applied to the mobile terminal, and specifically includes the following steps.

[0080] S410, when the first prompt light in the camera performs light display in a first manner, it is determined that the camera has triggered a routing information change operation;

[0081] S420, when it is determined that the camera has triggered the routing information change operation, the first routing information is sent to the camera based on the hotspot connection between the camera and the mobile terminal.

[0082] The first routing information is used to change the second routing information stored by the camera, and the changed second routing information is used for the camera to connect with the corresponding router.

[0083] The process in which the camera triggers the routing information change operation can refer to the above examples, and will not be described here in detail.

[0084] According to the above embodiment, when the camera detects the face, the camera performs the identity verification operation on the user, and when the verification succeeds, triggers the routing information changing operation, i.e. triggers the routing information changing operation procedure. In the case of triggering the operation, the mobile terminal sends the new routing information to the camera to change the old routing information in the camera. Thus, the user does not have to send a reset request to the camera through the mobile terminal to reset the information of the entire camera to modify the routing information. Moreover, the identity verification information and other camera configuration parameters in the camera can also be kept unchanged. Since the identity verification information and other camera configuration parameters in the camera do not have to be reset, only the routing information needs to be modified, thus in the case of multiple cameras, the information modification efficiency of the cameras can be improved.

[0085] In an embodiment, the first routing information is sent to the camera based on the hotspot connection between the camera and the mobile terminal, including: in the case of detecting the hotspot network of the camera, accessing the hotspot network of the camera to enable the camera to establish the hotspot connection with the mobile terminal; and sending the first routing information to the camera based on the hotspot connection.

[0086] It can be understood that the camera starts the hotspot to generate the corresponding hotspot network. When the mobile terminal scans the hotspot network of the camera, the mobile terminal can access the hotspot network of the camera, so that the camera can establish the hotspot connection with the mobile terminal.

[0087] As shown in FIG. 3, after the mobile terminal accesses the hotspot network, the mobile terminal displays a routing information input interface in the mobile terminal, and the user can provide the routing information of the router on the interface. For example, the identification information ssid corresponding to the wifi name and the password information passwd corresponding to the wifi password. After input, the user can click confirm or cancel on the interface. If confirm is clicked, the mobile terminal sends the routing information to the camera. If cancel is clicked, the identification information ssid and the password information passwd are cleared on the interface, so that the user can re-input the identification information ssid and the password information passwd on the interface.

[0088] According to the above embodiment, when it is determined to trigger the routing information changing operation, the camera starts the hotspot network to enable the mobile terminal to access the hotspot network, so as to establish the network connection between the mobile terminal and the camera, and through the connection, the camera can receive the routing information from the mobile terminal.

[0089] In an embodiment, the first routing information is sent to the camera based on the hotspot connection, including: encrypting the first routing information based on the shared key between the mobile terminal and the camera stored in the mobile terminal to obtain the encrypted first routing information; and sending the first routing information to the camera based on the hotspot connection.

[0090] It can be understood that the mobile terminal and the camera can be pre-configured with a common key. For example, the camera receives a public key from the mobile terminal. The camera generates a common key stored in the camera, i.e., a first common private key, according to a private key of the camera and the public key of the mobile terminal.

[0091] In the above example, the camera sends its public key to the mobile terminal. The mobile terminal generates a common key stored in the mobile terminal, i.e., a second common private key, according to the public key of the camera and a private key of the mobile terminal.

[0092] In the above example, the mobile terminal encrypts the first routing information according to the second common private key stored in the mobile terminal. The mobile terminal sends the encrypted first routing information to the camera. The camera decrypts the encrypted first routing information using the first common private key stored in the camera to obtain the decrypted first routing information.

[0093] Exemplarily, the curve25519 algorithm can be used to generate the corresponding keys to perform the encryption and decryption processes described above.

[0094] According to the above embodiments, the routing information is encrypted and decrypted using the keys, which can improve the information security during the transmission of the routing information between the camera and the mobile terminal.

[0095] In an embodiment, the above method can further include: determining that the camera successfully performs the routing information changing operation in a case where the second prompt light in the camera performs light display in a second manner.

[0096] Exemplarily, the camera can use a blue light always-on manner to indicate that the camera has successfully connected with the router based on the new routing information, i.e., the routing information changing operation has been successfully performed. Alternatively, a yellow light always-on manner can be used to indicate the same.

[0097] According to the above embodiments, the light prompt manner can be used to prompt that the routing information changing operation has been successfully performed.

[0098] In an embodiment, the above method can further include:

[0099] In a case where the third prompt light in the camera performs light display in a third manner, sending third routing information and third identity information to the camera;

[0100] The third routing information is used to store the second routing information in the camera, and the third identity information is used to store the second identity information in the camera.

[0101] Exemplarily, the camera can adopt the yellow light flashing mode to represent that the camera is in the reset state or the first start state, to wait for information input, such as the operation of the route information configuration (binding), the identity information registration, and the key storage, etc.

[0102] Exemplarily, when the camera has stored the second route information, the camera can be connected with the corresponding router through the second route information. If the connection is successful, the camera can adopt the blue light flashing mode to represent that the route information has been successfully configured.

[0103] Exemplarily, in the case of determining that the route information has been successfully configured, the mobile terminal can register the identity information in the camera. Meanwhile, the corresponding shared key can be generated between the mobile terminal and the camera, to encrypt and decrypt the data transmitted between each other.

[0104] According to the above embodiment, when the camera processes the reset state or the first start state, the terminal can bind the route information in the camera, and register the identity information. Thus, the camera can be connected with the corresponding router through the route information. Meanwhile, the subsequent camera can trigger the operation of whether to change the route information through the identity information verification mode.

[0105] FIG. 5 is a schematic flowchart of an information registration method according to an embodiment of the present application. FIG. 6 is a schematic flowchart of an information modification method according to another embodiment of the present application.

[0106] As shown in FIG. 5, it shows the process of the mobile phone and the camera in the first registration of the route information.

[0107] As shown in FIG. 5, the camera does not bind any route information after the first start or restart. Therefore, the camera adopts the yellow light flashing mode to represent the waiting for binding. After the user sees the yellow light flashing, the mobile phone binds the first registration of the route information with the camera. The camera connects with the router by using the first registration of the route information. After the connection is successful, the camera adopts the blue light constant mode to represent the binding success. Then, the public key is exchanged between the mobile phone and the camera, and the shared private key is generated. Finally, the user registers the face feature value in the face image in the camera through the mobile phone.

[0108] As shown in FIG. 6, it shows the process of the mobile phone and the camera in the modification of the route information again.

[0109] As shown in FIG. 6, when the user needs to change the routing information in the camera, he can stand in front of the camera. The camera captures images in real time and detects the images. If a human body is detected, the camera performs face detection on the images. If no human body is detected, the camera returns to continue capturing images. If a face is detected, the camera extracts face feature values and compares the face feature values with face feature values in registered face images. If no face is detected, the camera returns to continue capturing images. If the face feature values match the face feature values in the registered face images, the camera continues to determine whether the gesture in the captured images is an OK gesture. If the face feature values match the face feature values in the registered face images, the camera returns to continue capturing images. If the gesture in the captured images is an OK gesture, the camera controls the yellow and blue lights to flash alternately and starts a hotspot.

[0110] The mobile phone can detect the hotspot network of the camera and access the hotspot network, thereby establishing a hotspot connection between the mobile phone and the camera. Through the hotspot connection, the mobile phone encrypts and sends new wifi information received on the interface to the camera. The camera decrypts the new wifi information and connects to the router using the decrypted wifi information. If the connection is successful, the blue light is controlled to be always on. Thus, the updating of the routing information in the camera is completed.

[0111] FIG. 7 is a schematic block diagram of an information modification apparatus according to an embodiment of the present application.

[0112] As shown in FIG. 7, the information modification apparatus is applied to a camera, and the apparatus includes:

[0113] An identity information acquisition module 710, configured to determine first identity information based on a current captured image of the camera in a case where it is detected that the current captured image of the camera contains a face;

[0114] An information change triggering module 720, configured to trigger a routing information change operation in a case where the first identity information matches second identity information stored by the camera;

[0115] A routing information acquisition module 730, configured to acquire first routing information from a mobile terminal based on a hotspot connection between the camera and the mobile terminal in a case where the routing information change operation is triggered;

[0116] A routing information change module 740, configured to change second routing information stored by the camera based on the first routing information, wherein the changed second routing information is used for the camera to connect to a corresponding router.

[0117] FIG. 8 is a schematic block diagram of an information modification apparatus according to another embodiment of the present application.

[0118] As shown in FIG. 8, the information modification apparatus can be applied to a mobile terminal, and the apparatus comprises:

[0119] The trigger operation determination module 810 is configured to determine that the camera has triggered the route information change operation in a case that the first prompt light in the camera performs light display in a first manner.

[0120] The route information sending module 820 is configured to send first route information to the camera based on a hotspot connection between the camera and the mobile terminal in a case that it is determined that the camera has triggered the route information change operation.

[0121] The first route information is used to change second route information stored by the camera, and the changed second route information is used for the camera to connect to a corresponding router.

[0122] The specific functions and examples of the modules and sub-modules of the apparatus of the embodiments of the present application are described in the related description of the corresponding steps in the method embodiments, which will not be described here.

[0123] In the technical solutions of the present application, the acquisition, storage and application of user personal information comply with relevant laws and regulations and do not violate public order and good customs.

[0124] According to the embodiments of the present application, the present application further provides an electronic device, a readable storage medium and a computer program product.

[0125] FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 9, the electronic device comprises a memory 910 and a processor 920, and the memory 910 stores a computer program which can run on the processor 920. The number of the memory 910 and the processor 920 can be one or more. The memory 910 can store one or more computer programs, which, when executed by the electronic device, cause the electronic device to perform the method provided in the above method embodiments. The electronic device can further comprise a communication interface 930 for communicating with external devices and performing data transmission.

[0126] If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 can be connected to each other through a bus and complete communication between each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or only one type of bus.

[0127] Optionally, in a specific implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 can complete communication between each other through an internal interface.

[0128] It should be understood that the above processor can be a Central Processing Unit (CPU), and can also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It is worth noting that the processor can be an Advanced RISC Machines (ARM) architecture processor.

[0129] Further, the aforementioned memory can include a read-only memory and a random access memory, and can also include a non-volatile random access memory. The memory can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memory. The non-volatile memory can include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can include a random access memory (RAM) used as an external cache. By way of example, and not limitation, many forms of RAM can be used. For example, a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced SDRAM (ESDRAM), a Synchlink DRAM (SLDRAM), and a direct RAMBUS RAM (DR RAM) can be used.

[0130] In the above embodiments, all or part of the steps can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the steps can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (for example: coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example: infrared, Bluetooth, microwave, etc.) mode. The computer readable storage medium can be any available medium accessible by a computer, or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), an optical medium (for example: digital versatile disc (DVD)) or a semiconductor medium (for example: solid state disk (SSD)) etc. It is worth noting that the computer readable storage medium mentioned in the present application can be a non-volatile storage medium, in other words, it can be a non-transitory storage medium.

[0131] A person of ordinary skill in the art can understand that all or part of the steps of the above embodiments can be completed by hardware, or the program can instruct the related hardware to complete, and the program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk.

[0132] In the description of the embodiments of the present application, the description of the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.

[0133] In the description of the embodiments of the present application, unless otherwise specified, " / " means the meaning of or, for example, A / B can mean A or B. "And / or" in this article is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can mean: A exists alone, A and B exist together, and B exists alone.

[0134] In the description of the embodiments of the present application, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" is two or more.

[0135] The above is only an exemplary embodiment of the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. An information modification method applied to a camera, the method comprising: in a case where a face is detected in a current image captured by the camera, determining first identity information based on the current image captured by the camera; in a case where the first identity information matches second identity information stored by the camera, triggering a routing information change operation; in the case where the routing information change operation is triggered, obtaining first routing information from a mobile terminal based on a hotspot connection between the camera and the mobile terminal; based on the first routing information, changing second routing information stored by the camera, wherein the changed second routing information is used for the camera to connect to a corresponding router.

2. The method of claim 1, wherein, The determination of the first identity information based on the current image captured by the camera comprises: determining first face feature information based on the current image captured by the camera; in a case where the first face feature information matches second face feature information stored by the camera, controlling the camera to continue capturing to obtain a next-time image; determining a first gesture based on the next-time image.

3. The method of claim 2, wherein, The triggering of the routing information change operation in the case where the first identity information matches the second identity information stored by the camera comprises: in a case where the first gesture matches second gesture stored by the camera, triggering the routing information change operation.

4. The method of any one of claims 1-3, wherein, The obtaining of the first routing information from the mobile terminal based on the hotspot connection between the camera and the mobile terminal comprises: starting a hotspot network of the camera; establishing the hotspot connection between the camera and the mobile terminal through the hotspot network; receiving the first routing information from the mobile terminal based on the hotspot connection.

5. The method of any one of claims 1-4, wherein, The changing of the second routing information stored by the camera based on the first routing information comprises: decrypting the first routing information based on a shared key of the mobile terminal and the camera stored in the camera to obtain decrypted first routing information; changing the second routing information stored by the camera based on the decrypted first routing information.

6. The method of any one of claims 1-5, further comprising: in the case where the routing information change operation is triggered, controlling a first prompt light in the camera to display light in a first manner to prompt that the routing information change operation has been triggered.

7. The method of any one of claims 1-6, further comprising: in a case where the camera successfully connects to the corresponding router based on the changed second routing information, controlling a second prompt light in the camera to display light in a second manner to prompt that the routing information change operation has been successfully executed.

8. The method of any one of claims 1-7, further comprising: in a case where the camera is in a reset state or a first boot state, controlling a third prompt light in the camera to display light in a third manner to prompt that routing information configuration and identity registration are performed for the camera. in case that third identity information from the mobile terminal is received, store the second identity information in the camera based on the third identity information.

9. An information modification method applied to a mobile terminal, the method comprising: in case that a first prompt light in the camera performs light display in a first manner, determine that the camera has triggered a route information modification operation; in case that it is determined that the camera has triggered the route information modification operation, send first route information to the camera based on a hotspot connection between the camera and the mobile terminal; wherein the first route information is used to modify second route information stored by the camera, and the modified second route information is used for the camera to connect to a corresponding router. The sending of the first route information to the camera based on the hotspot connection between the camera and the mobile terminal comprises:

10. The method of claim 9, wherein, in case that the hotspot network of the camera is detected, access the hotspot network of the camera to enable the camera to establish a hotspot connection with the mobile terminal; send the first route information to the camera based on the hotspot connection. The sending of the first route information to the camera based on the hotspot connection comprises:

11. The method of claim 10, wherein, encrypt the first route information based on a shared key between the mobile terminal and the camera stored in the mobile terminal to obtain encrypted first route information; send the first route information to the camera based on the hotspot connection.

12. The method of any one of claims 9-11, further comprising: in case that a second prompt light in the camera performs light display in a second manner, determine that the camera has successfully executed the route information modification operation.

13. The method of any one of claims 9-12, further comprising: in case that a third prompt light in the camera performs light display in a third manner, send third route information and third identity information to the camera; wherein the third route information is used to store second route information in the camera, and the third identity information is used to store second identity information in the camera.

14. An information modification apparatus applied to a camera, the apparatus comprising: an identity information acquisition module configured to, in case that a human face is detected in a current image captured by the camera, determine first identity information based on the current image captured by the camera; an information modification triggering module configured to, in case that the first identity information matches second identity information stored by the camera, trigger a route information modification operation; a route information acquisition module configured to, in case that the route information modification operation is triggered, acquire first route information from a mobile terminal based on a hotspot connection between the camera and the mobile terminal. ​ A routing information changing module is configured to change second routing information stored by the camera based on the first routing information, wherein the changed second routing information is used by the camera to connect to a corresponding router. 15.An information modifying apparatus applied to a mobile terminal, the apparatus comprising: a trigger operation determining module configured to determine that a camera has triggered a routing information changing operation in a case that a first prompt light in the camera performs light display in a first manner; a routing information sending module configured to send first routing information to the camera based on a hotspot connection between the camera and the mobile terminal in a case that it is determined that the camera has triggered the routing information changing operation; wherein the first routing information is used to change second routing information stored by the camera, and the changed second routing information is used by the camera to connect to a corresponding router. 16.An electronic device comprising: at least one central processing unit; and a memory in communication with the at least one central processing unit; wherein the memory stores instructions executable by the at least one central processing unit, the instructions being executed by the at least one central processing unit to enable the at least one central processing unit to perform the method of any one of claims 1-13.

17. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 1-13.

Citation Information

Patent Citations

  • Configuration method of web camera and web camera

    CN103747459A

  • Intelligent equipment network distribution method and system

    CN110858971A

  • Instrument parameter self-adaption system and method based on face recognition, identity recognition system and vehicle

    CN114120390A

  • Information modification method and device, electronic equipment and storage medium

    CN118574110A

  • Wireless camera system and gateway device

    WO2021098434A1