CN104898916A - Positioning method and electronic device - Google Patents

Positioning method and electronic device Download PDF

Info

Publication number
CN104898916A
CN104898916A CN201410081031.4A CN201410081031A CN104898916A CN 104898916 A CN104898916 A CN 104898916A CN 201410081031 A CN201410081031 A CN 201410081031A CN 104898916 A CN104898916 A CN 104898916A
Authority
CN
China
Prior art keywords
electronic equipment
basic code
code region
lines
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.)
Granted
Application number
CN201410081031.4A
Other languages
Chinese (zh)
Other versions
CN104898916B (en
Inventor
杨杰
王天树
张强
付荣耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410081031.4A priority Critical patent/CN104898916B/en
Publication of CN104898916A publication Critical patent/CN104898916A/en
Application granted granted Critical
Publication of CN104898916B publication Critical patent/CN104898916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses a positioning method and an electronic device. The method comprises: displaying a codebook space including N basic code areas when a second electronic device is placed on a display unit, a set of parallel codebook lines being displayed on each basic code area; based on the corresponding relationship between the prestored N basic code areas and the N angle sequences, changing an angle value between the codebook lines in basic code areas and preset datum lines according to K angle values that constitute each angel sequence and the sequence of the K angle values; receiving K images from a second electronic device, calculating angle values of L groups using a basic code area as a unit, and generating L first angle sequences; and determining an area where the second electronic device is placed on a display unit based on L first angle sequences and the corresponding relationship. According to the method and the electronic device provided in the present invention, the technical problem that the electronic device cannot acquire location information of an accessed electronic device in the prior art is solved.

Description

A kind of localization method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of localization method and electronic equipment.
Background technology
Along with the development of science and technology, from strength to strength, user more and more relies on mobile device to mobile device functionality, as used mobile device to take pictures, social, even office etc.But because the size of mobile device display screen is restricted, many times user needs mobile device and large screen equipment to carry out interconnected, completing the sharing of information, browse, the function such as operation.
Nowadays, Near Field Communication) etc. mobile device and large screen equipment can by data line, bluetooth, NFC(near field communication (NFC)s: connected mode realizes interconnected, wherein, the feature that data line is interconnected is that data transmission stability and reliability are high; The interconnected feature of bluetooth is convenient and swift, does not need additional line; The interconnected feature of NFC is the privacy that can ensure to communicate.
But present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical matters:
No matter be by data line, or by bluetooth or NFC interconnected, electronic equipment all cannot know the positional information of the electronic equipment of access.Visible, in prior art there is the technical matters of the positional information cannot knowing access electronic equipment in electronic equipment.
Summary of the invention
The embodiment of the present application, by providing a kind of localization method and electronic equipment, solves the technical matters cannot knowing the positional information of access electronic equipment that electronic equipment of the prior art exists.
On the one hand, the embodiment of the present application provides following technical scheme:
A kind of localization method, be applied in the first electronic equipment, described first electronic equipment has display unit, and described method comprises:
When the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, the first electronic equipment shows a codebook space at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Based on the corresponding relation of the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
Receive described second electronic equipment send K width image, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
According to the code book lines in described K width image, in units of basic code region, calculate L group angle value, and often organize K angle value in angle value according to the time order and function order arrangement gathering described K width image, generate L the first angle sequence;
Based on described L the first angle sequence and described corresponding relation, determine L current basic code region in described N number of basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Optionally, in described first moment, the code book lines controlling described N number of basic code region shows are parallel with described benchmark lines, using as after described first moment, and the Calculation Basis of the angle value of the code book lines shown in each basic code region.
Optionally, before each angle value changed in each basic code region between code book lines and default benchmark lines, also comprise: receive the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
Optionally, after each angle value changed in each basic code region between code book lines and default benchmark lines, also comprise: send the second confirmation signal to described second electronic equipment, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
On the other hand, the embodiment of the present application additionally provides a kind of localization method, is applied in the second electronic equipment, and described second electronic equipment has image acquisition units, and described method comprises:
When described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
By described image acquisition units, divide K time, gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Send described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Optionally, after gathering image by described image acquisition units, also comprise: send the first confirmation signal to described first electronic equipment, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment at every turn; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
Optionally, before gathering image by described image acquisition units, also comprise: receive the second confirmation signal that described first electronic equipment sends at every turn, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
Again on the one hand, the embodiment of the present application also provides a kind of electronic equipment, is specially the first electronic equipment, and described first electronic equipment has display unit, and described electronic equipment also comprises:
First control module, for when the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, controls described display unit and shows a codebook space; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Second control module, for the corresponding relation based on the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
First receiver module, for receiving the K width image that described second electronic equipment sends, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Generation module, for according to the code book lines in described K width image, calculates L group angle value in units of basic code region, and often organizes K angle value in angle value according to the time order and function order arrangement gathering described K width image, generates L the first angle sequence;
Determination module, for based on described L the first angle sequence and described corresponding relation, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Optionally, described first control module also for, in described first moment, the code book lines controlling described N number of basic code region shows are parallel with described benchmark lines, using as after described first moment, the Calculation Basis of the angle value of the code book lines shown in each basic code region.
Optionally, described electronic equipment also comprises: the second receiver module, for receiving the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, can change described angle value to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
Optionally, described electronic equipment also comprises: the first sending module, for sending the second confirmation signal to described second electronic equipment, can gather image to make described second electronic equipment based on described second confirmation signal; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
Again on the one hand, the embodiment of the present application also provides a kind of electronic equipment, is specially the second electronic equipment, and described second electronic equipment has image acquisition units, and described electronic equipment also comprises:
Second sending module, for when described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Acquisition module, for by described image acquisition units, divides K time, and gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
3rd sending module, for sending described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Optionally, described electronic equipment also comprises: the 4th sending module, for sending the first confirmation signal to described first electronic equipment, based on described first confirmation signal, can change described angle value to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
Optionally, described electronic equipment also comprises: the 3rd receiver module, for receiving the second confirmation signal that described first electronic equipment sends, can gather image to make described second electronic equipment based on described second confirmation signal; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
1, the method that the embodiment of the present application provides and electronic equipment, by showing the codebook space that comprises N number of basic code region on the display unit, each basic code region all shows one group of parallel code book lines, and according to the corresponding relation of the N number of basic code region prestored and N number of angle sequence, change the angle value between code book lines and default benchmark lines in each basic code region, the display unit that can collect its region, present position to make the second electronic equipment changes the image of the K width code book lines of display, and send to the first electronic equipment, and then make the first electronic equipment can determine based on K width image and the calculating of described corresponding relation region display unit being placed with the second electronic equipment, thus realize the technique effect that electronic equipment can know the positional information of placement access electronic equipment on the display unit.
2, the method that provides of the embodiment of the present application and electronic equipment, when the second electronic equipment is placed on the display unit, it is all parallel with described benchmark lines that the code book lines that N number of basic code region shows can be first set, code book lines on the piece image of i.e. the second electronic equipment collection to be angle values be 0 code book lines, during to make the angle value of the code book lines on the image of calculating second electronic equipment subsequent acquisition, can calibrate as benchmark using the code book lines in piece image, thus improve the degree of accuracy of the angle value calculated.
3, the method that provides of the embodiment of the present application and electronic equipment, the first confirmation signal that first electronic equipment receives the second electronic equipment transmission is set, and based on described first confirmation signal, change the angle value between code book lines and default benchmark lines in each basic code region; The frequency that can realize image acquisition units collection image is synchronous with the change frequency of code book lines angle value, and anti-leak-stopping is adopted or adopted image more, and then improves the accuracy calculating put area position.
4, the method that provides of the embodiment of the present application and electronic equipment, arranges the second electronic equipment and receives the second confirmation signal that the first electronic equipment sends, and gather image based on described second confirmation signal; The frequency that can realize image acquisition units collection image is synchronous with the change frequency of code book lines angle value, and anti-leak-stopping is adopted or adopted image more, and then improves the accuracy calculating put area position.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of localization method in the embodiment of the present application one;
Fig. 2 is all parallel with the benchmark lines schematic diagram of code book lines of the first moment display in the embodiment of the present application one;
Fig. 3 is the marginal schematic diagram determining in the embodiment of the present application one that basic code is interregional;
Fig. 4 is with the schematic diagram of picture centre myopia estimation basic code Region dividing in the embodiment of the present application one;
Fig. 5 is the schematic diagram showing shortcut icon in the embodiment of the present application one around the second electronic equipment put area;
Fig. 6 is the process flow diagram of localization method in the embodiment of the present application two;
Fig. 7 is the structural drawing of electronic equipment in the embodiment of the present application three;
Fig. 8 is the structural drawing of electronic equipment in the embodiment of the present application four.
Embodiment
The embodiment of the present application, by providing a kind of localization method and electronic equipment, achieves the technique effect that electronic equipment can know the positional information of placement access electronic equipment on the display unit.
In order to solve the technical matters that above-mentioned prior art exists, the general thought of the technical scheme that the embodiment of the present application provides is as follows:
A kind of localization method, be applied in the first electronic equipment, described first electronic equipment has display unit, and described method comprises:
When the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, the first electronic equipment shows a codebook space at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Based on the corresponding relation of the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
Receive described second electronic equipment send K width image, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
According to the code book lines in described K width image, in units of basic code region, calculate L group angle value, and often organize K angle value in angle value according to the time order and function order arrangement gathering described K width image, generate L the first angle sequence;
Based on described L the first angle sequence and described corresponding relation, determine L current basic code region in described N number of basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Can be found out by foregoing, by showing the codebook space that comprises N number of basic code region on the display unit, each basic code region all shows one group of parallel code book lines, and according to the corresponding relation of the N number of basic code region prestored and N number of angle sequence, change the angle value between code book lines and default benchmark lines in each basic code region, the display unit that can collect its region, present position to make the second electronic equipment changes the K width code book string diagram picture of display, and send to the first electronic equipment, and then make the first electronic equipment can determine based on K width image and the calculating of described corresponding relation region display unit being placed with the second electronic equipment, thus realize the technique effect that electronic equipment can know the positional information of placement access electronic equipment on the display unit.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Embodiment one:
In embodiment one, provide a kind of localization method, be applied in the first electronic equipment, described first electronic equipment has display unit, please refer to Fig. 1, and Fig. 1 is the process flow diagram of the localization method of the embodiment of the present application one, and described method comprises:
Step S101, when the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, the first electronic equipment shows a codebook space at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Step S102, based on the corresponding relation of the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
Step S103, receive described second electronic equipment send K width image, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Step S104, according to the code book lines in described K width image, calculates L group angle value in units of basic code region, and often organizes K angle value in angle value according to the time order and function order arrangement gathering described K width image, generates L the first angle sequence;
Step S105, based on described L the first angle sequence and described corresponding relation, determine L current basic code region in described N number of basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
In specific implementation process, described first electronic equipment can be the large-size screen monitors electronic equipments such as all-in-one, desktop game equipment, digital photo frame or intelligent television, and described second electronic equipment can be the mobile electronic device with image acquisition units such as mobile phone, panel computer, MP4, camera.Will not enumerate in the present embodiment.
Concrete, the data communication that described first electronic equipment can realize between the second electronic equipment by multiple mutual contact modes such as data line, bluetooth, NFC, the application does not limit the mutual contact mode between the first electronic equipment and the second electronic equipment.
Below with the second electronic equipment for smart mobile phone, the first electronic equipment is the all-in-one of giant-screen is example, from the angle of man-machine interaction, tentatively illustrates the localization method in the present embodiment.
Such as: when smart mobile phone is placed on large-size screen monitors all-in-one by user a:
First, large-size screen monitors all-in-one performs step S101, at its display screen display one codebook space; Described codebook space comprises multiple basic code region, each basic code region all shows one group of parallel code book lines;
Next, large-size screen monitors all-in-one performs step S102, according to the rule prestored, change the angle value between code book lines and default benchmark lines in each basic code region, to make on each code book region in chronological sequence order, the sequence of the described angle value demonstrated successively is all not identical with the sequence of the described angle value that other code book regions demonstrate successively.
Along with the change of the codebook space on large-size screen monitors all-in-one, the image of the camera of the smart mobile phone in chronological sequence code book lines of acquisition order smart mobile phone put area, and the image of collection is sent to large-size screen monitors all-in-one;
Large-size screen monitors all-in-one performs step S103 and step S104, receives the image that smart mobile phone sends, and calculates the angle value extracting code book lines on image, then according to the angle value that the time order and function order permutation calculation of image acquisition goes out, with raw sequence at angle;
After generation angle sequence, large-size screen monitors all-in-one performs step S105, according to the corresponding relation in the angle sequence prestored and basic code region, determine the current basic code region of answering with described angle sequence pair, the display screen that described current basic code region is large-size screen monitors all-in-one is placed the region of smart mobile phone.
After tentatively understood the localization method that the present embodiment provides by above-mentioned example, the specific implementation step of the method that the embodiment of the present application provides will be introduced in detail below:
First, before execution step S101, the first electronic equipment needs first to determine that the second electronic equipment has been placed on described display unit.
In specific implementation process, as the second electronic equipment and the built vertical communication of the first electronic equipment interconnected, the distance of the second electronic equipment and the first electronic equipment can be detected by the camera of the second electronic equipment, when described distance is less than a threshold value, second electronic equipment sends one and places signal to described first electronic equipment, first electronic equipment, based on the placement signal received, confirms that described second electronic equipment has been placed on the display unit.
Next, after on the display unit confirming the second electronic equipment and be placed on the first electronic equipment, first electronic equipment performs step S101, namely when the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, the first electronic equipment shows a codebook space at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer.
Passing through step S101, after demonstrating codebook space the first quarter, also need to perform step S102, based on the corresponding relation of the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number.
The angle value of the code book lines mentioned in this application all refers to the angle value between code book lines and described benchmark lines.
Specifically, in order to the second electronic equipment placement location on the display unit can be determined accurately, need the basic code region being divided into quantity abundant the codebook space that display unit shows, and in order to allow each basic code region have uniqueness, pre-set the corresponding angle sequence in each basic code region, and all corresponding with all the other the basic code regions angle sequence of angle sequence corresponding to each basic code region is not identical, the corresponding N number of angle sequence in N number of basic code region, each basic code region all changes according to the angle sequence of its correspondence.
In specific implementation process, the conversion step of the angle value of the code book lines of each basic code region display is as follows:
In the first moment, the angle value of the code book lines of each basic code region display is the 1st angle value in angle sequence corresponding to this basic code region;
Next, in the second moment after described first moment, the angle value changing code book lines in each basic code region is the 2nd angle value in angle sequence corresponding to this basic code region;
In the 3rd moment after described second moment, the angle value changing code book lines in each basic code region is the 3rd angle value in angle sequence corresponding to this basic code region;
Change the angle value of code book lines of each basic code region display as stated above, until in the described K moment, the angle value changing code book lines in each basic code region is K angle value in angle sequence corresponding to this region.
Such as: for the arbitrary first basic code region in N number of basic code region, the angle value sequence that the first basic code region is corresponding is 0 degree, 90 degree, 15 degree, 60 degree:
In the first moment, first these lines of group code that described first basic code region demonstrates are 0 degree with the angle value of benchmark lines;
In the second moment after the first moment, changing the code book lines that described first basic code region shows is second these lines of group code, and described second these lines of group code are 90 degree with the angle value of benchmark lines;
In the 3rd moment after the second moment, changing the code book lines that described first basic code region shows is these lines of decode, and described these lines of decode are 15 degree with the angle value of benchmark lines;
In the 4th moment after the 3rd moment, changing the code book lines that described first basic code region shows is the 4th these lines of group code, and described 4th these lines of group code are 30 degree with the angle value of benchmark lines.
In the embodiment of the present application, in order to improve the degree of accuracy of the code book lines angle value that calculated for subsequent demonstrates, as shown in Figure 2, in described first moment, the code book lines controlling described N number of basic code region shows are all parallel with described benchmark lines 201, using as after described first moment, the Calculation Basis of the angle value of the code book lines shown in each basic code region.
Namely no matter the second electronic equipment is positioned over which position on display unit, code book lines on the piece image of described second electronic equipment collection be all with the angle value of benchmark lines be 0 code book lines, during to make the angle value of the code book lines on the image of calculating second electronic equipment subsequent acquisition, can calibrate as benchmark using the code book lines in piece image, thus improve the degree of accuracy of the angle value calculated.
After the angle value changing code book lines in each basic code region according to step S102, continue to perform step S103, namely the K width image that described second electronic equipment sends is received, described K width image is that described image acquisition units is from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number.
In specific implementation process, in order to can according to K width image, determine the second electronic equipment placement location on the display unit accurately, not only needing, each basic code region is set there is unique corresponding angle sequence, and each basic code region all changes according to the angle sequence of its correspondence, also need the frequency of the image acquisition units of guarantee second electronic equipment collection K width image synchronous with the change frequency of code book lines on basic code region, often change once to make the angle of code book lines on basic code region, image acquisition units all can the corresponding image gathering code book lines.
In specific implementation process, ensure that the method that the change of code book lines is synchronous with the collection of the second electronic equipment on basic code region can be, but not limited to following two kinds: the synchronously picture-taken frequency of the change frequency of code book lines and the second electronic equipment, the first electronic equipment and the second electronic equipment real-time, interactive in advance.To be described respectively below:
The first, the synchronous change frequency of code book lines and the picture-taken frequency of the second electronic equipment in advance.
Namely after on the display unit confirming the second electronic equipment and be placed on the first electronic equipment, the change frequency of the code book lines prestored just is sent to the second electronic equipment by the first electronic equipment, to make the second electronic equipment after receiving change frequency, using the frequency that the change frequency of the code book lines received gathers as images themselves.
Such as: the code book lines change frequency that the first electronic equipment is preset be 5 seconds each:
First electronic equipment on the display unit confirming the second electronic equipment and be placed on the first electronic equipment after, in the first moment, send 5 seconds each frequency to the second electronic equipments; And demonstrating codebook space, on described codebook space, the code book lines in basic code region change an angle in every 5 seconds;
Second electronic equipment, according to the information received, carries out image acquisition with 5 seconds each frequencies equally.
The second, the first electronic equipment and the second electronic equipment real-time, interactive.
Namely, before each angle value changed in each basic code region between code book lines and default benchmark lines, also comprise:
Receive the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
After each angle value changed in each basic code region between code book lines and default benchmark lines, also comprise:
Send the second confirmation signal to described second electronic equipment, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
That is, after in each basic code region, the angle value of code book lines changes, the first electronic equipment can send a signal to the second electronic equipment, carries out image acquisition to remind the second electronic equipment; And the second electronic equipment is after having gathered image at every turn, also can send a signal to the first electronic equipment, with the angle value reminding the first electronic equipment to change code book lines in basic code region.
Specifically, the first electronic equipment receives the first confirmation signal that the second electronic equipment sends, and based on described first confirmation signal, changes the angle value between code book lines and default benchmark lines in each basic code region; Second electronic equipment receives the second confirmation signal that the first electronic equipment sends, and gather image based on described second confirmation signal, the frequency that can realize image acquisition units collection image is synchronous with the change frequency of code book lines angle value, put leak-stopping adopt and adopt image more, and then improve the accuracy calculating put area position.
After received K width image by step S103, enter step S104 and S105, namely according to the code book lines in described K width image, L group angle value is calculated in units of basic code region, and K the angle value often organized according to the time order and function order arrangement gathering described K width image in angle value, generate L the first angle sequence; And based on described L the first angle sequence and described corresponding relation, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
In specific implementation process, according to the quantity difference in the basic code region that the first viewing area gathered comprises, the generation method of L the first angle sequence is also different with the defining method in L current basic code region, divide below L equal 1 and L be greater than 1 two kinds of situations, be described respectively:
The first, L equals 1.
When L equals 1, every width image in K width image only shows these lines of group code, and these lines of K group code, extract K the angle value that these lines of K group code are corresponding altogether, and arrange according to the time order and function order of image acquisition, generate 1 the first angle sequence.
In the corresponding relation prestored, find out 1 basic code region of answering with described 1 the first angle sequence pair, and 1 basic code region that setting is determined is current basic code region.
The second, L are greater than 1.
When L is greater than 1, the every width image in K width image shows many these lines of group code.
First, determine on every width image, the position in each basic code region divides.Concrete defining method can be, but not limited to following two kinds: determine the separatrix that basic code is interregional; Approximate estimation is carried out with picture centre.Be introduced respectively below:
A, determine the separatrix that basic code is interregional.
Arranging basic code region is rectangle, and now, one in the separatrix that the benchmark lines preset are often interregional with basic code parallel, vertical with another separatrix.The angle value being arranged on all code book lines that the first moment demonstrated is 0 degree, namely gives tacit consent to code book lines on the piece image that collects at first and in separatrix article parallel, vertical with another in separatrix.
As shown in Figure 3, after the slope determining interregional two the vertical separatrix 301 of basic code, the particular location of separatrix 301 can be determined according to following two principle, one is only have a kind of code book lines 302, two of angle to be that separatrix 301 can not be crossing with code book lines 302 in each basic code region of marking off, separatrix 301.
According to slope and the above-mentioned two principle of the separatrix 301 determined, the particular location of separatrix 301 can be determined, thus determine that the position in each basic code region on K width image divides.
B, carry out approximate estimation with picture centre.
Namely as shown in Figure 4, with the center 401 of image for initial point, arrange a coordinate system, the X-axis 402 of coordinate system is parallel with the benchmark lines preset, and the Y-axis 403 of coordinate system is vertical with X-axis 402.
X-axis 402 and Y-axis 403 are approximately the interregional separatrix of basic code, thus the approximate position division determining each basic code region on K width image.
Next, after determining that the position in each basic code region divides, the angle value of code book lines on each basic code region be calculated.
If the division in basic code region on image, be adopt the method for aforementioned A to confirm, then only in units of each basic code region marked off, L angle value need be extracted from each image, altogether L group angle value.
If the division in basic code region on image, adopt the approximation method of aforementioned B to confirm, the methods such as image matching can be adopted, the code book lines calculating which kind of angle value in each basic code region marked off are maximum, angle value using this angle value as these basic code region code book lines, L angle value is extracted, altogether L group angle value from each image.
Next, after calculating L group angle value, often organize K angle value in angle value according to the time order and function order arrangement gathering described K width image, generate L the first angle sequence;
Finally, in the corresponding relation prestored, find out L the basic code region of answering with described L the first angle sequence pair, and L the basic code region that setting is determined is current basic code region.
In actual application, first electronic equipment is after determining the second electronic equipment current basic code region on the display unit, also on the first area of described display unit, display is used for realizing with described second electronic equipment the shortcut icon that data transmit further, wherein said first area apart from the distance value in described current basic code region within the scope of predeterminable range.As shown in Figure 5, predeterminable range scope is for ensureing that shortcut icon 501 is presented at around the second electronic equipment 502.Concrete, this shortcut icon 501 can comprise following at least one shortcut icon:
Picture receives/sends icon, for sending picture on the first electric equipment in the second electronic equipment, or receives the picture that described second electronic equipment sends;
File reception/transmission icon, for sending file on the first electric equipment to the second electronic equipment, or receives the file that described second electronic equipment sends;
Editor's icon, for editing associated person information in described second electronic equipment or short message information.
On the other hand, based on same inventive concept, the present invention, by another embodiment, provides a kind of information processing method in the second electronic equipment be applied in embodiment one, detailed in Example two.
Embodiment two:
In embodiment two, provide a kind of localization method, be applied in the second electronic equipment, described second electronic equipment has image acquisition units, please refer to Fig. 6, and Fig. 6 is the process flow diagram of the localization method of the embodiment of the present application two, and described method comprises:
Step S601, when described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Step S602, by described image acquisition units, divides K time, and gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Step S603, send described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
In specific implementation process, described first electronic equipment can be the large-size screen monitors electronic equipments such as all-in-one, desktop game equipment, digital photo frame or intelligent television, and described second electronic equipment can be the mobile electronic device with image acquisition units such as mobile phone, panel computer, MP4, camera.Will not enumerate in the present embodiment.
In actual application, in order to the display unit enabling the second electronic equipment photograph the first electronic equipment, pressure transducer can be set on the second electronic equipment, select the camera of camera as image taking the second electronic equipment being experienced ambient pressure side, such as: a certain mobile phone is configured with post-positioned pick-up head and front-facing camera, so when on the display unit that mobile phone is placed on the first electronic equipment, mobile phone passes through pressure transducer, detect that the mobile phone back side receives an ambient pressure, now mobile phone unlatching post-positioned pick-up head carries out image taking, contrary, if detect, the one side that mobile phone is provided with display screen receives an ambient pressure, then open front-facing camera and carry out image taking.
In the present embodiment, after gathering image by described image acquisition units, also comprise at every turn:
Send the first confirmation signal to described first electronic equipment, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
In the present embodiment, before gathering image by described image acquisition units, also comprise at every turn:
Receive the second confirmation signal that described first electronic equipment sends, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
Specifically, the first confirmation signal that the first electronic equipment receives the second electronic equipment transmission is set, and based on described first confirmation signal, changes the angle value between code book lines and default benchmark lines in each basic code region; Second electronic equipment receives the second confirmation signal that the first electronic equipment sends, and gather image based on described second confirmation signal, the frequency that can realize image acquisition units collection image is synchronous with the change frequency of code book lines angle value, anti-leak-stopping is adopted or is adopted image more, and then improves the accuracy calculating put area position.
The localization method provided in the localization method provided in the present embodiment and embodiment one, based on the aspect of two under same inventive concept, detailed description is done to the implementation process of the method that embodiment one provides above, so those skilled in the art can according to the implementation process of the localization method in aforementioned understanding the present embodiment be described clearly, succinct in order to instructions, has just repeated no more at this.
Again on the one hand, based on same design, the present invention provides a kind of electronic equipment corresponding with the method in embodiment one by another embodiment of the application, detailed in Example three.
Embodiment three:
In embodiment three, provide a kind of electronic equipment, be specially the first electronic equipment, described first electronic equipment has display unit, please refer to Fig. 7, and Fig. 7 is the structural drawing of the electronic equipment of the embodiment of the present application three, and described electronic equipment also comprises:
First control module 701, for when the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, controls described display unit and shows a codebook space; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Second control module 702, for the corresponding relation based on the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
First receiver module 703, for receiving the K width image that described second electronic equipment sends, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Generation module 704, for according to the code book lines in described K width image, in units of basic code region, calculate L group angle value, and often organize K angle value in angle value according to the time order and function order arrangement gathering described K width image, generate L the first angle sequence;
Determination module 705, for based on described L the first angle sequence and described corresponding relation, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
In the embodiment of the present application, described first control module 701 also for, in described first moment, the code book lines controlling described N number of basic code region shows are parallel with described benchmark lines, using as after described first moment, the Calculation Basis of the angle value of the code book lines shown in each basic code region.
In the embodiment of the present application, described electronic equipment also comprises:
Second receiver module, for receiving the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, can change described angle value to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
In the embodiment of the present application, described electronic equipment also comprises:
First sending module, for sending the second confirmation signal to described second electronic equipment, can gather image based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
The localization method provided in the electronic equipment provided in the present embodiment and embodiment one, based on the aspect of two under same inventive concept, detailed description is done to the implementation process of method above, so those skilled in the art can according to the structure of the electronic equipment in aforementioned understanding the present embodiment be described clearly and implementation process, succinct in order to instructions, has just repeated no more at this.
Again on the one hand, based on same design, the present invention provides a kind of electronic equipment corresponding with the method in embodiment two by another embodiment of the application, detailed in Example four.
Embodiment four:
In embodiment four, provide a kind of electronic equipment, be specially the second electronic equipment, described second electronic equipment has image acquisition units, please refer to Fig. 8, and Fig. 8 is the structural drawing of the electronic equipment of the embodiment of the present application four, and described electronic equipment also comprises:
Second sending module 801, for when described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Acquisition module 802, for by described image acquisition units, divides K time, and gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
3rd sending module 803, for sending described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
In the embodiment of the present application, described electronic equipment also comprises:
4th sending module, for sending the first confirmation signal to described first electronic equipment, based on described first confirmation signal, can change described angle value to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
In the embodiment of the present application, described electronic equipment also comprises:
3rd receiver module, for receiving the second confirmation signal that described first electronic equipment sends, can gather image based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
The starting method provided in the electronic equipment provided in the present embodiment and embodiment two, based on the aspect of two under same inventive concept, detailed description is done to the implementation process of method above, so those skilled in the art can according to the structure of the electronic equipment in aforementioned understanding the present embodiment be described clearly and implementation process, succinct in order to instructions, has just repeated no more at this.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, the method that the embodiment of the present application provides and electronic equipment, by showing the codebook space that comprises N number of basic code region on the display unit, each basic code region all shows one group of parallel code book lines, and according to the corresponding relation of the N number of basic code region prestored and N number of angle sequence, change the angle value between code book lines and default benchmark lines in each basic code region, the display unit that can collect its region, present position to make the second electronic equipment changes the image of the K width code book lines of display, and send to the first electronic equipment, and then make the first electronic equipment can determine based on K width image and the calculating of described corresponding relation region display unit being placed with the second electronic equipment, thus realize the technique effect that electronic equipment can know the positional information of placement access electronic equipment on the display unit.
2, the method that provides of the embodiment of the present application and electronic equipment, when the second electronic equipment is placed on the display unit, it is all parallel with described benchmark lines that the code book lines that N number of basic code region shows can be first set, code book lines on the piece image of i.e. the second electronic equipment collection to be angle values be 0 code book lines, during to make the angle value of the code book lines on the image of calculating second electronic equipment subsequent acquisition, can calibrate as benchmark using the code book lines in piece image, thus improve the degree of accuracy of the angle value calculated.
3, the method that provides of the embodiment of the present application and electronic equipment, the first confirmation signal that first electronic equipment receives the second electronic equipment transmission is set, and based on described first confirmation signal, change the angle value between code book lines and default benchmark lines in each basic code region; The frequency that can realize image acquisition units collection image is synchronous with the change frequency of code book lines angle value, and anti-leak-stopping is adopted or adopted image more, and then improves the accuracy calculating put area position.
4, the method that provides of the embodiment of the present application and electronic equipment, arranges the second electronic equipment and receives the second confirmation signal that the first electronic equipment sends, and gather image based on described second confirmation signal; The frequency that can realize image acquisition units collection image is synchronous with the change frequency of code book lines angle value, and anti-leak-stopping is adopted or adopted image more, and then improves the accuracy calculating put area position.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that two kinds of information processing methods in the embodiment of the present application are corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk.
For the localization method that embodiment one provides, when the computer program instructions corresponding with described starting method in storage medium is read by an electronic equipment or be performed, comprise the steps:
When the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, the first electronic equipment shows a codebook space at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Based on the corresponding relation of the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
Receive described second electronic equipment send K width image, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
According to the code book lines in described K width image, in units of basic code region, calculate L group angle value, and often organize K angle value in angle value according to the time order and function order arrangement gathering described K width image, generate L the first angle sequence;
Based on described L the first angle sequence and described corresponding relation, determine L current basic code region in described N number of basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Optionally, that store in described storage medium and step: in the first moment, the first electronic equipment shows a codebook space at described display unit, and corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
In described first moment, the code book lines controlling described N number of basic code region shows are parallel with described benchmark lines, using as after described first moment, and the Calculation Basis of the angle value of the code book lines shown in each basic code region.
Optionally, other computer instruction is also stored in described storage medium, these computer instructions are in step: change the angle value between code book lines and default benchmark lines in each basic code region, being performed before corresponding computer instruction is performed, comprising the steps: when being performed
Receive the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
Optionally, other computer instruction is also stored in described storage medium, these computer instructions are in step: change the angle value between code book lines and default benchmark lines in each basic code region, being performed after corresponding computer instruction is performed, comprising the steps: when being performed
Send the second confirmation signal to described second electronic equipment, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
For the localization method that embodiment two provides, when the computer program instructions corresponding with described starting method in storage medium is read by an electronic equipment or be performed, comprise the steps:
When described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
By described image acquisition units, divide K time, gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Send described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
Optionally, in described storage medium, also store other computer instruction, these computer instructions with step: gather image by described image acquisition units, being performed after corresponding computer instruction is performed, comprising the steps: when being performed
Send the first confirmation signal to described first electronic equipment, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
Optionally, in described storage medium, also store other computer instruction, these computer instructions with step: gather image by described image acquisition units, being performed before corresponding computer instruction is performed, comprising the steps: when being performed
Receive the second confirmation signal that described first electronic equipment sends, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. a localization method, is applied in the first electronic equipment, and described first electronic equipment has display unit, and described method comprises:
When the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, the first electronic equipment shows a codebook space at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Based on the corresponding relation of the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
Receive described second electronic equipment send K width image, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
According to the code book lines in described K width image, in units of basic code region, calculate L group angle value, and often organize K angle value in angle value according to the time order and function order arrangement gathering described K width image, generate L the first angle sequence;
Based on described L the first angle sequence and described corresponding relation, determine L current basic code region in described N number of basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
2. the method for claim 1, is characterized in that:
In described first moment, the code book lines controlling described N number of basic code region shows are parallel with described benchmark lines, using as after described first moment, and the Calculation Basis of the angle value of the code book lines shown in each basic code region.
3. the method for claim 1, is characterized in that, before each angle value changed in each basic code region between code book lines and default benchmark lines, also comprises:
Receive the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
4. method as claimed in claim 3, is characterized in that, after each angle value changed in each basic code region between code book lines and default benchmark lines, also comprises:
Send the second confirmation signal to described second electronic equipment, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
5. a localization method, is applied in the second electronic equipment, and described second electronic equipment has image acquisition units, and described method comprises:
When described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
By described image acquisition units, divide K time, gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Send described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
6. method as claimed in claim 5, is characterized in that, after gathering image by described image acquisition units, also comprises at every turn:
Send the first confirmation signal to described first electronic equipment, based on described first confirmation signal, described angle value can be changed to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
7. method as claimed in claim 6, is characterized in that, before gathering image by described image acquisition units, also comprises at every turn:
Receive the second confirmation signal that described first electronic equipment sends, image can be gathered based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
8. an electronic equipment, is specially the first electronic equipment, and described first electronic equipment has display unit, and described electronic equipment also comprises:
First control module, for when the second electronic equipment that has image acquisition units is positioned on described display unit, in the first moment, controls described display unit and shows a codebook space; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Second control module, for the corresponding relation based on the described N number of basic code region prestored and N number of angle sequence, according to K angle value and a described K angle value the putting in order in described angle sequence of each angle sequence of composition, change the angle value between code book lines and default benchmark lines in each basic code region, K is natural number;
First receiver module, for receiving the K width image that described second electronic equipment sends, described K width image be described image acquisition units from described first moment, with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
Generation module, for according to the code book lines in described K width image, calculates L group angle value in units of basic code region, and often organizes K angle value in angle value according to the time order and function order arrangement gathering described K width image, generates L the first angle sequence;
Determination module, for based on described L the first angle sequence and described corresponding relation, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
9. electronic equipment as claimed in claim 8, it is characterized in that, described first control module also for, in described first moment, the code book lines controlling described N number of basic code region shows are parallel with described benchmark lines, using as after described first moment, the Calculation Basis of the angle value of the code book lines shown in each basic code region.
10. electronic equipment as claimed in claim 8, it is characterized in that, described electronic equipment also comprises:
Second receiver module, for receiving the first confirmation signal that described second electronic equipment sends, based on described first confirmation signal, can change described angle value to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
11. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises:
First sending module, for sending the second confirmation signal to described second electronic equipment, can gather image based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
12. 1 kinds of electronic equipments, are specially the second electronic equipment, and described second electronic equipment has image acquisition units, and described electronic equipment also comprises:
Second sending module, for when described second electronic equipment is positioned on the display unit of the first electronic equipment, send one for determining that the Location Request of the put area of described second electronic equipment on described display unit is to described first electronic equipment, shows a codebook space to make described first electronic equipment at described display unit; Described codebook space comprises N number of basic code region, each basic code region all shows one group of parallel code book lines, N be greater than 1 positive integer;
Acquisition module, for by described image acquisition units, divides K time, and gather K width image altogether, described K width image is with the first viewing area of described display unit for acquisition target, the in chronological sequence image of acquisition order; Show L basic code region in described first viewing area, L is natural number;
3rd sending module, for sending described K width image to described first electronic equipment, to make described first electronic equipment can based on the code book lines in described K width image, in described N number of basic code region, determine L current basic code region, described L current basic code region is the region described display unit being placed with described second electronic equipment.
13. electronic equipments as claimed in claim 12, it is characterized in that, described electronic equipment also comprises:
4th sending module, for sending the first confirmation signal to described first electronic equipment, based on described first confirmation signal, can change described angle value to make described first electronic equipment; Wherein, described first confirmation signal is for representing that described image acquisition units has collected the code book lines of current display on described first viewing area.
14. electronic equipments as claimed in claim 13, it is characterized in that, described electronic equipment also comprises:
3rd receiver module, for receiving the second confirmation signal that described first electronic equipment sends, can gather image based on described second confirmation signal to make described second electronic equipment; Wherein, described second confirmation signal is for representing that the angle value in described each basic code region between code book lines and default benchmark lines changes.
CN201410081031.4A 2014-03-06 2014-03-06 A kind of localization method and electronic equipment Active CN104898916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410081031.4A CN104898916B (en) 2014-03-06 2014-03-06 A kind of localization method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410081031.4A CN104898916B (en) 2014-03-06 2014-03-06 A kind of localization method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104898916A true CN104898916A (en) 2015-09-09
CN104898916B CN104898916B (en) 2018-11-13

Family

ID=54031606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410081031.4A Active CN104898916B (en) 2014-03-06 2014-03-06 A kind of localization method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104898916B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190818A1 (en) * 2005-02-18 2006-08-24 Microsoft Corporation Embedded interaction code document
CN102289304A (en) * 2011-08-17 2011-12-21 Tcl集团股份有限公司 Method and system for realizing mouse movement simulation of remote controller as well as remote controller
CN103139702A (en) * 2011-11-29 2013-06-05 联想(北京)有限公司 Equipment identification method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190818A1 (en) * 2005-02-18 2006-08-24 Microsoft Corporation Embedded interaction code document
CN102289304A (en) * 2011-08-17 2011-12-21 Tcl集团股份有限公司 Method and system for realizing mouse movement simulation of remote controller as well as remote controller
CN103139702A (en) * 2011-11-29 2013-06-05 联想(北京)有限公司 Equipment identification method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GUOFENG TONG,JIUHONG GU: "Locating Objects in Spherical Panoramic Images", 《PROCEEDINGS OF THE 2011 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND BIOMIMETICS》 *
周乐: "二维条码图像定位及识别", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN104898916B (en) 2018-11-13

Similar Documents

Publication Publication Date Title
US9300882B2 (en) Device and method for panoramic image processing
US10331342B2 (en) Mobile terminal and control method therefor
US10969949B2 (en) Information display device, information display method and information display program
US9589321B2 (en) Systems and methods for animating a view of a composite image
EP3097690B1 (en) Multi-view display control
CN105338238A (en) Photographing method and electronic device
KR20130081068A (en) Method and apparatus for implementing multi-vision system using multiple portable terminals
EP3304874B1 (en) Mobile terminal and method of controlling therefor
CN103546453A (en) Cross-device multimedia playing method and device
CN103513951A (en) Apparatus and method for providing augmented reality information using three dimension map
CN102447861A (en) Electronic apparatus and method for displaying graphical user interface as 3d image
KR20150097987A (en) Electronic device and method for processing image
CN105335070A (en) Information processing method and electronic device
CN106598250A (en) VR display method and apparatus, and electronic device
CN104516697A (en) Information processing method and electronic device
CN103686280A (en) Method, device and system for adjusting size of application page
GB2525902A (en) Mobile device data transfer using location information
CN103713822A (en) Information processing method and first electronic equipment
JP2014222374A (en) Planogram information generation device, planogram information generation method, program, planogram reproduction system and planogram reproduction device
CN103000161B (en) A kind of method for displaying image, device and a kind of intelligent hand-held terminal
CN104020854A (en) Information processing method and device
CN104952058A (en) Information processing method and electronic equipment
CN103914252A (en) Mobile Device System Providing Hybrid Widget And Associated Control
CN105306562A (en) Information processing method and electronic device
US9338578B2 (en) Localization control method of sound for portable device and portable device thereof

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