CN107948584A - A kind of image-pickup method, terminal and computer-readable medium - Google Patents
A kind of image-pickup method, terminal and computer-readable medium Download PDFInfo
- Publication number
- CN107948584A CN107948584A CN201711101254.2A CN201711101254A CN107948584A CN 107948584 A CN107948584 A CN 107948584A CN 201711101254 A CN201711101254 A CN 201711101254A CN 107948584 A CN107948584 A CN 107948584A
- Authority
- CN
- China
- Prior art keywords
- request
- image
- terminal
- responder
- destinations traffic
- 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
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/183—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Traffic Control Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of image-pickup method, terminal and computer-readable medium, wherein method includes:If detect the instruction for obtaining close-up images, it is determined that send destinations traffic agreement used by image acquisition request;Obtained and asked using the destinations traffic protocol broadcast described image;If receiving the response message that responder obtains request return according to described image, wireless communication is established with the responder according to the destinations traffic agreement and is connected;Receive and show the image information that the responder is sent;Wherein, described image information is gathered by the camera of the responder.The embodiment of the present invention carries out wireless communication by request end and responder, the request end subscriber for obtaining responder collection is not easy image information corresponding to the region checked in short range, can pass through the image in the camera acquisition in real time of the responder closely interior region for being not easy to check.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of image-pickup method, terminal and computer-readable medium.
Background technology
In daily life, people are usually observed or are searched closely interior by instrument, for example, people usually borrow
Mirror observation face and dress are helped, thing is searched by flashlight lighting in the environment of dark.
However, in the place that some are not easily seen, people can not be observed or searched by mirror or flashlight.Example
Such as, user can not real time inspection oneself back situation;The thing that arrisdefect falls can not be searched.
The content of the invention
The embodiment of the present invention provides a kind of image-pickup method, terminal and computer-readable medium, can obtain in real time near
The image in region checked is not easy in distance range.
In a first aspect, an embodiment of the present invention provides a kind of image-pickup method, this method includes:
If detect the instruction for obtaining close-up images, it is determined that target is led to used by sending image acquisition request
Believe agreement;
Obtained and asked using the destinations traffic protocol broadcast described image;
If receiving the response message that responder obtains request return according to described image, assisted according to the destinations traffic
View is established wireless communication with the responder and is connected;
Receive and show the image information that the responder is sent;Wherein, described image information taking the photograph by the responder
As head gathers.
Second aspect, an embodiment of the present invention provides a kind of image-pickup method, this method includes:
If receiving image acquisition request, the unique mark that described image obtains the request end that request includes is obtained;Its
In, described image obtains request and is sent by the request end when detecting the instruction for obtaining close-up images;
Respond described image and obtain request, and channel radio is established according to the unique mark and the request end of the request end
Letter connection;
The camera of local terminal is opened, and passes through the camera collection image information;
Described image information is sent to the request end.
The third aspect, an embodiment of the present invention provides a kind of terminal, which includes being used to perform above-mentioned first aspect
The unit of method.
Fourth aspect, an embodiment of the present invention provides a kind of terminal, which includes being used to perform above-mentioned second aspect
The unit of method.
5th aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned first aspect.
6th aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned second aspect.
7th aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
State the method that processor performs above-mentioned first aspect.
Eighth aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
State the method that processor performs above-mentioned second aspect.
If request end of the embodiment of the present invention is by detecting the instruction for obtaining close-up images, it is determined that sends image
Obtain destinations traffic agreement used by asking;Obtained and asked using the destinations traffic protocol broadcast described image;If receive
The response message of request return is obtained according to described image to responder, then according to the destinations traffic agreement and the responder
Establish wireless communication connection;Receive and show the image information that the responder is sent;Wherein, described image information is by the sound
The camera collection that should be held.By carrying out wireless communication with responder, the request end subscriber for obtaining responder collection exists for request end
The image information corresponding to the region checked is not easy in short range, low coverage can be obtained in real time by the camera of responder
From the image in the interior region for being not easy to check.
Brief description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of image-pickup method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for image-pickup method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram for image-pickup method that yet another embodiment of the invention provides;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides;
Fig. 6 is a kind of terminal schematic block diagram that yet another embodiment of the invention provides;
Fig. 7 is a kind of terminal schematic block diagram that further embodiment of this invention provides.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch
Sensing surface) it can support the various application programs with user interface directly perceived and transparent for a user.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram of image-pickup method provided in an embodiment of the present invention.This implementation
The executive agent of image-pickup method is terminal in example, and it is mobile that terminal includes but not limited to smart mobile phone, tablet computer, PAD etc.
Terminal.Image-pickup method can be applied to closely search the scene or the closely scene of Real Time Observation of object.As shown in the figure
May include in image-pickup method:
S101:If detect the instruction for obtaining close-up images, it is determined that used by sending image acquisition request
Destinations traffic agreement.
User can trigger when needing to check the image in the region for being not easy to check in short range and be used to obtain low coverage
From the instruction of image.
For terminal in normal work, whether detection user triggers the instruction for obtaining close-up images.It is near for obtaining
The instruction of range image can be that user triggers when choosing the function items for obtaining realtime graphic, and specifically, user can click on this
The display area where the function items of realtime graphic is obtained, triggering is used for the instruction for obtaining close-up images;Can also be by opening
The switch for the function items for obtaining realtime graphic is opened, triggering is used for the instruction for obtaining close-up images.
Destinations traffic agreement is applicable to the communication protocol of short haul connection, and destinations traffic agreement can be Bluetooth communication association
View or wireless LAN communication agreement.
Alternatively, S101 can include S1011~S1013.It is specific as follows:
S1011:If detecting the preset instructions for obtaining close-up images, detect whether to have accessed wireless local
Net.
For terminal when detecting the preset instructions for obtaining close-up images, detection current environment is with the presence or absence of available
WLAN, if asking to access the available WLAN there are available WLAN terminal, and is getting this
During the access pin of WLAN, which is accessed according to the corresponding access pin of the WLAN.
There is at least one equipment with camera in addition to this terminal in LAN, which can be mobile phone,
Also can be also the terminal that tablet computer etc. has camera.
Terminal performs S1012 when detecting current non-access to LAN;
When detecting WLAN and access to LAN, terminal is preferentially obtained real-time terminal by WLAN
Image, performs S1013.
S1012:If non-access to LAN, it is determined that the destinations traffic agreement is Bluetooth communication protocol.
S1013:If access to LAN, it is determined that the destinations traffic agreement is wireless LAN communication agreement.
S102:Obtained and asked using the destinations traffic protocol broadcast described image.
Image acquisition request is used for the realtime graphic in acquisition request short range.Short range refers to and this terminal
Distance belong to the region of pre-determined distance threshold range, pre-determined distance threshold value can be 10 meters, but be not limited to this, pre-determined distance
Threshold value can also determine according to the communication distance that short-range communication protocols used by terminal are supported, can also be according to actual need
It is configured, is not limited herein.
Wherein, when destinations traffic agreement is Bluetooth protocol, terminal obtains request, image using Bluetooth protocol broadcast image
The Bluetooth identification that request carries this terminal is obtained, the Bluetooth identification of this terminal is used to carry out Bluetooth pairing with other-end, so that
Bluetooth communication can be established with other-end to be connected.
When destinations traffic agreement is wireless LAN communication agreement, terminal is obtained using wireless LAN communication protocol broadcast
Request is taken, image acquisition request carries the unique mark of this terminal, which can include but is not limited to the medium of terminal
Access control (Media Access Control, MAC) address, globally unique identifier (Globally Unique
Identifier, GUID), International Mobile Equipment Identity code (International Mobile Equipment Identity,
IMEI) etc..
S103:If the response message that responder obtains request return according to described image is received, according to the target
Communication protocol is established wireless communication with the responder and is connected.
Responder is the terminal with camera.Responder confirm respond this terminal send image acquisition request when,
To this terminal returning response message.
This terminal is established wireless communication with responder when receiving the response message, using destinations traffic agreement and is connected.
Wherein, when destinations traffic agreement is Bluetooth communication protocol, this terminal using Bluetooth communication protocol and responder into
Row Bluetooth pairing, and in Bluetooth pairing success, establish Bluetooth communication with it and be connected, lead to so as to carry out bluetooth with responder
Letter.
When destinations traffic agreement is wireless LAN communication agreement, this terminal is using wireless LAN communication agreement and
Access WLAN responder establish wireless communication connection so that terminal can with responder by WLAN into
Row communication.
S104:Receive and show the image information that the responder is sent;Wherein, described image information is by the responder
Camera collection.
Terminal receives and shows that responder is established after communication connection by the camera collection mesh built in it with this terminal
The image information in region is marked, so that user is observed or searched object by the image information.Target area is terminal user
It is not easy to check, and needs to obtain the region of real-time image information, for example, the back of terminal user, bed bottom, certain indoor corner etc..
Wherein, when responder also gathers the video data comprising audio-frequency information, terminal receives the video that responder is sent
Data.
Such scheme, if terminal detects the instruction for obtaining close-up images, it is determined that send image acquisition request
Used destinations traffic agreement;Obtained and asked using the destinations traffic protocol broadcast described image;If receive responder
The response message of request return is obtained according to described image, then is established according to the destinations traffic agreement and the responder wireless
Communication connection;Receive and show the image information that the responder is sent;Wherein, described image information taking the photograph by the responder
As head gathers.Terminal obtains the terminal user of responder collection in short range by carrying out wireless communication with responder
The image information corresponding to the region checked is not easy, can in real time be obtained by the camera of responder and closely interior be not easy to check
Region image.
Terminal is communicated by Bluetooth communication protocol with responder, obtains the image information of responder collection, Neng Gou
The image for obtaining the closely interior region for being not easy to check is realized on the premise of not depending on third party device and internet.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow diagram for image-pickup method that another embodiment of the present invention provides.This
The executive agent of image-pickup method is terminal in embodiment, and terminal includes but not limited to smart mobile phone, tablet computer, PAD etc.
Mobile terminal.Image-pickup method can be applied to closely search the scene or the closely scene of Real Time Observation of object.Such as figure
Shown image-pickup method may include:
S201:If receiving image acquisition request, unique mark that described image obtains the request end that request includes is obtained
Know.
Terminal obtains the mark of request end when receiving the image acquisition request of request end broadcast from image acquisition request
Know.Image acquisition request is detecting user's triggering for being sent out when obtaining the instruction of the image in short range by request end
Send.Request end can be the mobile terminal that mobile phone, tablet computer etc. have camera.
Image acquisition request is used for the realtime graphic in acquisition request short range.Short range refers to and this terminal
Distance be in the region of pre-determined distance threshold range, pre-determined distance threshold value can be 10 meters, but be not limited to this, pre-determined distance
Threshold value can also determine according to the communication distance that short-range communication protocols used by terminal are supported, can also be according to actual need
It is configured, is not limited herein.
The unique mark of request end can be the medium access control of the Bluetooth identification of request end or request end
(Media Access Control, MAC) address, globally unique identifier (Globally Unique Identifier,
GUID), International Mobile Equipment Identity code (International Mobile Equipment Identity, IMEI) etc..
S202:Respond described image and obtain request, and established according to the unique mark and the request end of the request end
Wireless communication connects.
Terminal responds image acquisition request, according to the unique mark of request end and request when receiving response instruction
Wireless communication connection is established at end.
S203:The camera of local terminal is opened, and passes through the camera collection image information.
Terminal opens the camera of local terminal, and the image information in the range of current visual angle is gathered by camera.Current visual angle
Scope is to ask end subscriber to be not easy the region checked in short range.Current visual angle scope is with the position of customer mobile terminal
Put and change.
Current visual angle scope changes with the position of customer mobile terminal.
S204:Described image information is sent to the request end.
The image information collected is transmitted to request end by terminal, is checked so as to the user of request end.
Such scheme, if terminal receives image acquisition request, obtains described image and obtains the request end that request includes
Unique mark;Wherein, described image obtains request and is detecting the instruction for obtaining close-up images by the request end
When send;Respond described image and obtain request, and channel radio is established according to the unique mark and the request end of the request end
Letter connection;The camera of local terminal is opened, and passes through the camera collection image information;Described image information is sent to described
Request end.For terminal by carrying out wireless communication with request end, collection request end subscriber is not easy the area checked in short range
Image corresponding to domain, and by the image transmitting collected to request end, so that request end subscriber obtains short range in real time
Inside it is not easy the image in region checked.
Fig. 3 is referred to, Fig. 3 is a kind of schematic flow diagram for image-pickup method that yet another embodiment of the invention provides.This
The executive agent of image-pickup method is terminal in embodiment, and terminal includes but not limited to smart mobile phone, tablet computer, PAD etc.
Mobile terminal.Image-pickup method can be applied to closely search the scene or the closely scene of Real Time Observation of object.Such as figure
Shown image-pickup method may include:
S301:If receive image acquisition request, it is determined that described image obtains destinations traffic agreement used by request.
Terminal when receiving the image acquisition request of request end broadcast, lead to used by determining image acquisition request by target
Believe agreement.Image acquisition request is by request end when detecting that user's triggering is used to obtain the instruction of the image in short range
Send.Request end can be the mobile terminal that mobile phone, tablet computer etc. have camera.
Image acquisition request is used for the realtime graphic in acquisition request short range.Short range refers to and this terminal
Distance be in the region of pre-determined distance threshold range, pre-determined distance threshold value can be 10 meters, but be not limited to this, pre-determined distance
Threshold value can also determine according to the communication distance that short-range communication protocols used by terminal are supported, can also be according to actual need
It is configured, is not limited herein.
For terminal when receiving image acquisition request, the heading of parsing image acquisition request, determines that image acquisition is asked
Used destinations traffic agreement.Destinations traffic agreement is applicable to the communication protocol of short haul connection, and destinations traffic agreement can
To be Bluetooth communication protocol or wireless LAN communication agreement.
S302:Obtained and asked according to the destinations traffic protocol analysis described image, and obtained described image and obtain request
The unique mark of the request end of carrying.
The unique mark of request end can be the medium access control of the Bluetooth identification of request end or request end
(Media Access Control, MAC) address, globally unique identifier (Globally Unique Identifier,
GUID), International Mobile Equipment Identity code (International Mobile Equipment Identity, IMEI) etc..
When destinations traffic agreement is Bluetooth communication protocol, terminal parses image acquisition according to Bluetooth communication protocol and asks,
And the Bluetooth identification carried from image acquisition request.
When destinations traffic agreement is wireless LAN communication agreement, terminal is according to wireless LAN communication protocol analysis figure
As obtaining request, and MAC Address, GUID or the IMEI carried from image acquisition request.
S303:Respond described image and obtain request, assisted according to the unique mark of the request end and the destinations traffic
View is established wireless communication with the request end and is connected.
Terminal responds image acquisition request, according to the unique mark and mesh of request end when receiving response instruction
Mark communication protocol is established wireless communication with request end and is connected.
Wherein, when destinations traffic agreement is Bluetooth communication protocol, this terminal is used to request end returning response message
Bluetooth communication protocol carries out Bluetooth pairing with request end, and in Bluetooth pairing success, establishes Bluetooth communication with it and be connected, so that
Bluetooth communication can be carried out with request end.Response message carries the Bluetooth identification of this terminal, for notifying this terminal of request end same
Meaning Bluetooth pairing, connects so that Bluetooth communication is established in request end according to the Bluetooth identification of this terminal.
When destinations traffic agreement is wireless LAN communication agreement, this terminal is to request end returning response message, this end
End is established wireless communication with having accessed the request end of WLAN using wireless LAN communication agreement and is connected, so that terminal
It can be communicated with request end by WLAN.Response message carries the MAC Address, GUID or IMEI of this terminal, with
Make request end establish wireless communication with this terminal according to the MAC Address, GUID or IMEI of this terminal to be connected.
S304:The camera of local terminal is opened, and passes through the camera collection image information.
Terminal opens the camera of local terminal, and the image information in the range of current visual angle is gathered by camera.Current visual angle
Scope is to ask end subscriber to be not easy the region checked in short range.Current visual angle scope is with the position of customer mobile terminal
Put and change.
This terminal can also gather the corresponding video data in the region for being not easy to check in short range.
S305:Described image information is sent to the request end.
Terminal carries out wireless communication with request end, the image information collected is transmitted to request end, so as to request end
User checks.
When terminal is collecting the corresponding video data in the region for being not easy to check in short range, will can also gather
The video data transmission arrived is to request end.
After S304, S306 can also be included:Preserve the unique mark of the request end.
Terminal preserves the unique mark of request end, subsequently when detecting the unique mark of request end, to be identified
To need to obtain the terminal of the image in short range, and connection is established communication, the image collected to its transmission.
S305 and S306 order in no particular order.
Such scheme, if terminal receives image acquisition request, it is determined that described image obtains target used by request
Communication protocol;Wherein, described image, which obtains, asks by the request end when detecting the instruction for obtaining close-up images
Send;Asked according to destinations traffic protocol analysis described image acquisition, and obtain described image and obtain asking for request carrying
Seek the unique mark at end;Respond described image and obtain request, according to the unique mark of the request end and the destinations traffic
Agreement is established wireless communication with the request end and is connected;The camera of local terminal is opened, and is believed by the camera collection image
Breath;Described image information is sent to the request end.Terminal with request end by carrying out wireless communication, collection request end subscriber
The image corresponding to the region checked is not easy in short range, and by the image transmitting collected to request end, so that please
End subscriber is asked to obtain the image in the region for being not easy to check in short range in real time.
Terminal carries out Bluetooth communication by Bluetooth communication protocol and request end, by request end subscriber in short range not
The image transmitting in the region easily checked enables to request end before third party device and internet is not depended on to request end
The image realized and obtain the closely interior region for being not easy to check is put, checks or searches easy to user.
Terminal preserves the unique mark of request end, so as to follow-up reconnection and transmission image, shortens and establishes communication connection
Time, improves joint efficiency.
The embodiment of the present invention also provides a kind of terminal, which includes being used to perform described in the corresponding embodiments of Fig. 1
The unit of each step in image-pickup method.Specifically, referring to Fig. 4, Fig. 4 is a kind of terminal provided in an embodiment of the present invention
Schematic block diagram.The terminal 4 of the present embodiment includes:Determination unit 410, transmitting element 420, connection unit 430 and receiving unit
440。
Determination unit 410, if for detecting the instruction for obtaining close-up images, it is determined that sending image acquisition please
Destinations traffic agreement used by asking.
Specifically, it is determined that unit 410 can include:
Detection unit 411, if for detecting the preset instructions for obtaining close-up images, detects whether to have accessed
WLAN;
First determination unit 412, if for not accessing WLAN, it is determined that the destinations traffic agreement is led to for bluetooth
Believe agreement;
Second determination unit 413, if for having accessed WLAN, it is determined that the destinations traffic agreement is wireless office
Domain Network Communication agreement.
Transmitting element 420, for obtaining request using the destinations traffic protocol broadcast described image.
Connection unit 430, if obtaining the response message for asking to return, root according to described image for receiving responder
Wireless communication is established according to the destinations traffic agreement with the responder to be connected.
Receiving unit 440, the image information sent for receiving and showing the responder;Wherein, described image information
Gathered by the camera of the responder.
Such scheme, if terminal detects the instruction for obtaining close-up images, it is determined that send image acquisition request
Used destinations traffic agreement;Obtained and asked using the destinations traffic protocol broadcast described image;If receive responder
The response message of request return is obtained according to described image, then is established according to the destinations traffic agreement and the responder wireless
Communication connection;Receive and show the image information that the responder is sent;Wherein, described image information taking the photograph by the responder
As head gathers.Terminal obtains the terminal user of responder collection in short range by carrying out wireless communication with responder
The image information corresponding to the region checked is not easy, can in real time be obtained by the camera of responder and closely interior be not easy to check
Region image.
Terminal is communicated by Bluetooth communication protocol with responder, obtains the image information of responder collection, Neng Gou
The image for obtaining the closely interior region for being not easy to check is realized on the premise of not depending on third party device and internet.
The embodiment of the present invention also provides another terminal, which includes being used to perform in the corresponding embodiments of Fig. 2 or Fig. 3
The unit of each step in the image-pickup method.Specifically, referring to Fig. 5, Fig. 5 is that another embodiment of the present invention provides
A kind of schematic block diagram of terminal.The terminal 5 of the present embodiment includes:Acquiring unit 510, response unit 520, collecting unit 530 with
And transmitting element 540.
Acquiring unit 510, if for receiving image acquisition request, obtains described image and obtains the request that request includes
The unique mark at end;Wherein, described image obtains request and is detecting the finger for obtaining close-up images by the request end
Sent when making.
Specifically, acquiring unit 510 can include:
Communication protocol determination unit 511, if for receiving image acquisition request, it is determined that sending described image acquisition please
Destinations traffic agreement used by asking;
Mark acquiring unit 512, is asked for being obtained according to the destinations traffic protocol analysis described image, and obtains institute
State the unique mark for the request end that image acquisition request carries.
Further, the destinations traffic agreement includes Bluetooth communication protocol or wireless LAN communication agreement.
Response unit 520, request is obtained for responding described image, and according to the unique mark of the request end with it is described
Wireless communication connection is established in request end.
Specifically, response unit 520 is specifically used for response described image acquisition request, is obtained according to mark acquiring unit 512
The definite destinations traffic agreement of the mark and communication protocol determination unit 511 of the request end taken and the request end
Establish wireless communication connection.
Collecting unit 530, for opening the camera of local terminal, and passes through the camera collection image information.
Transmitting element 540, for sending described image information to the request end.
Alternatively, terminal can also include:
Storage unit 550, for preserving the unique mark of the request end.
Such scheme, if terminal receives image acquisition request, obtains described image and obtains the request end that request includes
Unique mark;Wherein, described image obtains request and is detecting the instruction for obtaining close-up images by the request end
When send;Respond described image and obtain request, and channel radio is established according to the unique mark and the request end of the request end
Letter connection;The camera of local terminal is opened, and passes through the camera collection image information;Described image information is sent to described
Request end.For terminal by carrying out wireless communication with request end, collection request end subscriber is not easy the area checked in short range
Image corresponding to domain, and by the image transmitting collected to request end, so that request end subscriber obtains short range in real time
Inside it is not easy the image in region checked
Terminal carries out Bluetooth communication by Bluetooth communication protocol and request end, by request end subscriber in short range not
The image transmitting in the region easily checked enables to request end before third party device and internet is not depended on to request end
The image realized and obtain the closely interior region for being not easy to check is put, checks or searches easy to user.
Terminal preserves the unique mark of request end, so as to follow-up reconnection and transmission image, shortens and establishes communication connection
Time, improves joint efficiency.
Referring to Fig. 6, Fig. 6 is a kind of terminal schematic block diagram that yet another embodiment of the invention provides.The terminal is request end.Such as
The terminal 6 in the present embodiment shown in figure can include:One or more processors 601;One or more input equipments 602,
One or more output equipments 603 and memory 604.Above-mentioned processor 601, input equipment 602, output equipment 603 and storage
Device 604 is connected by bus 605.Memory 604 is used to store computer program, and the computer program includes programmed instruction,
Processor 601 is used for the programmed instruction for performing the storage of memory 604.Wherein, processor 601 is arranged to call described program
Instruction performs:
If detect the instruction for obtaining close-up images, it is determined that target is led to used by sending image acquisition request
Believe agreement;
Obtained and asked using the destinations traffic protocol broadcast described image;
If receiving the response message that responder obtains request return according to described image, assisted according to the destinations traffic
View is established wireless communication with the responder and is connected;
Receive and show the image information that the responder is sent;Wherein, described image information taking the photograph by the responder
As head gathers.
Alternatively, processor 601 is specific is arranged to call described program instruction to perform:
If detecting the preset instructions for obtaining close-up images, detect whether to have accessed WLAN;
If WLAN is not accessed, it is determined that the destinations traffic agreement is Bluetooth communication protocol;
If WLAN is accessed, it is determined that the destinations traffic agreement is wireless LAN communication agreement.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 602 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 603 can include display (LCD etc.), loudspeaker etc..
The memory 604 can include read-only storage and random access memory, and to processor 601 provide instruction and
Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited
Store up the information of device type.
In the specific implementation, processor 601, input equipment 602, the output equipment 603 described in the embodiment of the present invention can
The implementation described in the first embodiment of image-pickup method provided in an embodiment of the present invention is performed, also can perform this hair
The implementation of the corresponding described terminal of embodiment of bright Fig. 4, details are not described herein.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
If detect the instruction for obtaining close-up images, it is determined that target is led to used by sending image acquisition request
Believe agreement;
Obtained and asked using the destinations traffic protocol broadcast described image;
If receiving the response message that responder obtains request return according to described image, assisted according to the destinations traffic
View is established wireless communication with the responder and is connected;
Receive and show the image information that the responder is sent;Wherein, described image information taking the photograph by the responder
As head gathers.
Alternatively, implemented when described program instruction is executed by processor:
If detecting the preset instructions for obtaining close-up images, detect whether to have accessed WLAN;
If WLAN is not accessed, it is determined that the destinations traffic agreement is Bluetooth communication protocol;
If WLAN is accessed, it is determined that the destinations traffic agreement is wireless LAN communication agreement.
The computer-readable recording medium can be the internal storage unit of the terminal described in the corresponding embodiments of Fig. 4,
Such as the hard disk or memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, example
Such as the plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Referring to Fig. 7, Fig. 7 is a kind of terminal schematic block diagram that further embodiment of this invention provides.The terminal is responder.Such as
The terminal 7 in the present embodiment shown in figure can include:One or more processors 701;One or more input equipments 702,
One or more output equipments 703 and memory 704.Above-mentioned processor 701, input equipment 702, output equipment 703 and storage
Device 704 is connected by bus 705.Memory 704 is used to store computer program, and the computer program includes programmed instruction,
Processor 701 is used for the programmed instruction for performing the storage of memory 704.Wherein, processor 701 is arranged to call described program
Instruction performs:
If receiving image acquisition request, the unique mark that described image obtains the request end that request includes is obtained;Its
In, described image obtains request and is sent by the request end when detecting the instruction for obtaining close-up images;
Respond described image and obtain request, and channel radio is established according to the unique mark and the request end of the request end
Letter connection;
The camera of local terminal is opened, and passes through the camera collection image information;
Described image information is sent to the request end.
Alternatively, processor 701 is specific is arranged to call described program instruction to perform:
If receive image acquisition request, it is determined that send described image and obtain destinations traffic agreement used by request;
Obtained and asked according to the destinations traffic protocol analysis described image, and obtained described image and obtain what request carried
The unique mark of request end;
Respond described image and obtain request, asked according to the mark of the request end and the destinations traffic agreement with described
End is asked to establish wireless communication connection.
Alternatively, the destinations traffic agreement includes Bluetooth communication protocol or wireless LAN communication agreement.
Alternatively, the response connection request, and nothing is established according to the mark and the request end of the request end
After line communication connection, processor 701 is additionally configured to call described program instruction to perform:Preserve the unique of the request end
Mark.
It should be appreciated that in embodiments of the present invention, alleged processor 701 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 702 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 703 can include display (LCD etc.), loudspeaker etc..
The memory 704 can include read-only storage and random access memory, and to processor 601 provide instruction and
Data.The a part of of memory 704 can also include nonvolatile RAM.For example, memory 704 can also be deposited
Store up the information of device type.
In the specific implementation, processor 701, input equipment 702, the output equipment 703 described in the embodiment of the present invention can
The implementation described in the second or third embodiments of image-pickup method provided in an embodiment of the present invention is performed, can also be held
The implementation of the corresponding described terminals of embodiment of row Fig. 5 of the present invention, details are not described herein.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
If receiving image acquisition request, the unique mark that described image obtains the request end that request includes is obtained;Its
In, described image obtains request and is sent by the request end when detecting the instruction for obtaining close-up images;
Respond described image and obtain request, and channel radio is established according to the unique mark and the request end of the request end
Letter connection;
The camera of local terminal is opened, and passes through the camera collection image information;
Described image information is sent to the request end.
Alternatively, implemented when described program instruction is executed by processor:
If receive image acquisition request, it is determined that send described image and obtain destinations traffic agreement used by request;
Obtained and asked according to the destinations traffic protocol analysis described image, and obtained described image and obtain what request carried
The unique mark of request end;
Respond described image and obtain request, asked according to the mark of the request end and the destinations traffic agreement with described
End is asked to establish wireless communication connection.
Alternatively, the destinations traffic agreement includes Bluetooth communication protocol or wireless LAN communication agreement.
Alternatively, the response connection request, and nothing is established according to the mark and the request end of the request end
After line communication connection, described program instruction implements when being executed by processor:Preserve the unique mark of the request end.
The computer-readable recording medium can be the internal storage unit of the terminal described in the corresponding embodiments of Fig. 5,
Such as the hard disk or memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, example
Such as the plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can pass through it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art, or all or part of the technical solution can be in the form of software product
Embody, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
- A kind of 1. image-pickup method, it is characterised in that including:If detect the instruction for obtaining close-up images, it is determined that destinations traffic is assisted used by sending image acquisition request View;Obtained and asked using the destinations traffic protocol broadcast described image;If receive responder according to described image obtain request return response message, according to the destinations traffic agreement with The responder establishes wireless communication connection;Receive and show the image information that the responder is sent;Wherein, described image information by the responder camera Collection.
- 2. according to the method described in claim 1, it is characterized in that, if described detect for obtaining the default of close-up images Instruction, it is determined that destinations traffic agreement used by image acquisition request is sent, including:If detecting the preset instructions for obtaining close-up images, detect whether to have accessed WLAN;If WLAN is not accessed, it is determined that the destinations traffic agreement is Bluetooth communication protocol;If WLAN is accessed, it is determined that the destinations traffic agreement is wireless LAN communication agreement.
- A kind of 3. image-pickup method, it is characterised in that including:If receiving image acquisition request, the unique mark that described image obtains the request end that request includes is obtained;Wherein, institute Image acquisition request is stated to be sent when detecting the instruction for obtaining close-up images by the request end;Respond described image and obtain request, and wireless communication is established with the request end according to the unique mark of the request end and is connected Connect;The camera of local terminal is opened, and passes through the camera collection image information;Described image information is sent to the request end.
- 4. according to the method described in claim 3, it is characterized in that, if the image acquisition that receives is asked, described in acquisition The unique mark for the request end that connection request includes, including:If receive image acquisition request, it is determined that send described image and obtain destinations traffic agreement used by request;Obtained and asked according to the destinations traffic protocol analysis described image, and obtained described image and obtain the request that request carries The unique mark at end;The response described image obtains request, and establishes wireless communication with the request end according to the mark of the request end and connect Connect, including:Respond described image and obtain request, according to the mark of the request end and the destinations traffic agreement and the request end Establish wireless communication connection.
- 5. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 1-2 any claims Member.
- 6. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 3-4 any claims Member.
- 7. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performs such as any one of claim 1-2 The method.
- 8. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performs such as any one of claim 3-4 The method.
- 9. a kind of computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, institute Stating computer program includes programmed instruction, and described program instruction makes the processor perform right such as when being executed by a processor will Seek 1-2 any one of them methods.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 3-4 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711101254.2A CN107948584A (en) | 2017-11-09 | 2017-11-09 | A kind of image-pickup method, terminal and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711101254.2A CN107948584A (en) | 2017-11-09 | 2017-11-09 | A kind of image-pickup method, terminal and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107948584A true CN107948584A (en) | 2018-04-20 |
Family
ID=61933685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711101254.2A Pending CN107948584A (en) | 2017-11-09 | 2017-11-09 | A kind of image-pickup method, terminal and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948584A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225140A (en) * | 2019-06-28 | 2019-09-10 | 联想(北京)有限公司 | A kind of control method and equipment |
CN112235733A (en) * | 2020-09-29 | 2021-01-15 | 北京海益同展信息科技有限公司 | Multi-device cooperation method, device, system and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120256820A1 (en) * | 2011-04-08 | 2012-10-11 | Avinash Uppuluri | Methods and Systems for Ergonomic Feedback Using an Image Analysis Module |
CN103607538A (en) * | 2013-11-07 | 2014-02-26 | 北京智谷睿拓技术服务有限公司 | Photographing method and photographing apparatus |
CN104754310A (en) * | 2015-04-10 | 2015-07-01 | 腾讯科技(北京)有限公司 | Method and device for connecting camera of terminal equipment into target equipment |
-
2017
- 2017-11-09 CN CN201711101254.2A patent/CN107948584A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120256820A1 (en) * | 2011-04-08 | 2012-10-11 | Avinash Uppuluri | Methods and Systems for Ergonomic Feedback Using an Image Analysis Module |
CN103607538A (en) * | 2013-11-07 | 2014-02-26 | 北京智谷睿拓技术服务有限公司 | Photographing method and photographing apparatus |
CN104754310A (en) * | 2015-04-10 | 2015-07-01 | 腾讯科技(北京)有限公司 | Method and device for connecting camera of terminal equipment into target equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225140A (en) * | 2019-06-28 | 2019-09-10 | 联想(北京)有限公司 | A kind of control method and equipment |
CN110225140B (en) * | 2019-06-28 | 2021-10-22 | 联想(北京)有限公司 | Control method and device |
CN112235733A (en) * | 2020-09-29 | 2021-01-15 | 北京海益同展信息科技有限公司 | Multi-device cooperation method, device, system and medium |
WO2022068554A1 (en) * | 2020-09-29 | 2022-04-07 | 京东科技信息技术有限公司 | Multi-device cooperation method, apparatus, system and medium |
CN112235733B (en) * | 2020-09-29 | 2023-06-23 | 京东科技信息技术有限公司 | Multi-mobile robot cooperation method, device, system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108664190B (en) | Page display method, device, mobile terminal and storage medium | |
CN109002759A (en) | text recognition method, device, mobile terminal and storage medium | |
CN110768805B (en) | Group message display method and electronic equipment | |
CN107852437A (en) | Method and apparatus for exporting audio in the electronic device | |
CN109521925A (en) | Icon arrangement method, mobile terminal and computer readable storage medium | |
CN108228025A (en) | message display method, device, mobile terminal and storage medium | |
CN108536504A (en) | page display method, device, mobile terminal and storage medium | |
CN108762466A (en) | Display methods, device, mobile terminal and storage medium | |
CN108134838A (en) | data reporting method, device, mobile terminal and computer-readable medium | |
CN108093439A (en) | User behavior data method for controlling reporting, terminal and computer readable storage medium | |
CN108646994A (en) | Information processing method, device, mobile terminal and storage medium | |
CN110460568A (en) | A kind of automated reporting method, terminal and computer readable storage medium | |
CN108123999A (en) | A kind of information push method and mobile terminal | |
CN108881979A (en) | Information processing method, device, mobile terminal and storage medium | |
CN109165651A (en) | A kind of identification code recognition methods, terminal and computer readable storage medium | |
CN108241808A (en) | identification code display control method, terminal and computer readable storage medium | |
CN108012029A (en) | A kind of information processing method, equipment and computer-readable recording medium | |
CN107948584A (en) | A kind of image-pickup method, terminal and computer-readable medium | |
CN110418004A (en) | Screenshot processing method, terminal and computer readable storage medium | |
CN109062648A (en) | Information processing method, device, mobile terminal and storage medium | |
CN110221736A (en) | Icon processing method, device, mobile terminal and storage medium | |
CN108124055A (en) | Prompting message control method, flexible screen terminal and computer readable storage medium | |
CN108803961A (en) | Data processing method, device and mobile terminal | |
CN108494851A (en) | Application program recommends method, apparatus and mobile terminal | |
CN107484144A (en) | A kind of information acquisition method, terminal, server and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180420 |