CN104869137B - A kind of method and electronic equipment for transmitting data - Google Patents

A kind of method and electronic equipment for transmitting data Download PDF

Info

Publication number
CN104869137B
CN104869137B CN201410063244.4A CN201410063244A CN104869137B CN 104869137 B CN104869137 B CN 104869137B CN 201410063244 A CN201410063244 A CN 201410063244A CN 104869137 B CN104869137 B CN 104869137B
Authority
CN
China
Prior art keywords
electronic equipment
unit
data
operational order
receiving unit
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
Application number
CN201410063244.4A
Other languages
Chinese (zh)
Other versions
CN104869137A (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 CN201410063244.4A priority Critical patent/CN104869137B/en
Publication of CN104869137A publication Critical patent/CN104869137A/en
Application granted granted Critical
Publication of CN104869137B publication Critical patent/CN104869137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The present invention discloses a kind of method and electronic equipment for transmitting data.The method is applied to the first electronic equipment with light receiving unit, which comprises receives optical signal by the light receiving unit;Based on the optical signal, the first operational order comprising first identifier is obtained;Whether judgement receives the second operational order within a preset time, obtains the first judging result;Second operational order and the first identifier have corresponding relationship;When first judging result, which is, is, the data of first electronic equipment are transmitted to the second electronic equipment.Using method or electronic equipment of the invention, the operation of transmission data can simplify, improve the efficiency of transmission data.

Description

A kind of method and electronic equipment for transmitting data
Technical field
The present invention relates to the communications fields, more particularly to a kind of method and electronic equipment for transmitting data.
Background technique
The electronic equipments such as smart phone, tablet computer are very universal in daily life.
In the prior art, user is when using smart phone to another electronic equipment file, it is often necessary to pass through Third party software is very complicated as intermediary.It is directly wireless by bluetooth or Wi-Fi etc. even if not using third party software Mode carries out data transmission, it is also desirable to which user is configured respectively on two electronic equipments, such as determines file institute to be transmitted Path, input path where file to be transmitted etc. in the window for sending file.
To sum up, in the prior art, for the data transmission method between electronic equipment, operating comparatively laborious, reduction The efficiency of transmission data.
Summary of the invention
The object of the present invention is to provide a kind of methods and electronic equipment for transmitting data, can simplify the behaviour of transmission data Make, improves the efficiency of transmission data.
To achieve the above object, the present invention provides following schemes:
A method of transmission data, the method are applied to the first electronic equipment with light receiving unit, the side Method includes:
Optical signal is received by the light receiving unit;
Based on the optical signal, the first operational order comprising first identifier is obtained;
Whether judgement receives the second operational order within a preset time, obtains the first judging result;Second operation Instruction has corresponding relationship with the first identifier;
When first judging result, which is, is, the data of first electronic equipment are transmitted to the second electronic equipment.
Optionally, whether the judgement receives the second operational order within a preset time, specifically includes:
Whether judgement receives the second operational order of server transmission within a preset time;
Second operational order is touched after the server receives the third operational order that the second electronic equipment is sent Hair, the third operational order includes the first identifier.
Optionally, whether the judgement receives the second operational order within a preset time, specifically includes:
Whether judgement receives the second operational order of the second electronic equipment transmission within a preset time.
Optionally, first operational order of the acquisition comprising first identifier includes:
The operating body identification information for including in the optical signal is obtained as the first identifier;
Motion information based on the operating body generates the first operational order.
Optionally, the data by the first electronic equipment are transmitted to second electronic equipment, comprising:
Obtain the image data that the display unit of first electronic equipment is shown;
Described image data are transmitted to second electronic equipment, so that second electronic equipment shows described image Data.
Optionally, the data by the first electronic equipment are transmitted to second electronic equipment, comprising:
Obtain the data of first electronic equipment;
The data are sent to the server, are transmitted to second electronics will pass through the server for described Equipment makes second electronic equipment show the data.
Optionally, the light receiving unit is non-visible light receiving unit.
A method of transmission data, the method are applied to the first electronic equipment with light receiving unit, the side Method includes:
First electronic equipment obtains the characteristic information of the second electronic equipment by the light receiving unit;
The connection with second electronic equipment is established according to the characteristic information;
The data of first electronic equipment are transmitted to second electronic equipment by the connection.
Optionally, second electronic equipment have light emitting unit, it is described obtain the second electronic equipment characteristic information, Include:
First electronic equipment receives the optical signal that the light emitting unit issues by the light receiving unit, determines The image feature information for including in the optical signal emitted on second electronic equipment.
Optionally, the connection established according to the characteristic information with second electronic equipment, comprising:
The device identification of second electronic equipment is searched according to described image characteristic information;
The connection with second electronic equipment is established according to the device identification.
Optionally, the data by the first electronic equipment are transmitted to second electronic equipment, comprising:
Obtain the image data that the display unit of first electronic equipment is shown;
Described image data are transmitted to second electronic equipment, so that second electronic equipment shows described image Data.
Optionally, the light receiving unit is non-visible light receiving unit.
A kind of electronic equipment, the electronic equipment are the first electronic equipment with light receiving unit, the electronic equipment Include:
Optical signal acquiring unit, the optical signal received for obtaining the light receiving unit;
First operation instruction obtaining unit obtains the first operation comprising first identifier and refers to for being based on the optical signal It enables;
First judging unit obtains the first judgement for judging whether receive the second operational order within a preset time As a result;Second operational order and the first identifier have corresponding relationship;
Transmission unit, for when first judging result, which is, is, the data of first electronic equipment to be transmitted to Second electronic equipment.
Optionally, first judging unit, specifically includes:
First judgment sub-unit, for judging that the second operation for whether receiving server transmission within a preset time refers to It enables;
Second operational order is touched after the server receives the third operational order that the second electronic equipment is sent Hair, the third operational order includes the first identifier.
Optionally, first judging unit, specifically includes:
Second judgment sub-unit, the second behaviour for judging whether to receive the transmission of the second electronic equipment within a preset time It instructs.
Optionally, first operation instruction obtaining unit includes:
First identifier obtains subelement, for obtaining the operating body identification information for including in the optical signal as described the One mark;
First operational order generates subelement, generates the first operational order for the motion information based on the operating body.
Optionally, the transmission unit, comprising:
Image data acquisition subelement, the image data that the display unit for obtaining first electronic equipment is shown;
Image data transmission subelement, for described image data to be transmitted to second electronic equipment, so as to described Second electronic equipment shows described image data.
Optionally, the transmission unit, comprising:
Data acquisition subelement, for obtaining the data of first electronic equipment;
Data transmission unit, for the data to be sent to the server, will pass through the server for institute It states and is transmitted to second electronic equipment, second electronic equipment is made to show the data.
Optionally, the light receiving unit is non-visible light receiving unit.
A kind of electronic equipment, the electronic equipment are the first electronic equipment with light receiving unit, the electronic equipment Include:
Characteristic acquisition unit, for obtaining the characteristic information of the second electronic equipment by the light receiving unit;
Connection establishment unit, for establishing the connection with second electronic equipment according to the characteristic information;
Transmission unit is set for the data of first electronic equipment to be transmitted to second electronics by the connection It is standby.
Optionally, second electronic equipment has light emitting unit, the characteristic acquisition unit, comprising:
Optical signal obtains subelement, the light issued for obtaining the light emitting unit that the light receiving unit receives Signal;
Image feature information determines subelement, includes for determining in the optical signal emitted on second electronic equipment Image feature information.
Optionally, the connection establishment unit, comprising:
Subelement, the equipment for searching second electronic equipment according to described image characteristic information are searched in device identification Mark;
Subelement is established in connection, for establishing the connection with second electronic equipment according to the device identification.
Optionally, the transmission unit, comprising:
Image data acquisition subelement, the image data that the display unit for obtaining first electronic equipment is shown;
Image data transmission subelement, for described image data to be transmitted to second electronic equipment, so as to described Second electronic equipment shows described image data.
Optionally, the light receiving unit is non-visible light receiving unit.
The specific embodiment provided according to the present invention, the invention discloses following technical effects:
The method and electronic equipment of transmission data of the invention, by receiving optical signal;Based on the optical signal, packet is obtained The first operational order containing first identifier;There is corresponding relationship with the first identifier when whether receiving within a preset time When the second operational order, the data of first electronic equipment are transmitted to the second electronic equipment, can simplify in electronic equipment Between transmit data operation, improve transmission data efficiency.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart of the embodiment of the method 1 of transmission data of the invention;
Fig. 2 is the flow chart of the embodiment of the method 2 of transmission data of the invention;
Fig. 3 is the flow chart of the embodiment of the method 1 of another transmission data of the invention;
Fig. 4 is the flow chart of the embodiment of the method 2 of another transmission data of the invention;
Fig. 5 is the structure chart of electronic equipment embodiment of the invention;
Fig. 6 is the structure chart of another electronic equipment embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
The method of transmission data of the invention, applied to the electronic equipment with light receiving unit.The light receiving unit It can be the non-visible light receiving unit for receiving non-visible light, be also possible to receive the visible light receiving unit of visible light.Work as institute State light receiving unit be non-visible light receiving unit when, the non-visible light received can be and be sent out by non-visible light transmitting unit Out, or can be by non-visible light transmitting unit issue after using other objects reflection.The non-visible light transmitting Unit can be infrared light (infra-red, IR) transmitting unit of transmitting infrared light.The non-visible light transmitting unit can be with Electromagnetic wave of the launch wavelength except the wave-length coverage of visible light.The non-visible light receiving unit can sense wavelength can Electromagnetic wave except light-exposed wave-length coverage.The non-visible light that the non-visible light receiving unit can sense, and it is described non- The non-visible light that VISIBLE LIGHT EMISSION unit can emit, matches.The i.e. described non-visible light receiving unit can sense, Wavelength non-visible light identical with the wavelength of non-visible light of the non-visible light emitting units emitting.
The electronic equipment can be the equipment such as mobile phone, tablet computer.Touch-control is also equipped on the electronic equipment Input unit.Or the electronic equipment can be the electronic equipment for being equipped with touching display screen.
In the present invention, for ease of description, the electronic equipment is properly termed as the first electronic equipment, so as to second electricity Sub- equipment distinguishes.
Fig. 1 is the flow chart of the embodiment of the method 1 of transmission data of the invention.As shown in Figure 1, this method may include:
Step 101: optical signal is received by the light receiving unit;
The optical signal can be by the object sending near the light receiving unit, be also possible to by the light-receiving What the object near unit reflected.When the optical signal is reflected by object, object reflection is also possible to the The optical signal that the light emitting unit of one electronic equipment issues.
For example, the screen of first electronic equipment can issue optical signal.The light that the screen of first electronic equipment issues Signal encounters object, can produce reflection, and reflected optical signal can be received by the light receiving unit.
In another example the infrared light emission of transmitting infrared light can be set below the screen of first electronic equipment Unit.The infrared light that infrared light transmitter elements issue encounters object, also can produce reflection, reflected infrared signal, It can be received by the light receiving unit.
When the light emitting unit is non-visible light transmitting unit, the non-visible light transmitting unit be can be set in institute Below the screen for stating the first electronic equipment.The non-visible light transmitting unit is in the open state in first electronic equipment When, it can continue or periodical launch non-visible light.
Step 102: being based on the optical signal, obtain the first operational order comprising first identifier;
Since the shape of different objects and the texture on surface are not quite similar, so the object is for the light Reflecting effect it is also not identical.Therefore, it in the optical signal of object reflection, can wrap containing the first mark corresponding with the object Know.
For example, the light receiving unit can receive the light reflected by finger when the object is the finger of user Signal.According to the optical signal, it may recognize that the characteristic informations such as the fingerprint of the finger.The first identifier can be institute State fingerprint.
First operational order is that the first operation based on the operating body input with the first identifier generates.Example Such as, user can execute slip gesture on the screen of first electronic equipment using finger.First electronic equipment can lead to The motion information that light receiving unit gets user's finger is crossed, identifies the slip gesture, and accordingly generates the first operational order. Alternatively, the first electronic equipment can also get the first operation of operating body input by touch-control input unit.
Light receiving unit on first electronic equipment is also possible to the light-receiving square for having multiple light-receiving subelements to be arranged to Battle array.Each light-receiving subelement can have different position coordinates.When operating body moves on light-receiving matrix, light-receiving Matrix can determine the motion profile of operating body, and then identify operation according to the position coordinates of each light-receiving subelement First operation of body input.
Step 103: whether judgement receives the second operational order within a preset time, obtains the first judging result;It is described Second operational order and the first identifier have corresponding relationship;
The preset time can be 1 minute, and half a minute etc. can specifically be set according to practical application scene.
Second operational order can be by other electronic equipment sending, such as issued by other mobile phone, It is also possible to by the server sending of network side.
When second operational order is issued by other electronic equipment, specifically may is that
User is inputted on the first electronic equipment after the first operation, within a preset time, defeated on the second electronic equipment Enter other operation;After second electronic equipment detects the operation of user, can to execute the operation operating body mark believe Breath is identified;Operation is executed when the operating body for judging to execute operation on the second electronic equipment and on the first electronic equipment Operating body when being the operating body with same identification information, the second electronic equipment can send the second behaviour to the first electronic equipment It instructs.
When second operational order is issued by the server of network side, specifically may is that
User is inputted on the first electronic equipment after the first operation, within a preset time, defeated on the second electronic equipment Enter other operation;After second electronic equipment detects the operation of user, the mark letter of the operating body of the operation can will be executed Breath is sent to the server of network side;The server can identify the identification information for the operating body for executing the operation; When judging that the operating body for executing operation on the second electronic equipment is with the operating body for executing operation on the first electronic equipment When operating body with same identification information, the server can send the second operational order to the first electronic equipment.
Step 104: when first judging result, which is, is, the data of first electronic equipment being transmitted to described the Two electronic equipments.
The data can be various types of data.For example, the data can be the screen of first electronic equipment The image data shown on curtain.When first judging result, which is, is, described image data can be sent to described second Electronic equipment, so that showing the image for showing or showing on first electronic equipment on second electronic equipment Data.It, can be with when first judging result, which is, is specifically, when showing a photos on first electronic equipment The photo is sent to second electronic equipment, and is shown on the screen of second electronic equipment.
In conclusion in the present embodiment, by receiving optical signal;Based on the optical signal, obtain comprising first identifier First operational order;When whether receive within a preset time with the first identifier have corresponding relationship the second operational order When, the data of first electronic equipment are transmitted to the second electronic equipment, can simplify and transmit data between electronic devices Operation, improve transmission data efficiency.
Fig. 2 is the flow chart of the embodiment of the method 2 of transmission data of the invention.As shown in Fig. 2, this method may include:
Step 201: non-visible light signal is received by non-visible light receiving unit;
Step 202: being based on the non-visible light signal, obtain the user's palm print information for including in the non-visible light signal As the first identifier;
Because the palm print information of user can carry out unique identification to the palm of user, it is possible to using the palmmprint of user Information is as the first identifier.
Step 203: the motion information based on operating body generates the first operational order.
The motion information of the operating body can be to be slided from top to bottom on the screen of the first electronic equipment, or certainly left Sliding etc. to the right.
Step 204: whether judgement receives the second operational order of server transmission within a preset time, obtains first and sentences Disconnected result;Second operational order is triggered after the server receives the third operational order that the second electronic equipment is sent , the third operational order includes the first identifier.
Assuming that preset time is 1 minute, so that it may judge generating 1 minute after the first operational order in, if receive To the second operational order.
Step 205: when first judging result, which is, is, obtaining the data of first electronic equipment;
The data that the data can specify type are also possible to the data that specific bit is set.Such as, it is possible to specify obtain the The image data shown on one electronic equipment current screen;Also it can specify the text on the current screen for obtaining the first electronic equipment Number of packages evidence, for example, can show some file on screen on first electronic equipment, user can pass through the first operation Choose this document.Also the data for obtaining the designated storage location storage of the first electronic equipment be can specify, such as, it is possible to specify hand The data of some file in storage card on machine, obtain the data.
Step 206: the data are sent to the server, it will be described in described be transmitted to will pass through the server Second electronic equipment makes second electronic equipment show the data
The data can be cached first to the server, when the second electronic equipment has the ability to obtain the data, by The data are transmitted to the second electronic equipment by server.Wherein, second electronic equipment, can be mobile phone, tablet computer Or the equipment such as desktop computer.
In the present embodiment, using non-visible light acquiring unit as light receiving unit, it can emit to avoid operating body itself Visible light or operating body reflection external environment visible light for light receiving unit receive optical signal process shadow It rings, improves signal and receive accuracy.
Fig. 3 is the flow chart of the embodiment of the method 1 of another transmission data of the invention.As shown in figure 3, this method can be with Include:
Step 301: first electronic equipment obtains the characteristic information of the second electronic equipment by the light receiving unit;
First electronic equipment can be the electronic equipments such as mobile phone, tablet computer.Second electronic equipment can also be with It is the electronic equipments such as mobile phone, tablet computer.
Second electronic equipment can show certain specific image on the screen of itself, using the image as described in Characteristic information.Described image can be to be formed by visible light, is also possible to be formed by non-visible light.Described image can be The mark such as bar code or two dimensional code, is also possible to the characteristic image of other forms.
First electronic equipment can get the second electronics by the light receiving unit being arranged on the first electronic equipment and set Standby characteristic information.
Step 302: the connection with second electronic equipment is established according to the characteristic information;
After first electronic equipment gets the characteristic information, the characteristic information that can be stored in the server of network side It is searched with the mapping table of the address of electronic equipment.The address of the corresponding electronic equipment of the characteristic information is searched, The address of i.e. described second electronic equipment.Then according to the address of the second electronic equipment, connection is established with the second electronic equipment.
Step 303: the data of first electronic equipment are transmitted to by second electronic equipment by the connection.
The data can be various types of data.For example, the data can be the screen of first electronic equipment The image data shown on curtain.
It establishes after connection, described image data can be sent to second electronics and set by first electronic equipment It is standby, so that showing the image data for showing or showing on first electronic equipment on second electronic equipment. Specifically, after establishing connection, the photo can be sent to institute when showing a photos on first electronic equipment The second electronic equipment is stated, and is shown on the screen of second electronic equipment.
The data that the data can specify type are also possible to the data that specific bit is set.Such as, it is possible to specify transmission the The image data shown on one electronic equipment current screen;Also it can specify the upper file data of the first electronic equipment of transmission, For example, can show some file on screen on first electronic equipment, user can choose this by the first operation Then file transmits this file to second electronic equipment by the connection.Also it can specify the first electronics of transmission to set The data of standby designated storage location storage, such as, it is possible to specify the data of some file in the storage card on mobile phone, to this Data are transmitted.
In conclusion light receiving unit obtains the characteristic information of the second electronic equipment in the present embodiment;According to the feature Information establishes the connection with second electronic equipment;The data of first electronic equipment are transmitted to institute by the connection State the second electronic equipment;It can simplify the operation of transmission data, improve the efficiency of transmission data.
Fig. 4 is the flow chart of the embodiment of the method 2 of another transmission data of the invention.As shown in figure 4, this method can be with Include:
Step 401: the second electronic equipment with non-visible light transmitting unit emits non-visible light signal;
The non-visible light transmitting unit can be set below the screen of second electronic equipment.
Step 402: the first electronic equipment obtains the non-visible light signal by non-visible light receiving unit;
The non-visible light receiving unit can be set below the screen of first electronic equipment.User can operate The screen of second electronic equipment buckles above the screen of first electronic equipment, enables the first electronic equipment obtain with this The non-visible light signal.
Step 403: determining the image feature information for including in the non-visible light signal emitted on second electronic equipment;
The non-visible light of the non-visible light emitting units emitting of second electronic equipment, may be constructed specific pattern. For example, constituting round, triangle etc.;Also specific texture, such as dot matrix, oblique line texture or rectangle square matrix be may be constructed Etc., specific letter or number can also be constituted.The non-visible light emitted on each second electronic equipment is constituted specific Pattern can be different.These patterns can be used as the image feature information of the second electronic equipment.
Step 404: the device identification of second electronic equipment is searched according to described image characteristic information;
The device identification of described image characteristic information and electronic equipment has mapping relations, and the mapping relations can store In the first electronic equipment, also it can store in the server of network side.
After first electronic equipment gets described image characteristic information, the corresponding electricity of described image characteristic information can be searched The device identification of sub- equipment.The address of second electronic equipment can be determined according to the device identification.Then according to second The address of electronic equipment can establish connection with the second electronic equipment.
Step 405: the connection with second electronic equipment is established according to the device identification;
Step 406: obtaining the image data that the display unit of first electronic equipment is shown;
Step 407: described image data being transmitted to second electronic equipment, so that second electronic equipment is shown Described image data.
Described image data can be picture and be also possible to video file.One concrete application scene of the present embodiment can be with It is that the screen of A mobile phone is buckled the screen top for being placed on B mobile phone by user, A mobile phone obtains the non-visible light signal of B handset emissions, from Characteristic information is extracted in the non-visible light signal, searches the IP address of the corresponding B mobile phone of this feature information, A mobile phone is according to this IP address establishes the connection with B mobile phone, and after connection is established, the image datas such as the picture of the display of itself are sent to B by A mobile phone On mobile phone.
In the present embodiment, using non-visible light acquiring unit as light receiving unit, can to avoid operating body itself (such as The screen of second electronic equipment) transmitting visible light or operating body reflection external environment visible light for light-receiving list Member receives the influence of the process of optical signal, improves signal and receives accuracy.
The invention also discloses a kind of electronic equipment.The electronic equipment can be mobile phone, tablet computer etc..The electricity Sub- equipment is the first electronic equipment with light receiving unit.
Fig. 5 is the structure chart of electronic equipment embodiment of the invention.As shown in figure 5, the electronic equipment may include:
Optical signal acquiring unit 501, the optical signal received for obtaining the light receiving unit;
First operation instruction obtaining unit 502 obtains the first operation comprising first identifier for being based on the optical signal Instruction;
First judging unit 503 obtains first and sentences for judging whether receive the second operational order within a preset time Disconnected result;Second operational order and the first identifier have corresponding relationship;
Transmission unit 504, for when first judging result, which is, is, the data of first electronic equipment to be transmitted To the second electronic equipment.
In the present embodiment, by receiving optical signal;Based on the optical signal, obtains the first operation comprising first identifier and refer to It enables;It, will be described when whether receiving the second operational order that there is corresponding relationship with the first identifier within a preset time The data of first electronic equipment are transmitted to the second electronic equipment, can simplify the operation of transmission data, improve the effect of transmission data Rate.
In practical application, first judging unit 503 is specifically included:
First judgment sub-unit, for judging that the second operation for whether receiving server transmission within a preset time refers to It enables;
Second operational order is touched after the server receives the third operational order that the second electronic equipment is sent Hair, the third operational order includes the first identifier.
In practical application, first judging unit 503 is specifically included:
Second judgment sub-unit, the second behaviour for judging whether to receive the transmission of the second electronic equipment within a preset time It instructs.
In practical application, first operation instruction obtaining unit 502 includes:
First identifier obtains subelement, for obtaining the operating body identification information for including in the optical signal as described the One mark;
First operational order generates subelement, generates the first operational order for the motion information based on the operating body.
In practical application, the transmission unit 504, comprising:
Image data acquisition subelement, the image data that the display unit for obtaining first electronic equipment is shown;
Image data transmission subelement, for described image data to be transmitted to second electronic equipment, so as to described Second electronic equipment shows described image data.
In practical application, the transmission unit 504, comprising:
Data acquisition subelement, for obtaining the data of first electronic equipment;
Data transmission unit, for the data to be sent to the server, will pass through the server for institute It states and is transmitted to second electronic equipment, second electronic equipment is made to show the data.
In practical application, the light receiving unit can be non-visible light receiving unit.
The invention also discloses another electronic equipments.The electronic equipment can be mobile phone, tablet computer etc..It is described Electronic equipment is the first electronic equipment with light receiving unit.
Fig. 6 is the structure chart of another electronic equipment embodiment of the invention.As shown in fig. 6, the electronic equipment can wrap It includes:
Characteristic acquisition unit 601, for obtaining the characteristic information of the second electronic equipment by the light receiving unit;
Connection establishment unit 602, for establishing the connection with second electronic equipment according to the characteristic information;
Transmission unit 603, for the data of first electronic equipment to be transmitted to second electricity by the connection Sub- equipment.
In the present embodiment, light receiving unit obtains the characteristic information of the second electronic equipment;It is established according to the characteristic information With the connection of second electronic equipment;The data of first electronic equipment are transmitted to second electricity by the connection Sub- equipment;It can simplify the operation of transmission data, improve the efficiency of transmission data.
In practical application, second electronic equipment has light emitting unit, the characteristic acquisition unit 601, packet It includes:
Optical signal obtains subelement, the light issued for obtaining the light emitting unit that the light receiving unit receives Signal;
Image feature information determines subelement, includes for determining in the optical signal emitted on second electronic equipment Image feature information.
In practical application, the connection establishment unit 602, comprising:
Subelement, the equipment for searching second electronic equipment according to described image characteristic information are searched in device identification Mark;
Subelement is established in connection, for establishing the connection with second electronic equipment according to the device identification.
In practical application, the transmission unit 603, comprising:
Image data acquisition subelement, the image data that the display unit for obtaining first electronic equipment is shown;
Image data transmission subelement, for described image data to be transmitted to second electronic equipment, so as to described Second electronic equipment shows described image data.
In practical application, the light receiving unit can be non-visible light receiving unit.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Based on this understanding, technical solution of the present invention contributes to background technique whole or Person part can be embodied in the form of software products, which can store in storage medium, such as ROM/RAM, magnetic disk, CD etc., including some instructions are used so that a computer equipment (can be personal computer, service Device or the network equipment etc.) execute method described in certain parts of each embodiment of the present invention or embodiment.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For electronics disclosed in embodiment For equipment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method portion It defends oneself bright.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation Thought of the invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (24)

1. a kind of method for transmitting data, which is characterized in that the method is applied to the first electronics with light receiving unit and sets It is standby, which comprises
Optical signal is received by the light receiving unit;
Based on the optical signal, the first operational order comprising first identifier is obtained;
Whether judgement receives the second operational order within a preset time, obtains the first judging result;Second operational order There is corresponding relationship with the first identifier, issued by other electronic equipment or issued by the server of network side;
When first judging result, which is, is, the data of first electronic equipment are transmitted to the second electronic equipment.
2. the method according to claim 1, wherein whether the judgement receives the second behaviour within a preset time It instructs, specifically includes:
Whether judgement receives the second operational order of server transmission within a preset time;
Second operational order is triggered after the server receives the third operational order that the second electronic equipment is sent, The third operational order includes the first identifier.
3. the method according to claim 1, wherein whether the judgement receives the second behaviour within a preset time It instructs, specifically includes:
Whether judgement receives the second operational order of the second electronic equipment transmission within a preset time.
4. the method according to claim 1, wherein described obtain the first operational order packet comprising first identifier It includes:
The operating body identification information for including in the optical signal is obtained as the first identifier;
Motion information based on the operating body generates the first operational order.
5. the method according to claim 1, wherein the data by the first electronic equipment are transmitted to described Two electronic equipments, comprising:
Obtain the image data that the display unit of first electronic equipment is shown;
Described image data are transmitted to second electronic equipment, so that second electronic equipment shows described image number According to.
6. according to the method described in claim 2, it is characterized in that, the data by the first electronic equipment are transmitted to described Two electronic equipments, comprising:
Obtain the data of first electronic equipment;
The data are sent to the server, second electronics is transmitted to will pass through the server for described and sets It is standby, so that second electronic equipment is shown the data.
7. method according to claim 1-6, which is characterized in that the light receiving unit is non-visible light reception Unit.
8. a kind of method for transmitting data, which is characterized in that the method is applied to the first electronics with light receiving unit and sets It is standby, which comprises
First electronic equipment obtains the characteristic information of the second electronic equipment by the light receiving unit;
The connection with second electronic equipment is established according to the characteristic information, comprising: it is corresponding to search the characteristic information The connection with the second electronic equipment is established according to the address of second electronic equipment in the address of second electronic equipment;
The data of first electronic equipment are transmitted to second electronic equipment by the connection.
9. according to the method described in claim 8, it is characterized in that, second electronic equipment have light emitting unit, it is described Obtain the characteristic information of the second electronic equipment, comprising:
First electronic equipment receives the optical signal that the light emitting unit issues by the light receiving unit, determine described in The image feature information for including in the optical signal emitted on second electronic equipment.
10. according to the method described in claim 9, it is characterized in that, described establish and described second according to the characteristic information The connection of electronic equipment, comprising:
The device identification of second electronic equipment is searched according to described image characteristic information;
The connection with second electronic equipment is established according to the device identification.
11. according to the described in any item methods of claim 8-10, which is characterized in that the data by the first electronic equipment pass Transport to second electronic equipment, comprising:
Obtain the image data that the display unit of first electronic equipment is shown;
Described image data are transmitted to second electronic equipment, so that second electronic equipment shows described image number According to.
12. according to the described in any item methods of claim 8-10, which is characterized in that the light receiving unit connects for non-visible light Receive unit.
13. a kind of electronic equipment, which is characterized in that the electronic equipment is the first electronic equipment with light receiving unit, institute Stating electronic equipment includes:
Optical signal acquiring unit, the optical signal received for obtaining the light receiving unit;
First operation instruction obtaining unit obtains the first operational order comprising first identifier for being based on the optical signal;
First judging unit obtains the first judging result for judging whether receive the second operational order within a preset time; Second operational order and the first identifier have corresponding relationship, by other electronic equipment sending or by the clothes of network side Business device issues;
Transmission unit, for when first judging result, which is, is, the data of first electronic equipment to be transmitted to second Electronic equipment.
14. electronic equipment according to claim 13, which is characterized in that first judging unit specifically includes:
First judgment sub-unit, the second operational order for judging whether to receive server transmission within a preset time;
Second operational order is triggered after the server receives the third operational order that the second electronic equipment is sent, The third operational order includes the first identifier.
15. electronic equipment according to claim 13, which is characterized in that first judging unit specifically includes:
Second judgment sub-unit, for judging that the second operation for whether receiving the transmission of the second electronic equipment within a preset time refers to It enables.
16. electronic equipment according to claim 13, which is characterized in that first operation instruction obtaining unit includes:
First identifier obtains subelement, for obtaining the operating body identification information for including in the optical signal as first mark Know;
First operational order generates subelement, generates the first operational order for the motion information based on the operating body.
17. electronic equipment according to claim 13, which is characterized in that the transmission unit, comprising:
Image data acquisition subelement, the image data that the display unit for obtaining first electronic equipment is shown;
Image data transmission subelement, for described image data to be transmitted to second electronic equipment, so as to described second Electronic equipment shows described image data.
18. electronic equipment according to claim 14, which is characterized in that the transmission unit, comprising:
Data acquisition subelement, for obtaining the data of first electronic equipment;
Data transmission unit, for the data to be sent to the server, will pass through the server for the biography Second electronic equipment is transported to, second electronic equipment is made to show the data.
19. the described in any item electronic equipments of 3-18 according to claim 1, which is characterized in that the light receiving unit be it is non-can Light-exposed receiving unit.
20. a kind of electronic equipment, which is characterized in that the electronic equipment is the first electronic equipment with light receiving unit, institute Stating electronic equipment includes:
Characteristic acquisition unit, for obtaining the characteristic information of the second electronic equipment by the light receiving unit;
Connection establishment unit, for establishing the connection with second electronic equipment according to the characteristic information, comprising: search institute The address for stating corresponding second electronic equipment of characteristic information is established and the second electricity according to the address of second electronic equipment The connection of sub- equipment;
Transmission unit, for the data of first electronic equipment to be transmitted to second electronic equipment by the connection.
21. electronic equipment according to claim 20, which is characterized in that second electronic equipment has light emitting list Member, the characteristic acquisition unit, comprising:
Optical signal obtains subelement, the light letter issued for obtaining the light emitting unit that the light receiving unit receives Number;
Image feature information determines subelement, for determining the image for including in the optical signal emitted on second electronic equipment Characteristic information.
22. electronic equipment according to claim 21, which is characterized in that the connection establishment unit, comprising:
Subelement is searched in device identification, for searching the equipment mark of second electronic equipment according to described image characteristic information Know;
Subelement is established in connection, for establishing the connection with second electronic equipment according to the device identification.
23. according to the described in any item electronic equipments of claim 20-22, which is characterized in that the transmission unit, comprising:
Image data acquisition subelement, the image data that the display unit for obtaining first electronic equipment is shown;
Image data transmission subelement, for described image data to be transmitted to second electronic equipment, so as to described second Electronic equipment shows described image data.
24. according to the described in any item electronic equipments of claim 20-22, which is characterized in that the light receiving unit be it is non-can Light-exposed receiving unit.
CN201410063244.4A 2014-02-25 2014-02-25 A kind of method and electronic equipment for transmitting data Active CN104869137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410063244.4A CN104869137B (en) 2014-02-25 2014-02-25 A kind of method and electronic equipment for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410063244.4A CN104869137B (en) 2014-02-25 2014-02-25 A kind of method and electronic equipment for transmitting data

Publications (2)

Publication Number Publication Date
CN104869137A CN104869137A (en) 2015-08-26
CN104869137B true CN104869137B (en) 2018-12-14

Family

ID=53914658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410063244.4A Active CN104869137B (en) 2014-02-25 2014-02-25 A kind of method and electronic equipment for transmitting data

Country Status (1)

Country Link
CN (1) CN104869137B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419689A (en) * 2011-10-27 2012-04-18 康佳集团股份有限公司 Method and system for transmitting file based on gesture swiping of touch screen
TWM432105U (en) * 2011-09-19 2012-06-21 Dagi Corp Ltd Capacitive touch panel sensing card
CN103208035A (en) * 2013-03-25 2013-07-17 吉林省电力有限公司电力科学研究院 Energy-saving dispatching optimization method for sets
CN103294984A (en) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 Fingerprint verification method and system based on visible light communication
CN103312382A (en) * 2012-03-14 2013-09-18 联想(北京)有限公司 Data transmission method, operating equipment and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1125212C (en) * 2001-01-15 2003-10-22 天津开发区三友新科技开发有限公司 Measuring controllable differential drilling-reaming two-purpose drill rig

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM432105U (en) * 2011-09-19 2012-06-21 Dagi Corp Ltd Capacitive touch panel sensing card
CN102419689A (en) * 2011-10-27 2012-04-18 康佳集团股份有限公司 Method and system for transmitting file based on gesture swiping of touch screen
CN103294984A (en) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 Fingerprint verification method and system based on visible light communication
CN103312382A (en) * 2012-03-14 2013-09-18 联想(北京)有限公司 Data transmission method, operating equipment and system
CN103208035A (en) * 2013-03-25 2013-07-17 吉林省电力有限公司电力科学研究院 Energy-saving dispatching optimization method for sets

Also Published As

Publication number Publication date
CN104869137A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
US10750102B2 (en) Method of providing interactable visual object during video call and system performing method
CN105378624B (en) Interaction is shown when interaction comes across on blank
KR102394985B1 (en) Mobile terminal and method for controlling the same
CN105591885B (en) resource sharing method and device
US8380246B2 (en) Connecting mobile devices via interactive input medium
KR102471447B1 (en) Mirror type display device andmethod for controlling the same
US9026052B2 (en) Mobile electronic device and connection establishment method between mobile electronic devices
US20100082990A1 (en) Establishment of a relationship between wireless devices
JP2012065246A (en) Information processor, information processing system, information processing method, and program
CN104584513A (en) Apparatus and method for selection of a device for content sharing operations
EP3182651B1 (en) Method of controlling operation of cataloged smart devices
TW201239675A (en) Handheld devices, and related data transmission methods
KR20130061711A (en) Apparatus and method for transferring information items between communications devices
US20140304663A1 (en) Gesture Interface
CN101815982A (en) Using touches to transfer information to a device
JPWO2014073345A1 (en) Information processing apparatus, information processing method, and computer-readable recording medium
CN103384369A (en) Method, device and system for building data connection
CN104318428B (en) The method and apparatus for realizing secured mobile payment
WO2019010780A1 (en) Device control method and related product
JP6465072B2 (en) Information processing apparatus and printing system
EP2370920B1 (en) Method, apparatus and computer program for enabling access to content
WO2016019794A1 (en) Picture selection method and apparatus therefor
CN104869137B (en) A kind of method and electronic equipment for transmitting data
US20210173667A1 (en) Electronic Device Configuration Tool and Corresponding Methods
US11620366B2 (en) Device enabling user preferred functions, preferences, and settings in another electronic device and corresponding methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant