Movatterモバイル変換


[0]ホーム

URL:


CN111405189A - Shooting control method, electronic device, and shooting device - Google Patents

Shooting control method, electronic device, and shooting device
Download PDF

Info

Publication number
CN111405189A
CN111405189ACN202010307402.1ACN202010307402ACN111405189ACN 111405189 ACN111405189 ACN 111405189ACN 202010307402 ACN202010307402 ACN 202010307402ACN 111405189 ACN111405189 ACN 111405189A
Authority
CN
China
Prior art keywords
media file
shooting
equipment
indication information
main
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010307402.1A
Other languages
Chinese (zh)
Other versions
CN111405189B (en
Inventor
泮婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202010307402.1ApriorityCriticalpatent/CN111405189B/en
Publication of CN111405189ApublicationCriticalpatent/CN111405189A/en
Application grantedgrantedCritical
Publication of CN111405189BpublicationCriticalpatent/CN111405189B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the invention provides a shooting control method, electronic equipment and shooting equipment, wherein the method is applied to the electronic equipment and comprises the following steps: acquiring a main device of at least two shooting devices in communication connection with the electronic device; sending first indication information to non-main equipment in the shooting equipment, and sending second indication information to the main equipment; the first indication information is used for indicating the non-master equipment to send the shot first media file to the master equipment; the second indication information is used for indicating the main equipment to receive the first media file and sending a target media file to the electronic equipment. The invention solves the problems of high occupancy rate of processor resources and low transmission efficiency of the electronic equipment caused by the mode that a plurality of cameras transmit images to the electronic equipment.

Description

Translated fromChinese
拍摄控制方法及电子设备、拍摄设备Shooting control method, electronic device, and shooting device

技术领域technical field

本发明涉及移动通信技术领域,尤其涉及一种拍摄控制方法及电子设备、拍摄设备。The present invention relates to the technical field of mobile communication, and in particular, to a photographing control method, electronic equipment, and photographing equipment.

背景技术Background technique

随着移动通信技术的迅速发展,以智能手机为首的电子设备已成为人们生活中各方面不可或缺的工具。电子设备的各种应用程序(Application,APP)的功能也逐渐完善,不再只是单纯地起到通信作用,较多的是为用户提供各种应用功能,给用户工作、生活带来了极大的便利。With the rapid development of mobile communication technology, electronic devices such as smart phones have become indispensable tools in all aspects of people's lives. The functions of various application programs (Application, APP) of electronic devices have gradually improved, not just for communication, but for providing users with various application functions, which brings great benefits to users' work and life. convenience.

以拍照功能为例,越来越多的消费者使用手机等电子设备取代相机拍摄照片或视频;并且由于电子设备的便捷性,电子设备占据较大的市场份额。因此,拍照功能作为电子设备的必备功能,成为用户衡量和选购电子设备的重要标准。Taking the camera function as an example, more and more consumers use electronic devices such as mobile phones to take photos or videos instead of cameras; and due to the convenience of electronic devices, electronic devices occupy a larger market share. Therefore, the camera function, as an essential function of electronic equipment, has become an important criterion for users to measure and purchase electronic equipment.

为了提升拍摄效果,多个摄像头协同拍摄,可以获得多个角度的图像信息,最后分别将拍摄得到的图片传到指定的电子设备中。然而,此过程中,若多个摄像头同时向电子设备传输图像,会造成电子设备的处理器资源占用率较高,且传输效率较低。In order to improve the shooting effect, multiple cameras are used to shoot together, and image information from multiple angles can be obtained, and finally the captured images are respectively transmitted to the designated electronic device. However, in this process, if multiple cameras transmit images to the electronic device at the same time, the processor resource occupancy rate of the electronic device is high, and the transmission efficiency is low.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种拍摄控制方法及电子设备、拍摄设备,以解决多个摄像头向电子设备传输图像的方式,造成电子设备的处理器资源占用率较高,且传输效率较低的问题。Embodiments of the present invention provide a shooting control method, an electronic device, and a shooting device, so as to solve the problem of high processor resource occupancy rate and low transmission efficiency of the electronic device caused by multiple cameras transmitting images to the electronic device.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供了一种拍摄控制方法,所述方法应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present invention provides a shooting control method, the method is applied to an electronic device, and the method includes:

获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;acquiring a master device in at least two photographing devices that are communicatively connected to the electronic device;

向所述拍摄设备中的非主设备发送第一指示信息,以及向所述主设备发送第二指示信息;sending first indication information to a non-main device in the photographing device, and sending second indication information to the main device;

其中,所述第一指示信息用于指示所述非主设备将所拍摄的第一媒体文件发送至所述主设备;所述第二指示信息用于指示所述主设备接收所述第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述主设备拍摄的第二媒体文件,以及所述主设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种;The first indication information is used to instruct the non-main device to send the captured first media file to the main device; the second indication information is used to instruct the main device to receive the first media file, and send the target media file to the electronic device; the target media file includes: the first media file, the second media file shot by the main device, and the first media file captured by the main device at least one of a file and a third media file obtained by performing a preset fusion process on the second media file;

接收所述主设备发送的所述目标媒体文件。The target media file sent by the master device is received.

第二方面,本发明实施例提供了一种拍摄控制方法,所述方法应用于拍摄设备,所述方法包括:In a second aspect, an embodiment of the present invention provides a shooting control method, the method is applied to a shooting device, and the method includes:

接收与所述拍摄设备通信连接的电子设备发送的指示信息;receiving indication information sent by an electronic device communicatively connected to the photographing device;

若所述指示信息为第一指示信息,将所述拍摄设备所拍摄的第一媒体文件发送至所述拍摄设备中的主设备;If the indication information is the first indication information, sending the first media file shot by the photographing device to the main device in the photographing device;

若所述指示信息为第二指示信息,接收所述拍摄设备中的非主设备发送的第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备拍摄的第二媒体文件,以及所述拍摄设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种。If the indication information is the second indication information, receive the first media file sent by the non-main device in the photographing device, and send the target media file to the electronic device; the target media file includes: the first media file At least one of a media file, a second media file shot by the shooting device, and a third media file obtained by the shooting device performing preset fusion processing on the first media file and the second media file .

第三方面,本发明实施例还提供了一种电子设备,所述电子设备包括:In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

获取模块,用于获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;an acquisition module, configured to acquire a master device in at least two photographing devices that are communicatively connected to the electronic device;

信息发送模块,用于向所述拍摄设备中的非主设备发送第一指示信息,以及向所述主设备发送第二指示信息;an information sending module, configured to send first indication information to a non-main device in the photographing device, and send second indication information to the main device;

其中,所述第一指示信息用于指示所述非主设备将所拍摄的第一媒体文件发送至所述主设备;所述第二指示信息用于指示所述主设备接收所述第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述主设备拍摄的第二媒体文件,以及所述主设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种;The first indication information is used to instruct the non-main device to send the captured first media file to the main device; the second indication information is used to instruct the main device to receive the first media file, and send the target media file to the electronic device; the target media file includes: the first media file, the second media file shot by the main device, and the first media file captured by the main device at least one of a file and a third media file obtained by performing a preset fusion process on the second media file;

文件接收模块,用于接收所述主设备发送的所述目标媒体文件。A file receiving module, configured to receive the target media file sent by the master device.

第四方面,本发明实施例还提供了一种拍摄设备,所述拍摄设备包括:In a fourth aspect, an embodiment of the present invention further provides a photographing device, where the photographing device includes:

信息接收模块,用于接收与所述拍摄设备通信连接的电子设备发送的指示信息;an information receiving module, configured to receive indication information sent by an electronic device communicatively connected to the photographing device;

第一发送模块,用于若所述指示信息为第一指示信息,将所述拍摄设备所拍摄的第一媒体文件发送至所述拍摄设备中的主设备;a first sending module, configured to send the first media file photographed by the photographing device to the main device in the photographing device if the indication information is the first indication information;

第二发送模块,用于若所述指示信息为第二指示信息,接收所述拍摄设备中的非主设备发送的第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备拍摄的第二媒体文件,以及所述拍摄设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种。The second sending module is configured to, if the indication information is the second indication information, receive the first media file sent by the non-main device in the photographing device, and send the target media file to the electronic device; the target media file is sent to the electronic device; The media files include: the first media file, the second media file shot by the shooting device, and the third media file obtained by the shooting device performing preset fusion processing on the first media file and the second media file. At least one of the media files.

第五方面,本发明实施例还提供了一种电子设备,该电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的拍摄控制方法中的步骤。In a fifth aspect, an embodiment of the present invention further provides an electronic device, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program The steps in the shooting control method as described above are implemented.

第六方面,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的拍摄控制方法中的步骤。In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned shooting control method is implemented. step.

在本发明实施例中,获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;向所述拍摄设备中的非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备;以及向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备;实现多个拍摄设备所拍摄的媒体文件,通过一个主设备传输至电子设备,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。In this embodiment of the present invention, a master device of at least two photographing devices that are communicatively connected to the electronic device is obtained; send the first media file of the device to the main device, and send the first media file to the electronic device through the main device; and send second indication information to the main device, instructing the main device to send the received first media file to the electronic device; At least one of a media file, a second media file shot by itself, and a third media file obtained by performing preset fusion processing on the first media file and the second media file is sent to the electronic device; realizing multiple shooting devices The captured media files are transmitted to the electronic device through a main device, which reduces the occupation of the processor, transmission interface and other resources of the electronic device by the media file transmission; at the same time, the transmission efficiency is improved and the transmission power consumption is reduced.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the drawings that are used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. , for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1表示本发明实施例提供的拍摄控制方法的流程图之一;FIG. 1 shows one of the flowcharts of a shooting control method provided by an embodiment of the present invention;

图2表示本发明实施例的第一示例以及第二示例的示意图;FIG. 2 is a schematic diagram showing a first example and a second example of an embodiment of the present invention;

图3表示本发明实施例的第三示例的流程图;Fig. 3 shows the flow chart of the third example of the embodiment of the present invention;

图4表示本发明实施例提供的拍摄控制方法的流程图之二;FIG. 4 shows the second flowchart of the shooting control method provided by the embodiment of the present invention;

图5表示本发明的实施例提供的电子设备的框图之一;FIG. 5 shows one of the block diagrams of the electronic device provided by the embodiment of the present invention;

图6表示本发明的实施例提供的拍摄设备的框图;FIG. 6 shows a block diagram of a photographing device provided by an embodiment of the present invention;

图7表示本发明的实施例提供的电子设备的框图之二。FIG. 7 shows the second block diagram of the electronic device provided by the embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments.

在本发明的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the size of the sequence numbers of the following processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, rather than the implementation of the present invention The implementation of the examples constitutes no limitation.

参见图1,本发明一实施例提供了一种拍摄控制方法,应用于电子设备,所述电子设备可以包括各种手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的移动台(Mobile Station,MS),终端设备(Terminaldevice)等等。Referring to FIG. 1 , an embodiment of the present invention provides a shooting control method, which is applied to an electronic device. The electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem. equipment, as well as various forms of mobile stations (Mobile Station, MS), terminal equipment (Terminal device) and so on.

所述方法包括:The method includes:

步骤101,获取与所述电子设备通信连接的至少两个拍摄设备中的主设备。Step 101: Acquire a master device among at least two photographing devices that are communicatively connected to the electronic device.

其中,所述拍摄设备可以是具有摄像头模组的设备,如照相机,个人电脑等;所述拍摄设备与所述电子设备之间通信连接,可以是有线通信连接或无线通信连接,例如局域网等方式。Wherein, the shooting device may be a device with a camera module, such as a camera, a personal computer, etc.; the communication connection between the shooting device and the electronic device may be a wired communication connection or a wireless communication connection, such as a local area network and the like .

电子设备在接收到预设的拍摄指示之后,可确定与其处于通信连接的至少两个拍摄设备中的主设备;其中,所述主设备可以是预先设定的,比如一组拍摄设备中,可设置某个设备作为主设备,主设备用于向所述电子设备传输所有拍摄设备拍摄的媒体文件;所述主设备还可以动态确定的,比如根据所述拍摄设备之间的位置关系临时确定一个主设备,或由电子设备临时指定一个主设备。After receiving the preset shooting instruction, the electronic device may determine the master device among the at least two shooting devices that are in communication connection with it; wherein, the master device may be preset, for example, in a group of shooting devices, it may be A certain device is set as the master device, and the master device is used to transmit the media files shot by all the shooting devices to the electronic device; the master device can also be determined dynamically, such as temporarily determining one according to the positional relationship between the shooting devices. A master device, or a master device temporarily designated by an electronic device.

步骤102,向所述拍摄设备中的非主设备发送第一指示信息,以及向所述主设备发送第二指示信息。Step 102: Send first indication information to a non-main device in the photographing device, and send second indication information to the main device.

其中,所述第一指示信息用于指示所述非主设备将所拍摄的第一媒体文件发送至所述主设备;所述第二指示信息用于指示所述主设备接收所述第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述主设备拍摄的第二媒体文件,以及所述主设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种。The first indication information is used to instruct the non-main device to send the captured first media file to the main device; the second indication information is used to instruct the main device to receive the first media file, and send the target media file to the electronic device; the target media file includes: the first media file, the second media file shot by the main device, and the first media file captured by the main device at least one of a file and a third media file obtained by performing a preset fusion process on the second media file.

可选地,第一媒体文件和/或第二媒体文件可以是图片、视频等;Optionally, the first media file and/or the second media file may be pictures, videos, etc.;

确定主设备后,电子设备向非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备;所述电子设备还向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件以及将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种发送至电子设备;这样,多个拍摄设备所拍摄的媒体文件,可以经由一个主设备,发送至所述电子设备,则电子设备在接收每个拍摄设备所拍摄的媒体文件时,仅与主设备进行媒体文件传输,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用。After determining the master device, the electronic device sends first indication information to the non-master device, instructing the non-master device to send the first media file captured by itself to the master device, and the first media file to be sent to the electronic device through the master device. device; the electronic device also sends second indication information to the main device, instructing the main device to send the received first media file, the second media file shot by itself, and the first media file and the At least one of the third media files obtained by performing preset fusion processing on the second media file is sent to the electronic device; in this way, the media files captured by multiple shooting devices can be sent to the electronic device via a main device , the electronic device only performs media file transmission with the main device when receiving the media files captured by each shooting device, reducing the occupation of resources such as processors and transmission interfaces of the electronic device by media file transmission.

可以理解的是,第一媒体文件、第二媒体文件为拍摄设备针对同一个拍摄操作所拍摄的图片;比如,接收到所述电子设备的同一个拍摄指令进行拍摄。第一媒体文件和第二媒体文件可以是对于同一目标物体的拍摄,第一媒体文件和第二媒体文件用户提高获取的媒体文件的图像质量;第一媒体文件和第二媒体文件还可以是同一时刻的对于不同的目标物体的拍摄,获取第一媒体文件和第二媒体文件用于获取目标物体的不同角度下的媒体文件;第二媒体文件和第二媒体文件还可以是针对同一目标物体不同时间的拍摄,第一媒体文件和第二媒体文件用户获取目标物体在不同时间下的媒体文件。本方案对此不作具体限制。It can be understood that the first media file and the second media file are pictures taken by the photographing device for the same photographing operation; for example, photographing is performed after receiving the same photographing instruction of the electronic device. The first media file and the second media file may be shots of the same target object, and the user of the first media file and the second media file improves the image quality of the obtained media file; the first media file and the second media file may also be the same. For the shooting of different target objects at any time, the first media file and the second media file are obtained to obtain media files from different angles of the target object; the second media file and the second media file may also be different for the same target object. During the time of shooting, the user of the first media file and the second media file obtains the media files of the target object at different times. This plan does not make any specific restrictions on this.

步骤103,接收所述主设备发送的所述目标媒体文件。Step 103: Receive the target media file sent by the master device.

其中,电子设备接收所述主设备发送的第一媒体文件、第二媒体文件或第三媒体文件中的至少一种;若同时接收到第一媒体文件和第二媒体文件,可根据预设的融合算法将各个媒体文件进行融合,扩充拍摄的视野范围,增加画面信息,提升拍照效果。Wherein, the electronic device receives at least one of the first media file, the second media file or the third media file sent by the main device; if the first media file and the second media file are received at the same time, the The fusion algorithm fuses each media file, expands the field of view of the shooting, increases the picture information, and improves the photographing effect.

本发明上述实施例中,获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;向所述拍摄设备中的非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备;以及向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备;实现多个拍摄设备所拍摄的媒体文件,通过一个主设备传输至电子设备,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。本发明实施例解决了现有技术中,分离式摄像头向电子设备传输图像的方式,造成电子设备的处理器资源占用率较高,且传输效率较低的问题。In the above-mentioned embodiment of the present invention, the master device of at least two photographing devices that are communicatively connected to the electronic device is obtained; send the first media file of the device to the main device, and send the first media file to the electronic device through the main device; and send second indication information to the main device, instructing the main device to send the received first media file to the electronic device; At least one of a media file, a second media file shot by itself, and a third media file obtained by performing preset fusion processing on the first media file and the second media file is sent to the electronic device; realizing multiple shooting devices The captured media files are transmitted to the electronic device through a main device, which reduces the occupation of the processor, transmission interface and other resources of the electronic device by the media file transmission; at the same time, the transmission efficiency is improved and the transmission power consumption is reduced. The embodiments of the present invention solve the problems in the prior art that the separate camera transmits images to the electronic device, resulting in high processor resource occupancy rate and low transmission efficiency of the electronic device.

可选地,本发明实施例中,所述电子设备包括至少两个分离式摄像头模组,所述分离式摄像头模组为所述拍摄设备。Optionally, in the embodiment of the present invention, the electronic device includes at least two separate camera modules, and the separate camera modules are the shooting equipment.

分离式摄像头模组可脱离位置限制,根据所述电子设备的指示在任意位置拍摄;通过多个分离式摄像头模组协同拍摄,可以获得多个角度的图像信息,最后将每个分离式摄像头模组拍摄的图像进行融合,可提升拍摄效果。作为第一示例,参见图2,图2中A、B、C、D可以为分离式摄像头模组,而E为电子设备,电子设备确定分离式摄像头模组中的主设备以及非主设备,然后向每个分离式摄像头模组分别发送第一指示信息或第二指示信息。The separate camera module can be separated from the position restriction and shoot at any position according to the instructions of the electronic device; through the coordinated shooting of multiple separate camera modules, image information from multiple angles can be obtained, and finally each separate camera module can be captured. The images captured in the group are fused to enhance the shooting effect. As a first example, referring to FIG. 2, A, B, C, and D in FIG. 2 may be separate camera modules, and E is an electronic device, and the electronic device determines the main device and the non-main device in the separate camera module, Then, the first indication information or the second indication information is respectively sent to each separate camera module.

可选地,本发明实施例中,所述获取与所述电子设备通信连接的至少两个拍摄设备中的主设备的步骤,包括:Optionally, in this embodiment of the present invention, the step of acquiring a master device in at least two photographing devices communicatively connected to the electronic device includes:

获取每个所述拍摄设备的位置信息;obtain location information of each of the shooting devices;

根据所述位置信息,确定所述拍摄设备中的主设备;其中,所述主设备为距离每个所述拍摄设备之间的路径距离之和最小的所述拍摄设备。According to the location information, a master device in the photographing devices is determined; wherein, the master device is the photographing device with the smallest sum of path distances from each of the photographing devices.

其中,位置信息可以是经纬度信息;电子设备获取每个拍摄设备的经纬度信息,根据经纬度信息确定所有的拍摄设备之间的相对位置关系,然后选择距离所有拍摄设备的路径距离之和最小的设备作为主设备。Wherein, the location information can be longitude and latitude information; the electronic device obtains the longitude and latitude information of each shooting device, determines the relative positional relationship between all the shooting devices according to the longitude and latitude information, and then selects the device with the smallest sum of path distances from all the shooting devices as the device. main device.

作为第二示例,仍然参见图2,图2中所示的点为5个拍摄设备所在的位置点,其中,A处为拍摄设备A所在位置,B处为拍摄设备B所在位置,……,针对每个设备,电子设备确定该设备距离其他设备之间的路径距离,并对路径距离进行求和,选择路径距离之和最小的设备作为主设备,如图2中所示,E设备为主设备。As a second example, still referring to FIG. 2 , the points shown in FIG. 2 are the position points where the five photographing devices are located, wherein the location A is the location of the photographing device A, the location B is the location of the photographing device B, . . . For each device, the electronic device determines the path distance between the device and other devices, sums the path distances, and selects the device with the smallest sum of path distances as the master device. As shown in Figure 2, the E device is the master device. equipment.

需要说明的是,所述拍摄设备之间的路径应为拍摄设备之间的传输方式上的最短路径,比如,若传输方式允许直线传播,则最短路径即最短直线距离;若不允许直线传播,则最短路径为其他形式的最短距离。It should be noted that the path between the shooting devices should be the shortest path in the transmission mode between the shooting devices. For example, if the transmission mode allows straight-line propagation, the shortest path is the shortest straight-line distance; if straight-line propagation is not allowed, the Then the shortest path is the shortest distance of other forms.

可选地,本发明实施例中,所述根据所述位置信息,确定所述拍摄设备中的主设备的步骤,包括:Optionally, in this embodiment of the present invention, the step of determining a master device in the photographing device according to the location information includes:

建立所述拍摄设备之间距离的二维数组,所述二维数组中的一维数组的元素为每个所述拍摄设备至其他所述拍摄设备之间的路径距离;establishing a two-dimensional array of distances between the photographing devices, where the elements of the one-dimensional array in the two-dimensional array are the path distances between each of the photographing devices and other photographing devices;

确定每个所述一维数组的元素的数值之和;determining the sum of the values of the elements of each of the one-dimensional arrays;

将所述数值之和最小的一维数组对应的拍摄设备作为主设备。The photographing device corresponding to the one-dimensional array with the smallest sum of the numerical values is used as the master device.

对于拍摄设备的数量较少的情况,比如数量低于100;电子设备建立拍摄设备之间距离的二维数组,每个二维数组的元素为每个拍摄设备的一维数组,一维数组的元素为该设备距离其他设备之间的路径距离。For the case where the number of shooting devices is small, for example, the number is less than 100; the electronic device establishes a two-dimensional array of distances between shooting devices, the elements of each two-dimensional array are the one-dimensional array of each shooting device, and the elements of the one-dimensional array The element is the path distance between this device and other devices.

然后分别针对每个一维数组中的元素进行求和,和值最小的元素对应的拍摄设备为主设备。Then, the elements in each one-dimensional array are summed respectively, and the photographing device corresponding to the element with the smallest sum value is the master device.

可选地,本发明实施例中,所述根据所述位置信息,确定所述拍摄设备中的主设备的步骤,包括:Optionally, in this embodiment of the present invention, the step of determining a master device in the photographing device according to the location information includes:

根据预设的空间聚类算法,对所述拍摄设备所在位置点进行聚类处理,得到所述位置点的质心,所述质心对应的拍摄设备为主设备。According to a preset spatial clustering algorithm, cluster processing is performed on the location points where the photographing equipment is located to obtain the centroid of the location point, and the photographing equipment corresponding to the centroid is the main equipment.

其中,对于拍摄设备数量较多的情况,比如数量在100以上,采用空间聚类算法,首先对所述拍摄设备所在位置点进行聚类处理,得到聚类后的每个分组的质心,质心即距离所有点的距离之和最近的点;然后从多个质心中选择一个质心作为主设备的点。Among them, for the case of a large number of photographing devices, such as more than 100, the spatial clustering algorithm is used to first perform clustering processing on the location points of the photographing devices to obtain the centroid of each group after the clustering, and the centroid is The point closest to the sum of the distances from all points; then select a centroid from multiple centroids as the point for the master device.

可选地,本发明实施例中,所述第一指示信息中携带有所述主设备的设备标识号。Optionally, in this embodiment of the present invention, the first indication information carries the device identification number of the master device.

其中,每个拍摄设备具有一设备标识号,用于标识设备;电子设备将主设备的设备标识号发送给非主设备,使得非主设备将自身所拍摄的第一媒体文件,发送至所述设备标识号对应的拍摄设备。Wherein, each shooting device has a device identification number for identifying the device; the electronic device sends the device identification number of the main device to the non-main device, so that the non-main device sends the first media file shot by itself to the said device. The shooting device corresponding to the device identification number.

作为第三示例,参见图3,图3示出了本发明实施例提供的拍摄控制方法的具体应用过程,包括以下过程:As a third example, referring to FIG. 3, FIG. 3 shows a specific application process of the shooting control method provided by the embodiment of the present invention, including the following processes:

步骤301,图片的拍摄。Step 301, taking a picture.

使用多个分离式摄像头(即拍摄设备)进行拍摄,拍摄时摄像头放置在不同的位置上。Use multiple separate cameras (ie, shooting devices) to shoot, and the cameras are placed in different positions when shooting.

步骤302,无线传感器网络的建立。Step 302, establishment of a wireless sensor network.

根据移动终端内置的蓝牙传感器,建立无线传感器网络。According to the built-in Bluetooth sensor of the mobile terminal, a wireless sensor network is established.

步骤303,主设备的确定:Step 303, the determination of the master device:

(1)针对任意一个拍摄设备,计算该拍摄设备到其他拍摄设备之间的路径距离,将路径距离存储在一个二维数组中。(1) For any shooting device, calculate the path distance between the shooting device and other shooting devices, and store the path distance in a two-dimensional array.

(2)该设备与其他设备的距离数组中,找到与其最短距离的设备,并标记该设备与对应的最短距离的设备。(2) In the distance array between the device and other devices, find the device with the shortest distance to it, and mark the device and the corresponding device with the shortest distance.

(3)遍历计算其他设备,计算前首先在二维数组中查找,是否存在这两个设备的距离,若存在则直接取出,若不存在,则计算,并存储在二维数组中,降低计算的复杂度。(3) Traverse and calculate other devices. Before calculating, first search in the two-dimensional array to see if there is a distance between the two devices. If it exists, take it out directly. If it does not exist, calculate it and store it in the two-dimensional array to reduce the calculation. complexity.

(4)统计得到标记最多的设备即为主设备。(4) The device with the most marks obtained by statistics is the master device.

步骤304,传输图片。Step 304, transmitting the picture.

各个设备将图片传输到主设备后,主设备统一将所有的图片传输至电子设备,由电子设备对图片进行处理,包括图片的融合和美化等。After each device transmits the pictures to the main device, the main device uniformly transmits all the pictures to the electronic device, and the electronic device processes the pictures, including the fusion and beautification of the pictures.

本发明上述实施例中,获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;向所述拍摄设备中的非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备;以及向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备;实现多个拍摄设备所拍摄的媒体文件,通过一个主设备传输至电子设备,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。In the above-mentioned embodiment of the present invention, the master device of at least two photographing devices that are communicatively connected to the electronic device is obtained; send the first media file of the device to the main device, and send the first media file to the electronic device through the main device; and send second indication information to the main device, instructing the main device to send the received first media file to the electronic device; At least one of a media file, a second media file shot by itself, and a third media file obtained by performing preset fusion processing on the first media file and the second media file is sent to the electronic device; realizing multiple shooting devices The captured media files are transmitted to the electronic device through a main device, thereby reducing the occupation of the processor, transmission interface and other resources of the electronic device by the media file transmission; at the same time, the transmission efficiency is improved and the transmission power consumption is reduced.

参见图4,本发明实施例还提供了一种拍摄控制方法,应用于拍摄设备,所述拍摄设备可以是具有摄像头模组的设备,比如分离式摄像头模组;Referring to FIG. 4 , an embodiment of the present invention further provides a shooting control method, which is applied to a shooting device, and the shooting device may be a device having a camera module, such as a separate camera module;

所述方法包括:The method includes:

步骤401,接收与所述拍摄设备通信连接的电子设备发送的指示信息。Step 401: Receive indication information sent by an electronic device that is communicatively connected to the photographing device.

所述拍摄设备与所述电子设备之间通信连接,可以是有线通信连接或无线通信连接,例如局域网等方式。电子设备在接收到预设的拍摄指示之后,可确定与其处于通信连接的至少两个拍摄设备中的主设备;其中,所述主设备可以是预先设定的,比如一组拍摄设备中,可设置某个设备作为主设备,主设备用于向所述电子设备传输所有拍摄设备拍摄的媒体文件;所述主设备还可以动态确定的,比如根据所述拍摄设备之间的位置关系临时确定一个主设备,或由电子设备临时指定一个主设备。The communication connection between the photographing device and the electronic device may be a wired communication connection or a wireless communication connection, such as a local area network. After receiving the preset shooting instruction, the electronic device may determine the master device among the at least two shooting devices that are in communication connection with it; wherein, the master device may be preset, for example, in a group of shooting devices, it may be A certain device is set as the master device, and the master device is used to transmit the media files shot by all the shooting devices to the electronic device; the master device can also be determined dynamically, such as temporarily determining one according to the positional relationship between the shooting devices. A master device, or a master device temporarily designated by an electronic device.

拍摄设备接收电子设备发送的指示信息,根据指示信息执行媒体文件传输操作,媒体文件为拍摄设备所拍摄的,可以是图片、视频等。The photographing device receives the instruction information sent by the electronic device, and performs a media file transmission operation according to the instruction information. The media file is shot by the photographing device, and may be a picture, a video, or the like.

步骤402,若所述指示信息为第一指示信息,将所述拍摄设备所拍摄的第一媒体文件发送至所述拍摄设备中的主设备。Step 402: If the indication information is the first indication information, send the first media file photographed by the photographing device to the main device in the photographing device.

若接收到第一指示信息,则该拍摄设备为非主设备,非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备。If the first indication information is received, the photographing device is a non-main device, and the non-main device sends the first media file captured by itself to the main device, and sends the first media file to the electronic device through the main device .

步骤403,若所述指示信息为第二指示信息,接收所述拍摄设备中的非主设备发送的第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备拍摄的第二媒体文件,以及所述拍摄设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种。Step 403, if the indication information is the second indication information, receive the first media file sent by the non-main device in the photographing device, and send the target media file to the electronic device; the target media file includes: The first media file, the second media file shot by the shooting device, and the third media file obtained by the shooting device performing preset fusion processing on the first media file and the second media file. at least one.

若接收到第二指示信息,则该拍摄设备为主设备,所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备。If the second indication information is received, the shooting device is the master device, and the master device records the received first media file, the second media file captured by itself, and the first media file and the second media file. At least one of the third media files obtained after the preset fusion processing is sent to the electronic device.

这样,多个拍摄设备所拍摄的媒体文件,可以经由一个主设备,发送至所述电子设备,则电子设备在接收每个拍摄设备所拍摄的媒体文件时,仅与主设备进行媒体文件传输,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用。In this way, the media files shot by multiple shooting devices can be sent to the electronic device via a main device, and then the electronic device only performs media file transmission with the main device when receiving the media files shot by each shooting device, Reduce the occupation of resources such as processors and transmission interfaces of electronic devices for media file transmission.

可以理解的是,第一媒体文件、第二媒体文件为拍摄设备针对同一个拍摄操作所拍摄的图片;比如,接收到所述电子设备的同一个拍摄指令进行拍摄。It can be understood that the first media file and the second media file are pictures taken by the photographing device for the same photographing operation; for example, photographing is performed after receiving the same photographing instruction of the electronic device.

可选地,本发明实施例中,所述第一指示信息中携带有所述主设备的设备标识号;Optionally, in this embodiment of the present invention, the first indication information carries the device identification number of the master device;

所述将所述拍摄设备所拍摄的第一媒体文件发送至所述拍摄设备中的主设备的步骤,包括:The step of sending the first media file shot by the shooting device to the main device in the shooting device includes:

所述将所述拍摄设备所拍摄的第一媒体文件,发送至所述第一指示信息中携带的设备标识号对应的拍摄设备。Sending the first media file shot by the shooting device to the shooting device corresponding to the device identification number carried in the first indication information.

其中,每个拍摄设备具有一设备标识号,用于标识设备;电子设备将主设备的设备标识号发送给非主设备,使得非主设备将自身所拍摄的第一媒体文件,发送至所述设备标识号对应的拍摄设备。Wherein, each shooting device has a device identification number for identifying the device; the electronic device sends the device identification number of the main device to the non-main device, so that the non-main device sends the first media file shot by itself to the said device. The shooting device corresponding to the device identification number.

本发明上述实施例中,接收与所述拍摄设备通信连接的电子设备发送的指示信息;若所述指示信息为第一指示信息,将所述拍摄设备所拍摄的第一媒体文件发送至所述拍摄设备中的主设备;若所述指示信息为第二指示信息,接收所述拍摄设备中的非主设备发送的第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备拍摄的第二媒体文件,以及所述拍摄设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种,实现多个拍摄设备所拍摄的媒体文件,通过一个主设备传输至电子设备,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。本发明实施例解决了现有技术中,分离式摄像头向电子设备传输图像的方式,造成电子设备的处理器资源占用率较高,且传输效率较低的问题。In the above-mentioned embodiment of the present invention, the instruction information sent by the electronic device that is communicatively connected to the photographing device is received; if the instruction information is the first instruction information, the first media file shot by the photographing device is sent to the photographing device. the main device in the photographing device; if the indication information is the second indication information, receive the first media file sent by the non-main device in the photographing device, and send the target media file to the electronic device; the target The media files include: the first media file, the second media file shot by the shooting device, and the third media file obtained by the shooting device performing preset fusion processing on the first media file and the second media file. At least one of the media files realizes that the media files shot by multiple shooting devices are transmitted to the electronic device through a main device, so as to reduce the occupation of resources such as the processor and transmission interface of the electronic device by the media file transmission; at the same time, the transmission efficiency is improved. , reduce the transmission power consumption. The embodiments of the present invention solve the problems in the prior art that the separate camera transmits images to the electronic device, resulting in high processor resource occupancy rate and low transmission efficiency of the electronic device.

以上介绍了本发明实施例提供的拍摄控制方法,下面将结合附图介绍本发明实施例提供的电子设备。The shooting control method provided by the embodiment of the present invention has been described above, and the electronic device provided by the embodiment of the present invention will be described below with reference to the accompanying drawings.

参见图5,本发明实施例还提供了一种电子设备500,所述电子设备500可以包括各种手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的移动台,终端设备等等。Referring to FIG. 5, an embodiment of the present invention further provides anelectronic device 500, theelectronic device 500 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various Various forms of mobile stations, terminal equipment, etc.

所述电子设备500包括:Theelectronic device 500 includes:

获取模块501,用于确定与所述电子设备500通信连接的至少两个拍摄设备中的主设备。The acquiringmodule 501 is configured to determine a master device among at least two photographing devices that are communicatively connected to theelectronic device 500 .

其中,所述拍摄设备可以是具有摄像头模组的设备;所述拍摄设备与所述电子设备500之间通信连接,可以是有线通信连接或无线通信连接,例如局域网等方式。The photographing device may be a device having a camera module; the communication connection between the photographing device and theelectronic device 500 may be a wired communication connection or a wireless communication connection, such as a local area network or the like.

电子设备500在接收到预设的拍摄指示之后,可确定与其处于通信连接的至少两个拍摄设备中的主设备;其中,所述主设备可以是预先设定的,比如一组拍摄设备中,可设置某个设备作为主设备,主设备用于向所述电子设备500传输所有拍摄设备拍摄的媒体文件;所述主设备还可以动态确定的,比如根据所述拍摄设备之间的位置关系临时确定一个主设备,或由电子设备500临时指定一个主设备。After receiving the preset shooting instruction, theelectronic device 500 may determine the master device among the at least two shooting devices that are in communication connection with it; wherein, the master device may be preset, for example, in a group of shooting devices, A certain device can be set as the master device, and the master device is used to transmit the media files captured by all the shooting devices to theelectronic device 500; the master device can also be dynamically determined, such as temporarily according to the positional relationship between the shooting devices. A master device is determined, or a master device is temporarily designated by theelectronic device 500 .

信息发送模块502,用于向所述拍摄设备中的非主设备发送第一指示信息,以及向所述主设备发送第二指示信息。Theinformation sending module 502 is configured to send first indication information to a non-main device in the photographing device, and send second indication information to the main device.

其中,所述第一指示信息用于指示所述非主设备将所拍摄的第一媒体文件发送至所述主设备;所述第二指示信息用于指示所述主设备接收所述第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述主设备拍摄的第二媒体文件,以及所述主设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种500。The first indication information is used to instruct the non-main device to send the captured first media file to the main device; the second indication information is used to instruct the main device to receive the first media file, and send the target media file to the electronic device; the target media file includes: the first media file, the second media file shot by the main device, and the first media file captured by the main device At least one 500 of a file and a third media file obtained by performing a preset fusion process on the second media file.

可选地,第一媒体文件和/或第二媒体文件可以是图片、视频等;Optionally, the first media file and/or the second media file may be pictures, videos, etc.;

确定主设备后,电子设备500向非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备500;所述电子设备500还向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备500;这样,多个拍摄设备所拍摄的媒体文件,可以经由一个主设备,发送至所述电子设备500,则电子设备500在接收每个拍摄设备所拍摄的媒体文件时,仅与主设备进行媒体文件传输,减少媒体文件传输对电子设备500的处理器、传输接口等资源的占用。After determining the master device, theelectronic device 500 sends first indication information to the non-master device, instructing the non-master device to send the first media file captured by itself to the master device, and to send the first media file to the master device through the master device.Electronic device 500; theelectronic device 500 further sends second indication information to the main device, instructing the main device to send the received first media file, the second media file shot by itself, and the first media file to the main device. At least one of the third media files obtained after performing preset fusion processing with the second media file is sent to theelectronic device 500; in this way, the media files shot by multiple shooting devices can be sent to the For theelectronic device 500, when theelectronic device 500 receives the media files captured by each shooting device, it only transmits the media files with the main device, thereby reducing the occupation of the processor, transmission interface and other resources of theelectronic device 500 by the media file transmission.

可以理解的是,第一媒体文件、第二媒体文件为拍摄设备针对同一个拍摄操作所拍摄的图片;比如,接收到所述电子设备500的同一个拍摄指令进行拍摄。It can be understood that the first media file and the second media file are pictures shot by the shooting device for the same shooting operation; for example, the same shooting instruction of theelectronic device 500 is received to shoot.

文件接收模块503,用于接收所述主设备发送的所述目标媒体文件。Thefile receiving module 503 is configured to receive the target media file sent by the master device.

其中,电子设备500接收所述主设备发送的第一媒体文件以及第二媒体文件,根据预设的融合算法将各个媒体文件进行融合,扩充拍摄的视野范围,增加画面信息,提升拍照效果。Theelectronic device 500 receives the first media file and the second media file sent by the main device, and fuses each media file according to a preset fusion algorithm to expand the field of view of shooting, increase picture information, and improve the shooting effect.

可选地,本发明实施例中,所述电子设备500包括至少两个分离式摄像头模组,所述分离式摄像头模组为所述拍摄设备。Optionally, in this embodiment of the present invention, theelectronic device 500 includes at least two separate camera modules, and the separate camera modules are the shooting device.

可选地,本发明实施例中,所述获取模块501包括:Optionally, in this embodiment of the present invention, the obtainingmodule 501 includes:

第一确定子模块,用于获取每个所述拍摄设备的位置信息;a first determination sub-module, used for acquiring the location information of each of the photographing devices;

第二确定子模块,用于根据所述位置信息,确定所述拍摄设备中的主设备;其中,所述主设备为距离每个所述拍摄设备之间的路径距离之和最小的所述拍摄设备。The second determination sub-module is configured to determine, according to the position information, a master device in the shooting devices; wherein, the master device is the shooting device with the smallest sum of path distances from each of the shooting devices equipment.

可选地,本发明实施例中,所述第一确定子模块用于:Optionally, in this embodiment of the present invention, the first determination submodule is configured to:

建立所述拍摄设备之间距离的二维数组,所述二维数组中的一维数组的元素为每个所述拍摄设备至其他所述拍摄设备之间的路径距离;establishing a two-dimensional array of distances between the photographing devices, where the elements of the one-dimensional array in the two-dimensional array are the path distances between each of the photographing devices and other photographing devices;

确定每个所述一维数组的元素的数值之和;determining the sum of the values of the elements of each of the one-dimensional arrays;

将所述数值之和最小的一维数组对应的拍摄设备作为主设备。The photographing device corresponding to the one-dimensional array with the smallest sum of the numerical values is used as the master device.

可选地,本发明实施例中,所述第二确定子模块用于:Optionally, in this embodiment of the present invention, the second determination submodule is configured to:

根据预设的空间聚类算法,对所述拍摄设备所在位置点进行聚类处理,得到所述位置点的质心,所述质心对应的拍摄设备为主设备。According to a preset spatial clustering algorithm, cluster processing is performed on the location points where the photographing equipment is located to obtain the centroid of the location point, and the photographing equipment corresponding to the centroid is the main equipment.

可选地,本发明实施例中,所述第一指示信息中携带有所述主设备的设备标识号。Optionally, in this embodiment of the present invention, the first indication information carries the device identification number of the master device.

本发明实施例提供的电子设备500能够实现图1至图3的方法实施例中电子设备500实现的各个过程,为避免重复,这里不再赘述。Theelectronic device 500 provided in this embodiment of the present invention can implement each process implemented by theelectronic device 500 in the method embodiments of FIG. 1 to FIG. 3 , and to avoid repetition, details are not repeated here.

本发明的实施例中,获取模块501确定与所述电子设备500通信连接的至少两个拍摄设备中的主设备;信息发送模块502向所述拍摄设备中的非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备500;以及向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备500;实现多个拍摄设备所拍摄的媒体文件,通过一个主设备传输至电子设备500,减少媒体文件传输对电子设备500的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。本发明实施例解决了现有技术中,分离式摄像头向电子设备传输图像的方式,造成电子设备的处理器资源占用率较高,且传输效率较低的问题。In the embodiment of the present invention, the acquiringmodule 501 determines the master device in at least two photographing devices that are communicatively connected to theelectronic device 500; theinformation sending module 502 sends the first indication information to the non-master device in the photographing devices, Instructing the non-main device to send the first media file shot by itself to the main device, and sending the first media file to theelectronic device 500 through the main device; and sending second instruction information to the main device, indicating that the The master device sends at least one of the received first media file, the second media file shot by itself, and the third media file obtained by performing preset fusion processing on the first media file and the second media file. to theelectronic device 500; realize that the media files shot by a plurality of shooting devices are transmitted to theelectronic device 500 through a main device, so as to reduce the occupation of resources such as the processor and the transmission interface of theelectronic device 500 by the media file transmission; at the same time, the transmission efficiency is improved, Reduce transmission power consumption. The embodiments of the present invention solve the problems in the prior art that the separate camera transmits images to the electronic device, resulting in high processor resource occupancy rate and low transmission efficiency of the electronic device.

参见图6,本发明实施例还提供了一种拍摄设备600,所述拍摄设备600可以是具有摄像头模组的设备,所述拍摄设备600包括:Referring to FIG. 6, an embodiment of the present invention further provides a photographingdevice 600. The photographingdevice 600 may be a device having a camera module, and the photographingdevice 600 includes:

信息接收模块601,用于接收与所述拍摄设备600通信连接的电子设备发送的指示信息。Theinformation receiving module 601 is configured to receive indication information sent by an electronic device communicatively connected to the photographingdevice 600 .

所述拍摄设备600与所述电子设备之间通信连接,可以是有线通信连接或无线通信连接,例如局域网等方式。电子设备在接收到预设的拍摄指示之后,可确定与其处于通信连接的至少两个拍摄设备600中的主设备;其中,所述主设备可以是预先设定的,比如一组拍摄设备600中,可设置某个设备作为主设备,主设备用于向所述电子设备传输所有拍摄设备600拍摄的媒体文件;所述主设备还可以动态确定的,比如根据所述拍摄设备600之间的位置关系临时确定一个主设备,或由电子设备临时指定一个主设备。The communication connection between the photographingdevice 600 and the electronic device may be a wired communication connection or a wireless communication connection, such as a local area network. After receiving the preset shooting instruction, the electronic device may determine the master device among the at least two shootingdevices 600 that are in communication connection with it; wherein, the master device may be preset, such as in a group of shootingdevices 600 , a certain device can be set as the master device, and the master device is used to transmit the media files captured by all theshooting devices 600 to the electronic device; the master device can also be dynamically determined, for example, according to the position between the shootingdevices 600 The relationship temporarily identifies a master device, or the electronic device temporarily designates a master device.

拍摄设备600接收电子设备发送的指示信息,根据指示信息执行媒体文件传输操作,媒体文件为拍摄设备600所拍摄的,可以是图片、视频等。The photographingdevice 600 receives the instruction information sent by the electronic device, and performs a media file transmission operation according to the instruction information. The media file is photographed by the photographingdevice 600 and may be a picture, a video, or the like.

第一发送模块602,用于若所述指示信息为第一指示信息,将所述拍摄设备600所拍摄的第一媒体文件发送至所述拍摄设备600中的主设备。Thefirst sending module 602 is configured to send the first media file photographed by the photographingdevice 600 to the main device in the photographingdevice 600 if the indication information is the first indication information.

若接收到第一指示信息,则该拍摄设备600为非主设备,第一发送模块602将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备。If the first indication information is received, the photographingdevice 600 is a non-master device, and thefirst sending module 602 sends the first media file captured by itself to the master device, and sends the first media file through the master device to electronic equipment.

第二发送模块603,用于若所述指示信息为第二指示信息,接收所述拍摄设备600中的非主设备发送的第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备600拍摄的第二媒体文件,以及所述拍摄设备600将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种。Thesecond sending module 603 is configured to, if the indication information is the second indication information, receive the first media file sent by the non-main device in the photographingdevice 600, and send the target media file to the electronic device; The target media file includes: the first media file, the second media file shot by theshooting device 600, and theshooting device 600 performs preset fusion processing on the first media file and the second media file at least one of the obtained third media files.

若接收到第二指示信息,则该拍摄设备600为主设备,第二发送模块603将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备。If the second indication information is received, the photographingdevice 600 is the master device, and thesecond sending module 603 sends the received first media file, the second media file shot by itself, and the first media file and the second media At least one of the third media files obtained by performing the preset fusion processing on the files is sent to the electronic device.

这样,多个拍摄设备600所拍摄的媒体文件,可以经由一个主设备,发送至所述电子设备,则电子设备在接收每个拍摄设备600所拍摄的媒体文件时,仅与主设备进行媒体文件传输,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用。In this way, the media files captured by a plurality of shootingdevices 600 can be sent to the electronic device via a main device, and then the electronic device only exchanges the media files with the main device when receiving the media files captured by each shootingdevice 600. Transmission, reducing the occupation of resources such as the processor and transmission interface of the electronic device for media file transmission.

可选地,本发明实施例中,所述第一指示信息中携带有所述主设备的设备标识号;Optionally, in this embodiment of the present invention, the first indication information carries the device identification number of the master device;

所述第一发送模块602用于:Thefirst sending module 602 is used for:

所述将所述拍摄设备600所拍摄的第一媒体文件,发送至所述第一指示信息中携带的设备标识号对应的拍摄设备600。The first media file shot by theshooting device 600 is sent to theshooting device 600 corresponding to the device identification number carried in the first indication information.

本发明上述实施例中,信息接收模块601接收与所述拍摄设备600通信连接的电子设备发送的指示信息;若所述指示信息为第一指示信息,第一发送模块602将所述拍摄设备600所拍摄的第一媒体文件发送至所述拍摄设备600中的主设备;若所述指示信息为第二指示信息,第二发送模块603并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备600拍摄的第二媒体文件,以及所述拍摄设备600将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种,实现多个拍摄设备600所拍摄的媒体文件,通过一个主设备传输至电子设备,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。本发明实施例解决了现有技术中,分离式摄像头向电子设备传输图像的方式,造成电子设备的处理器资源占用率较高,且传输效率较低的问题。In the above-mentioned embodiment of the present invention, theinformation receiving module 601 receives the indication information sent by the electronic device communicatively connected to the photographingdevice 600 ; if the indication information is the first indication information, thefirst sending module 602 sends the photographingdevice 600 The captured first media file is sent to the main device in theshooting device 600; if the indication information is the second indication information, thesecond sending module 603 sends the target media file to the electronic device; the target The media files include: the first media file, the second media file shot by theshooting device 600, and the first media file and the second media file obtained by theshooting device 600 by performing preset fusion processing on the first media file and the second media file. At least one of the third media files realizes that the media files shot by themultiple shooting devices 600 are transmitted to the electronic device through a main device, thereby reducing the occupation of resources such as the processor and the transmission interface of the electronic device by the media file transmission; Improve transmission efficiency and reduce transmission power consumption. The embodiments of the present invention solve the problems in the prior art that the separate camera transmits images to the electronic device, resulting in high processor resource occupancy rate and low transmission efficiency of the electronic device.

图7为实现本发明各个实施例的一种电子设备的硬件结构示意图;7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention;

该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Theelectronic device 700 includes but is not limited to: aradio frequency unit 701, anetwork module 702, anaudio output unit 703, aninput unit 704, asensor 705, adisplay unit 706, auser input unit 707, aninterface unit 708, amemory 709, aprocessor 710, andPower supply 711 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,处理器710,用于获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;Wherein, theprocessor 710 is configured to acquire the master device in the at least two photographing devices that are communicatively connected to the electronic device;

向所述拍摄设备中的非主设备发送第一指示信息,以及向所述主设备发送第二指示信息;sending first indication information to a non-main device in the photographing device, and sending second indication information to the main device;

其中,所述第一指示信息用于指示所述非主设备将所拍摄的第一媒体文件发送至所述主设备;所述第二指示信息用于指示所述主设备接收所述第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述主设备拍摄的第二媒体文件,以及所述主设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种;The first indication information is used to instruct the non-main device to send the captured first media file to the main device; the second indication information is used to instruct the main device to receive the first media file, and send the target media file to the electronic device; the target media file includes: the first media file, the second media file shot by the main device, and the first media file captured by the main device at least one of a file and a third media file obtained by performing a preset fusion process on the second media file;

接收所述主设备发送的所述目标媒体文件。The target media file sent by the master device is received.

or

处理器710,用于接收与所述拍摄设备通信连接的电子设备发送的指示信息;aprocessor 710, configured to receive indication information sent by an electronic device communicatively connected to the photographing device;

若所述指示信息为第一指示信息,将所述拍摄设备所拍摄的第一媒体文件发送至所述拍摄设备中的主设备;If the indication information is the first indication information, sending the first media file shot by the photographing device to the main device in the photographing device;

若所述指示信息为第二指示信息,接收所述拍摄设备中的非主设备发送的第一媒体文件,并将目标媒体文件发送至所述电子设备;所述目标媒体文件包括:所述第一媒体文件,所述拍摄设备拍摄的第二媒体文件,以及所述拍摄设备将所述第一媒体文件以及所述第二媒体文件进行预设融合处理得到的第三媒体文件中的至少一种。If the indication information is the second indication information, receive the first media file sent by the non-main device in the photographing device, and send the target media file to the electronic device; the target media file includes: the first media file At least one of a media file, a second media file shot by the shooting device, and a third media file obtained by the shooting device performing preset fusion processing on the first media file and the second media file .

本发明的实施例中,获取与所述电子设备通信连接的至少两个拍摄设备中的主设备;向所述拍摄设备中的非主设备发送第一指示信息,指示非主设备将自身所拍摄的第一媒体文件发送至主设备,通过所述主设备将所述第一媒体文件发送至电子设备;以及向所述主设备发送第二指示信息,指示所述主设备将所接收的第一媒体文件,自身所拍摄的第二媒体文件,以及将第一媒体文件和第二媒体文件进行预设融合处理后得到的第三媒体文件中的至少一种发送至电子设备;实现多个拍摄设备所拍摄的媒体文件,通过一个主设备传输至电子设备,减少媒体文件传输对电子设备的处理器、传输接口等资源的占用;同时提高传输效率,降低传输功耗。In the embodiment of the present invention, a master device of at least two photographing devices that are communicatively connected to the electronic device is obtained; send the first media file of the device to the main device, and send the first media file to the electronic device through the main device; and send second indication information to the main device, instructing the main device to send the received first media file to the electronic device; At least one of a media file, a second media file shot by itself, and a third media file obtained by performing preset fusion processing on the first media file and the second media file is sent to the electronic device; realizing multiple shooting devices The captured media files are transmitted to the electronic device through a main device, which reduces the occupation of the processor, transmission interface and other resources of the electronic device by the media file transmission; at the same time, the transmission efficiency is improved and the transmission power consumption is reduced.

需要说明的是,本实施例中上述电子设备700可以实现本发明实施例中方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,此处不再赘述。It should be noted that, theelectronic device 700 in this embodiment can implement each process in the method embodiment in the embodiment of the present invention, and achieve the same beneficial effect, which is not repeated here to avoid repetition.

应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, theradio frequency unit 701 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by theprocessor 710; The uplink data is sent to the base station. Generally, theradio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through thenetwork module 702, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与电子设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 703 may convert audio data received by theradio frequency unit 701 or thenetwork module 702 or stored in thememory 709 into audio signals and output as sound. Also, theaudio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (eg, call signal reception sound, message reception sound, etc.). Theaudio output unit 703 includes a speaker, a buzzer, a receiver, and the like.

输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。Theinput unit 704 is used to receive audio or video signals. Theinput unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and amicrophone 7042, and thegraphics processor 7041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on thedisplay unit 706 . The image frames processed by thegraphics processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via theradio frequency unit 701 or thenetwork module 702 . Themicrophone 7042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via theradio frequency unit 701 for output in the case of a telephone call mode.

电子设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在电子设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。Theelectronic device 700 also includes at least onesensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 7061 and thedisplay panel 7061 when theelectronic device 700 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; thesensor 705 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。Thedisplay unit 706 is used to display information input by the user or information provided to the user. Thedisplay unit 706 may include adisplay panel 7061, and thedisplay panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

用户输入单元707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 707 may be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the electronic device. Specifically, theuser input unit 707 includes atouch panel 7071 andother input devices 7072 . Thetouch panel 7071, also referred to as a touch screen, collects the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 7071). operate). Thetouch panel 7071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 710, the command sent by theprocessor 710 is received and executed. In addition, thetouch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to thetouch panel 7071 , theuser input unit 707 may also includeother input devices 7072 . Specifically,other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, thetouch panel 7071 can be covered on thedisplay panel 7061. When thetouch panel 7071 detects a touch operation on or near it, it transmits it to theprocessor 710 to determine the type of the touch event, and then theprocessor 710 determines the type of the touch event according to the touch The type of event provides a corresponding visual output ondisplay panel 7061. Although in FIG. 7 , thetouch panel 7071 and thedisplay panel 7061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, thetouch panel 7071 and thedisplay panel 7061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元708为外部装置与电子设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备700内的一个或多个元件或者可以用于在电子设备700和外部装置之间传输数据。Theinterface unit 708 is an interface for connecting an external device to theelectronic device 700 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 708 may be used to receive input from external devices (eg, data information, power, etc.) and transmit the received input to one or more elements within theelectronic device 700 or may be used between theelectronic device 700 and the external Transfer data between devices.

存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 709 may be used to store software programs as well as various data. Thememory 709 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 709 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。Theprocessor 710 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in thememory 709, and calling the data stored in thememory 709. , perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole. Theprocessor 710 may include one or more processing units; preferably, theprocessor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 710.

电子设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Theelectronic device 700 may also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, thepower supply 711 may be logically connected to theprocessor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.

另外,电子设备700包括一些未示出的功能模块,在此不再赘述。In addition, theelectronic device 700 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种电子设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述拍摄控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, including aprocessor 710, amemory 709, and a computer program stored in thememory 709 and running on theprocessor 710, when the computer program is executed by theprocessor 710 Various processes of the above embodiments of the shooting control method are implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍摄控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiments of the shooting control method can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (10)

CN202010307402.1A2020-04-172020-04-17 Shooting control method, electronic device, and shooting deviceActiveCN111405189B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010307402.1ACN111405189B (en)2020-04-172020-04-17 Shooting control method, electronic device, and shooting device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010307402.1ACN111405189B (en)2020-04-172020-04-17 Shooting control method, electronic device, and shooting device

Publications (2)

Publication NumberPublication Date
CN111405189Atrue CN111405189A (en)2020-07-10
CN111405189B CN111405189B (en)2021-08-31

Family

ID=71429681

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010307402.1AActiveCN111405189B (en)2020-04-172020-04-17 Shooting control method, electronic device, and shooting device

Country Status (1)

CountryLink
CN (1)CN111405189B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH11243512A (en)*1997-10-071999-09-07Masanobu KujiradaMaster-slave joint type display system
US6204877B1 (en)*1994-09-092001-03-20Olympus Optical Co., Ltd.Electronic image pickup system for transmitting image data by remote-controlling
WO2006068463A1 (en)*2004-12-242006-06-29Ultrawaves Design Holding B.V.Intelligent distributed image processing
US20140354852A1 (en)*2013-06-032014-12-04Samsung Electronics Co., Ltd.Group recording method, machine-readable storage medium, and electronic device
US20150334258A1 (en)*2014-04-032015-11-19Olloclip, LlcAuxiliary photography systems for mobile devices
CN107493454A (en)*2016-06-132017-12-19杭州海康威视数字技术股份有限公司Video camera cascade system
CN107948723A (en)*2017-11-102018-04-20中国汽车工程研究院股份有限公司The vehicle carried data collecting device and its collecting method of expansible port
KR101850930B1 (en)*2016-10-242018-04-23시스텍전자(주)Collective camera video monitoring device
CN108900764A (en)*2018-06-062018-11-27三星电子(中国)研发中心Image pickup method and electronic device and filming control method and server
CN108933918A (en)*2017-05-242018-12-04田飞A kind of principal and subordinate's camera control unit structure
CN110769154A (en)*2019-10-302020-02-07维沃移动通信(杭州)有限公司Shooting method and electronic equipment
CN111010508A (en)*2019-11-292020-04-14维沃移动通信有限公司Shooting method and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6204877B1 (en)*1994-09-092001-03-20Olympus Optical Co., Ltd.Electronic image pickup system for transmitting image data by remote-controlling
JPH11243512A (en)*1997-10-071999-09-07Masanobu KujiradaMaster-slave joint type display system
WO2006068463A1 (en)*2004-12-242006-06-29Ultrawaves Design Holding B.V.Intelligent distributed image processing
US20140354852A1 (en)*2013-06-032014-12-04Samsung Electronics Co., Ltd.Group recording method, machine-readable storage medium, and electronic device
US20150334258A1 (en)*2014-04-032015-11-19Olloclip, LlcAuxiliary photography systems for mobile devices
CN107493454A (en)*2016-06-132017-12-19杭州海康威视数字技术股份有限公司Video camera cascade system
KR101850930B1 (en)*2016-10-242018-04-23시스텍전자(주)Collective camera video monitoring device
CN108933918A (en)*2017-05-242018-12-04田飞A kind of principal and subordinate's camera control unit structure
CN107948723A (en)*2017-11-102018-04-20中国汽车工程研究院股份有限公司The vehicle carried data collecting device and its collecting method of expansible port
CN108900764A (en)*2018-06-062018-11-27三星电子(中国)研发中心Image pickup method and electronic device and filming control method and server
CN110769154A (en)*2019-10-302020-02-07维沃移动通信(杭州)有限公司Shooting method and electronic equipment
CN111010508A (en)*2019-11-292020-04-14维沃移动通信有限公司Shooting method and electronic equipment

Also Published As

Publication numberPublication date
CN111405189B (en)2021-08-31

Similar Documents

PublicationPublication DateTitle
CN107908383B (en)Screen color adjusting method and device and mobile terminal
WO2020192219A1 (en)Positioning measurement information reporting method, terminal, and network device
CN107846583B (en) A kind of image shadow compensation method and mobile terminal
CN110602389B (en) A display method and electronic device
CN108174109B (en) A kind of photographing method and mobile terminal
CN107864336B (en) Image processing method and mobile terminal
WO2020182035A1 (en)Image processing method and terminal device
CN110806832A (en) A parameter adjustment method and electronic device
WO2021190387A1 (en)Detection result output method, electronic device, and medium
WO2020011080A1 (en)Display control method and terminal device
CN107682637A (en) A shooting method, mobile terminal and computer-readable storage medium
CN108174081B (en) A shooting method and mobile terminal
CN111399792B (en) A content sharing method and electronic device
CN108833791A (en) A shooting method and device
CN108881723A (en)A kind of image preview method and terminal
CN108225278A (en)A kind of distance measuring method, mobile terminal
CN109618278B (en)Positioning method and mobile terminal
CN110602390A (en)Image processing method and electronic equipment
CN111464745B (en)Image processing method and electronic equipment
CN108712604A (en) A panoramic shooting method and mobile terminal
CN108419283A (en) Method and mobile terminal for WIFI hotspot scanning
CN108989560B (en)Screen switching control method in shooting mode, terminal device and storage medium
CN109922256B (en) Shooting method and terminal device
WO2020253377A1 (en)Terminal positioning method and mobile terminal
CN110740265A (en)Image processing method and terminal equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp