CN105334940B - A kind of control method and electronic equipment - Google Patents
A kind of control method and electronic equipment Download PDFInfo
- Publication number
- CN105334940B CN105334940B CN201410333888.0A CN201410333888A CN105334940B CN 105334940 B CN105334940 B CN 105334940B CN 201410333888 A CN201410333888 A CN 201410333888A CN 105334940 B CN105334940 B CN 105334940B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- plane
- display unit
- image
- described image
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a kind of control methods, for improving the operating efficiency in the placement location for determining electronic equipment.The described method includes: obtaining an image for including at least a part of region of the plane when first electronic equipment is located in a plane;According at least one parameter of described image, judge the plane whether be one second electronic equipment the second display unit;When the plane is second display unit, controls first electronic equipment and second electronic equipment carries out communication task.The invention also discloses corresponding electronic equipments.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of control method and electronic equipment.
Background technique
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over
Come more, people have also enjoyed the various conveniences of development in science and technology bring.Present people can be set by various types of electronics
It is standby to enjoy as development in science and technology bring is comfortably lived.For example, the electronic equipments such as mobile phone have become people life in one not
Can or scarce part, people can reinforce with other people it in a manner of making a phone call, send short messages etc. by electronic equipments such as mobile phones
Between connection.
Present electronic equipment all tends to intelligence, for example, having lesser electronic equipment (such as mobile phone) to be placed into
When on the electronic equipment of large scale display screen, range of information transmission is able to carry out between the two electronic equipments, operation is very
Convenient, interest is also higher for users.This is related to a problem, when mobile phone it is static in one plane when, mobile phone
Need to know oneself be located in actually where, if it is on the display screen of another electronic equipment, then mobile phone can initiate
A series of tasks, and if be only put on the desktop of conventional tables, obvious mobile phone is without interacting operation.
In the prior art, typically user come identify mobile phone be placed into actually where, user gives mobile phone phase again later
The instruction answered, it is obviously desirable to which user carries out more operation, correspondingly, operating efficiency is lower, also brings more inconvenience to user.
Summary of the invention
The embodiment of the present invention provides a kind of control method and electronic equipment, is determining that electronics sets in the prior art for solving
Operating efficiency lower technical problem when standby placement location.
A kind of control method is applied to the first electronic equipment, the described method comprises the following steps:
When first electronic equipment is located in a plane, a figure for including at least a part of region of the plane is obtained
Picture;
According at least one parameter of described image, judge the plane whether be one second electronic equipment the second display
Unit;
When the plane is second display unit, first electronic equipment and second electronic equipment are controlled
Carry out communication task.
Preferably, obtaining one when first electronic equipment is located in a plane and including at least described plane a part
The image in region, comprising: when first electronic equipment is located in the plane, pass through the image of first electronic equipment
Acquisition unit obtains described image.
Preferably, judging whether the plane is to set with first electronics according at least one parameter of described image
The display unit of standby corresponding second electronic equipment, comprising: according to the luminance parameter of described image, judge the luminance parameter
Whether brightness value is greater than predetermined luminance value;Wherein, when the brightness value is greater than the predetermined luminance value, determine that the plane is
Second display unit of second electronic equipment.
Preferably, judging whether the plane is to set with first electronics according at least one parameter of described image
The display unit of standby corresponding second electronic equipment, comprising: according to the color-values of described image, judge the color-values whether with
Preset color value is consistent;Wherein, when the color-values are consistent with the preset color value, determine that the plane is described second
Second display unit of electronic equipment.
Preferably, the preset color value is display content current in the first display unit of first electronic equipment
Possessed color-values.
Preferably, judging whether the plane is to set with first electronics according at least one parameter of described image
The display unit of standby corresponding second electronic equipment, comprising: according to the content parameters of described image, determine the content of described image
Whether there is same section with the content of pre-set image;Wherein, when having identical portions in the content of described image and pre-set image
Timesharing determines that the plane is the second display unit of second electronic equipment.
Preferably, controlling first electronic equipment when the plane is the display unit of second electronic equipment
Communication task is carried out with second electronic equipment, comprising: when the second display that the plane is second electronic equipment is single
When first, control first electronic equipment and second electronic equipment is established and communicated to connect.
Preferably, controlling first electronic equipment when the plane is the display unit of second electronic equipment
Communication task is carried out with second electronic equipment, comprising: when the plane is the display unit of second electronic equipment,
It controls first electronic equipment and one information is transferred to second electronic equipment.
A kind of electronic equipment, comprising:
Module is obtained, includes at least the plane for when first electronic equipment is located in a plane, obtaining one
The image in a part of region;
Judgment module judges whether the plane is one second electronics at least one parameter according to described image
Second display unit of equipment;
Control module, for controlling first electronic equipment and institute when the plane is second display unit
It states the second electronic equipment and carries out communication task.
Preferably, the acquisition module is specifically used for: when first electronic equipment is located in the plane, passing through institute
The image acquisition units for stating the first electronic equipment obtain described image.
Preferably, the judgment module is specifically used for: according to the luminance parameter of described image, judging the luminance parameter
Whether brightness value is greater than predetermined luminance value;Wherein, when the brightness value is greater than the predetermined luminance value, determine that the plane is
Second display unit of second electronic equipment.
Preferably, the judgment module is specifically used for: according to the color-values of described image, judge the color-values whether with
Preset color value is consistent;Wherein, when the color-values are consistent with the preset color value, determine that the plane is described second
Second display unit of electronic equipment.
Preferably, the preset color value is display content current in the first display unit of first electronic equipment
Possessed color-values.
Preferably, the judgment module is specifically used for: according to the content parameters of described image, determining the content of described image
Whether there is same section with the content of pre-set image;Wherein, when having identical portions in the content of described image and pre-set image
Timesharing determines that the plane is the second display unit of second electronic equipment.
Preferably, the control module is specifically used for: when the second display that the plane is second electronic equipment is single
When first, control first electronic equipment and second electronic equipment is established and communicated to connect.
Preferably, the control module is specifically used for: when the plane is the display unit of second electronic equipment,
It controls first electronic equipment and one information is transferred to second electronic equipment.
It, can be by obtaining the figure when first electronic equipment is located in the plane in the embodiment of the present invention
At least one parameter of picture come judge the plane whether be second electronic equipment second display unit, if institute
Stating plane is second display unit, then can control described in first electronic equipment and second electronic equipment progress
Communication task can control first electronic equipment without behaviour if the plane is not second display unit
Make, so as to avoid first electronic equipment from carrying out invalid operation, saves first electronic equipment because being operated
And expend electric energy, also, without user come identify first electronic equipment be placed into actually where, first electronics
Equipment can voluntarily be judged, excessive operation is carried out without user, also just improve operating efficiency accordingly, improve user
Experience.
Detailed description of the invention
Fig. 1 is the broad flow diagram of control method in the embodiment of the present invention;
Fig. 2 is that the first electronic equipment is placed on the schematic diagram on the second display unit in the embodiment of the present invention;
Fig. 3 is the primary structure figure of the first electronic equipment in the embodiment of the present invention.
Specific embodiment
Control method in the embodiment of the present invention can be applied to the first electronic equipment, the method may include: work as institute
When stating the first electronic equipment and being located in a plane, an image for including at least a part of region of the plane is obtained;According to described
At least one parameter of image, judge the plane whether be one second electronic equipment the second display unit;When the plane
When for second display unit, controls first electronic equipment and second electronic equipment carries out communication task.
It, can be by obtaining the figure when first electronic equipment is located in the plane in the embodiment of the present invention
At least one described parameter of picture come judge the plane whether be second electronic equipment second display unit, such as
Plane described in fruit is second display unit, then can control first electronic equipment and second electronic equipment carries out
The communication task, if the plane is not second display unit, can control first electronic equipment not into
Row operation saves first electronic equipment because carrying out so as to avoid first electronic equipment from carrying out invalid operation
Operation and expend electric energy, also, without user come identify first electronic equipment be placed into actually where, described first
Electronic equipment can voluntarily be judged, excessive operation is carried out without user, also just improve operating efficiency accordingly, be improved
User experience.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, first electronic equipment can be PC (personal computer), notebook, PAD (plate electricity
Brain), the different electronic equipment of mobile phone etc., the invention is not limited in this regard.
In the embodiment of the present invention, second electronic equipment can be PC (personal computer), notebook, PAD (plate electricity
Brain), the different electronic equipment of mobile phone etc., preferably, second electronic equipment can be the display screen with larger size
Electronic equipment.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist
Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately
Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
Embodiment one
Referring to Figure 1, the embodiment of the present invention provides a kind of control method, and the method can be applied to the first electronics and set
Standby, the main flow of the method is as follows:
Step 101: when first electronic equipment is located in a plane, obtaining one and include at least described plane a part
The image in region.
In the embodiment of the present invention, first electronic equipment can be located in a plane, such as the plane can be table
Face, perhaps can be ground perhaps and can be the display unit of other electronic equipments or be also likely to be other planes.
In the embodiment of the present invention, first electronic equipment can have image acquisition units, alternatively, first electronics
Equipment itself can also not have described image acquisition unit, but can be communicated with described image acquisition unit, can
Image is obtained from described image acquisition unit.
For example, described image acquisition unit can be camera, or it is also possible to other with image collecting function
Functional unit.
In the embodiment of the present invention, described image can refer to object picture, alternatively, because video is also by one by one
Picture is constituted, therefore described image may also mean that the video object.Preferably, described image can be object picture, in this way
Collection process is relatively simple, and required acquisition time is also shorter.
It should be noted that described image is most likely not clearly image enough, if described image acquisition unit with
The hypotelorism of the plane, it is likely that described image acquisition unit is focused when acquiring described image can be not accurate enough, or
It may can not focus, collected described image is likely to also will be not clear enough, but as long as not influencing the embodiment of the present invention
In subsequent deterministic process, the present invention do not do too many requirement to the clarity of described image.
Because first electronic equipment be to judge the plane actually whether be meet oneself requirement plane, therefore,
Including at least in described image has a part of region of the plane, in order to first electronic equipment according to described image into
Row judgement.
Preferably, when first electronic equipment is located in the plane, being included at least in the embodiment of the present invention
The described image in a part of region of plane specifically may is that when first electronic equipment is located in the plane, lead to
The image acquisition units for crossing first electronic equipment obtain described image.
For example, if first electronic equipment itself has described image acquisition unit, i.e. described image acquisition unit
Positioned at first electronic equipment internal, then when first electronic equipment is located in the plane, first electronics is set
It being acquired for can control described image acquisition unit, obtaining described image.
Such as if first electronic equipment itself does not have described image acquisition unit, i.e., described first electricity
Sub- equipment and described image acquisition unit are two mutually independent equipment, and first electronic equipment can be adopted with described image
Collection unit is communicated.At this point, because first electronic equipment is able to carry out with described image acquisition unit and communicates,
It is considered that described image acquisition unit is the image acquisition units of first electronic equipment.Then, when first electronics is set
When for being located in the plane, first electronic equipment can send request message, the figure to described image acquisition unit
As acquisition unit can be acquired after receiving the request message, described image is obtained, and by the described image of acquisition
It is sent to first electronic equipment, so that first electronic equipment can obtain described image.
Preferably, when first electronic equipment is located in the plane, obtaining one in the embodiment of the present invention and at least wrapping
The described image in a part of region containing the plane specifically may is that when first electronic equipment is located in the plane
When duration reaches preset duration, a described image for including at least a part of region of the plane is obtained.That is, when first electricity
When sub- equipment stablizes placement on the plane, then obtain described image.
Because there may come a time when that user is temporarily to place first electronic equipment in one plane, can pick up again quickly
Come, or may be that first electronic equipment has dropped to unintentionally on the ground, user can be picked up quickly to come, if as long as institute
It states the first electronic equipment and touches the process that a plane carries out obtaining described image, it is likely that first electronics can be made to set
It is standby to have carried out invalid operation, even if obtaining described image, carry out the subsequent treatment process of the embodiment of the present invention, processing knot
Fruit may not used yet, and the resource of first electronic equipment is wasted.Therefore, first electronic equipment can be being placed into
It states after the duration in plane reaches the preset duration and obtains described image again, the duration placed on the plane is more than described
After preset duration, user can be defaulted as and seek to for first electronic equipment being placed into the plane to carry out subsequent behaviour
Make, the probability that first electronic equipment flogs a dead horse can be reduced to the greatest extent in this way.
Step 102: according at least one parameter of described image, judging whether the plane is one second electronic equipment
Second display unit.
After obtaining described image, can determine at least one described parameter of described image, thus according to it is described extremely
A few parameter come judge the plane whether be second electronic equipment second display unit.
In the embodiment of the present invention, it such as may include having luminance parameter, saturation that described image, which may include there are many parameter,
Parameter, white balance parameter etc. are spent, judges whether the plane is that second display is single according at least one described parameter
The mode of member is also just according to the different and different of parameter.For example bright below, it should be noted that in specification only
Several actual examples have been enumerated, and have not included all judgment modes.When parameter is different, those skilled in the art's root
It is able to know that how to implement technical solution of the present invention naturally according to thought of the invention.
Preferably, if it is determined that be described image luminance parameter, then, and according at least one parameter of described image,
Judge the plane whether be the second electronic equipment corresponding with first electronic equipment display unit, specifically may is that
According to the luminance parameter of described image, judge whether the brightness value of the luminance parameter is greater than predetermined luminance value;Wherein, when described
When brightness value is greater than the predetermined luminance value, determine that the plane is the display unit of second electronic equipment.
First electronic equipment will be communicated with second electronic equipment, the second electronic equipment ordinary circumstance
It should be to open down, then the brightness value of second display unit can be bigger, and described including at least having in described image
A part of region of plane, therefore, if the brightness value of the luminance parameter of described image is greater than the predetermined luminance value,
It is considered that described image is the image of second display unit, it can also think that the plane is that second display is single
Member.
Preferably, if it is determined that be that the color-values of described image then according at least one parameter of described image, are sentenced
The plane of breaking whether be the second electronic equipment corresponding with first electronic equipment display unit, specifically may is that root
According to the color-values of described image, judge whether the color-values are consistent with preset color value;Wherein, when the color-values with it is described
When preset color value is consistent, determine that the plane is the display unit of second electronic equipment.
First electronic equipment will complete the communication task with second electronic equipment, in general, described the
Two electronic equipments be all can electronic equipment corresponding with first electronic equipment, such as second electronic equipment may be
Will with first electronic equipment establish communication connection electronic equipment or second electronic equipment may be with institute
It states the first electronic equipment and establishes electronic equipment of connection, etc..If first electronic equipment can only be with second electronics
Equipment is corresponding, but first electronic equipment has been placed on the third display unit of third electronic equipment, the third electronics
Equipment and second electronic equipment are not same electronic equipments, then, if first electronic equipment judges it itself is position
In on the display unit of an electronic equipment, it is likely that first electronic equipment can send information to the third electronic equipment
Complete the communication task, but because the third electronic equipment is not corresponding with first electronic equipment, it is likely that
The request of first electronic equipment will not be responded, first electronic equipment is also comparable to do idle work.
It is therefore advantageous to, what plane first electronic equipment when judging the plane actually and being, even if judging institute
State the display unit that plane is an electronic equipment, can also further determine that the electronic equipment whether be can be with described first
The corresponding electronic equipment of electronic equipment.
Then, judged to be exactly a preferable method using color-values.It can be corresponding with first electronic equipment
Second electronic equipment, the content shown in second display unit are likely in known to first electronic equipment
The content shown in appearance or second display unit is probably in the first display unit of first electronic equipment
The content of display, therefore first electronic equipment can know the due color-values of collected described image institute naturally.
So, first electronic equipment is after obtaining described image, so that it may according to the color-values of described image and the default color
Color value judges whether the plane is to be capable of described the of corresponding second electronic equipment with first electronic equipment
Two display units, such judging result can be more accurate, can be further ensured that first electronic equipment can with it is scheduled
Electronic equipment carries out the communication task.
Preferably, the preset color value can be in first display unit of first electronic equipment it is current
Show color-values possessed by content, that is to say, that current display content is shown with described first in second display unit
Show that display content current in unit may be consistent.
In the embodiment of the present invention, for an image, it may include there are many color, such as may include red
Color, green, blue then can be stored with corresponding preset color value, example for each color in first electronic equipment
Such as, default red color value can store for red, default green tint value has can store for green, for blue
It can store default blue color value, also can store corresponding preset color value certainly for other colors.
For example, have red and blue in the described image obtained, first electronic equipment can by it is red with it is described
Default red color value is compared, and blue is compared with the default blue color value, if the red and institute
It is consistent to state default red color value, and blue is consistent with the default blue color value, then first electronic equipment can be sentenced
The disconnected color-values for determining described image are consistent with the preset color value, correspondingly, first electronic equipment
Determine that the plane is second display unit of second electronic equipment.
Preferably, if it is determined that be described image content parameters, then, and according at least one parameter of described image,
Judge the plane whether be the second electronic equipment corresponding with first electronic equipment display unit, specifically may is that
Whether there is same section according to the content of the content parameters of described image, the content and pre-set image that determine described image;Wherein,
When having same section in the content of described image and pre-set image, determine that the plane is second electronic equipment
Second display unit.
Preferably, the pre-set image is, for example, the image currently shown in first display unit, i.e., described first
The current display content of display unit.Because of current display content and first display unit in second display unit
In current display content may be consistent, therefore should be at least in partial region and the pre-set image in described image
At least partly region content it is consistent, be same section, in this way, if it is determined that determine described image content and pre-set image
In when having same section, be also assured that the plane is second display unit.Judging result can be more in this way
Accurately, it can be further ensured that first electronic equipment can carry out the communication task with scheduled electronic equipment.
Wherein, described identical in the embodiment of the present invention, it is identical to can be content, size, resolution ratio etc., or
It can also be that content is identical, and size, resolution ratio etc. are all different.Because of the difference according to electronic equipment, even if identical
Content, show and also have different sizes, different resolution ratio etc., therefore only require that content is identical i.e. under normal circumstances
It can.
Step 103: when the plane is second display unit, controlling first electronic equipment and described second
Electronic equipment carries out communication task.
In the embodiment of the present invention, when judgement determines that the plane is second display unit, then described the can control
One electronic equipment and second electronic equipment carry out the communication task.
In the embodiment of the present invention, the communication task can be the establishing communication connection of the task, or be also possible to carry out
The task, etc. of information transmission.
Preferably, when the plane is second display unit, controlling first electronics in the embodiment of the present invention
Equipment and second electronic equipment carry out communication task, specifically may is that when the plane is second electronic equipment
When the second display unit, controls first electronic equipment and second electronic equipment is established and communicated to connect.
The electronic equipment that second electronic equipment will only may be communicated with first electronic equipment, but may
Therebetween communication connection is not set up also, therefore, after determining that the plane is second display unit, first electronics
Equipment can establish the communication connection with second electronic equipment.
In the embodiment of the present invention, the communication connection can be wired connection or wireless connection, it is preferred that the communication link
It connects and can be wireless connection.Such as the wireless connection can be bluetooth connection, WIFI (a kind of wireless interconnection technologies) it is direct-connected,
NFC (Near Field Communication, near field communication (NFC)) connection etc., the invention is not limited in this regard.
Preferably, when the plane is the display unit of second electronic equipment, controlling institute in the embodiment of the present invention
It states the first electronic equipment and second electronic equipment carries out communication task, specifically may is that when the plane is described second
When the display unit of electronic equipment, first electronic equipment is controlled by an information and is transferred to second electronic equipment.
At this point, communication connection may be had been set up between first electronic equipment and second electronic equipment, then
After determining that the plane is second display unit, first electronic equipment can be carried out with second electronic equipment
Communication, i.e., described first electronic equipment can send information to second electronic equipment.
Fig. 2 is referred to, it is a kind of to be than more typical application scenarios for the embodiment of the present invention: first electronic equipment
It is mobile phone or PAD, second electronic equipment is the electronic equipment with large scale display screen, such as second electronic equipment
It can be the PAD with large scale display screen, first electronic equipment can be directly placed at second electronic equipment
On display screen, that is, it is placed on second display unit.In Fig. 2, A indicates first electronic equipment, takes the mobile phone as an example, B
Indicate second display unit, it can be seen that A is placed on B.From figure 2 it can be seen that being shown in first display unit
The content shown and the content shown in second display unit are consistent, but the parameters such as size and resolution ratio may be different
It causes.
After first electronic equipment is placed on second display unit, first electronic equipment can be used
Method in the embodiment of the present invention judges itself whether be placed on second display unit, if it is determined that determination itself is
It is placed on second display unit, then first electronic equipment can complete the communication with second electronic equipment
Task.
For example, can show the display content in first electronic equipment, such user in second display unit
The display content in first electronic equipment can be checked on biggish display screen.For example, it may be possible to there is multiple users will
Check the content shown in first display unit, and the size of first display unit is smaller, multiple users check
When it is more inconvenient.After the method in the embodiment of the present invention, first electronic equipment can be placed on described second and shown
Show on unit, the content that first display unit is shown, users multiple in this way can be shown in second display unit
The content in first display unit can be checked simultaneously, because the size of second display unit is larger, shown
Come may also can be relatively sharp, can satisfy the use demand of multiple users.
Embodiment two
Fig. 3 is referred to, the embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment may include obtaining module
301, judgment module 302 and control module 303.First electricity in the electronic equipment and embodiment one in the present embodiment
Sub- equipment can be same electronic equipment.
Obtaining module 301 can be used for when first electronic equipment is located in a plane, obtains one and includes at least institute
State the image in a part of region of plane.
Judgment module 302 can be used at least one parameter according to described image, judge whether the plane is one
Second display unit of two electronic equipments.
Control module 303 can be used for controlling first electronics when the plane is second display unit and setting
It is standby to carry out communication task with second electronic equipment.
Preferably, obtaining module 301 specifically can be used for: when first electronic equipment is located in the embodiment of the present invention
When in the plane, described image is obtained by the image acquisition units of first electronic equipment.
Preferably, judgment module 302 specifically can be used in the embodiment of the present invention: according to the luminance parameter of described image,
Judge whether the brightness value of the luminance parameter is greater than predetermined luminance value;Wherein, when the brightness value is greater than the predetermined luminance
When value, determine that the plane is the second display unit of second electronic equipment.
Preferably, judgment module 302 specifically can be used in the embodiment of the present invention: according to the color-values of described image, sentencing
Whether the color-values of breaking are consistent with preset color value;Wherein, it when the color-values are consistent with the preset color value, determines
The plane is the second display unit of second electronic equipment.
Preferably, the preset color value is the first display unit of first electronic equipment in the embodiment of the present invention
In color-values possessed by current display content.
Preferably, judgment module 302 specifically can be used in the embodiment of the present invention: according to the content parameters of described image,
Whether the content of the content and pre-set image that determine described image has same section;Wherein, when the content of described image and default
When having same section in image, determine that the plane is the second display unit of second electronic equipment.
Preferably, control module 303 specifically can be used in the embodiment of the present invention: when the plane is second electricity
When the second display unit of sub- equipment, controls first electronic equipment and second electronic equipment is established and communicated to connect.
Preferably, control module 303 specifically can be used in the embodiment of the present invention: when the plane is second electricity
When the display unit of sub- equipment, first electronic equipment is controlled by an information and is transferred to second electronic equipment.
Control method in the embodiment of the present invention can be applied to the first electronic equipment, the method may include: work as institute
When stating the first electronic equipment and being located in a plane, an image for including at least a part of region of the plane is obtained;According to described
At least one parameter of image, judge the plane whether be one second electronic equipment the second display unit;When the plane
When for second display unit, controls first electronic equipment and second electronic equipment carries out communication task.
It, can be by obtaining the figure when first electronic equipment is located in the plane in the embodiment of the present invention
At least one described parameter of picture come judge the plane whether be second electronic equipment second display unit, such as
Plane described in fruit is second display unit, then can control first electronic equipment and second electronic equipment carries out
The communication task, if the plane is not second display unit, can control first electronic equipment not into
Row operation saves first electronic equipment because carrying out so as to avoid first electronic equipment from carrying out invalid operation
Operation and expend electric energy, also, without user come identify first electronic equipment be placed into actually where, described first
Electronic equipment can voluntarily be judged, excessive operation is carried out without user, also just improve operating efficiency accordingly, be improved
User experience.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment
Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application
The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
Specifically, the corresponding computer program instructions of the control method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with the control method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
A kind of control method is applied to the first electronic equipment, the described method comprises the following steps:
When first electronic equipment is located in a plane, a figure for including at least a part of region of the plane is obtained
Picture;
According at least one parameter of described image, judge the plane whether be one second electronic equipment the second display
Unit;
When the plane is second display unit, first electronic equipment and second electronic equipment are controlled
Carry out communication task.
Preferably, obtaining one when first electronic equipment is located in a plane and including at least described plane a part
The image in region, comprising: when first electronic equipment is located in the plane, pass through the image of first electronic equipment
Acquisition unit obtains described image.
Preferably, judging whether the plane is to set with first electronics according at least one parameter of described image
The display unit of standby corresponding second electronic equipment, comprising: according to the luminance parameter of described image, judge the luminance parameter
Whether brightness value is greater than predetermined luminance value;Wherein, when the brightness value is greater than the predetermined luminance value, determine that the plane is
Second display unit of second electronic equipment.
Preferably, judging whether the plane is to set with first electronics according at least one parameter of described image
The display unit of standby corresponding second electronic equipment, comprising: according to the color-values of described image, judge the color-values whether with
Preset color value is consistent;Wherein, when the color-values are consistent with the preset color value, determine that the plane is described second
Second display unit of electronic equipment.
Preferably, the preset color value is display content current in the first display unit of first electronic equipment
Possessed color-values.
Preferably, judging whether the plane is to set with first electronics according at least one parameter of described image
The display unit of standby corresponding second electronic equipment, comprising: according to the content parameters of described image, determine the content of described image
Whether there is same section with the content of pre-set image;Wherein, when having identical portions in the content of described image and pre-set image
Timesharing determines that the plane is the second display unit of second electronic equipment.
Preferably, controlling first electronic equipment when the plane is the display unit of second electronic equipment
Communication task is carried out with second electronic equipment, comprising: when the second display that the plane is second electronic equipment is single
When first, control first electronic equipment and second electronic equipment is established and communicated to connect.
Preferably, controlling first electronic equipment when the plane is the display unit of second electronic equipment
Communication task is carried out with second electronic equipment, comprising: when the plane is the display unit of second electronic equipment,
It controls first electronic equipment and one information is transferred to second electronic equipment.
The above, above embodiments are only described in detail to the technical solution to the application, but the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention, should not be construed as limiting the invention.This
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those skilled in the art, should all cover
Within protection scope of the present invention.
Claims (16)
1. a kind of control method is applied to the first electronic equipment, the described method comprises the following steps:
When first electronic equipment is located in a plane, an image for including at least a part of region of the plane is obtained;
According at least one parameter of described image, judge the plane whether be one second electronic equipment the second display it is single
Member;
When the plane is second display unit, controls first electronic equipment and second electronic equipment carries out
Communication task.
2. the method as described in claim 1, which is characterized in that when first electronic equipment is located in a plane, obtain
One includes at least the image in a part of region of the plane, comprising: when first electronic equipment is located in the plane, leads to
The image acquisition units for crossing first electronic equipment obtain described image.
3. method according to claim 1 or 2, which is characterized in that according at least one parameter of described image, described in judgement
Plane whether be the second electronic equipment corresponding with first electronic equipment display unit, comprising: according to described image
Luminance parameter, judges whether the brightness value of the luminance parameter is greater than predetermined luminance value;Wherein, described in being greater than when the brightness value
When predetermined luminance value, determine that the plane is the second display unit of second electronic equipment.
4. method according to claim 1 or 2, which is characterized in that according at least one parameter of described image, described in judgement
Plane whether be the second electronic equipment corresponding with first electronic equipment display unit, comprising: according to described image
Color-values judge whether the color-values are consistent with preset color value;Wherein, when the color-values and the preset color value one
When cause, determine that the plane is the second display unit of second electronic equipment.
5. method as claimed in claim 4, which is characterized in that the preset color value is the first of first electronic equipment
Color-values possessed by current display content in display unit.
6. method according to claim 1 or 2, which is characterized in that according at least one parameter of described image, described in judgement
Plane whether be the second electronic equipment corresponding with first electronic equipment display unit, comprising: according to described image
Whether the content of content parameters, the content and pre-set image that determine described image has same section;Wherein, when in described image
When holding with same section is had in pre-set image, determine that the plane is the second display unit of second electronic equipment.
7. method according to claim 1 or 2, which is characterized in that when the display that the plane is second electronic equipment
When unit, controls first electronic equipment and second electronic equipment carries out communication task, comprising: when the plane is institute
When stating the second display unit of the second electronic equipment, controls first electronic equipment and communicated with second electronic equipment foundation
Connection.
8. method according to claim 1 or 2, which is characterized in that when the display that the plane is second electronic equipment
When unit, controls first electronic equipment and second electronic equipment carries out communication task, comprising: when the plane is institute
When stating the display unit of the second electronic equipment, an information is transferred to second electronics and set by control first electronic equipment
It is standby.
9. a kind of electronic equipment, comprising:
Module is obtained, includes at least a part of area of the plane for when the first electronic equipment is located in a plane, obtaining one
The image in domain;
Judgment module judges whether the plane is one second electronic equipment at least one parameter according to described image
The second display unit;
Control module, for when the plane is second display unit, controlling first electronic equipment and described the
Two electronic equipments carry out communication task.
10. electronic equipment as claimed in claim 9, which is characterized in that the acquisition module is specifically used for: when first electricity
When sub- equipment is located in the plane, described image is obtained by the image acquisition units of first electronic equipment.
11. the electronic equipment as described in claim 9 or 10, which is characterized in that the judgment module is specifically used for: according to described
The luminance parameter of image, judges whether the brightness value of the luminance parameter is greater than predetermined luminance value;Wherein, when the brightness value is big
When the predetermined luminance value, determine that the plane is the second display unit of second electronic equipment.
12. the electronic equipment as described in claim 9 or 10, which is characterized in that the judgment module is specifically used for: according to described
The color-values of image judge whether the color-values are consistent with preset color value;Wherein, when the color-values and the default color
When coloured silk value is consistent, determine that the plane is the second display unit of second electronic equipment.
13. electronic equipment as claimed in claim 12, which is characterized in that the preset color value is first electronic equipment
The first display unit in color-values possessed by current display content.
14. the electronic equipment as described in claim 9 or 10, which is characterized in that the judgment module is specifically used for: according to described
Whether the content of the content parameters of image, the content and pre-set image that determine described image has same section;Wherein, when the figure
When the content of picture and the interior of pre-set image have same section, the second display that the plane is second electronic equipment is determined
Unit.
15. the electronic equipment as described in claim 9 or 10, which is characterized in that the control module is specifically used for: when described flat
When face is the second display unit of second electronic equipment, controls first electronic equipment and built with second electronic equipment
Vertical communication connection.
16. the electronic equipment as described in claim 9 or 10, which is characterized in that the control module is specifically used for: when described flat
When face is the display unit of second electronic equipment, first electronic equipment is controlled by an information and is transferred to second electricity
Sub- equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410333888.0A CN105334940B (en) | 2014-07-14 | 2014-07-14 | A kind of control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410333888.0A CN105334940B (en) | 2014-07-14 | 2014-07-14 | A kind of control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105334940A CN105334940A (en) | 2016-02-17 |
CN105334940B true CN105334940B (en) | 2019-04-26 |
Family
ID=55285542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410333888.0A Active CN105334940B (en) | 2014-07-14 | 2014-07-14 | A kind of control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105334940B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102778998A (en) * | 2012-03-19 | 2012-11-14 | 联想(北京)有限公司 | Interaction method, device and system |
CN103369714A (en) * | 2013-06-17 | 2013-10-23 | 华为技术有限公司 | Method and device for establishing data connection and terminal equipment |
CN103513906A (en) * | 2012-06-28 | 2014-01-15 | 联想(北京)有限公司 | Order identifying method and device and electronic device |
CN103577361A (en) * | 2012-07-30 | 2014-02-12 | 联想(北京)有限公司 | Data transmission device and electronic equipment |
CN103853363A (en) * | 2012-11-29 | 2014-06-11 | 联想(北京)有限公司 | Tactile feedback method and electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140013100A1 (en) * | 2012-07-05 | 2014-01-09 | Martin M. Menzel | Establish bidirectional wireless communication between electronic devices using visual codes |
-
2014
- 2014-07-14 CN CN201410333888.0A patent/CN105334940B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102778998A (en) * | 2012-03-19 | 2012-11-14 | 联想(北京)有限公司 | Interaction method, device and system |
CN103513906A (en) * | 2012-06-28 | 2014-01-15 | 联想(北京)有限公司 | Order identifying method and device and electronic device |
CN103577361A (en) * | 2012-07-30 | 2014-02-12 | 联想(北京)有限公司 | Data transmission device and electronic equipment |
CN103853363A (en) * | 2012-11-29 | 2014-06-11 | 联想(北京)有限公司 | Tactile feedback method and electronic device |
CN103369714A (en) * | 2013-06-17 | 2013-10-23 | 华为技术有限公司 | Method and device for establishing data connection and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105334940A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220163932A1 (en) | Device control page display method, related apparatus, and system | |
CN110351813A (en) | A kind of information uploading method, terminal and the network equipment | |
CN113497909B (en) | Equipment interaction method and electronic equipment | |
CN106576112A (en) | Peer-to-peer group re-formation | |
CN107634962B (en) | The management method and Related product of network bandwidth | |
CN110022594A (en) | A kind of cell selecting method, terminal and the network equipment | |
US20220103395A1 (en) | Device Control Method and Device | |
CN110121902A (en) | A kind of method and terminal of connection setup | |
CN110035004A (en) | A kind of user's business card sharing method, good friend's adding method and relevant apparatus | |
CN110795179A (en) | Display method and electronic equipment | |
CN103916978A (en) | Wireless connection establishing method and electronic devices | |
EP4247031A1 (en) | Access method and system and electronic device | |
CN110290278A (en) | Data transmission method, device, storage medium and terminal based on bluetooth | |
CN109639569A (en) | A kind of social communication method and terminal | |
CN109814777A (en) | The setting method to show topics and a kind of mobile terminal | |
EP3883299A1 (en) | Method for smart home appliance to access network and related device | |
CN103731562A (en) | Method and device for adaptively matching bluetooth device with smart devices | |
CN106558088B (en) | Method and device for generating GIF file | |
CN109059178A (en) | Control method, device, air conditioner and the computer readable storage medium of air conditioner | |
CN105903191B (en) | The data processing method and system of cross-terminal | |
CN104052801B (en) | A kind of information processing method and electronic equipment | |
CN111654339B (en) | Networking state prompting method and server for sweeping robot | |
CN205647813U (en) | Family's intelligence cinema based on wireless network deployment of wiFi technique | |
CN105334940B (en) | A kind of control method and electronic equipment | |
US11792631B2 (en) | Emergency call method and user terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |