State synchronization method and device, shooting system and storage medium
By obtaining and synchronizing the device priority and working status of the control end, determining the master-slave control end, and adjusting the shooting information in response to the control command, the problem of inability to synchronize the control command and shooting status in the prior art is solved, and multi-end linked shooting and enrichment are achieved shooting scene.
Patent Information
- Application Number
- CN202310773374.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
AI Technical Summary
During the shooting process, existing cameras or smart terminals cannot adjust the shooting status through other terminals or synchronous control commands, resulting in other terminals being unable to obtain the camera shooting status, limiting the shooting scene and affecting the imaging effect.
By obtaining the device priority and equipment working status of each control end connected to the shooting component, the master control end and the slave control end are determined, and in response to the control command of the main control end, the shooting information of the shooting component is adjusted and synchronized to the slave control end.
It realizes effective synchronized camera shooting status when multiple control terminals exist, enriches shooting scenes, supports multi-terminal linkage shooting, and solves the problem that control commands and shooting status cannot be synchronized in the prior art.
Smart Images

Figure CN119211714A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal control technology, and in particular to a state synchronization method, device, shooting system and storage medium. Background Art
[0002] At present, with the development of camera hardware technology, more and more users use cameras or smart terminals equipped with camera modules to take pictures. However, during the shooting process, existing cameras or smart terminals must start or stop shooting by the user pressing the shutter button. The shooting status cannot be adjusted through transmission or synchronous control instructions from other terminals, resulting in other terminals being unable to obtain the camera shooting status, which limits the shooting scene and affects the camera imaging effect. Summary of the invention
[0003] The embodiments of the present application provide a state synchronization method, device, shooting system and storage medium, aiming to solve the technical problem in the prior art that control instructions and shooting states cannot be synchronized, resulting in limited shooting scenes.
[0004] On the one hand, an embodiment of the present application provides a state synchronization method, the state synchronization method comprising:
[0005] Obtain the device priority and device working status of each control terminal connected to the shooting component;
[0006] Determine the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal;
[0007] In response to the control instruction of the master control end, the shooting information of the shooting component is adjusted, and the adjusted shooting information is synchronized to the slave control end.
[0008] In a possible implementation of the present application, determining the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal includes:
[0009] Obtaining the device priority of each control terminal and the device working status of each control terminal;
[0010] Acquire a first control terminal with the highest device priority, and if the device working state of the first control terminal is a control state, set the first control terminal as a main control terminal of the shooting component;
[0011] If the device working state of the first control terminal is a non-control state, obtaining candidate control terminals whose device working state is a control state among the other control terminals, and setting the second control terminal with the highest device priority among the candidate control terminals as the main control terminal of the shooting component;
[0012] The remaining control terminals among the control terminals except the master control terminal are set as slave control terminals.
[0013] In a possible implementation of the present application, responding to the control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes:
[0014] Receive the control instruction of the main control end, drive the shooting component to execute the control instruction of the main control end, and adjust the shooting information of the shooting component, wherein the shooting information includes the shooting control state and the target shooting image;
[0015] The adjusted shooting control state and the target shooting image are synchronized to the slave control end.
[0016] In a possible implementation of the present application, responding to the control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes:
[0017] Setting the shooting component as a master control terminal, and setting each of the control terminals as a slave control terminal;
[0018] In response to the control instruction of the master control terminal, the shooting information is adjusted according to the in-place status of the master control terminal and the control instruction, and the adjusted shooting information is synchronized to each of the slave control terminals.
[0019] In a possible implementation of the present application, before adjusting the shooting information according to the in-place status of the master control terminal and the control instruction and synchronizing the adjusted shooting information to each of the slave control terminals, the method further includes:
[0020] Acquire first sensor data of the shooting component and second sensor data of a target control terminal among the control terminals, wherein the target control terminal is detachably connected to the shooting component;
[0021] The in-position state of the photographing component is identified according to the first sensor data and the second sensor data, and the in-position state includes an integrated state and a separated state.
[0022] In a possible implementation of the present application, adjusting the shooting information according to the update status of the master control terminal and the control instruction, and synchronizing the adjusted shooting information to each of the slave control terminals includes:
[0023] Obtaining the control instruction of the main control terminal and the in-position status of the main control terminal;
[0024] If the in-place state is an integrated state, shielding the control instruction event associated with the control instruction of the main control terminal, setting the target control terminal among the control terminals as the main control terminal, the target control terminal being the control terminal detachably connected to the shooting component;
[0025] If the in-place state is a separated state, a control instruction event associated with the control instruction of the master control end is executed, the shooting information is adjusted, and the adjusted shooting information is synchronized to each of the slave control ends.
[0026] In a possible implementation of the present application, responding to the control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes:
[0027] In response to the control instruction of the main control terminal, adjusting the shooting information of the shooting component;
[0028] The target transmission link of the slave control end is acquired, and the adjusted shooting information is synchronized to the slave control end based on the target transmission link and the adjusted shooting information is displayed.
[0029] On the other hand, the present application provides a state synchronization device, the state synchronization device comprising:
[0030] A status acquisition module is configured to acquire the device priority and device working status of each control terminal connected to the shooting component;
[0031] A control screening module, configured to determine a master control terminal and a slave control terminal according to the device priority and device working status of each of the control terminals;
[0032] The state synchronization module is configured to respond to the control instruction of the master control end, adjust the shooting information of the shooting component, and synchronize the adjusted shooting information to the slave control end.
[0033] On the other hand, the present application also provides a photographing system, the photographing system comprising:
[0034] one or more processors;
[0035] Memory; and
[0036] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the state synchronization method.
[0037] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the state synchronization method.
[0038] In this application, the device priority and device working status of each control terminal connected to the shooting component are obtained; the master control terminal and the slave control terminal are determined according to the device priority and device working status of each control terminal; the shooting information of the shooting component is adjusted in response to the control instruction of the master control terminal, and the adjusted shooting information is synchronized to the slave control terminal. When there are multiple control terminals, the master control terminal and the slave control terminal to be synchronized are determined by obtaining the device priority and device working status of each control terminal, thereby achieving effective synchronization of camera shooting status, realizing multi-terminal linkage shooting, and enriching camera shooting scenes. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 A schematic diagram of a scenario of a state synchronization method according to an embodiment of the present application;
[0041] Figure 2 A flowchart of an embodiment of a state synchronization method in an embodiment of the present application;
[0042] Figure 3 A flow chart of an embodiment of adjusting the shooting information of a shooting component in a state synchronization method provided in an embodiment of the present application;
[0043] Figure 4 A flowchart of an embodiment of adjusting and synchronizing shooting information in a state synchronization method provided in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of the structure of an embodiment of a state synchronization device provided in an embodiment of the present application;
[0045] Figure 6 A schematic structural diagram of an embodiment of a shooting component provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0047] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0048] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.
[0049] At present, with the development of camera hardware technology, more and more users use cameras or smart terminals equipped with camera modules to take pictures. However, during the shooting process, existing cameras or smart terminals must start or stop shooting by the user pressing the shutter button. The shooting status cannot be adjusted through transmission or synchronous control instructions from other terminals, resulting in other terminals being unable to obtain the camera shooting status, which limits the shooting scene and affects the camera imaging effect.
[0050] Based on this, the present application proposes a state synchronization method, device, shooting system and computer-readable storage medium to solve the technical problem in the prior art that control instructions and shooting states cannot be synchronized, resulting in limited shooting scenes.
[0051] like Figure 1 As shown, Figure 1The schematic diagram of the scene of the state synchronization method of the embodiment of the present application is shown in the following figure. In the embodiment of the present invention, the state synchronization scene is applied to the shooting system, and the shooting system is integrated with a state synchronization device. The shooting system at least includes a shooting component 100 and a control terminal 200, wherein the shooting component 100 is an intelligent terminal that can execute shooting or video recording instructions and communicate with the preset control terminal 200 through a specified transmission link. The shooting component 100 can be a shooting device with a shooting function such as a camera, a panoramic camera, a sports camera, a SLR camera, a gimbal, a smart phone, a smart tablet, etc. The preset control terminal 200 can be an intelligent control terminal that can interact with the shooting component through a wired transmission link or a wireless transmission link. The preset control terminal 200 can be a control terminal such as a charging box, a smart remote control, a smart phone, a smart tablet, a smart wearable device, a smart watch, a smart headset, a smart glasses, etc. corresponding to the shooting component. Optionally, the preset control terminal 200 can be a control terminal that can be combined with the shooting component 100 for shooting, and can also be a mobile terminal such as a mobile phone, a tablet computer, and a wearable smart device that is installed with a control application corresponding to the shooting component and uses the control application to access the shooting component. Optionally, the control terminal may be a charging component of the shooting component or a detachably connected remote control terminal.
[0052] Understandably, Figure 1 The shooting components and control end in the state synchronization method scenario shown, or the devices included in the shooting components, do not constitute limitations on the embodiments of the present invention, that is, the number and types of devices of the shooting components and control end included in the state synchronization method scenario, or the number and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present invention.
[0053] The shooting component 100 in the embodiment of the present invention is mainly used for: driving the shooting component to obtain the device priority and device working status of each control terminal connected to the shooting component; determining the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal; responding to the control instruction of the master control terminal, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control terminal.
[0054] The embodiments of the present application provide a state synchronization method, apparatus, device, and computer-readable storage medium, which are described in detail below.
[0055] It can be understood by those skilled in the art that Figure 1 The application environment shown in is only one of the application scenarios related to the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1More or fewer shooting systems shown, or state synchronization network connection relationships, such as Figure 1 Only one shooting system is shown. It can be understood that the scenario of the state synchronization method can also include one or more shooting systems, which are not specifically limited here. The shooting system can also include a memory for storing shooting information of the shooting component 100 during shooting.
[0056] It should be noted that Figure 1 The scenario diagram of the state synchronization method shown is only an example. The scenario of the state synchronization method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.
[0057] Based on the scenario of the above-mentioned state synchronization method, various embodiments of the state synchronization method disclosed in the present invention are proposed.
[0058] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a state synchronization method in an embodiment of the present application. The state synchronization method includes the following steps 201 to 203:
[0059] 201. Obtaining the device priority and device working status of each control terminal connected to the shooting component;
[0060] Specifically, after being powered on, the shooting component can be connected to multiple control terminals through wired communication and / or wireless communication, and obtain the device priority and device working status of each control terminal connected to the shooting component.
[0061] Specifically, the shooting component pre-sets different device priorities for each control terminal bound to the shooting component, that is, the shooting component sets the device priority for each control terminal according to the actual shooting needs of the user. The shooting component counts the control frequency of each control terminal, and sets the device priority of the control terminal according to the control frequency, that is, the higher the control frequency of the control terminal, the higher the corresponding device priority. Optionally, the shooting component can set the device priority according to the device category, wherein the device priority corresponding to the smart terminal in each control terminal installed with the control application corresponding to the shooting component is higher than the device priority of the target control terminal corresponding to the shooting component, and the device priority of the target control terminal is higher than the device priority of the shooting component itself. After the shooting component completes the setting of the device priority for each control terminal, it also associates the device priority with the device identification of the control terminal and stores it in a preset device database for storage. Among them, the device priority represents the control priority of the control terminal for the shooting component.
[0062] Specifically, after establishing a communication connection with each control terminal, the shooting component also accesses a preset device database, inputs the device identification of each control terminal in a connected state into the device database, and obtains the device priority of each control terminal stored in the device database.
[0063] Specifically, the shooting component also obtains the device working state of each control terminal, wherein the device working state indicates whether the control terminal is in a remote control state of the shooting component. In a specific embodiment, the device working state includes a control state and a non-control state.
[0064] Specifically, the camera component reads the device interface of each control terminal, and determines the device working state of the control terminal according to the device interface. If the display interface of the control terminal matches the control interface corresponding to the camera component, that is, the display interface is the remote control interface corresponding to the camera component, then the camera component determines that the device working state of the control terminal is the control state. The control interface includes a display interface such as a shooting interface and a video recording interface that can control the camera component to perform associated operations. In a specific embodiment, when the camera component reads that the display interface of the control terminal is a shooting interface, the camera component determines that the device working state of the control terminal is the control state.
[0065] If the display interface of the control terminal does not match the control interface corresponding to the shooting component, that is, the display interface of the control terminal is a non-control interface other than the remote control interface corresponding to the shooting component, the shooting component determines that the device working state of the control terminal is a non-control state. In a specific embodiment, the non-control interface includes an album browsing interface, a device standby interface, and other application program interfaces.
[0066] 202. Determine a master control terminal and a slave control terminal according to the device priority and device working status of each control terminal;
[0067] Specifically, after obtaining the device priority and device working status of each control terminal, the shooting component determines the master control terminal and the slave control terminal of the shooting component according to the device priority and the device working status. Among them, the master control terminal is a control terminal with control authority to control the shooting component and drives the shooting component to execute the corresponding operation instruction. The slave control terminal is a control terminal that does not have control authority to control the shooting component and can only synchronize the shooting information generated by the shooting component based on the operation instruction of the master control terminal.
[0068] Optionally, the shooting component can determine the master control terminal and the slave control terminal according to the device priority. After obtaining the device priority of each control terminal connected to it, the shooting component compares the device priorities of each control terminal, obtains the control terminal with the highest device priority, sets the control terminal with the highest device priority as the master control terminal of the shooting component, sets the control terminals other than the highest priority as slave control terminals, generates a master control reminder on the display interface of the master control terminal, and drives the control terminal to execute control instructions for the shooting component.
[0069] Optionally, the shooting component can determine the main control end and the slave control end according to the working status of the device. After obtaining the working status of the device of each control end, the shooting component obtains the control end whose working status is a control state, sets the control end whose working status is a control state as the main control end of the shooting component, and sets the control end whose working status is a non-control state as the slave control end of the shooting component.
[0070] Optionally, the shooting component can jointly determine the master control end and the slave control end according to the device working status and the device priority. After obtaining the device priority of each control end, the shooting component sorts the control ends according to the device priority, obtains the first control end with the highest device priority among all the control ends, and reads the device working status of the first control end, and determines the master control end of the shooting component according to the device working status of the first control end.
[0071] Optionally, if the device working state of the first control end is a control state, the shooting component sets the first control end as a master control end of the shooting component, and sets the remaining control ends as slave control ends of the shooting component.
[0072] Optionally, if the device working state of the first control terminal is a non-control state, that is, the first control terminal is in an album browsing interface, a device standby interface, and other application interfaces, the shooting component sets the first control terminal as a slave control terminal, and traverses the device working states of the remaining control terminals, obtains one or more candidate control terminals whose device working states are control states in each control terminal, and selects the master control terminal of the shooting component according to the device priority of the candidate control terminals.
[0073] Optionally, if the number of candidate control terminals whose device working state is the control state among the control terminals is one, the shooting component sets the candidate control terminal as the main control terminal of the shooting component.
[0074] Optionally, if there are multiple candidate control terminals whose device working status is the control status, the shooting component sorts the candidate control terminals according to the device priority of the candidate control terminals, sets the candidate control terminal with the highest device priority among the candidate control terminals as the second control terminal, and sets the second control terminal as the main control terminal of the shooting component.
[0075] Optionally, the shooting component can also respond to the master control selection instruction sent by the user based on the current master control terminal, and set the control terminal pointed to by the master control selection instruction as the master control terminal of the shooting component. That is, the user can select any control terminal in the master control selection interface displayed by the current master control terminal as the master control terminal of the shooting component.
[0076] After acquiring the master control end of the shooting component, the shooting component sets the remaining control ends corresponding to the shooting component as slave control ends of the shooting component.
[0077] 203. In response to the control instruction of the master control end, adjust the shooting information of the shooting component, and synchronize the adjusted shooting information to the slave control end.
[0078] Specifically, after acquiring the master control terminal and the slave control terminal of the shooting component, the shooting component also responds to the control instruction of the master control terminal, shields the control instructions sent by other slave control terminals, and adjusts the shooting information of the shooting component according to the control instruction of the master control terminal, and synchronizes the adjusted shooting information to each slave control terminal for display. The shooting information is the shooting control state representing the shooting parameters of the shooting component and the target shooting image shot by the shooting component according to the control instruction.
[0079] Specifically, after acquiring the master control end and the slave control end of the shooting component, the shooting component responds to the control instruction of the master control end, drives the shooting component to execute the control instruction sent by the master control end, and adjusts the shooting information of the shooting component. Optionally, the shooting information includes shooting control status and target shooting image.
[0080] The shooting component adjusts the shooting control state according to the control instruction, and after generating the target shooting image based on the adjusted shooting control state, the shooting control state and the target shooting image are synchronized to each slave control end, and the shooting control state and the target shooting image are displayed on each slave control end.
[0081] Specifically, the control instruction may be a shooting mode selection instruction, and the shooting component can select a specified shooting mode according to the shooting mode selection instruction and render a shooting interface corresponding to the shooting mode, and the shooting mode may include shooting modes such as ordinary shooting mode, HDR shooting mode, ordinary video mode, slow motion video mode, continuous shooting mode and time-lapse shooting mode. After generating the shooting interface, the shooting component shoots an image through the shooting interface to obtain a target shooting image, and synchronizes the shooting control state corresponding to the shooting interface and the target shooting image to each slave control end for synchronous display during the shooting process.
[0082] Optionally, the shooting component can also adjust the shooting parameters of the shooting component according to the control instructions of the main control end. For example, the shooting component responds to the control instructions of the main control end, parses the control instructions, and obtains the shooting adjustment parameters carried by the control instructions. The shooting adjustment parameters include filter adjustment parameters, brightness adjustment parameters, contrast adjustment parameters, sharpening operation parameters, image ratio adjustment parameters, and resolution adjustment parameters. The shooting component adjusts the shooting mode of the shooting component according to the shooting adjustment parameters, and performs shooting or image adjustment based on the adjusted shooting mode to obtain a target shot image, and synchronizes the shooting mode and the target shot image to each control end for preview display.
[0083] In this embodiment, the shooting component obtains the device priority and device working status of each control terminal connected to the shooting component; determines the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal; responds to the control instruction of the master control terminal, adjusts the shooting information of the shooting component, and synchronizes the adjusted shooting information to the slave control terminal. When there are multiple control terminals, the master control terminal and the slave control terminal to be synchronized are determined by obtaining the device priority and device working status of each control terminal, thereby achieving effective synchronization of camera shooting status, realizing multi-terminal linkage shooting, and enriching camera shooting scenes.
[0084] like Figure 3 As shown, Figure 3 This is a flow chart of an embodiment of adjusting the shooting information of the shooting component in the state synchronization method provided in the embodiment of the present application. Specifically, the state synchronization method further includes steps 301 to 302:
[0085] 301. Setting the shooting component as a master control terminal, and setting each control terminal as a slave control terminal;
[0086] 302. Respond to the control instruction of the master control terminal, adjust the shooting information according to the in-place status of the master control terminal and the control instruction, and synchronize the adjusted shooting information to each of the slave control terminals.
[0087] Based on the above embodiment, in this embodiment, during operation, the shooting component also responds to an independent shooting request, sets the shooting component as a master control terminal, and sets each control terminal as a slave control terminal. The independent shooting request is an operation instruction to set the shooting component as a master control terminal and independently control the shooting component.
[0088] Optionally, the independent shooting request can be actively triggered by the user. For example, the user calls out the master control switching interface in the current master control terminal, and selects the shooting component as the master control terminal in the master control switching interface, so as to send an operation instruction to set the shooting component as the master control terminal to the shooting component through the current master control terminal, thereby triggering an independent shooting request. After receiving the operation instruction, the shooting component sets the shooting component as the master control terminal, and other control terminals are set as slave control terminals.
[0089] Optionally, the shooting component can also automatically trigger an independent shooting request, that is, if the user pre-sets the independent shooting permission of the shooting component, that is, the shooting component can autonomously perform the master control switching operation when other control terminals are in standby state. When the independent shooting permission is turned on, the shooting component collects the device operation status of the master control terminal and the slave control terminal of the shooting component in real time. If the device operation status of the master control terminal and the slave control terminal is both in a non-control state, the shooting component automatically triggers an independent shooting request and sets the shooting component as the new master control terminal.
[0090] Specifically, after the shooting component sets itself as the master control terminal, the shooting component also responds to the control instruction of the shooting component, adjusts the shooting information according to the in-place state of the shooting component and the control instruction, and synchronizes the adjusted shooting information to each slave control terminal. The in-place state is a state that indicates whether the wired connection link between the shooting component and the target control terminal is disconnected. The in-place state includes a connected state and a disconnected state. The connected state may refer to that the wired connection link between the shooting component and the target control terminal is in a connected state, and the disconnected state may refer to that the wired connection link between the shooting component and the target control terminal is in a disconnected state.
[0091] Optionally, in one embodiment, the camera component can identify the camera component's on-site status through sensor data of the camera component and the target control terminal. In another embodiment, the camera component can also identify the camera component's on-site status through voltage parameters of a target pin preset in the target control terminal.
[0092] Specifically, after obtaining the on-site status of the shooting component, the shooting component determines whether the shooting component executes the control instruction through the on-site status of the shooting component, and when it is determined to execute the control instruction, the shooting control status and the target shooting image of the shooting component are adjusted through the control instruction, and the shooting control status and the target shooting image are synchronously transmitted to each slave control end.
[0093] In this embodiment, the shooting component sets the shooting component as the master control terminal and sets each control terminal as a slave control terminal; responds to the control instruction of the master control terminal, adjusts the shooting information according to the in-place status of the master control terminal and the control instruction, and synchronizes the adjusted shooting information to each slave control terminal. When the shooting component shoots independently, the control authority of the shooting component is automatically changed, and the shooting information is adjusted and synchronized by identifying the in-place status and control instructions, thereby enriching the shooting scene.
[0094] like Figure 4 As shown, Figure 4 This is a flow chart of an embodiment of adjusting and synchronizing shooting information in the state synchronization method provided in the embodiment of the present application. Specifically, the state synchronization method further includes steps 401 to 403:
[0095] 401. Obtaining a control instruction of the main control terminal and an in-position status of the main control terminal;
[0096] 402. If the in-place state is an integrated state, shielding control instruction events associated with the control instructions of the master control terminal, and setting the target control terminal among the control terminals as the master control terminal;
[0097] 403. If the in-place state is a separated state, executing a control instruction event associated with the control instruction of the master control end, adjusting the shooting information, and synchronizing the adjusted shooting information to each of the slave control ends.
[0098] Based on the above embodiments, in this embodiment, after the shooting component in the shooting system sets the shooting component as the master control end and obtains the control instruction of the master control end and the in-place status of the master control end, it also adjusts the shooting control state and the target shooting image of the shooting component according to the control instruction and the in-place status, and synchronously transmits the shooting control state and the target shooting image to each slave control end.
[0099] Specifically, by identifying the in-position state through sensor data, the shooting component can be combined with the target control end to realize the integrated setting of the shooting component and the target control end. At this time, the posture and position of the shooting component and the target control end are the same. The shooting component obtains the first sensor data of the shooting component and the second sensor data of the target control end in the control end, identifies the posture and position of the shooting component and the target control end through the first sensor data and the second sensor data, and further determines the in-position state of the shooting component through the posture and position of the shooting component and the target control end. Among them, the first sensor data is the sensor data collected by the first sensor set in the shooting component, and the first sensor can be one or more sensors such as a gyroscope, a distance sensor, and a position sensor. The second sensor data is the sensor data collected by the second sensor set in the target control end. The first sensor can be one or more sensors such as a gyroscope, a distance sensor, and a position sensor.
[0100] Optionally, if the first sensor data matches the second sensor data, that is, the first sensor data is the same as the second sensor data, the shooting component determines that the posture and position of the shooting component and the target control end are the same, and determines that the in-place state of the shooting component is an integrated state.
[0101] Optionally, if the first sensor data does not match the second sensor data, that is, there is sensor data in the first sensor data that is different from the second sensor data, such as different gyroscope parameters, different distance sensor parameters and exceeding a preset distance threshold, and different position sensor parameters, any one or more of the following scenarios occurs, the shooting component determines that the posture and / or position of the shooting component and the target control end are different, and the shooting component determines that the in-place state of the shooting component is a separated state.
[0102] Optionally, the shooting component can also identify the in-position state of the shooting component by analog-to-digital conversion or application handshake. In a specific embodiment, a first connection pin is preset in the target control terminal, and the voltage data of the first connection pin is detected and the voltage change data is converted into in-position state data by analog-to-digital conversion. Different in-position state data represent different in-position states of the shooting component. In a specific embodiment, the first connection pin is a pogopin pin.
[0103] Optionally, the shooting component can also detect the voltage data of the second connection pin preset in the target control terminal and perform an application handshake between the shooting component and the target control terminal, thereby identifying the in-position state of the shooting component. Optionally, in a specific embodiment, the second connection pin is a VBUS pin.
[0104] Optionally, the shooting component can also achieve in-situ detection through one or more combinations of micro switches, voltage or current detection, Hall sensors, pressure sensors, capacitive sensors, infrared sensors and other devices. The specific process is not repeated here.
[0105] Optionally, if the shooting component and the target control end are in an integrated state, that is, the shooting component and the target control end are in a wired connection state, in order to prevent the control instruction from being triggered by an accidental touch of the shooting component, the shooting component shields the control instruction event of the control instruction triggered by the shooting component, and sets the target control end integrally connected to the shooting component as the main control end, and outputs a prompt message on the display interface of the target control end as to whether to execute the control instruction, and adjusts the shooting control state and the target captured image of the shooting component according to the update control instruction triggered by the prompt message, and synchronously transmits the shooting control state and the target captured image to each slave control end.
[0106] Optionally, if the master control end is in a separated state, that is, the shooting component and the target control end are in a separated state, the shooting component determines that there is no false touch, and the shooting component executes the control instruction, and adjusts the shooting control state and the target shooting image according to the control instruction, that is, selects the corresponding shooting control state according to the control instruction, and shoots the target shooting image based on the shooting control state, and synchronously transmits the shooting control state and the target shooting image to each slave control end.
[0107] Specifically, after the shooting component adjusts the shooting control state and the target shooting image of the shooting component according to the control instruction and the in-position state, it also obtains the target transmission link of each slave control end, synchronizes the adjusted shooting information to the slave control end through the target transmission link, and drives the slave control end to display the adjusted shooting information. Among them, the target communication link of each slave device includes any one or more of a USB (Universal Serial Bus) link and a wireless communication link; the wireless communication link includes any one or more of wireless transmission methods such as a Bluetooth link, a WiFi link, and a 2.4G link.
[0108] In this embodiment, the shooting component obtains the control instruction of the master control terminal and the in-place status of the master control terminal; if the in-place status is an integrated state, the control instruction event associated with the control instruction of the master control terminal is shielded, and the target control terminal among the control terminals is set as the master control terminal, and the target control terminal is a control terminal detachably connected to the shooting component; if the in-place status is a separated state, the control instruction event associated with the control instruction of the master control terminal is executed, the shooting information is adjusted, and the adjusted shooting information is synchronized to each of the slave control terminals. The execution status of the control instruction is determined by identifying the in-place status of the shooting component, the control accuracy is improved, and misoperation during the shooting process is avoided.
[0109] In order to better implement the state synchronization method in the embodiment of the present application, based on the state synchronization method, the embodiment of the present application also provides a state synchronization device, such as Figure 5 As shown, Figure 5 The schematic diagram of the structure of the state synchronization device provided in the embodiment of the present application is as follows. Specifically, the state synchronization device 500 includes:
[0110] The status acquisition module 501 is configured to acquire the device priority and device working status of each control terminal connected to the shooting component;
[0111] The control screening module 502 is configured to determine the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal;
[0112] The state synchronization module 503 is configured to respond to the control instruction of the master control end, adjust the shooting information of the shooting component, and synchronize the adjusted shooting information to the slave control end.
[0113] In a possible implementation of this embodiment, the state synchronization device determines the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal, including:
[0114] Obtaining the device priority of each control terminal and the device working status of each control terminal;
[0115] Acquire a first control terminal with the highest device priority, and if the device working state of the first control terminal is a control state, set the first control terminal as a main control terminal of the shooting component;
[0116] If the device working state of the first control terminal is a non-control state, obtaining candidate control terminals whose device working state is a control state among the other control terminals, and setting the second control terminal with the highest device priority among the candidate control terminals as the main control terminal of the shooting component;
[0117] The remaining control terminals among the control terminals except the master control terminal are set as slave control terminals.
[0118] In a possible implementation of this embodiment, the state synchronization device responds to the control instruction of the master control end, adjusts the shooting information of the shooting component, and synchronizes the adjusted shooting information to the slave control end, including:
[0119] Receive the control instruction of the main control end, drive the shooting component to execute the control instruction of the main control end, and adjust the shooting information of the shooting component, wherein the shooting information includes the shooting control state and the target shooting image;
[0120] The adjusted shooting control state and the target shooting image are synchronized to the slave control end.
[0121] In a possible implementation of this embodiment, responding to a control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes:
[0122] Setting the shooting component as a master control terminal, and setting each of the control terminals as a slave control terminal;
[0123] In response to the control instruction of the master control terminal, the shooting information is adjusted according to the in-place status of the master control terminal and the control instruction, and the adjusted shooting information is synchronized to each of the slave control terminals.
[0124] In a possible implementation of this embodiment, the state synchronization device adjusts the shooting information according to the in-place state of the master control terminal and the control instruction, and synchronizes the adjusted shooting information to each of the slave control terminals, further comprising:
[0125] Acquire first sensor data of the shooting component and second sensor data of a target control terminal among the control terminals, wherein the target control terminal is detachably connected to the shooting component;
[0126] The in-position state of the photographing component is identified according to the first sensor data and the second sensor data, and the in-position state includes an integrated state and a separated state.
[0127] In a possible implementation of this embodiment, the state synchronization device adjusts the shooting information according to the update status of the master control terminal and the control instruction, and synchronizes the adjusted shooting information to each of the slave control terminals, including:
[0128] Obtaining the control instruction of the main control terminal and the in-position status of the main control terminal;
[0129] If the in-place state is an integrated state, shielding the control instruction event associated with the control instruction of the main control terminal, setting the target control terminal among the control terminals as the main control terminal, the target control terminal being the control terminal detachably connected to the shooting component;
[0130] If the in-place state is a separated state, a control instruction event associated with the control instruction of the master control end is executed, the shooting information is adjusted, and the adjusted shooting information is synchronized to each of the slave control ends.
[0131] In a possible implementation of this embodiment, the state synchronization device responds to the control instruction of the master control end, adjusts the shooting information of the shooting component, and synchronizes the adjusted shooting information to the slave control end, including:
[0132] In response to the control instruction of the main control terminal, adjusting the shooting information of the shooting component;
[0133] The target transmission link of the slave control end is acquired, and the adjusted shooting information is synchronized to the slave control end based on the target transmission link and the adjusted shooting information is displayed.
[0134] In this embodiment, the state synchronization device obtains the device priority and device working status of each control terminal connected to the shooting component; and determines the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal;
[0135] In response to the control instruction of the master control terminal, the shooting information of the shooting component is adjusted, and the adjusted shooting information is synchronized to the slave control terminal. When there are multiple control terminals, the master control terminal and the slave control terminal to be synchronized are determined by obtaining the device priority and device working status of each control terminal, thereby effectively synchronizing the camera shooting status, realizing multi-terminal linkage shooting, and enriching the camera shooting scenes.
[0136] The embodiment of the present invention also provides a shooting system, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an embodiment of a shooting system provided in an embodiment of the present application.
[0137] The shooting system integrates any one of the state synchronization devices provided in the embodiments of the present invention, and the shooting system includes:
[0138] one or more processors;
[0139] Memory; and
[0140] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the state synchronization method described in any of the above-mentioned state synchronization method embodiments.
[0141] Specifically, the shooting system may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will understand that Figure 6 The structure of the shooting component shown in the figure does not constitute a limitation on the shooting component, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0142] In addition, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any state synchronization method provided in an embodiment of the present invention. For example, the computer program may be loaded by a processor to execute the following steps:
[0143] Obtain the device priority and device working status of each control terminal connected to the shooting component;
[0144] Determine the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal;
[0145] In response to the control instruction of the master control end, the shooting information of the shooting component is adjusted, and the adjusted shooting information is synchronized to the slave control end.
[0146] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
[0147] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0148] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0149] The above is a detailed introduction to a state synchronization method provided in an embodiment of the present application. Specific embodiments are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A state synchronization method, characterized in that: The state synchronization method comprises: Obtain the device priority and device working status of each control terminal connected to the shooting component; Determine the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal; In response to the control instruction of the master control end, the shooting information of the shooting component is adjusted, and the adjusted shooting information is synchronized to the slave control end.
2. The state synchronization method according to claim 1, characterized in that: Determining the master control terminal and the slave control terminal according to the device priority and device working status of each control terminal includes: Obtaining the device priority of each control terminal and the device working status of each control terminal; Acquire a first control terminal with the highest device priority, and if the device working state of the first control terminal is a control state, set the first control terminal as a main control terminal of the shooting component; If the device working state of the first control terminal is a non-control state, obtaining candidate control terminals whose device working state is a control state among the other control terminals, and setting the second control terminal with the highest device priority among the candidate control terminals as the main control terminal of the shooting component; The remaining control terminals among the control terminals except the master control terminal are set as slave control terminals.
3. The state synchronization method according to claim 1, characterized in that: The step of responding to the control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes: Receive the control instruction of the main control end, drive the shooting component to execute the control instruction of the main control end, and adjust the shooting information of the shooting component, wherein the shooting information includes the shooting control state and the target shooting image; The adjusted shooting control state and the target shooting image are synchronized to the slave control end.
4. The state synchronization method according to claim 1, characterized in that: The step of responding to the control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes: Setting the shooting component as a master control terminal, and setting each of the control terminals as a slave control terminal; In response to the control instruction of the master control terminal, the shooting information is adjusted according to the in-place status of the master control terminal and the control instruction, and the adjusted shooting information is synchronized to each of the slave control terminals.
5. The state synchronization method according to claim 4, characterized in that: The method of adjusting the shooting information according to the in-position state of the master control terminal and the control instruction, and synchronizing the adjusted shooting information to each of the slave control terminals, further comprises: Acquire first sensor data of the shooting component and second sensor data of a target control terminal among the control terminals, wherein the target control terminal is detachably connected to the shooting component; The in-position state of the photographing component is identified according to the first sensor data and the second sensor data, and the in-position state includes an integrated state and a separated state.
6. The state synchronization method according to claim 4, characterized in that: The step of adjusting the shooting information according to the update status of the master control terminal and the control instruction, and synchronizing the adjusted shooting information to each of the slave control terminals includes: Obtaining the control instruction of the main control terminal and the in-position status of the main control terminal; If the in-place state is an integrated state, shielding the control instruction event associated with the control instruction of the main control terminal, setting the target control terminal among the control terminals as the main control terminal, the target control terminal being the control terminal detachably connected to the shooting component; If the in-place state is a separated state, a control instruction event associated with the control instruction of the master control end is executed, the shooting information is adjusted, and the adjusted shooting information is synchronized to each of the slave control ends.
7. The state synchronization method according to any one of claims 1 to 6, characterized in that: The step of responding to the control instruction of the master control end, adjusting the shooting information of the shooting component, and synchronizing the adjusted shooting information to the slave control end includes: In response to the control instruction of the main control terminal, adjusting the shooting information of the shooting component; The target transmission link of the slave control end is acquired, and the adjusted shooting information is synchronized to the slave control end based on the target transmission link and the adjusted shooting information is displayed.
8. A state synchronization device, characterized in that: The state synchronization device comprises: A status acquisition module is configured to acquire the device priority and device working status of each control terminal connected to the shooting component; A control screening module, configured to determine a master control terminal and a slave control terminal according to the device priority and device working status of each of the control terminals; The state synchronization module is configured to respond to the control instruction of the master control end, adjust the shooting information of the shooting component, and synchronize the adjusted shooting information to the slave control end.
9. A shooting system, characterized in that: The shooting system comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to implement the steps of the state synchronization method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the state synchronization method according to any one of claims 1 to 7.
