CN105681455A - Method, device and system for acquiring images - Google Patents
Method, device and system for acquiring images Download PDFInfo
- Publication number
- CN105681455A CN105681455A CN201610113486.9A CN201610113486A CN105681455A CN 105681455 A CN105681455 A CN 105681455A CN 201610113486 A CN201610113486 A CN 201610113486A CN 105681455 A CN105681455 A CN 105681455A
- Authority
- CN
- China
- Prior art keywords
- terminal
- target image
- image
- acquisition
- target
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本公开涉及终端技术领域,特别涉及一种获取图像的方法、装置及系统。The present disclosure relates to the technical field of terminals, and in particular to a method, device and system for acquiring images.
背景技术Background technique
随着终端技术的不断发展,智能终端设备涌现而出,智能终端越来越多的应用于人们的日常生活和工作中,使人们的生活变得越来越便捷。目前,大部分智能终端设备都能够支持照片拍摄功能,图像的存储和显示功能等。用户通常会将平时拍摄的照片存储在电子相册(如,智能终端设备的本地相册或者云相册)中。在相关技术中,如果用户想获取某个突发公共事件的相关照片,只能在事件发生一段时间后,通过网络搜索被上传到网络上的相关照片,因此,所能获取到的照片有限,且上述获取照片的方式效率较低。With the continuous development of terminal technology, smart terminal devices emerge, and more and more smart terminals are used in people's daily life and work, making people's life more and more convenient. At present, most smart terminal devices can support photo shooting functions, image storage and display functions, and the like. The user usually stores the photos usually taken in an electronic photo album (eg, a local photo album or a cloud photo album of a smart terminal device). In related technologies, if a user wants to obtain relevant photos of a certain public emergency, he can only search for relevant photos uploaded on the Internet after a period of time after the event has occurred. Therefore, the photos that can be obtained are limited. And the efficiency of the above-mentioned mode of obtaining photos is low.
发明内容Contents of the invention
为了解决上述技术问题,本公开提供一种获取图像的方法、装置及系统。In order to solve the above technical problems, the present disclosure provides a method, device and system for acquiring images.
根据本公开实施例的第一方面,提供一种获取图像的方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for acquiring an image is provided, including:
检测针对第一终端的目标获取请求,所述目标获取请求指示获取满足预定条件的目标图像;Detecting an object acquisition request for the first terminal, where the object acquisition request indicates acquisition of an object image satisfying a predetermined condition;
响应于检测到所述目标获取请求,在第二终端的云相册中搜索所述目标图像;In response to detecting the target acquisition request, searching for the target image in the cloud album of the second terminal;
响应于搜索到所述目标图像,获取所述目标图像对应的第二终端的信息;In response to finding the target image, acquiring information of a second terminal corresponding to the target image;
控制所述第一终端输出获取响应信息,所述获取响应信息指示所述第二终端中存在所述目标图像。controlling the first terminal to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal.
可选的,所述预定条件包括以下一项或多项:Optionally, the predetermined conditions include one or more of the following:
预定的创建时间;scheduled creation time;
预定的创建地点;以及the intended place of creation; and
预定的背景环境特征。Predetermined background environment characteristics.
可选的,所述在第二终端的云相册中搜索所述目标图像,包括:Optionally, the searching for the target image in the cloud album of the second terminal includes:
查找出在所述预定时间所处的位置为预定位置的第二终端;find out the second terminal whose position at the predetermined time is the predetermined position;
在所述第二终端对应的云相册中搜索所述目标图像。Searching for the target image in the cloud album corresponding to the second terminal.
可选的,在所述控制所述第一终端输出获取响应信息之前,所述方法还包括:Optionally, before controlling the first terminal to output acquisition response information, the method further includes:
控制所述第二终端从所述第二终端本地获取所述目标图像。controlling the second terminal to locally acquire the target image from the second terminal.
可选的,所述在第二终端的云相册中搜索所述目标图像,包括:Optionally, the searching for the target image in the cloud album of the second terminal includes:
获取第二终端的云相册中的图像关联的标签信息;Obtain tag information associated with images in the cloud album of the second terminal;
查找出与所述预定条件匹配的目标标签信息,所述目标标签信息对应的图像为所述目标图像。Find out the target tag information matching the predetermined condition, and the image corresponding to the target tag information is the target image.
可选的,所述标签信息包括以下一项或多项:Optionally, the tag information includes one or more of the following:
图像的创建时间;the creation time of the image;
图像的创建地点;以及where the image was created; and
图像的背景环境特征。The background environment characteristics of the image.
可选的,所述获取响应信息包括以下至少一项:所述目标图像的目录、所述目标图像。Optionally, the acquisition response information includes at least one of the following: a directory of the target image, and the target image.
可选的,所述获取响应信息包括所述目录;Optionally, the acquisition response information includes the directory;
在所述控制所述第一终端输出获取响应信息之后,所述方法还包括:After the control of the first terminal to output acquisition response information, the method further includes:
检测针对所述目录的选择操作;detect a select operation against said directory;
响应于检测到选择操作,获取所述选择操作指示的目标图像;In response to detecting a selection operation, acquiring a target image indicated by the selection operation;
控制所述第一终端输出所述选择操作指示的目标图像。controlling the first terminal to output the target image indicated by the selection operation.
根据本公开实施例的第二方面,提供一种获取图像的装置,包括:According to a second aspect of an embodiment of the present disclosure, there is provided a device for acquiring an image, including:
检测模块,被配置为检测针对第一终端的目标获取请求,所述目标获取请求指示获取满足预定条件的目标图像;a detection module configured to detect a target acquisition request directed at the first terminal, where the target acquisition request indicates acquisition of a target image satisfying a predetermined condition;
搜索模块,被配置为响应于检测到所述目标获取请求,在第二终端的云相册中搜索所述目标图像;a search module, configured to search for the target image in the cloud album of the second terminal in response to detecting the target acquisition request;
获取模块,被配置为响应于搜索到所述目标图像,获取所述目标图像对应的第二终端的信息;An acquisition module configured to acquire information of a second terminal corresponding to the target image in response to finding the target image;
第一控制模块,被配置为控制所述第一终端输出获取响应信息,所述获取响应信息指示所述第二终端中存在所述目标图像。A first control module configured to control the first terminal to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal.
可选的,所述预定条件包括以下一项或多项:Optionally, the predetermined conditions include one or more of the following:
预定的创建时间;scheduled creation time;
预定的创建地点;以及the intended place of creation; and
预定的背景环境特征。Predetermined background environment characteristics.
可选的,所述搜索模块包括:Optionally, the search module includes:
查找子模块,被配置为查找出在所述预定时间所处的位置为预定位置的第二终端;A search submodule configured to find out the second terminal whose position at the predetermined time is a predetermined position;
搜索子模块,被配置为在所述第二终端对应的云相册中搜索所述目标图像。The search submodule is configured to search for the target image in the cloud album corresponding to the second terminal.
可选的,所述装置还包括:Optionally, the device also includes:
第二控制模块,被配置为控制所述第二终端从所述第二终端本地获取所述目标图像。The second control module is configured to control the second terminal to locally acquire the target image from the second terminal.
可选的,所述搜索模块包括:Optionally, the search module includes:
获取子模块,被配置为获取第二终端的云相册中的图像关联的标签信息;The obtaining submodule is configured to obtain tag information associated with images in the cloud album of the second terminal;
匹配子模块,被配置为查找出与所述预定条件匹配的目标标签信息,所述目标标签信息对应的图像为所述目标图像。The matching submodule is configured to find out target tag information that matches the predetermined condition, and the image corresponding to the target tag information is the target image.
可选的,所述标签信息包括以下一项或多项:Optionally, the tag information includes one or more of the following:
图像的创建时间;the creation time of the image;
图像的创建地点;以及where the image was created; and
图像的背景环境特征。The background environment characteristics of the image.
可选的,所述获取响应信息包括以下至少一项:所述目标图像的目录、所述目标图像。Optionally, the acquisition response information includes at least one of the following: a directory of the target image, and the target image.
可选的,所述获取响应信息包括所述目录;Optionally, the acquisition response information includes the directory;
所述装置还包括:The device also includes:
操作检测模块,被配置为检测针对所述目录的选择操作;an operation detection module configured to detect a selection operation for the directory;
图像获取模块,被配置为响应于检测到选择操作,获取所述选择操作指示的目标图像;An image acquisition module configured to, in response to detecting a selection operation, acquire a target image indicated by the selection operation;
第三控制模块,被配置为控制所述第一终端输出所述选择操作指示的目标图像。A third control module configured to control the first terminal to output the target image indicated by the selection operation.
根据本公开实施例的第三方面,提供一种获取图像的系统,包括:终端和服务器;其中,终端包括第一终端和第二终端;According to a third aspect of an embodiment of the present disclosure, there is provided a system for acquiring an image, including: a terminal and a server; wherein, the terminal includes a first terminal and a second terminal;
所述第一终端,被配置为向服务器发送目标获取请求,所述目标获取请求指示获取满足预定条件的目标图像;The first terminal is configured to send a target acquisition request to a server, where the target acquisition request indicates acquisition of a target image satisfying a predetermined condition;
所述服务器,被配置为检测针对第一终端的所述目标获取请求;响应于检测到所述目标获取请求,在第二终端的云相册中搜索所述目标图像;响应于搜索到所述目标图像,获取所述目标图像对应的第二终端的信息,并向所述第一终端发送第一控制命令,所述第一控制命令指示所述第一终端输出获取响应信息;The server is configured to detect the target acquisition request for the first terminal; in response to detecting the target acquisition request, search for the target image in the cloud album of the second terminal; in response to the search for the target image, acquiring information of a second terminal corresponding to the target image, and sending a first control command to the first terminal, where the first control command instructs the first terminal to output acquisition response information;
所述第一终端,还被配置为响应于所述第一控制命令,输出获取响应信息,所述获取响应信息指示所述第二终端中存在所述目标图像。The first terminal is further configured to output acquisition response information in response to the first control command, the acquisition response information indicating that the target image exists in the second terminal.
根据本公开实施例的第四方面,提供一种获取图像的装置,包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided a device for acquiring images, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
检测针对第一终端的目标获取请求,所述目标获取请求指示获取满足预定条件的目标图像;Detecting an object acquisition request for the first terminal, where the object acquisition request indicates acquisition of an object image satisfying a predetermined condition;
响应于检测到所述目标获取请求,在第二终端的云相册中搜索所述目标图像;In response to detecting the target acquisition request, searching for the target image in the cloud album of the second terminal;
响应于搜索到所述目标图像,获取所述目标图像对应的第二终端的信息;In response to finding the target image, acquiring information of a second terminal corresponding to the target image;
控制所述第一终端输出获取响应信息,所述获取响应信息指示所述第二终端中存在所述目标图像。controlling the first terminal to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的上述实施例提供的一种获取图像的方法,通过在检测到针对第一终端的目标获取请求时,在第二终端的云相册中搜索上述目标图像,响应于搜索到上述目标图像,获取该目标图像对应的第二终端的信息,并控制第一终端输出获取响应信息。从而实现了用户之间对照片的分享,无需用户从网上搜索照片,提高了终端的使用效率。The above-mentioned embodiments of the present disclosure provide a method for acquiring an image. When a target acquisition request for the first terminal is detected, the target image is searched in the cloud album of the second terminal, and in response to the target image being searched, Acquire the information of the second terminal corresponding to the target image, and control the first terminal to output acquisition response information. Thereby, sharing of photos between users is realized, without users needing to search for photos from the Internet, and the use efficiency of the terminal is improved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是本公开根据一示例性实施例示出的一种可以应用本公开实施例的示例性系统架构图;Fig. 1 is an exemplary system architecture diagram according to an exemplary embodiment of the present disclosure, to which the embodiment of the present disclosure can be applied;
图2是本公开根据一示例性实施例示出的一种获取图像的方法的流程图;Fig. 2 is a flowchart of a method for acquiring an image according to an exemplary embodiment of the present disclosure;
图3是本公开根据一示例性实施例示出的一种获取图像的装置的框图;Fig. 3 is a block diagram of a device for acquiring images according to an exemplary embodiment of the present disclosure;
图4是本公开根据一示例性实施例示出的另一种获取图像的装置的框图;Fig. 4 is a block diagram of another device for acquiring images according to an exemplary embodiment of the present disclosure;
图5是本公开根据一示例性实施例示出的另一种获取图像的装置的框图;Fig. 5 is a block diagram of another device for acquiring images according to an exemplary embodiment of the present disclosure;
图6是本公开根据一示例性实施例示出的另一种获取图像的装置的框图;Fig. 6 is a block diagram of another device for acquiring images according to an exemplary embodiment of the present disclosure;
图7是本公开根据一示例性实施例示出的一种获取图像的系统的框图;Fig. 7 is a block diagram of a system for acquiring images according to an exemplary embodiment of the present disclosure;
图8是本公开根据一示例性实施例示出的一种获取图像的装置的一结构示意图。Fig. 8 is a schematic structural diagram of an image acquisition device according to an exemplary embodiment of the present disclosure.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
参见图1,为应用本公开实施例的示例性系统架构示意图:Referring to FIG. 1, it is a schematic diagram of an exemplary system architecture applying an embodiment of the present disclosure:
如图1所示,系统架构100可以包括终端设备101、102、网络103和服务器104。网络103用于在终端设备101、102和服务器104之间提供通信链路的介质。网络103可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a system architecture 100 may include terminal devices 101 , 102 , a network 103 and a server 104 . The network 103 is used as a medium for providing communication links between the terminal devices 101 , 102 and the server 104 . Network 103 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
终端设备101、102可以通过网络103与服务器104交互,以接收或发送请求或信息等。终端设备101、102可以是各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机以及台式电脑等等。服务器104可以是提供各种服务的服务器。服务器可以对接收到的数据进行存储、分析等处理,也可以向终端设备发送控制命令等。服务器可以响应于用户的服务请求而提供服务。可以理解,一个服务器可以提供一种或多种服务,同一种服务也可以由多个服务器来提供。The terminal devices 101 and 102 can interact with the server 104 through the network 103 to receive or send requests or information. The terminal devices 101 and 102 may be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers and so on. The server 104 may be a server that provides various services. The server can store and analyze the received data, and can also send control commands to the terminal equipment. The server may provide the service in response to the user's service request. It can be understood that one server can provide one or more services, and the same service can also be provided by multiple servers.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
基于图1示出的系统架构,本公开实施例中,终端设备101或终端设备102可以通过网络103向服务器104发送目标获取请求,该目标获取请求指示获取满足预定条件的目标图像,服务器104响应于该目标获取请求,在云相册中搜索目标图像。若搜索到目标图像,服务器104可以获取目标图像对应的终端设备的信息,并通过网络103向终端设备101或终端设备102返回控制命令,以控制终端设备101或终端设备102输出获取响应信息,该获取响应信息指示终端设备中存在目标图像。下面将结合具体的实施例对本公开进行详细描述。Based on the system architecture shown in FIG. 1 , in the embodiment of the present disclosure, the terminal device 101 or the terminal device 102 can send a target acquisition request to the server 104 through the network 103, the target acquisition request indicates to acquire a target image that satisfies a predetermined condition, and the server 104 responds Based on the target acquisition request, the target image is searched in the cloud album. If the target image is found, the server 104 can obtain the information of the terminal device corresponding to the target image, and return a control command to the terminal device 101 or the terminal device 102 through the network 103, so as to control the terminal device 101 or the terminal device 102 to output acquisition response information, the The acquisition response information indicates that the target image exists in the terminal device. The present disclosure will be described in detail below in conjunction with specific embodiments.
如图2所示,图2是根据一示例性实施例示出的一种获取图像的方法的流程图,该方法可以应用于终端中,也可以应用于服务器中。在本实施例中,为了便于理解,结合能够支持照片拍摄功能,图像的存储和显示功能的终端设备来举例说明。本领域技术人员可以理解,该终端设备可以包括但不限于诸如智能手机的移动终端设备、智能穿戴式设备、平板电脑、个人数字助理、膝上型便携计算机以及台式电脑等等。该方法包括以下步骤:As shown in FIG. 2 , FIG. 2 is a flow chart of a method for acquiring an image according to an exemplary embodiment. The method may be applied in a terminal or in a server. In this embodiment, for ease of understanding, an example is given with a terminal device that can support a photo shooting function, and an image storage and display function. Those skilled in the art can understand that the terminal device may include, but is not limited to, mobile terminal devices such as smart phones, smart wearable devices, tablet computers, personal digital assistants, laptop computers, desktop computers, and the like. The method includes the following steps:
在步骤201中,检测针对第一终端的目标获取请求,该目标获取请求指示获取满足预定条件的目标图像。In step 201, a target acquisition request directed to a first terminal is detected, and the target acquisition request indicates to acquire a target image satisfying a predetermined condition.
在步骤202中,响应于检测到该目标获取请求,在第二终端的云相册中搜索目标图像。In step 202, in response to detecting the target acquisition request, search for target images in the cloud album of the second terminal.
在本实施例中,预定条件可以包括以下一项或多项:预定的创建时间,预定的创建地点以及预定的背景环境特征等。目标图像为第一终端想要获取的,满足预定条件(如,创建时间在预定时间段内,或者创建地点在预定地点,或者创建于预定的背景环境特征等等)的图像。目标获取请求为指示获取目标图像的请求,该请求中可以包含目标图像需要满足的预定条件,可以根据目标图像需要满足的预定条件从相应的相册中查找出目标图像。In this embodiment, the predetermined conditions may include one or more of the following: predetermined creation time, predetermined creation location, predetermined background environment characteristics, and the like. The target image is an image that the first terminal wants to acquire and that satisfies a predetermined condition (for example, the creation time is within a predetermined time period, or the creation location is at a predetermined location, or it is created in a predetermined background environment feature, etc.). The target acquisition request is a request indicating to acquire a target image, and the request may include a predetermined condition that the target image needs to satisfy, and the target image may be found from a corresponding album according to the predetermined condition that the target image needs to satisfy.
例如,用户甲想要获取在某年某月某日的某个时间段内,创建于某地点的图像,则“在某年某月某日的某个时间段内,创建于某地点”为预定条件,满足该预定条件的图像即为目标图像,用户甲可以通过终端(第一终端)发送目标获取请求,请求中可以包含上述预定条件。For example, user A wants to obtain images created at a certain location during a certain period of time on a certain day of a certain year, then "created at a certain location during a certain period of time on a certain day of a certain year" is Predetermined condition, the image that satisfies the predetermined condition is the target image, user A can send a target acquisition request through the terminal (first terminal), and the request may include the above predetermined condition.
在本实施例中,第一终端代表请求获取目标图像的终端,第二终端代表对应的相册中图像被检测的终端,第二终端可以为除第一终端以外的任意终端,也可以为满足某些特定条件的终端(如,某个时间段内处于某个位置范围内终端等),还可以是其它所属范围的终端,可以理解,本公开对第二终端的具体所属范围方面不限定。对于某一个具体的终端设备来说,在不同的目标图像获取过程中,即可以作为第一终端,也可以作为第二终端。当该终端设备作为请求获取目标图像的终端时,可以为第一终端,当该终端设备作为被检测的终端时,可以为第二终端。In this embodiment, the first terminal represents the terminal that requests to obtain the target image, and the second terminal represents the terminal that detects the image in the corresponding album. The second terminal can be any terminal other than the first terminal, or it can be a Terminals with certain specific conditions (for example, terminals within a certain location within a certain period of time, etc.), may also be terminals within other scopes. It can be understood that the present disclosure does not limit the specific scope of the second terminal. For a specific terminal device, it can be used as the first terminal or as the second terminal in different target image acquisition processes. When the terminal device serves as a terminal requesting to acquire the target image, it may be the first terminal, and when the terminal device serves as the detected terminal, it may be the second terminal.
例如,当用户使用终端A请求获取目标图像时,终端A可以作为第一终端,当用户使用其它终端请求获取目标图像时,要对终端A对应的相册中的图像进行检测,以查找其中是否存在目标图像,此时终端A可以作为第二终端。For example, when the user uses terminal A to request to obtain the target image, terminal A can be used as the first terminal. When the user uses other terminals to request to obtain the target image, it is necessary to detect the images in the album corresponding to terminal A to find out whether there is Target image, at this time terminal A can be used as the second terminal.
在本实施例中,当检测到目标获取请求后,在第二终端对应的云相册中搜索目标图像。其中,第二终端对应的云相册可以是第二终端中正在登录的某个客户端的账号对应的云相册,也可以是第二终端中正在登录的多个客户端的账号对应的多个云相册。In this embodiment, after the target acquisition request is detected, the target image is searched in the cloud album corresponding to the second terminal. Wherein, the cloud album corresponding to the second terminal may be a cloud album corresponding to an account of a certain client being logged in in the second terminal, or may be multiple cloud albums corresponding to accounts of multiple clients being logged in in the second terminal.
在本实施例的一种实现方式中,首先,查找出在预定时间所处的位置为预定位置的第二终端。然后,在该第二终端对应的云相册中搜索目标图像。具体来说,可以通过终端设备的定位记录或定位日志查找出在预定时间所处的位置为预定位置的第二终端。接着,进一步从上述第二终端的相册中搜索目标图像。在本实施例中,还可以控制上述第二终端从其本地相册获取目标图像。第二终端的本地相册可以是第二终端中存储图像的任意相册,也可以是第二终端中允许其它终端或服务器访问的共享相册等,本公开对此方面不限定。In an implementation manner of this embodiment, first, find out the second terminal whose location at the predetermined time is the predetermined location. Then, search for the target image in the cloud album corresponding to the second terminal. Specifically, the second terminal whose location at the predetermined time is the predetermined location can be found out through the location record or the location log of the terminal device. Next, the target image is further searched from the photo album of the second terminal. In this embodiment, the above-mentioned second terminal may also be controlled to acquire the target image from its local photo album. The local photo album of the second terminal may be any photo album storing images in the second terminal, or a shared photo album in the second terminal that is allowed to be accessed by other terminals or servers, and this disclosure is not limited in this respect.
在本实施例的另一种实现方式中,也可以获取第二终端的云相册中的图像关联的标签信息,然后,查找出与预定条件匹配的目标标签信息,该目标标签信息对应的图像为目标图像。其中,标签信息可以包括以下一项或多项:图像的创建时间,图像的创建地点以及图像的背景环境特征等。具体来说,当终端往对应的云相册中存储图像时,生成该图像的标签信息,并将该图像的标签信息与对应的图像进行关联地存储。当检测到目标获取请求后,在第二终端对应的云相册中搜索目标图像时,可以根据云相册中图像关联的标签信息查找满足条件的目标图像。In another implementation of this embodiment, the tag information associated with the image in the cloud album of the second terminal may also be obtained, and then the target tag information matching the predetermined condition is found, and the image corresponding to the target tag information is target image. Wherein, the tag information may include one or more of the following: the creation time of the image, the creation location of the image, and the background environment characteristics of the image, etc. Specifically, when storing an image in a corresponding cloud album, the terminal generates tag information of the image, and stores the tag information of the image in association with the corresponding image. When the target image is searched in the cloud album corresponding to the second terminal after the target acquisition request is detected, the target image meeting the condition can be found according to the tag information associated with the image in the cloud album.
例如,用户甲想要获取在地点A于时间段B拍摄的图片,则可以首先获取所有第二终端云相册中图像的关联标签信息。这些标签信息可以包括图像的创建时间,创建地点,图像背景特征等等。预定条件为创建于地点A时间段B,因此,可以根据上述相册中图像的标签信息,查找满足预定条件的图像,作为目标图像。For example, if user A wants to obtain pictures taken at location A at time period B, he may first obtain the associated tag information of all images in the cloud album of the second terminal. These tag information can include the creation time of the image, the place of creation, the background characteristics of the image, and so on. The predetermined condition is created at location A and time period B. Therefore, according to the tag information of the images in the above album, an image that meets the predetermined condition can be searched for as the target image.
在步骤203中,响应于搜索到上述目标图像,获取该目标图像对应的第二终端的信息。In step 203, in response to finding the target image, information about the second terminal corresponding to the target image is acquired.
在本实施例中,第二终端的信息可以包括第二终端的标识信息(如,第二终端的设备标识,或者第二终端对应的某个客户端的账号等等)。当搜索到上述目标图像后,可以首先确定包含上述目标图像的相册关联的第二终端,然后,获取该目标图像对应的第二终端的信息。In this embodiment, the information of the second terminal may include identification information of the second terminal (for example, a device identification of the second terminal, or an account of a certain client corresponding to the second terminal, etc.). After the above target image is searched, the second terminal associated with the album containing the above target image may be determined first, and then the information of the second terminal corresponding to the target image may be acquired.
在步骤204中,控制第一终端输出获取响应信息,该获取响应信息指示第二终端中存在目标图像。In step 204, the first terminal is controlled to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal.
在本实施例中,当检测到目标图像后,控制第一终端输出获取响应信息,该获取响应信息指示第二终端中存在目标图像。其中,获取响应信息可以包括以下任一项或多项:上述目标图像的目录以及上述目标图像。在控制第一终端输出获取响应信息之后,该方法还可以包括:检测针对上述目录的选择操作。响应于检测到选择操作,获取该选择操作指示的目标图像,并控制第一终端输出该选择操作指示的目标图像。例如,当搜索到目标图像,第一终端可以在屏幕上显示目标图像的目录,以供用户选择。用户可以通过第一终端选择想要获得的目标图像。响应于检测到选择操作,控制对应的第二终端向第一终端发送用户选择的目标图像。第一终端获取到上述选择操作指示的目标图像后,可以在屏幕上显示该目标图像。In this embodiment, after the target image is detected, the first terminal is controlled to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal. Wherein, the acquisition response information may include any one or more of the following: the catalog of the above-mentioned target image and the above-mentioned target image. After controlling the first terminal to output the acquisition response information, the method may further include: detecting a selection operation on the above-mentioned directory. In response to detecting the selection operation, acquire the target image indicated by the selection operation, and control the first terminal to output the target image indicated by the selection operation. For example, when a target image is found, the first terminal may display a list of target images on the screen for the user to select. The user can select the desired target image through the first terminal. In response to detecting the selection operation, the corresponding second terminal is controlled to send the target image selected by the user to the first terminal. After acquiring the target image indicated by the selection operation, the first terminal may display the target image on the screen.
需要说明的是,该方法的执行主体可以是服务器,也可以是终端。如果执行主体为服务器。首先,在步骤201中,由服务器检测针对第一终端的目标获取请求。具体来说,由第一终端向服务器发送目标获取请求,服务器实时检测第一终端的目标获取请求。该目标获取请求指示获取目标图像,该请求中可以包含目标图像需要满足的预定条件,以供服务器查找目标图像。It should be noted that the execution subject of this method may be a server or a terminal. If the execution subject is the server. First, in step 201, a server detects a target acquisition request for a first terminal. Specifically, the first terminal sends a target acquisition request to the server, and the server detects the target acquisition request of the first terminal in real time. The target acquisition request indicates to acquire the target image, and the request may include predetermined conditions that the target image needs to meet, so that the server can search for the target image.
接着,在步骤202中,响应于检测到上述目标获取请求,由服务器在第二终端的云相册中搜索目标图像。具体来说,当服务器检测到上述目标获取请求后,首先确定云相册的相册地址,例如,从终端设备的定位记录或定位日志中查找出在预定时间所处的位置为预定位置的第二终端,然后,获取上述第二终端对应的云相册的相册地址。接着,服务器按照上述地址依次访问上述第二终端对应的云相册,并采用目标图像需要满足的预定条件遍历云相册中存储的每张图像,以查找出目标图像。Next, in step 202, in response to detecting the above-mentioned target acquisition request, the server searches for the target image in the cloud album of the second terminal. Specifically, after the server detects the above-mentioned target acquisition request, it first determines the album address of the cloud album, for example, finds out the second terminal whose location at the predetermined time is the predetermined location from the location record or location log of the terminal device , and then, acquire the album address of the cloud album corresponding to the second terminal. Next, the server sequentially accesses the cloud album corresponding to the second terminal according to the above address, and traverses each image stored in the cloud album by using the predetermined condition that the target image needs to meet, so as to find the target image.
继而,在步骤203中,响应于搜索到上述目标图像,由服务器获取该目标图像对应的第二终端的信息。具体来说,当搜索到上述目标图像后,服务器根据目标图像获取对应的第二终端的信息。Then, in step 203, in response to finding the above-mentioned target image, the server acquires the information of the second terminal corresponding to the target image. Specifically, after the above target image is found, the server acquires information of the corresponding second terminal according to the target image.
最后,在步骤204中,服务器控制第一终端输出获取响应信息。具体来说,服务器首先确定获取响应信息,然后向第一终端发送输出命令,该输出命令中包含上述获取响应信息,以控制第一终端输出上述获取响应信息。Finally, in step 204, the server controls the first terminal to output acquisition response information. Specifically, the server first determines to obtain the response information, and then sends an output command to the first terminal, where the output command includes the above obtained response information, so as to control the first terminal to output the above obtained response information.
在本实施例的一种实现方式中,获取响应信息可以包括以下一项或多项:目标图像的目录以及目标图像。则该方法还可以包括:由服务器通过第一终端,检测针对上述目录的选择操作。响应于检测到选择操作,由服务器向选择操作指示的目标图像对应的第二终端发送命令,该命令控制第二终端向服务器发送选择操作指示的目标图像。然后,再由服务器向第一终端返回上述目标图像,并由服务器向第一终端发送命令,该命令控制第一终端输出选择操作指示的目标图像。In an implementation manner of this embodiment, obtaining the response information may include one or more of the following: a directory of the target image and the target image. Then, the method may further include: detecting, by the server, a selection operation on the above-mentioned directory through the first terminal. In response to detecting the selection operation, the server sends a command to the second terminal corresponding to the target image indicated by the selection operation, and the command controls the second terminal to send the target image indicated by the selection operation to the server. Then, the server returns the target image to the first terminal, and the server sends a command to the first terminal, and the command controls the first terminal to output the target image indicated by the selection operation.
如果执行主体为终端。首先,在步骤201中,由第一终端检测用户针对第一终端的目标获取请求。具体来说,当用户想要通过第一终端获取目标图像时,需要针对第一终端执行预定操作(如,通过第一终端上的客户端输出的操作界面,进行请求获取目标图像的操作等)。由第一终端实时检测用户对其的操作。If the execution subject is a terminal. First, in step 201, the first terminal detects a user's target acquisition request for the first terminal. Specifically, when the user wants to obtain the target image through the first terminal, a predetermined operation needs to be performed on the first terminal (for example, through the operation interface output by the client terminal on the first terminal, perform an operation of requesting to obtain the target image, etc.) . The user's operation on it is detected by the first terminal in real time.
接着,在步骤202中,响应于检测到上述目标获取请求,由第一终端通过服务器,在第二终端的云相册中搜索目标图像。具体来说,当第一终端检测到用户获取目标图像的操作时,确定检测到上述目标获取请求。响应于检测到上述目标获取请求,由第一终端向服务器发送请求,该请求中可以包含目标图像需要满足的预定条件,以供服务器查找目标图像。服务器接收到该请求后,首先确定云相册的相册地址,接着,服务器按照上述地址依次访问上述第二终端对应的云相册,并采用目标图像需要满足的预定条件遍历云相册中存储的每张图像,以查找出目标图像,并将查找结果反馈给第一终端。Next, in step 202, in response to detecting the above-mentioned target acquisition request, the first terminal searches for the target image in the cloud album of the second terminal through the server. Specifically, when the first terminal detects the user's operation of acquiring the target image, it determines that the above-mentioned target acquisition request is detected. In response to detecting the above-mentioned target acquisition request, the first terminal sends a request to the server, and the request may include predetermined conditions that the target image needs to meet, so that the server can search for the target image. After receiving the request, the server first determines the album address of the cloud album, and then, the server sequentially accesses the cloud album corresponding to the second terminal according to the above address, and uses the predetermined conditions that the target image needs to satisfy to traverse each image stored in the cloud album , to find out the target image, and feed back the search result to the first terminal.
继而,在步骤203中,响应于搜索到上述目标图像,由第一终端通过服务器获取该目标图像对应的第二终端的信息。具体来说,当搜索到上述目标图像后,第一终端向服务器发送一个请求,响应于该请求,服务器根据目标图像获取对应的第二终端的信息。然后,服务器将获取到的第二终端的信息返回给第一终端。Then, in step 203, in response to finding the above-mentioned target image, the first terminal acquires the information of the second terminal corresponding to the target image through the server. Specifically, after searching for the target image, the first terminal sends a request to the server, and in response to the request, the server obtains information of the corresponding second terminal according to the target image. Then, the server returns the acquired information of the second terminal to the first terminal.
最后,在步骤204中,响应于检测到目标图像,第一终端的控制器控制第一终端输出获取响应信息。具体来说,当检测到目标图像后,服务器首先确定获取响应信息,然后向第一终端发送输出命令,该输出命令中包含上述获取响应信息。接收到上述命令后,第一终端在其控制器的控制下,输出上述获取响应信息。Finally, in step 204, in response to detecting the target image, the controller of the first terminal controls the first terminal to output acquisition response information. Specifically, after detecting the target image, the server first determines to obtain the response information, and then sends an output command to the first terminal, where the output command includes the above-mentioned acquisition response information. After receiving the above command, the first terminal outputs the above acquisition response information under the control of its controller.
在本实施例的一种实现方式中,获取响应信息可以包括以下一项或多项:目标图像的目录以及目标图像。则该方法还可以包括:由第一终端检测针用户对上述目录的选择操作。响应于检测到用户的选择操作,由第一终端向服务器发送请求,该请求包含选择操作指示的目标图像的信息,服务器根据该请求向对应的第二终端发送命令,该命令控制第二终端向第一终端发送选择操作指示的目标图像。然后,再由第一终端的控制器控制第一终端输出选择操作指示的目标图像。In an implementation manner of this embodiment, obtaining the response information may include one or more of the following: a directory of the target image and the target image. Then, the method may further include: detecting, by the first terminal, a user's selection operation on the above-mentioned directory. In response to detecting the user's selection operation, the first terminal sends a request to the server, the request includes the information of the target image indicated by the selection operation, and the server sends a command to the corresponding second terminal according to the request, and the command controls the second terminal to send The first terminal sends the target image indicated by the selection operation. Then, the controller of the first terminal controls the first terminal to output the target image indicated by the selection operation.
对于本实施例,应用的场景可以为,某日的某个时间段,S市的某个区域内可以观察到罕见的天象,某网站的记者想报道该事件,但是手头没有相关的照片。因此,该记者可以通过终端A(第一终端)向服务器发送目标获取请求,请求中可以包含能够观察到上述罕见天象的时间段,地理位置以及该罕见天象的特征信息等。服务器接收到该目标获取请求之后,可以通过终端设备的定位记录或定位日志查找出在上述预定时间所处的位置为预定位置的终端作为第二终端。然后,获取第二终端对应的云相册的地址。接着,服务器可以按照上述地址依次访问相册,以识别出这些相册中和该罕见天象相关的照片。假设终端B对应的相册B中存在和该罕见天象相关的照片,服务器可以将相册B包括的和该罕见天象相关的照片的数量、目录、创建时间以及终端B的标识信息返回给终端A,由终端A将这些信息显示出来。用户可以通过终端A输出的选择界面选择想要的照片,然后,终端A向服务器发送请求,服务器可以控制终端B将用户选择的照片发送给终端A。For this embodiment, the application scenario may be that a rare astronomical phenomenon can be observed in a certain area of City S at a certain time period on a certain day, and a reporter from a certain website wants to report the event, but there are no relevant photos at hand. Therefore, the reporter can send a target acquisition request to the server through terminal A (the first terminal), and the request can include the time period during which the above-mentioned rare astronomical phenomenon can be observed, the geographical location, and the characteristic information of the rare astronomical phenomenon. After receiving the target acquisition request, the server may find out the terminal at the predetermined position at the predetermined time as the second terminal through the positioning record or the positioning log of the terminal device. Then, the address of the cloud album corresponding to the second terminal is acquired. Then, the server can sequentially access the photo albums according to the above address, so as to identify the photos related to the rare astronomical phenomenon in these photo albums. Assuming that there are photos related to the rare astronomical phenomenon in the album B corresponding to the terminal B, the server can return the number, directory, creation time and identification information of the terminal B to the terminal A of the photos related to the rare astronomical phenomenon included in the album B, by Terminal A displays the information. The user can select the desired photo through the selection interface output by terminal A, and then terminal A sends a request to the server, and the server can control terminal B to send the photo selected by the user to terminal A.
本实施例并不限于上述的应用场景,还可以应用到其他场景中。本公开的上述实施例提供的获取图像的方法,通过在检测到针对第一终端的目标获取请求时,在第二终端的云相册中搜索上述目标图像,响应于搜索到上述目标图像,获取该目标图像对应的第二终端的信息,并控制第一终端输出获取响应信息。从而实现了用户之间对照片的分享,无需用户从网上搜索照片,提高了终端的使用效率。This embodiment is not limited to the above application scenarios, and may also be applied to other scenarios. In the method for acquiring an image provided by the above-mentioned embodiments of the present disclosure, when a target acquisition request for the first terminal is detected, the target image is searched in the cloud album of the second terminal, and in response to the target image being searched, the target image is acquired. information of the second terminal corresponding to the target image, and control the first terminal to output acquisition response information. Thereby, sharing of photos between users is realized, without users needing to search for photos from the Internet, and the use efficiency of the terminal is improved.
应当注意,尽管在附图中以特定顺序描述了本发明方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。相反,流程图中描绘的步骤可以改变执行顺序。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。It should be noted that, although operations of the methods of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in that particular order, or that all illustrated operations must be performed to achieve the desired results. . Conversely, the steps depicted in the flowcharts may be performed in an altered order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution.
与前述获取图像的方法实施例相对应,本公开还提供了获取图像的装置及其所应用的系统的实施例。Corresponding to the aforementioned embodiment of the method for acquiring an image, the present disclosure also provides embodiments of a device for acquiring an image and a system for its application.
如图3所示,图3是本公开根据一示例性实施例示出的一种获取图像的装置框图,该装置包括:检测模块301,搜索模块302,获取模块303以及第一控制模块304。As shown in FIG. 3 , FIG. 3 is a block diagram of an image acquisition device according to an exemplary embodiment of the present disclosure. The device includes: a detection module 301 , a search module 302 , an acquisition module 303 and a first control module 304 .
其中,检测模块301,被配置为检测针对第一终端的目标获取请求,该目标获取请求指示获取满足预定条件的目标图像。Wherein, the detection module 301 is configured to detect an object acquisition request for the first terminal, where the object acquisition request indicates to acquire an object image satisfying a predetermined condition.
搜索模块302,被配置为响应于检测到该目标获取请求,在第二终端的云相册中搜索上述目标图像。The search module 302 is configured to, in response to detecting the target acquisition request, search for the target image in the cloud album of the second terminal.
获取模块303,被配置为响应于搜索到上述目标图像,获取该目标图像对应的第二终端的信息。The obtaining module 303 is configured to, in response to finding the above target image, obtain information of the second terminal corresponding to the target image.
第一控制模块304,被配置为控制第一终端输出获取响应信息,该获取响应信息指示第二终端中存在目标图像。The first control module 304 is configured to control the first terminal to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal.
在一些可选实施方式中,上述预定条件包括以下一项或多项:预定的创建时间;预定的创建地点;以及预定的背景环境特征。In some optional implementation manners, the aforementioned predetermined conditions include one or more of the following: predetermined creation time; predetermined creation location; and predetermined background environment characteristics.
如图4所示,图4是本公开根据一示例性实施例示出的另一种获取图像的装置框图,该实施例在前述图3所示实施例的基础上,搜索模块302可以包括:查找子模块401和搜索子模块402。As shown in FIG. 4, FIG. 4 is a block diagram of another device for acquiring images according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in FIG. 3, the search module 302 may include: Submodule 401 and search submodule 402.
其中,查找子模块401,被配置为查找出在预定时间所处的位置为预定位置的第二终端。Wherein, the searching submodule 401 is configured to find out the second terminal whose location at the predetermined time is the predetermined location.
搜索子模块402,被配置为在第二终端对应的云相册中搜索目标图像。The search submodule 402 is configured to search for the target image in the cloud album corresponding to the second terminal.
如图5所示,图5是本公开根据一示例性实施例示出的另一种获取图像的装置框图,该实施例在前述图3所示实施例的基础上,该装置还可以进一步包括:第二控制模块305。其中,第二控制模块305,被配置为控制第二终端从第二终端本地获取目标图像。As shown in FIG. 5, FIG. 5 is a block diagram of another device for acquiring images according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in FIG. 3, the device may further include: The second control module 305 . Wherein, the second control module 305 is configured to control the second terminal to acquire the target image locally from the second terminal.
如图6所示,图6是本公开根据一示例性实施例示出的另一种获取图像的装置框图,该实施例在前述图3所示实施例的基础上,搜索模块302可以包括:获取子模块601和匹配子模块602。As shown in FIG. 6, FIG. 6 is a block diagram of another device for acquiring images according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in FIG. 3, the search module 302 may include: Submodule 601 and matching submodule 602.
其中,获取子模块601,被配置为获取第二终端的云相册中的图像关联的标签信息。Wherein, the obtaining submodule 601 is configured to obtain tag information associated with images in the cloud album of the second terminal.
匹配子模块602,被配置为查找出与预定条件匹配的目标标签信息,该目标标签信息对应的图像为目标图像。The matching sub-module 602 is configured to find target tag information that matches a predetermined condition, and the image corresponding to the target tag information is a target image.
在另一些可选实施方式中,标签信息包括以下一项或多项:图像的创建时间;图像的创建地点;以及图像的背景环境特征。In some other optional implementation manners, the tag information includes one or more of the following: creation time of the image; creation location of the image; and background environment characteristics of the image.
在另一些可选实施方式中,获取响应信息包括以下至少一项:目标图像的目录以及目标图像。In some other optional implementation manners, obtaining the response information includes at least one of the following: a directory of the target image and the target image.
在另一些可选实施方式中,获取响应信息包括上述目录。In some other optional implementation manners, the acquisition response information includes the above-mentioned directory.
该装置还可以包括:操作检测模块,图像获取模块,第三控制模块。The device may also include: an operation detection module, an image acquisition module, and a third control module.
其中,操作检测模块,被配置为检测针对上述目录的选择操作。Wherein, the operation detection module is configured to detect a selection operation on the above-mentioned directory.
图像获取模块,被配置为响应于检测到选择操作,获取上述选择操作指示的目标图像。The image acquisition module is configured to, in response to detecting the selection operation, acquire the target image indicated by the selection operation.
第三控制模块,被配置为控制第一终端输出上述选择操作指示的目标图像。The third control module is configured to control the first terminal to output the target image indicated by the selection operation.
应当理解,上述装置可以预先设置在终端或服务器中,也可以通过下载等方式而加载到终端或服务器中。上述装置中的相应模块可以与终端或服务器中的模块相互配合以实现获取图像的方案。It should be understood that the above devices may be pre-set in the terminal or the server, and may also be loaded into the terminal or the server by means of downloading or the like. The corresponding modules in the above device can cooperate with the modules in the terminal or the server to realize the scheme of acquiring images.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. It can be understood and implemented by those skilled in the art without creative effort.
如图7所示,图7是本公开根据一示例性实施例示出的一种获取图像的系统框图,该装置包括:终端701和服务器702。其中,终端701包括第一终端和第二终端。As shown in FIG. 7 , FIG. 7 is a block diagram of a system for acquiring images according to an exemplary embodiment of the present disclosure, and the apparatus includes: a terminal 701 and a server 702 . Wherein, terminal 701 includes a first terminal and a second terminal.
其中,第一终端,被配置为向服务器发送目标获取请求,该目标获取请求指示获取满足预定条件的目标图像。Wherein, the first terminal is configured to send a target acquisition request to the server, where the target acquisition request indicates to acquire a target image satisfying a predetermined condition.
服务器,被配置为检测针对第一终端的目标获取请求;响应于检测到目标获取请求,在第二终端的云相册中搜索目标图像;响应于搜索到目标图像,获取目标图像对应的第二终端的信息,并向第一终端发送第一控制命令,第一控制命令指示第一终端输出获取响应信息。The server is configured to detect the target acquisition request for the first terminal; in response to detecting the target acquisition request, search for the target image in the cloud album of the second terminal; in response to the search for the target image, acquire the second terminal corresponding to the target image information, and send a first control command to the first terminal, where the first control command instructs the first terminal to output acquisition response information.
第一终端,还被配置为响应于第一控制命令,输出获取响应信息,获取响应信息指示第二终端中存在目标图像。The first terminal is further configured to output acquisition response information in response to the first control command, where the acquisition response information indicates that the target image exists in the second terminal.
相应的,本公开还提供一种获取图像的装置,该获取图像的装置包括有处理器;用于存储处理器可执行指令的存储器;其中,该处理器被配置为:Correspondingly, the present disclosure also provides an image acquisition device, the image acquisition device includes a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
检测针对第一终端的目标获取请求,该目标获取请求指示获取满足预定条件的目标图像;Detecting an object acquisition request for the first terminal, where the object acquisition request indicates acquisition of an object image that meets a predetermined condition;
响应于检测到目标获取请求,在第二终端的云相册中搜索目标图像;In response to detecting the target acquisition request, searching for the target image in the cloud album of the second terminal;
响应于搜索到目标图像,获取目标图像对应的第二终端的信息;In response to finding the target image, acquire information about the second terminal corresponding to the target image;
控制第一终端输出获取响应信息,该获取响应信息指示第二终端中存在目标图像。The first terminal is controlled to output acquisition response information, where the acquisition response information indicates that the target image exists in the second terminal.
图8是根据一示例性实施例示出的一种获取图像的装置800的一结构示意图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 8 is a schematic structural diagram of an image acquisition device 800 according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图8,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。8, device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and communication component 816 .
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to the various components of the device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800 .
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC) configured to receive external audio signals when the device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器,微波传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the device 800 orientation or acceleration/deceleration and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a microwave sensor or a temperature sensor.
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 800 and other devices. The device 800 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 800 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the device 800 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610113486.9A CN105681455A (en) | 2016-02-29 | 2016-02-29 | Method, device and system for acquiring images |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610113486.9A CN105681455A (en) | 2016-02-29 | 2016-02-29 | Method, device and system for acquiring images |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105681455A true CN105681455A (en) | 2016-06-15 |
Family
ID=56305480
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610113486.9A Pending CN105681455A (en) | 2016-02-29 | 2016-02-29 | Method, device and system for acquiring images |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105681455A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106294647A (en) * | 2016-08-03 | 2017-01-04 | 北京小米移动软件有限公司 | Photo matching process and device |
| CN106851164A (en) * | 2017-03-28 | 2017-06-13 | 戴金辰 | Record image, video generation reservation method |
| WO2017185544A1 (en) * | 2016-04-27 | 2017-11-02 | 北京小米移动软件有限公司 | Method, apparatus and system for acquiring information |
| CN108200193A (en) * | 2018-01-31 | 2018-06-22 | 厦门美图移动科技有限公司 | Image sharing method, device and system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100071039A1 (en) * | 2006-11-30 | 2010-03-18 | Fujifilm Corporation | Image sharing server, system, method, and recording medium |
| KR20140091121A (en) * | 2013-01-07 | 2014-07-21 | 주식회사 이니컴퍼니 | System and method for sharing picture image and video contents |
| CN104199973A (en) * | 2014-09-22 | 2014-12-10 | 西安酷派软件科技有限公司 | Image retrieval method and image retrieval device |
| CN104954406A (en) * | 2014-03-31 | 2015-09-30 | 中国电信股份有限公司 | Cloud-side data sharing method and system |
| CN105183734A (en) * | 2014-06-16 | 2015-12-23 | 西安中兴新软件有限责任公司 | Method and device for image file sharing |
| CN105279190A (en) * | 2014-07-21 | 2016-01-27 | 联想(北京)有限公司 | Information processing method, information processing device and electronic equipment |
-
2016
- 2016-02-29 CN CN201610113486.9A patent/CN105681455A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100071039A1 (en) * | 2006-11-30 | 2010-03-18 | Fujifilm Corporation | Image sharing server, system, method, and recording medium |
| KR20140091121A (en) * | 2013-01-07 | 2014-07-21 | 주식회사 이니컴퍼니 | System and method for sharing picture image and video contents |
| CN104954406A (en) * | 2014-03-31 | 2015-09-30 | 中国电信股份有限公司 | Cloud-side data sharing method and system |
| CN105183734A (en) * | 2014-06-16 | 2015-12-23 | 西安中兴新软件有限责任公司 | Method and device for image file sharing |
| CN105279190A (en) * | 2014-07-21 | 2016-01-27 | 联想(北京)有限公司 | Information processing method, information processing device and electronic equipment |
| CN104199973A (en) * | 2014-09-22 | 2014-12-10 | 西安酷派软件科技有限公司 | Image retrieval method and image retrieval device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017185544A1 (en) * | 2016-04-27 | 2017-11-02 | 北京小米移动软件有限公司 | Method, apparatus and system for acquiring information |
| CN105791095B (en) * | 2016-04-27 | 2018-09-04 | 北京小米移动软件有限公司 | Obtain the method, apparatus and system of information |
| CN106294647A (en) * | 2016-08-03 | 2017-01-04 | 北京小米移动软件有限公司 | Photo matching process and device |
| CN106851164A (en) * | 2017-03-28 | 2017-06-13 | 戴金辰 | Record image, video generation reservation method |
| CN108200193A (en) * | 2018-01-31 | 2018-06-22 | 厦门美图移动科技有限公司 | Image sharing method, device and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6214812B2 (en) | Transfer processing method and apparatus | |
| WO2017036037A1 (en) | Photograph capturing control method and device | |
| WO2018000585A1 (en) | Interface theme recommendation method, apparatus, terminal and server | |
| WO2016192326A1 (en) | Cloud business card transmission method and device | |
| CN104834665A (en) | Target picture acquiring method and device | |
| CN105491048A (en) | Account management method and apparatus | |
| CN106095465B (en) | Method and device for setting identity image | |
| CN106202194A (en) | The storage method and device of screenshot picture | |
| CN105808667A (en) | Image acquisition method, apparatus and system | |
| CN117390330A (en) | Webpage access method and device | |
| CN105610700A (en) | Group creating method and apparatus and electronic device | |
| WO2017088247A1 (en) | Input processing method, device and apparatus | |
| CN106775202B (en) | Information transmission method and device | |
| RU2645282C2 (en) | Method and device for calling via cloud-cards | |
| CN105872254A (en) | Method and device for forwarding messages | |
| CN106027336A (en) | Equipment sharing method and device | |
| CN109525966B (en) | Query method, device and storage medium for intelligent equipment | |
| CN106201734A (en) | Sharing files method and device | |
| CN105208176B (en) | Contact person record processing method and processing device | |
| CN111552859A (en) | Historical information acquisition method, storage medium and system | |
| CN105681455A (en) | Method, device and system for acquiring images | |
| CN107222576B (en) | Album synchronization method and device | |
| CN105847124A (en) | Method, device, server and terminal used for giving like to social network information | |
| CN106559479A (en) | Multimedia file downloading method, designated equipment and terminal | |
| CN106453774A (en) | Method and apparatus for displaying contact information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160615 |