Equipment control method and device, terminal equipment, camera equipment and storage medium

By establishing a communication connection between the terminal device and the camera, the battery level is monitored in real time and the camera with sufficient power is automatically switched, which solves the problem of discontinuous shooting when the battery is depleted during outdoor shooting, and improves shooting efficiency and convenience.

CN121418652APending Publication Date: 2026-01-27ALCIDAE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511581066.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-01-27

AI Technical Summary

Technical Problem

In outdoor shooting scenarios, when the action camera's battery runs out, the user needs to manually replace the battery, which can cause problems with discontinuous shooting.

Method used

By establishing a communication connection between the terminal device and the camera, the battery level of each camera is monitored in real time. When the battery level of the first camera is lower than a preset threshold and the battery level of the second camera is higher than the threshold, the device automatically switches to the camera with sufficient battery power to take pictures, thus avoiding the need to manually replace the battery.

Benefits of technology

It enables automatic camera switching without the need for additional extension compartments during outdoor shooting, improving shooting efficiency and convenience and avoiding shooting interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121418652A_ABST
    Figure CN121418652A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an equipment control method and device, terminal equipment, camera equipment and a storage medium. The method is applied to terminal equipment and comprises the steps that under the condition that shooting is carried out through a first camera of camera shooting equipment, the first electric quantity of the first camera is obtained, communication connection is established between the first camera and the terminal equipment, and the camera shooting equipment comprises a charging bin, the first camera capable of being separated and a second camera capable of being separated; under the condition that a target signal sent by a second camera is received, establishing communication connection with the second camera, and obtaining a second electric quantity of the second camera; and under the condition that the first electric quantity of the first camera is lower than a preset electric quantity threshold value and the second electric quantity of the second camera is greater than the preset electric quantity threshold value, controlling to switch from the first camera to the second camera for shooting. According to the scheme, the outdoor shooting efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a device control method, apparatus, terminal device, camera device, and storage medium. Background Technology

[0002] With the development of science and technology, all kinds of electronic devices have appeared in people's daily lives. Among them, there are many types of electronic devices that provide shooting functions, such as mobile phone cameras, video cameras, action cameras, etc.

[0003] Action cameras are most widely used in outdoor shooting scenarios (such as extreme sports or outdoor adventures). Users wear the action camera and control it to start shooting. Since most action cameras are powered by internal batteries, to improve battery life, most manufacturers usually add expansion slots to the action camera, allowing more batteries to be installed. However, this approach not only increases the size of the action camera by designing additional expansion slots, significantly reducing its wearability, but also requires users to manually replace the batteries when the battery is low. This interruption of shooting occurs during battery removal and replacement. Summary of the Invention

[0004] To address the problems existing in related technologies, this application provides a device control method, apparatus, terminal device, and storage medium to improve the efficiency of outdoor shooting by promptly switching to another camera when the battery of the action camera is low. The technical solution is as follows: In one aspect, embodiments of this application provide a device control method applied to a terminal device, the method comprising: When taking pictures through the first camera of the camera device, the first battery level of the first camera is obtained. The first camera establishes a communication connection with the terminal device. The camera device includes a charging case, a detachable first camera, and a detachable second camera. Upon receiving the target signal sent by the second camera, a communication connection is established with the second camera, and the second battery level of the second camera is obtained; If the battery level of the first camera is lower than a preset battery threshold and the battery level of the second camera is higher than the preset battery threshold, the system controls the switching from the first camera to the second camera for shooting.

[0005] The beneficial effects of the technical solution provided in this application include at least the following: when the terminal device establishes a communication connection with the first camera and uses the first camera to take pictures, the first battery level of the first camera is obtained; when the second camera also establishes a communication connection with the terminal device, the second battery level of the second camera is also obtained. The terminal device monitors the relationship between the battery levels of the two cameras and a preset battery threshold. When the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, the terminal device controls the switching from the first camera to the second camera for shooting, thus completing the automatic switching of shooting. This eliminates the need to design extra expansion compartments on the cameras, ensuring convenience while providing an automatic switching shooting function. It also avoids the problem of discontinuous shooting caused by users manually changing batteries, thus improving the efficiency of outdoor shooting.

[0006] Optionally, the step of controlling the switch from the first camera to the second camera for shooting when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold includes: If the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, obtain the battery difference between the first battery level and the second battery level. If the battery difference exceeds a preset difference, a first control interface is displayed. The first control interface includes a switching control, which is used to switch to the camera with higher battery for shooting. In response to a trigger operation on the switching control, the system controls the switching from the first camera to the second camera for shooting.

[0007] The beneficial effects of this embodiment include at least the following: when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than a preset battery threshold, the terminal device also obtains the battery difference between the two cameras and triggers the display of the first control interface based on the relationship between the battery difference and the preset difference, so that the user can manually trigger the switching in the first control interface, thereby improving the accuracy of camera switching.

[0008] Optionally, the method further includes: If the terminal device establishes a communication connection with at least two cameras, a first settings interface is displayed, which includes mode setting controls. In response to the setting operation of the mode setting control, a target shooting mode is determined, which includes a single-shot mode using a single camera or a multi-shot mode using multiple cameras simultaneously.

[0009] The beneficial effects of this embodiment include at least the following: the terminal device also provides a first setting interface, and when the terminal device has established a communication connection with at least two cameras, the user can manually determine the current shooting mode, that is, the user can flexibly choose a multi-shot mode in which multiple cameras shoot at the same time or a single-shot mode in which a single camera shoots, thereby improving the flexibility of control.

[0010] Optionally, if the target shooting mode is a multi-shot mode that uses multiple cameras to shoot simultaneously, the method further includes: The second control interface is shown, which includes a start shooting control; In response to a first trigger operation on the start shooting control, a shooting command is sent to both the first camera and the second camera; In response to a second trigger operation on the start shooting control, a stop command is sent to both the first camera and the second camera, the stop command being used to control the cameras to stop shooting.

[0011] The beneficial effects of this embodiment include at least the following: the terminal device can also provide a second control interface, and when the user selects the multi-shot mode, the user can further control the opening or closing of each camera, so that a single opening button can start two cameras at the same time, which can ensure that the two cameras start shooting at the same time and improve the shooting flexibility.

[0012] Optionally, if the target shooting mode is a multi-shot mode that uses multiple cameras to shoot simultaneously, the method further includes: Receive the first data captured by the first camera, and display the first image corresponding to the first data in the first display area on the display screen; The system receives the second data captured by the second camera and displays the second image corresponding to the second data in the second display area on the display screen.

[0013] The beneficial effects of this embodiment include at least the following: in a terminal device, images captured by different cameras can be displayed in different display areas on the same screen, achieving a split-screen display effect and improving display flexibility.

[0014] Optionally, displaying the first settings interface includes: If the terminal device establishes a communication connection with at least two cameras, and the first battery level of the first camera is greater than a preset battery threshold, and the second battery level of the second camera is greater than the preset battery threshold, then the first settings interface is displayed.

[0015] The beneficial effects of this embodiment include at least the following: the condition for triggering the display of the first settings interface in the terminal device is that the terminal device has established a communication connection with at least two cameras, and the first battery level of the first camera is greater than a preset battery threshold, and the second battery level of the second camera is greater than a preset battery threshold. By detecting the battery level of each camera, it is ensured that the battery level of each camera is higher than the preset battery threshold when the user selects the multi-shot mode, thus avoiding excessive operation of the cameras and improving the accuracy of controlling each camera.

[0016] Optionally, the method further includes: In response to a first signal, it is determined that the target shooting mode is a single-shot mode using a single camera, the first signal being used to indicate that there is one and only one camera outside the charging case.

[0017] The beneficial effects of this embodiment include at least the following: the terminal device can also respond to the first signal to determine whether the target shooting mode is single-shot mode, which can ensure that the device can quickly enter single-shot mode in various situations such as the user actively putting back the first or second camera, the charging case, or the camera knowing that there is only one camera outside the charging case, thereby improving the flexibility and efficiency of mode determination.

[0018] Optionally, the control to switch from shooting with the first camera to shooting with the second camera includes: Send a shooting command to the second camera to control the second camera to take a picture; A stop command is sent to the first camera to control it to stop recording.

[0019] The beneficial effects of this embodiment include at least the following: by sending the required control commands to each camera through the terminal device, the working status of each camera is controlled, and the effect of switching shooting is achieved in a timely manner.

[0020] Optionally, before the control switches from the first camera to the second camera for shooting, the method further includes: When the battery level of the first camera is lower than a preset battery threshold, a first prompt message is generated, which is used to indicate that the battery level of the first camera is lower than the preset battery threshold.

[0021] The beneficial effects of this embodiment include at least the following: the terminal device can also display a first prompt message on the screen to remind the user that the first camera's battery is low, making it convenient for the user to know the status of the first camera's low battery at any time, and the user can receive a signal in a timely manner whether to switch cameras, thus improving the flexibility of control.

[0022] Optionally, the method further includes: Scan the device information code on the charging case to obtain the device identifier of each camera contained in the charging case; The system displays the current status information of each camera according to its respective device identifier. This status information is used to indicate the current connection status of each camera.

[0023] The beneficial effects of this embodiment include at least the following: the terminal device scans the device information code on the charging compartment of the camera, matches it with the charging compartment, obtains the device identifier of each camera contained in the charging compartment, and displays the status information of each camera on the display screen, so that the user can observe the working status of each camera at any time and improve the flexibility of control.

[0024] Optionally, establishing a communication connection with the second camera upon receiving the target signal sent by the second camera includes: Upon receiving a target signal from the second camera, the device identifier of the second camera is obtained based on the target signal. If the device identifier of the second camera belongs to the charging compartment, a communication connection is established with the second camera.

[0025] Optionally, the terminal device identifies the camera corresponding to the device information code of the charging compartment by recognizing the device identifier that has established a communication connection with it, and then establishes a communication connection with that camera to ensure that the terminal device uses all the cameras provided by the same charging compartment, thereby improving the accuracy of shooting.

[0026] In another aspect, embodiments of this application provide a device control method applied to a camera device, the camera device including a charging compartment and at least two detachable cameras, the method comprising: When the first camera leaves the charging case and establishes a communication connection with the terminal device, the first battery level of the first camera is sent to the terminal device; When the second camera leaves the charging case and establishes a communication connection with the terminal device, the second battery level of the first camera is sent to the terminal device. When the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold, a stop command is received through the first camera and a shooting command is received through the second camera, so that the shooting is switched from the first camera to the second camera.

[0027] In another aspect, embodiments of this application provide a device control apparatus applied to a terminal device, the apparatus comprising: The first acquisition module is used to acquire the first battery level of the first camera when shooting through the first camera of the camera device. The first camera has a communication connection with the terminal device. The camera device includes a charging case, a detachable first camera and a detachable second camera. The second acquisition module is used to establish a communication connection with the second camera and acquire the second battery level of the second camera when it receives the target signal sent by the second camera. The first control module is used to control the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold.

[0028] In another aspect, embodiments of this application provide a device control apparatus applied to a camera device, the camera device including a charging compartment and at least two detachable cameras, the apparatus comprising: The first transmitting module is used to transmit the first battery level of the first camera to the terminal device when the first camera leaves the charging case and establishes a communication connection with the terminal device. The second sending module is used to send the second battery level of the first camera to the terminal device when the second camera leaves the charging case and establishes a communication connection with the terminal device. The first receiving module is configured to receive a stop command sent by the terminal device through the first camera and a shooting command sent by the terminal device through the second camera when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, so as to switch from the first camera to the second camera for shooting.

[0029] In another aspect, this application provides a terminal device including a processor and a memory, the memory storing a computer program executable on the processor, wherein the processor executes the computer program to implement the device control method as described in one aspect above.

[0030] In another aspect, this application provides a camera device including a processor and a memory, the memory storing a computer program executable on the processor, the processor executing the computer program to implement the device control method as described in the other aspect above.

[0031] In another aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the device control method as described in one aspect above.

[0032] On the other hand, embodiments of this application provide a computer program product, including a computer program that, when processed and executed, implements the device control method as described in one aspect above.

[0033] On the other hand, embodiments of this application provide an application publishing platform for publishing computer program products, wherein when the computer program products are run on a computer, the computer executes to implement the device control method as described in one aspect above. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 A schematic diagram of a scene for everyday shooting using a camera device, provided as an exemplary embodiment of this application; Figure 2 A flowchart illustrating a device control method provided in an exemplary embodiment of this application; Figure 3 A schematic diagram of the structure of a camera device provided in this application; Figure 4 A flowchart illustrating a device control method provided in an exemplary embodiment of this application; Figure 5 A flowchart of a device control method provided for an exemplary embodiment of this application; Figure 6 A schematic diagram of a device adding interface provided for an exemplary embodiment of this application; Figure 7 A schematic diagram of a device display interface provided for an exemplary embodiment of this application; Figure 8 A schematic diagram of a first prompt interface provided for an exemplary embodiment of this application; Figure 9 A schematic diagram of a first control interface provided for an exemplary embodiment of this application; Figure 10 A schematic diagram of a first settings interface provided for an exemplary embodiment of this application; Figure 11 A schematic diagram of a second control interface provided for an exemplary embodiment of this application; Figure 12This is a schematic diagram of an interface for displaying data captured by a camera in a terminal device according to an exemplary embodiment of this application; Figure 13 A structural block diagram of a device control apparatus provided in an exemplary embodiment of this application; Figure 14 A structural block diagram of a device control apparatus provided in an exemplary embodiment of this application; Figure 15 A schematic diagram illustrating another example of the device control apparatus provided in the embodiments of this application; Figure 16 This is a schematic diagram of the structure of an electronic device provided as an exemplary embodiment of this application. Detailed Implementation

[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0037] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0038] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0039] The solution provided in this application can be used in real-life scenarios where a user uses a camera to take pictures in daily life, but the camera's battery power is insufficient to meet subsequent shooting needs. For ease of understanding, the application scenarios involved in the embodiments of this application will be briefly introduced below.

[0040] With the development of science and technology, various electronic devices have appeared in people's daily lives, allowing them to use them for entertainment, learning, and more. Among these, video recording devices are a common type of recording equipment, enabling users to capture desired video information. Common video recording devices include various types of camcorders and action cameras.

[0041] Please refer to Figure 1 This illustration shows a scene diagram of everyday shooting using a camera device, provided by an exemplary embodiment of this application. Figure 1 As shown, it includes a variety of camera devices 110.

[0042] These freely movable camera devices 110 are typically powered by their own batteries, the size of which determines their battery life. If the battery is about to run out, the user can manually replace it and resume recording.

[0043] Currently, to improve the battery life of camera equipment, most manufacturers add expansion slots to the cameras, allowing for the installation of more batteries. However, this approach increases the size of the camera due to the need for these expansion slots, making it less suitable for scenarios where the camera needs to be worn. For example, in extreme sports or outdoor adventures, while the expansion slot improves battery life, it significantly reduces the wearable functionality of the camera. Furthermore, with this solution, users still need to manually replace the batteries when they run out, resulting in interrupted recording during battery removal.

[0044] To address the problems mentioned above, this solution proposes a method that allows for timely switching to another camera for shooting when the camera battery is low, eliminating the need for users to manually switch batteries and thus improving the efficiency of outdoor shooting.

[0045] Please refer to Figure 2 This illustration shows a flowchart of a device control method provided in an exemplary embodiment of this application. This device control method can be applied to a terminal device and executed by the terminal device. Figure 2 As shown, the method may include the following steps: Step 201: When taking a picture through the first camera of the camera device, obtain the first battery level of the first camera.

[0046] The first camera establishes a communication connection with the terminal device, and the camera device includes a charging compartment, a detachable first camera, and a detachable second camera.

[0047] Optionally, in this solution, the terminal device can establish a communication connection with any of the cameras in the detachable charging case of the camera device, and obtain the battery level of the currently connected camera in real time. Please refer to... Figure 3 The diagram illustrates the structure of a camera device provided in this application. Figure 3 As shown, the device includes a charging case 301 and detachable cameras 302. When not in use, each detachable camera 302 can be placed in a corresponding groove on the charging case 301, and the charging case 301 can charge the cameras in the grooves. When in use, the user can remove any camera 302 from its corresponding groove in the charging case 301, detach it from the charging case 301, and control the camera detached from the charging case 301 to take pictures.

[0048] Optionally, the above Figure 3 The two recesses in the charging compartment 301 for placing two cameras 302 are exemplary. In practical applications, more recesses can be set and more cameras can be configured. This solution does not limit the number of cameras included in the camera device.

[0049] Optionally, the terminal device can establish a communication connection with the camera that has exited the recess in the charging case. This communication connection can be a short-range wireless communication connection. Taking Bluetooth as a common example, the camera device may include a Bluetooth module, and the terminal device also includes a Bluetooth module; the two establish a Bluetooth connection via the Bluetooth protocol. Of course, with the development of science and technology, other types of short-range wireless communication connections can also be used, which will not be elaborated here.

[0050] Optionally, the first camera can be any camera in the charging case, and the second camera can be another camera in the charging case, different from the first camera. During normal use, if the terminal device establishes a communication connection with the first camera and uses it to take pictures, the terminal device can obtain the current battery level of the first camera via Bluetooth. For example, the first camera can actively obtain its own battery level and send it to the terminal device, or the terminal device can actively send a battery level acquisition request, and the first camera, in response to the request, returns its own battery level to the terminal device.

[0051] Step 202: Upon receiving the target signal sent by the second camera, establish a communication connection with the second camera and obtain the second battery level of the second camera.

[0052] Optionally, the target signal is a signal actively emitted by the second camera to request a communication connection with the terminal device. For example, in the above... Figure 3 In the process, the user first takes out the first camera from the charging case. After the terminal device establishes a communication connection with the first camera, it takes a picture using the first camera. Then, the user takes out the second camera from the charging case. At this time, the second camera can also send a signal to request the establishment of a communication connection, and the terminal device then establishes a communication connection with the second camera.

[0053] Optionally, after establishing a communication connection with the second camera, the terminal device can also obtain the battery level of the second camera (i.e., the second battery level). The method by which the terminal device obtains the second battery level can be the same as the method by which it obtains the first battery level, and will not be elaborated here.

[0054] Step 203: When the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is higher than a preset battery threshold, control the switch from the first camera to the second camera for shooting.

[0055] Optionally, after the terminal device obtains the first battery level and the second battery level, it can detect the first battery level and the second battery level, and if the first battery level of the first camera is lower than a preset battery level threshold and the second battery level of the second camera is higher than a preset battery level threshold, it can control the switching from the first camera to the second camera for shooting, thus completing the process of switching from shooting with the first camera to shooting with the second camera.

[0056] In this solution, the terminal device can determine in real time whether to switch from using the first camera to using the second camera based on the relationship between the battery levels of each camera and a preset battery threshold. The preset battery threshold can be pre-set by the developers within the terminal device.

[0057] For example, the preset battery threshold can be a low battery value. If the camera's battery level is lower than the preset threshold, it means that the battery is running low or about to be depleted. At this time, you can switch to another camera with a higher battery level (above the preset threshold) to take pictures. This eliminates the need for users to manually replace the camera's battery, thus avoiding the problem of interrupted shooting. It improves battery life and increases shooting efficiency.

[0058] In summary, when the terminal device establishes a communication connection with the first camera and uses the first camera to take pictures, it obtains the first camera's first battery level. When the second camera also establishes a communication connection with the terminal device, it also obtains the second camera's second battery level. By monitoring the relationship between the respective batteries of the two cameras and preset battery thresholds, the terminal device controls the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold. This completes the automatic switching of shooting, eliminating the need for additional expansion compartments on the cameras. While ensuring convenience, it also provides an automatic switching shooting function and avoids the problem of discontinuous shooting caused by manual battery replacement, thus improving the efficiency of outdoor shooting.

[0059] The following section provides an example illustrating the device control methods implemented by the aforementioned terminal equipment from the perspective of the camera device. Please refer to [link / reference]. Figure 4 This illustration shows a flowchart of a device control method provided in an exemplary embodiment of this application. The method can be applied to a camera device including a charging compartment and at least two detachable cameras. Figure 4 As shown, the device control method may include the following steps: Step 401: When the first camera leaves the charging case and establishes a communication connection with the terminal device, send the first battery level of the first camera to the terminal device.

[0060] Optionally, the structure of the camera equipment can refer to the above. Figure 3 The description will not be repeated here.

[0061] After the first camera leaves the charging case, it can establish a communication connection with the terminal device. During the process of the terminal device taking pictures using the first camera, it can send its own power (i.e., the first power) to the terminal device through the communication connection.

[0062] Step 402: When the second camera leaves the charging case and establishes a communication connection with the terminal device, send the second battery level of the first camera to the terminal device.

[0063] Optionally, the second camera works similarly to the first camera, and can also establish a communication connection with the terminal device after leaving the charging case.

[0064] Step 403: When the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold, the system receives a stop command sent by the terminal device through the first camera and a shooting command sent by the terminal device through the second camera, so as to switch from the first camera to the second camera for shooting.

[0065] Optionally, in this solution, each camera that establishes a communication connection with the terminal device can communicate with the terminal device. Cameras that need to perform shooting functions can receive shooting commands sent by the terminal device, and cameras that need to stop shooting can receive stop commands sent by the terminal device. Taking the first and second cameras as examples, if it is necessary to switch from shooting with the first camera to shooting with the second camera, then the first camera will receive a stop command, and the second camera will receive a shooting command.

[0066] In summary, the camera device provided by this solution includes a charging case and at least two detachable cameras. For cameras that are removed from the charging case and establish a communication connection with the terminal device, they can promptly transmit their own battery status. The terminal device can monitor the relationship between the battery level of each camera and a preset battery threshold. When the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold, the terminal device receives a stop command from the first camera and a shooting command from the terminal device through the second camera. This allows the terminal device to control the switching from the first camera to the second camera for shooting, completing the automatic switching of shooting. This eliminates the need for additional expansion compartments on the cameras, ensuring convenience while providing automatic switching shooting functionality. It also avoids the problem of discontinuous shooting caused by manual battery replacement, improving the efficiency of outdoor shooting.

[0067] Next, the terminal device successfully pairs with the charging case of the camera device to obtain the device identifiers for each camera, and then displays the corresponding information on the terminal device using these identifiers. Through interaction with the terminal device, the user can control whether the device uses one or more of the cameras for shooting.

[0068] Please refer to Figure 5 This illustration shows a flowchart of a device control method provided in an exemplary embodiment of this application. This device control method can be applied to a terminal device and executed by the terminal device. Figure 5 As shown, the method may include the following steps: Step 501: The terminal device is paired with the camera device.

[0069] Step 502: The terminal device obtains the device identifier of each camera included in the camera device and displays the current status information of each camera.

[0070] Optionally, the terminal device can pair with the camera device by scanning the device information code on the charging case. For example, camera manufacturers typically set a device information code (such as a QR code or barcode) on the charging case. The user scans this code with their terminal device to successfully pair with the camera. Alternatively, the user can manually enter the device code into their terminal device, which will then complete the pairing process. This device code could be a string of numbers pre-assigned by the camera manufacturer to represent the camera device.

[0071] Optionally, a target application can be pre-installed on the terminal device. This application triggers the scanning function, which scans the device information code on the charging case or adds a camera device to complete the pairing process. Please refer to [link / reference]. Figure 6 This illustration shows a schematic diagram of a device adding interface provided in an exemplary embodiment of this application. Figure 6 As shown, this includes an add control 601, a scan control 602, and a code input control 603. The user can trigger the add control 601 to display the scan control 602 and the code input control 603 on the terminal device. If the user continues to trigger the scan control 602, the scanning function can be activated, scanning the device information code on the charging case to pair the terminal device with the camera device. If the user continues to trigger the code input control 603, the device code can be manually entered to complete the pairing between the terminal device and the camera device.

[0072] Optionally, after pairing is complete, the terminal device can obtain the device identifiers of each camera contained in the charging case and display the current status information of each camera according to its respective device identifier. This status information indicates the current connection status of each camera. That is, after pairing is complete, the terminal device can obtain the device identifiers of each camera contained in the charging case and display each camera sequentially according to its respective device identifier. Please refer to [reference needed]. Figure 7 This illustration shows a schematic diagram of a device display interface provided in an exemplary embodiment of this application. For example... Figure 7 As shown, it includes virtual icons 701 for each camera in the charging case, device identifiers 702 for each camera, and status information 703 for each camera.

[0073] exist Figure 7In the context of the 703 status information, there are two types: a connected state where a communication connection has been established with the terminal device, and an idle state where a communication connection has not been established with the terminal device. For example, for... Figure 7 Regarding the second camera from left to right, if its status information is "connected," it means that the second camera has already established a communication connection with the terminal device. If its status information is "idle," it means that the second camera has not yet established a communication connection with the terminal device.

[0074] Optionally, the virtual icon 701 also comes in two forms, which can represent whether the camera is detached from the charging case. For example, in the above... Figure 7 In the process, for cameras that are detached from the charging case, the terminal device will display the complete camera icon (e.g., ...). Figure 7 As indicated by 701a in the document), if the camera is not detached from the charging case, the terminal device will display an incomplete camera icon (such as...). Figure 7 (as indicated by 701b in the document).

[0075] In one possible implementation, the charging case can also be equipped with a Bluetooth module, allowing the terminal device to establish a communication connection with it. The charging case can then send real-time information to the terminal device, including which detachable cameras have left the charging case, which are still inside, and the current battery level of each camera. Furthermore, after establishing a communication connection with the charging case, the charging case can first send the device identifiers of each camera it contains to the terminal device. This allows the terminal device to display the current status information of each camera based on its respective identifier, indicating the current connection status of each camera. The process of directly obtaining battery level information after the terminal device establishes a communication connection with the camera can be achieved through direct interaction between the terminal device and the camera after the connection is established; this is not limited to this approach.

[0076] In other words, from the perspective of the camera device, the pairing process in steps 501 to 502 can also be performed by the camera device as follows: establishing a communication connection with the terminal device through the charging case; sending the device identifiers of each camera contained in the charging case to the terminal device, so that the terminal device can display the current status information of each camera according to the device identifier of each camera, and the status information is used to indicate the current connection status of each camera.

[0077] Please refer to Table 1, which shows the correspondence between interactive objects and transmitted data during the interaction between a terminal device and a camera device according to an exemplary embodiment of this application.

[0078] Table 1

[0079] Step 503: When the first camera leaves the charging case, the terminal device establishes a communication connection with the first camera.

[0080] Optionally, in practical applications, users can remove any camera (i.e., the first camera) from the charging case. After the first camera leaves the charging case, it can send a target signal to the terminal device to establish a communication connection. Based on this target signal, the terminal device obtains the device identifier of the first camera. If the device identifier of the first camera belongs to the previously paired charging case, a communication connection can be established with the first camera. If the terminal device receives the target signal of a certain camera and finds that the device identifier of the camera does not belong to the paired charging case, it will not establish a connection with the camera to prevent connection confusion.

[0081] Optionally, taking Bluetooth as an example of communication connection, in this solution, each camera in the charging case is equipped with a corresponding Bluetooth module. The target signal can be a Bluetooth connection signal transmitted outward by the Bluetooth module. When the terminal device turns on its own Bluetooth, it will receive the target signal sent by the first camera leaving the charging case, and thus establish a Bluetooth connection.

[0082] Step 504: Take a picture using the first camera and obtain the first battery level of the first camera.

[0083] Optionally, the terminal device can choose to take pictures using the first camera of the camera device. For example, after completing step 503 above, the user can manually select to take pictures using the first camera, and the terminal device can display the data captured by the first camera.

[0084] In this solution, the terminal device can obtain the first camera's battery level in real time or periodically while controlling the first camera to take pictures. For example, the first camera can actively send its current battery level, which it has detected, to the terminal device via a communication connection in real time or periodically, so that the terminal device can obtain the first camera's battery level. Alternatively, the terminal device can also send a request to the first camera to obtain its battery level via a communication connection at a preset period, and the first camera will respond to the request by returning its own battery level to the terminal device.

[0085] In the scenario where the first camera sends the first charge to the terminal device, from the perspective of the first camera, this step is equivalent to the camera sending the first charge of the first camera to the terminal device when the first camera leaves the charging case and establishes a communication connection with the terminal device.

[0086] Step 505: When the second camera leaves the charging case, the terminal device establishes a communication connection with the second device.

[0087] Optionally, as the first camera is used, its battery level will gradually decrease until it is completely depleted. In practical applications, users can flexibly remove other cameras from the charging case and establish corresponding communication connections with the terminal device according to the connection process described above.

[0088] For example, if the terminal device has already established a communication connection with the first camera and is currently using the first camera to take pictures, and the user then takes out the second camera from the charging case, the second camera, like the first camera, will also send a target signal. Accordingly, upon receiving the target signal from the second camera, the terminal device retrieves the device identifier of the second camera based on the target signal; if the device identifier of the second camera belongs to the charging case, a communication connection is established with the second camera.

[0089] In step 506, the terminal device also obtains the second battery level of the second camera.

[0090] After the terminal device establishes a communication connection with the second camera, it will also obtain the second camera's second battery level in the same way it obtained the first camera's first battery level. Similarly, in scenarios where the second camera sends the second battery level to the terminal device, from the second camera's perspective, this step is equivalent to the camera sending the second camera's second battery level to the terminal device after the second camera leaves the charging case and establishes a communication connection with the terminal device.

[0091] Step 507: When the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is higher than a preset battery threshold, control the switch from the first camera to the second camera for shooting.

[0092] Optionally, after obtaining the first battery level of the first camera and the second battery level of the second camera, the terminal device can first use a preset battery level threshold to detect the first battery level of the first camera and the second battery level of the second camera respectively. If the detection result is that the first battery level of the first camera is lower than the preset battery level threshold and the second battery level of the second camera is higher than the preset battery level threshold, then the device can control the switching from shooting with the first camera to shooting with the second camera to achieve a fast switching effect.

[0093] Optionally, the terminal device can control the switching from shooting with the first camera to shooting with the second camera in the following way: send a shooting command to the second camera to control the second camera to shoot; send a stop command to the first camera to control the first camera to stop shooting. That is, send a shooting command to the camera that needs to shoot and a stop command to the camera that needs to stop shooting to complete the switching of which camera to use for shooting. This process can also be implemented based on the above-mentioned communication connection.

[0094] From the perspective of the camera equipment, step 507 is equivalent to switching from the first camera to the second camera for shooting when the first camera's battery level is below a preset battery threshold and the second camera's battery level is above a preset battery threshold. This is achieved by receiving a stop command from the terminal device via the first camera and a shooting command from the terminal device via the second camera. Optionally, in addition to controlling the shooting or stopping of the camera via commands, developers can also set a physical shooting button on the camera, allowing users to control it themselves.

[0095] Optionally, the aforementioned preset battery threshold can be set by the developers or users. For example, the preset battery threshold could be 10% battery level. When the terminal device detects that the first camera's battery level is below 10% while the second camera's battery level is above 10%, it can switch from using the first camera to using the second camera. It should be noted that this solution is illustrated using the first and second cameras as an example. In practical applications, in scenarios where one camera is used for shooting first, and then the other camera is removed from the charging case to establish a communication connection with the terminal device, the terminal device essentially switches automatically to the camera with the higher battery level for shooting.

[0096] In one possible implementation, to improve the efficiency of user interaction, when the terminal device is connected to multiple cameras, if the terminal device detects that the battery level of any one camera is below a preset battery threshold, it can generate a first prompt message. This first prompt message indicates that the camera's battery level is below the preset threshold and needs to be charged. For example, in this solution, when the battery level of the first camera falls below the preset battery threshold, a first prompt message is generated to indicate that the battery level of the first camera is below the preset battery threshold. Please refer to [reference needed]. Figure 8 This illustration shows a schematic diagram of a first prompt interface provided by an exemplary embodiment of this application. Figure 8 As shown, the first prompt interface 800 includes the first prompt information 801 generated by the terminal device. Figure 8In the middle, it is the first prompt message that the terminal device prompts the user to charge the first camera after detecting that the battery level is below 10%.

[0097] Optionally, the above Figure 8 The scheme shown for displaying the first prompt message 801 is also exemplary. In practical applications, the generated first prompt message can also be displayed in other ways, such as flashing lights or playing voice messages, which will not be elaborated here.

[0098] In one possible implementation, during the specific implementation process, the terminal device may also execute the process of controlling the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than a preset battery threshold: when the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, the battery difference between the first battery level and the second battery level is obtained; if the battery difference exceeds a preset difference, a first control interface is displayed, the first control interface including a switching control, the switching control is used to switch to the camera with the higher battery level for shooting; in response to the triggering operation of the switching control, the switching from the first camera to the second camera for shooting is controlled.

[0099] In other words, after the terminal device obtains the battery levels of the first and second cameras, if it detects that the first camera's battery level is below a preset threshold and the second camera's battery level is above a preset threshold, it will further obtain the difference between the first and second battery levels. If this difference exceeds a preset threshold, the first control interface will be displayed, allowing the user to operate the terminal device to switch cameras. That is, to further improve the accuracy of switching, in addition to detecting the relationship between the battery levels of each camera and the preset threshold, the terminal device can also detect the battery difference between the two cameras. If the difference exceeds the preset threshold, combined with the control operation executed on the terminal device, the process of switching from the first camera to the second camera for shooting will be completed. Optionally, this preset difference can also be set by the developers or the user, such as 30% battery level, 50% battery level, etc.

[0100] Please refer to Figure 9 This illustrates a schematic diagram of a first control interface provided in an exemplary embodiment of this application. Figure 9 In the first control interface 900, there is a switching control 901 and switching information 902. The switching information 902 indicates which camera the user is currently switching from to which camera's content. The user can trigger the switching control 901 to complete the switching process.

[0101] In one possible implementation, the terminal device may also perform the following process: if the terminal device has established a communication connection with at least two cameras, it displays a first settings interface, which includes mode setting controls; in response to a setting operation on the mode setting controls, it determines a target shooting mode, which may include a single-shot mode using a single camera or a multi-shot mode using multiple cameras simultaneously. Please refer to [reference needed]. Figure 10 This illustrates a schematic diagram of a first settings interface provided in an exemplary embodiment of this application. Figure 10 As shown, the first settings interface 1000 includes a mode setting control 1001 and various shooting modes 1002. Users can set their desired shooting mode through the mode setting control 1001. For example, if the selected shooting mode is single-shot mode, then the target shooting mode is single-shot mode; if the selected shooting mode is multi-shot mode, then the target shooting mode is that multiple cameras can shoot simultaneously.

[0102] Optionally, the process of displaying the first settings interface can be as follows: The first settings interface is displayed if both the first camera's first battery level and the second camera's second battery level are greater than a preset battery threshold. That is, the terminal device displays the first settings interface when both the first camera's first battery level and the second camera's second battery level are greater than the preset battery threshold. If either camera's battery level is below the preset threshold, multi-shot mode is not suitable, and single-shot mode can be automatically selected. Multi-shot mode is only meaningful when both cameras have relatively high battery levels.

[0103] Optionally, if the target shooting mode is a multi-shot mode that uses multiple cameras to shoot simultaneously, the terminal device may also perform the following steps: display a second control interface, the second control interface including a start shooting control; in response to a first trigger operation of the start shooting control, send shooting commands to both the first camera and the second camera; in response to a second trigger operation of the start shooting control, send stop commands to both the first camera and the second camera, the stop commands being used to control the cameras to stop shooting.

[0104] From the perspective of the camera equipment, in multi-shot mode, the process of the terminal device simultaneously controlling multiple cameras to shoot or stop shooting is as follows: When the first battery level of the first camera is greater than a preset battery threshold, and the second battery level of the second camera is greater than a preset battery threshold, if the target shooting mode of the terminal device is a multi-shot mode in which multiple cameras shoot simultaneously, the terminal device receives shooting instructions sent by the terminal device through the first camera and the second camera, and the shooting instructions are used to control the cameras to shoot; or, the terminal device receives stop instructions sent by the terminal device through the first camera and the second camera, and the stop instructions are used to control the cameras to stop shooting.

[0105] Please refer to Figure 11 This illustrates a schematic diagram of a second control interface provided in an exemplary embodiment of this application. Figure 11 As shown, the second control interface 1100 includes a start shooting control 1101. If the user performs a first trigger operation on the start shooting control, the terminal device can send shooting commands to both the first and second cameras. If the user performs a second trigger operation on the start shooting control, the terminal device can send stop commands to both the first and second cameras. The first trigger operation can be any of the following: click, double-click, long press, swipe, etc. The second trigger operation can be the same as or different from the first trigger operation.

[0106] Optionally, if the target shooting mode is a multi-shot mode using multiple cameras simultaneously, the terminal device can also perform the following steps: receiving first data captured by the first camera and displaying the first image corresponding to the first data in a first display area on the screen; receiving second data captured by the second camera and displaying the second image corresponding to the second data in a second display area on the screen. That is, when the target shooting mode is a multi-shot mode, the terminal device's screen can display the data captured by each camera according to different display areas.

[0107] Please refer to Figure 12 This illustration shows a schematic diagram of an interface in a terminal device displaying data captured by a camera, according to an exemplary embodiment of this application. Figure 12 As shown, the display screen 1200 includes a first display area 1201 and a second display area 1202. For the first data captured by the first camera, the terminal device can display the corresponding first image in the first display area 1201. For the second data captured by the second camera, the terminal device can display the corresponding second image in the second display area 1202.

[0108] In one possible implementation, the target shooting mode described above may also include a human eye mode, whereby the terminal device can fuse the data captured by the two cameras to obtain a scene image that mimics human vision, and display it in a display area on the screen.

[0109] Optionally, in addition to actively setting the target shooting mode according to the above interactive method, the terminal device can also detect the number of cameras connected to it. If only one camera has established a communication connection with it, the target shooting mode can be determined to be a single-camera shooting mode. That is, the terminal device can determine that the target shooting mode is a single-camera shooting mode when there is only one camera outside the charging case. For example, if the terminal device has established a communication connection with both the first and second cameras, the user can manually return one of the cameras to the charging case. Whether the user puts the first or the second camera back into the charging case, leaving only one camera connected to the terminal device, the terminal device can automatically determine the target shooting mode as a single-camera shooting mode.

[0110] Optionally, from the perspective of the camera device, the camera device can control the camera placed back in the charging case to stop recording when any camera is placed back in the charging case. For example, after the user places the first camera back in the charging case, the first camera can perform actions such as disconnecting the communication connection and stopping recording, thereby charging in the corresponding slot in the charging case.

[0111] Taking a real-life action camera as the camera device and a common mobile phone as the terminal device, the functions implemented in the above method embodiment will be illustrated. During outdoor activities (such as mountain climbing), users need to record long periods of hiking. Users can pair their mobile phones with the charging case. When the user removes camera one, the phone can establish a Bluetooth connection with camera one, displaying the image corresponding to the data captured by camera one on the phone's screen. After a period of use, the battery level of camera one will decrease. If it falls below the preset battery threshold (10%), the phone will prompt a low battery warning, allowing the user to charge it promptly. After discovering that camera one's battery is low, the user can remove camera two from the charging case. Camera two will also emit a Bluetooth signal and establish a Bluetooth connection with the phone. After detecting that both cameras have established Bluetooth connections, the phone will check the battery level of each camera through the above detection process. If the switching conditions are met (i.e., camera one's battery level is below the preset battery threshold, and camera two's battery level is above the preset battery threshold), the camera can be switched from using camera one to using camera two for shooting. The image corresponding to the data captured by camera two can be displayed on the phone. The camera can be placed back in the charging case for charging. The entire switching process does not require battery replacement, allowing users to alternate between cameras for extended shooting sessions.

[0112] For multi-shot mode applications, users can remove two cameras at once (Camera 1 and Camera 2 as an example) and place them in different locations or have them worn by different users. The phone establishes a communication connection with both Camera 1 and Camera 2. When the battery difference between the two cameras is less than a preset value, the phone will display an option to enable multi-shot mode. After the user confirms, they can proceed as described above. Figure 12 The method shown displays the images captured by camera one and camera two in their respective display areas. Users can control both cameras to start or stop recording simultaneously by triggering a stop or start button on their phone. Optionally, for implementations with physical shutter buttons, in multi-shot mode, when a user triggers the physical shutter button on camera one to start recording, it also indirectly controls camera two to start recording, achieving the effect of controlling multiple cameras to start and stop recording simultaneously with a single physical shutter button on one camera.

[0113] In summary, when the terminal device establishes a communication connection with the first camera and uses the first camera to take pictures, it obtains the first camera's first battery level. When the second camera also establishes a communication connection with the terminal device, it also obtains the second camera's second battery level. By monitoring the relationship between the respective batteries of the two cameras and preset battery thresholds, the terminal device controls the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold. This completes the automatic switching of shooting, eliminating the need for additional expansion compartments on the cameras. While ensuring convenience, it also provides an automatic switching shooting function and avoids the problem of discontinuous shooting caused by manual battery replacement, thus improving the efficiency of outdoor shooting.

[0114] The following are embodiments of the apparatus of this application, which can be used to execute the embodiments of the method of this application. For details not disclosed in the embodiments of the apparatus of this application, please refer to the embodiments of the method of this application.

[0115] Please refer to Figure 13 This illustrates a structural block diagram of a device control apparatus provided in an exemplary embodiment of this application. The device control apparatus 1300 can be used in a terminal device and can execute all or part of the steps performed by the terminal device in the methods provided in various method embodiments. The device control apparatus 1300 includes: The first acquisition module 1301 is used to acquire the first battery level of the first camera when shooting through the first camera of the camera device. The first camera has a communication connection with the terminal device. The camera device includes a charging case, a detachable first camera and a detachable second camera. The second acquisition module 1302 is used to establish a communication connection with the second camera and acquire the second battery level of the second camera when it receives the target signal sent by the second camera; The first control module 1303 is used to control the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold.

[0116] In summary, when the terminal device establishes a communication connection with the first camera and uses the first camera to take pictures, it obtains the first camera's first battery level. When the second camera also establishes a communication connection with the terminal device, it also obtains the second camera's second battery level. By monitoring the relationship between the respective batteries of the two cameras and preset battery thresholds, the terminal device controls the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold. This completes the automatic switching of shooting, eliminating the need for additional expansion compartments on the cameras. While ensuring convenience, it also provides an automatic switching shooting function and avoids the problem of discontinuous shooting caused by manual battery replacement, thus improving the efficiency of outdoor shooting.

[0117] Optionally, the first control module 1303 includes: a first acquisition unit, a first display unit, and a first control unit; The first acquisition unit is used to acquire the power difference between the first power level and the second power level when the first power level of the first camera is lower than a preset power level threshold and the second power level of the second camera is greater than the preset power level threshold. The first display unit is used to display a first control interface if the battery difference exceeds a preset difference. The first control interface includes a switching control, which is used to switch to the camera with higher battery for shooting. The first control unit is configured to control the switching from the first camera to the second camera for shooting in response to a trigger operation of the switching control.

[0118] Optionally, the device further includes: The first display module is used to display a first setting interface if the terminal device has established a communication connection with at least two cameras. The first setting interface includes mode setting controls. The first determining module is used to determine the target shooting mode in response to the setting operation of the mode setting control. The target shooting mode includes a single-shot mode using a single camera or a multi-shot mode using multiple cameras simultaneously.

[0119] Optionally, the device further includes: The second display module is used to display a second control interface if the target shooting mode is a multi-shot mode that uses multiple cameras to shoot simultaneously. The second control interface includes a start shooting control. The third sending module is used to send shooting instructions to both the first camera and the second camera in response to the first trigger operation of the start shooting control; The fourth sending module is used to send a stop command to both the first camera and the second camera in response to the second trigger operation of the start shooting control. The stop command is used to control the camera to stop shooting.

[0120] Optionally, the device further includes: The first receiving module is configured to receive the first data captured by the first camera and display the first image corresponding to the first data in a first display area on the display screen if the target shooting mode is a multi-shot mode in which multiple cameras shoot simultaneously. The second receiving module is used to receive the second data captured by the second camera and display the second image corresponding to the second data in the second display area of ​​the display screen.

[0121] Optionally, the first display module is further configured to: If the first battery level of the first camera is greater than a preset battery threshold, and the second battery level of the second camera is greater than the preset battery threshold, the first settings interface will be displayed.

[0122] Optionally, the device further includes: The second determining module is used to determine, in response to the case that there is one and only one camera outside the charging compartment, that the target shooting mode is a single-shot mode using a single camera.

[0123] Optionally, the first control module further includes: a second control unit and a third control unit; The second control unit is used to send shooting commands to the second camera and control the second camera to shoot. The third control unit is used to send a stop command to the first camera to control the first camera to stop shooting.

[0124] Optionally, the device further includes: The first generation module is configured to generate a first prompt message when the battery level of the first camera is lower than a preset battery threshold before the control switches from the first camera to the second camera for shooting. The first prompt message is used to indicate that the battery level of the first camera is lower than the preset battery threshold.

[0125] Optionally, the device further includes: The first scanning module is used to scan the device information code on the charging compartment to obtain the device identifier of each camera contained in the charging compartment; The third display module is used to display the current status information of each camera according to its respective device identifier. The status information is used to indicate the current connection status of each camera.

[0126] Optionally, the second acquisition module is further configured to: Upon receiving a target signal from the second camera, the device identifier of the second camera is obtained based on the target signal. If the device identifier of the second camera belongs to the charging compartment, a communication connection is established with the second camera.

[0127] Please refer to Figure 14 This illustration shows a structural block diagram of a device control apparatus provided in an exemplary embodiment of this application. The device control apparatus 1400 can be used in a camera device, which includes a charging compartment and at least two detachable cameras, and can perform all or part of the steps performed by the camera device in the methods provided in various method embodiments. The device control apparatus 1400 includes: The first sending module 1401 is used to send the first battery level of the first camera to the terminal device when the first camera leaves the charging case and establishes a communication connection with the terminal device. The second sending module 1402 is used to send the second battery level of the first camera to the terminal device when the second camera leaves the charging case and establishes a communication connection with the terminal device. The first receiving module 1403 is used to receive a stop command through the first camera and a shooting command through the second camera when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, so as to switch from the first camera to the second camera for shooting.

[0128] In summary, the camera device provided by this solution includes a charging case and at least two detachable cameras. For cameras that are removed from the charging case and establish a communication connection with the terminal device, they can promptly transmit their own battery status. The terminal device can monitor the relationship between the battery level of each camera and a preset battery threshold. When the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is higher than the preset battery threshold, the terminal device receives a stop command from the first camera and a shooting command from the terminal device through the second camera. This allows the terminal device to control the switching from the first camera to the second camera for shooting, completing the automatic switching of shooting. This eliminates the need for additional expansion compartments on the cameras, ensuring convenience while providing automatic switching shooting functionality. It also avoids the problem of discontinuous shooting caused by manual battery replacement, improving the efficiency of outdoor shooting.

[0129] Optionally, if the target shooting mode of the terminal device is a multi-shot mode using multiple cameras simultaneously, and the first camera's first battery level is greater than the preset battery threshold, and the second camera's second battery level is greater than the preset battery threshold, the device further includes: The third receiving module is configured to receive a shooting command sent by the terminal device via the first camera, and to receive the shooting command sent by the terminal device via the second camera, wherein the shooting command is used to control the camera to take a picture; or, The fourth receiving module is configured to receive a stop command sent by the terminal device via the first camera, and to receive the stop command sent by the terminal device via the second camera, wherein the stop command is used to control the camera to stop shooting.

[0130] Optionally, the device further includes: The second control module is used to control the camera that has been placed back into the charging compartment to stop shooting in response to the situation where any camera is placed back into the charging compartment.

[0131] Optionally, the device further includes: A connection establishment module is used to establish a communication connection with the terminal device through the charging compartment; The fifth sending module is used to send the device identifiers of each camera contained in the charging case to the terminal device, so that the terminal device can display the current status information of each camera according to its respective device identifier. The status information is used to indicate the current connection status of each camera.

[0132] Please refer to Figure 15 This is a schematic diagram illustrating another example of the device control apparatus provided in this application embodiment. The device control apparatus 1500 can be an electronic device capable of implementing the functions of the terminal device or camera device in the method provided in this application embodiment. The device control apparatus 1500 can be a chip system. In this application embodiment, the chip system can be composed of chips or may include chips and other discrete components.

[0133] In terms of hardware implementation, the aforementioned communication module can be a transceiver, which is integrated into the device control unit 1500 to form the communication interface 1503.

[0134] The device control device 1500 includes at least one processor 1501, used to implement or support the device control device 1500 in implementing the functions of the terminal device or camera device in the methods provided in the embodiments of this application. For example, the processor 1501 can execute steps such as: when the terminal device establishes a communication connection with the first camera and takes a picture using the first camera, acquiring the first camera's first battery level; and when a second camera also establishes a communication connection with the terminal device, acquiring the second camera's second battery level; and when the terminal device monitors the relationship between the respective battery levels of the two cameras and a preset battery threshold, and when the first battery level of the first camera is lower than the preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, controlling the switching from the first camera to the second camera for shooting. For details, please refer to the detailed description in the method examples; further elaboration is not provided here.

[0135] The device control apparatus 1500 may further include at least one memory 1502 for storing program instructions and / or data. The memory 1502 is coupled to the processor 1501. The coupling in this embodiment is an indirect coupling or communication connection between devices, units, or modules, and may be electrical, mechanical, or other forms, used for information exchange between devices, units, or modules. The processor 1501 may operate in conjunction with the memory 1502. The processor 1501 may execute program instructions stored in the memory 1502. At least one of the at least one memory may be included in the processor.

[0136] The device control unit 1500 may further include a communication interface 1503 for communicating with other devices via a transmission medium, thereby enabling the devices in the device control unit 1500 to communicate with other devices. For example, the other device may be a network-side device. The processor 1501 may use the communication interface 1503 to send and receive data. Specifically, the communication interface 1503 may be a transceiver.

[0137] This application embodiment does not limit the specific connection medium between the communication interface 1503, processor 1501, and memory 1502. This application embodiment... Figure 15 The memory 1502, processor 1501, and communication interface 1503 are connected via a bus 1504. Figure 15 The connections between other components are shown in bold lines only and are not intended to be limiting. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, Figure 15 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0138] In the embodiments of this application, the processor 1501 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.

[0139] In this embodiment, the memory 1502 can be non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or it can be volatile memory, such as random-access memory (RAM). Memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures, and accessible by a computer, but is not limited thereto. The memory in this embodiment can also be a circuit or any other device capable of implementing storage functions, used to store program instructions and / or data.

[0140] Optionally, embodiments of this application also provide a terminal device, which includes a processor and a memory. The memory stores a computer program, which is executed by the processor to implement all or part of the steps performed by the terminal device in the device control methods of the above embodiments.

[0141] Optionally, embodiments of this application also provide a camera device, which includes a processor and a memory. The memory stores a computer program, which is executed by the processor to implement all or part of the steps performed by the camera device in the device control methods of the various embodiments above.

[0142] Please refer to Figure 16 This illustrates a schematic diagram of the structure of an electronic device provided in an exemplary embodiment of this application. Figure 16 The electronic device shown includes components such as a processor 1610, a memory 1620, a transceiver 1630, a display unit 1640, an input unit 1650, a sensor 1660, an audio circuit 1670, and a battery module 1680.

[0143] The processor 1610 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 1620, and by calling data stored in the memory 1620, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 1610 may include one or more processing units; optionally, the processor 1610 may integrate an application processor, which mainly handles operating devices, user interfaces, and application programs. Of course, it may also include other processors, which are not listed here.

[0144] The memory 1620 can be used to store software programs and modules. The processor 1610 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 1620. The memory 1620 may mainly include a program storage area and a data storage area. The program storage area may store the operating device and application programs required for at least one function (such as sound playback function, image playback function, etc.); the data storage area may store data created according to the use of the electronic device (such as audio data, telephone book, etc.). In addition, the memory 1620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0145] Transceiver 1630 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. Transceiver 1630 can be one or more devices integrating at least one communication processing module; for example, it can integrate an antenna with a baseband processor, or it can integrate an antenna with a modem processor, etc., without limitation.

[0146] The display unit 1640 can be used to display information input by the user or information provided to the user, as well as various menus of the electronic device. The display unit 1640 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other similar devices, and there is no limitation on this.

[0147] The input unit 1650 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the input unit 1650 can collect user operations on or near it and drive corresponding connected devices according to a pre-set program. Furthermore, the input unit 1650 may include a touch panel, which can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave touch panels. In addition to the touch panel, the input unit 1650 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of the following: function keys (such as volume control buttons, power buttons, etc.), trackballs, joysticks, etc.

[0148] Electronic devices may also include at least one sensor 1660, such as a gyroscope sensor, a motion sensor, and other sensors. Motion sensors may include accelerometers for detecting the magnitude of acceleration in various directions, and when stationary, they can detect the magnitude and direction of gravity. These can be used for applications that identify the attitude of electronic devices, such as screen orientation switching, related games, and magnetometer attitude calibration. Other sensors that may be configured in electronic devices, such as pressure gauges, barometers, hygrometers, thermometers, and infrared sensors, are not detailed here.

[0149] Audio circuitry 1670 may include a speaker and a microphone, providing an audio interface between the user and an electronic device. Audio circuitry 1670 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 1670, converted back into audio data, and processed by processor 1610 before being transmitted via video circuitry to, for example, another electronic device, or output to memory 1620 for further processing.

[0150] The electronic device also includes a battery module 1680 that powers the various components. Optionally, the battery module 1680 can be logically connected to the processor 1610 via a power management device, thereby enabling the power management device to manage functions such as charging, discharging, and power consumption.

[0151] Although not shown, the electronic device may also include a camera. Optionally, the camera may be positioned in the front or rear of the electronic device, and this application embodiment does not limit this.

[0152] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0153] Optionally, the aforementioned electronic devices may include, but are not limited to, wearable devices (such as smart bracelets, smartwatches, smart glasses, etc.), mobile phones, tablets, laptops, desktop computers, and laptop computers. Typically, the aforementioned... Figure 16 The electronic devices shown need to be equipped with a corresponding operating system and run on that operating system. For example, the operating system of the electronic devices can be Android, iOS, Linux, etc.

[0154] Optionally, the above-mentioned electronic device architecture can be used as the architecture of the terminal device or camera device in this solution.

[0155] Optionally, embodiments of this application also provide a computer-readable medium storing a computer program that is executed by a processor to implement all or part of the steps performed by a terminal device or a camera device in the device control methods of the various embodiments described above.

[0156] Optionally, this application also provides a computer program product that, when run on a computer, causes the computer to execute all or part of the steps performed by a terminal device or a camera device to implement the device control methods of the various embodiments described above.

[0157] Optionally, this application embodiment also provides an application publishing platform for publishing computer program products. When the computer program product is run on a computer, it causes the computer to execute all or part of the steps performed by the terminal device or camera device to implement the device control methods of the above embodiments.

[0158] It should be noted that the device provided in the above embodiments is only illustrated by the division of the above functional modules when controlling electronic devices. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0159] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0160] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0161] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A device control method, characterized in that, Applied to a terminal device, the method includes: When taking pictures through the first camera of the camera device, the first battery level of the first camera is obtained. The first camera establishes a communication connection with the terminal device. The camera device includes a charging case, a detachable first camera, and a detachable second camera. Upon receiving the target signal sent by the second camera, a communication connection is established with the second camera, and the second battery level of the second camera is obtained; If the battery level of the first camera is lower than a preset battery threshold and the battery level of the second camera is higher than the preset battery threshold, the system controls the switching from the first camera to the second camera for shooting.

2. The method according to claim 1, characterized in that, The step of controlling the switch from the first camera to the second camera for shooting when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold includes: If the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, obtain the battery difference between the first battery level and the second battery level. If the battery difference exceeds a preset difference, a first control interface is displayed. The first control interface includes a switching control, which is used to switch to the camera with higher battery for shooting. In response to a trigger operation on the switching control, the system controls the switching from the first camera to the second camera for shooting.

3. The method according to claim 1, characterized in that, The method further includes: If the terminal device establishes a communication connection with at least two cameras, a first settings interface is displayed, which includes mode setting controls. In response to the setting operation of the mode setting control, a target shooting mode is determined, which includes a single-shot mode using a single camera or a multi-shot mode using multiple cameras simultaneously.

4. The method according to claim 3, characterized in that, If the target shooting mode is a multi-shot mode that uses multiple cameras to shoot simultaneously, the method further includes: The second control interface is shown, which includes a start shooting control; In response to a first trigger operation on the start shooting control, a shooting command is sent to both the first camera and the second camera; In response to a second trigger operation on the start shooting control, a stop command is sent to both the first camera and the second camera, the stop command being used to control the cameras to stop shooting.

5. The method according to claim 3, characterized in that, If the target shooting mode is a multi-shot mode that uses multiple cameras to shoot simultaneously, the method further includes: Receive the first data captured by the first camera, and display the first image corresponding to the first data in the first display area on the display screen; The system receives the second data captured by the second camera and displays the second image corresponding to the second data in the second display area on the display screen.

6. The method according to claim 3, characterized in that, The first settings interface is displayed, including: If the first battery level of the first camera is greater than a preset battery threshold, and the second battery level of the second camera is greater than the preset battery threshold, the first settings interface will be displayed.

7. The method according to claim 1, characterized in that, The method further includes: In response to the presence of one and only one camera outside the charging case, it is determined that the target shooting mode is a single-shot mode using a single camera.

8. The method according to claim 1, characterized in that, The control to switch from shooting with the first camera to shooting with the second camera includes: Send a shooting command to the second camera to control the second camera to take a picture; A stop command is sent to the first camera to control it to stop recording.

9. The method according to claim 1, characterized in that, Before the control switches from the first camera to the second camera for shooting, the method further includes: When the battery level of the first camera is lower than a preset battery threshold, a first prompt message is generated, which is used to indicate that the battery level of the first camera is lower than the preset battery threshold.

10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: Scan the device information code on the charging case to obtain the device identifier of each camera contained in the charging case; The system displays the current status information of each camera according to its respective device identifier. This status information is used to indicate the current connection status of each camera.

11. The method according to claim 10, characterized in that, The step of establishing a communication connection with the second camera upon receiving the target signal sent by the second camera includes: Upon receiving a target signal from the second camera, the device identifier of the second camera is obtained based on the target signal. If the device identifier of the second camera belongs to the charging compartment, a communication connection is established with the second camera.

12. A device control method, characterized in that, Applied to a camera device, the camera device including a charging case and at least two detachable cameras, the method includes: When the first camera leaves the charging case and establishes a communication connection with the terminal device, the first battery level of the first camera is sent to the terminal device; When the second camera leaves the charging case and establishes a communication connection with the terminal device, the second battery level of the first camera is sent to the terminal device. When the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, the system receives a stop command sent by the terminal device through the first camera and a shooting command sent by the terminal device through the second camera, so as to switch from the first camera to the second camera for shooting.

13. The method according to claim 12, characterized in that, If the first battery level of the first camera is greater than the preset battery threshold, and the second battery level of the second camera is greater than the preset battery threshold, and if the target shooting mode of the terminal device is a multi-shot mode using multiple cameras simultaneously, the method further includes: The system receives a shooting command from the terminal device via the first camera and a shooting command from the terminal device via the second camera, wherein the shooting command is used to control the cameras to take a picture; or... The first camera receives a stop command sent by the terminal device, and the second camera receives the stop command sent by the terminal device. The stop command is used to control the camera to stop shooting.

14. The method according to claim 12, characterized in that, The method further includes: In response to the placement of any camera back into the charging case, the camera placed back into the charging case is controlled to stop recording.

15. The method according to claim 12, characterized in that, The method further includes: A communication connection is established between the charging case and the terminal device; The terminal device sends the device identifiers of each camera contained in the charging case to the terminal device, so that the terminal device can display the current status information of each camera according to its respective device identifier. The status information is used to indicate the current connection status of each camera.

16. A device control apparatus, characterized in that, Applied to a terminal device, the device includes: The first acquisition module is used to acquire the first battery level of the first camera when shooting through the first camera of the camera device. The first camera has a communication connection with the terminal device. The camera device includes a charging case, a detachable first camera and a detachable second camera. The second acquisition module is used to establish a communication connection with the second camera and acquire the second battery level of the second camera when it receives the target signal sent by the second camera. The first control module is used to control the switching from the first camera to the second camera for shooting when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold.

17. A device control apparatus, characterized in that, An apparatus for use in a camera device, the camera device comprising a charging case and at least two detachable cameras, the apparatus comprising: The first transmitting module is used to transmit the first battery level of the first camera to the terminal device when the first camera leaves the charging case and establishes a communication connection with the terminal device. The second sending module is used to send the second battery level of the first camera to the terminal device when the second camera leaves the charging case and establishes a communication connection with the terminal device. The first receiving module is configured to receive a stop command through the first camera and a shooting command through the second camera when the first battery level of the first camera is lower than a preset battery threshold and the second battery level of the second camera is greater than the preset battery threshold, so as to switch from the first camera to the second camera for shooting.

18. A terminal device, characterized in that, The terminal device includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the device control method according to any one of claims 1 to 11.

19. A camera device, characterized in that, The camera device includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the device control method according to any one of claims 12 to 15.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the device control method as described in any one of claims 1 to 11 or 12 to 15.