CN106293381B - Control method, control device and electronic equipment - Google Patents

Control method, control device and electronic equipment Download PDF

Info

Publication number
CN106293381B
CN106293381B CN201510319229.6A CN201510319229A CN106293381B CN 106293381 B CN106293381 B CN 106293381B CN 201510319229 A CN201510319229 A CN 201510319229A CN 106293381 B CN106293381 B CN 106293381B
Authority
CN
China
Prior art keywords
electronic equipment
data
display content
file data
display
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
CN201510319229.6A
Other languages
Chinese (zh)
Other versions
CN106293381A (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 CN201510319229.6A priority Critical patent/CN106293381B/en
Priority to US14/868,587 priority patent/US10181309B2/en
Publication of CN106293381A publication Critical patent/CN106293381A/en
Application granted granted Critical
Publication of CN106293381B publication Critical patent/CN106293381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses be applied to the first control method of electronic device, comprising: during the first electronic equipment is based on display data by first display unit output the first display content, monitors whether the trigger event to the first display content;When monitoring the trigger event to the first display content, control information is generated;The control information is sent to the second electronic equipment, triggering the corresponding operation object of the second electronic equipment identification trigger event, obtaining file data corresponding to operation object and sending to the first electronic equipment;Receive the file data of the second electronic equipment transmission.Based on the control method disclosed by the invention for being applied to the first electronic equipment, the function of the first electronic equipment is enriched.In addition, the invention also discloses control device, the control method applied to the second electronic equipment and the control devices and a kind of electronic equipment that are applied to the first electronic equipment.

Description

Control method, control device and electronic equipment
Technical field
The invention belongs to field of communication technology more particularly to control methods, control device and electronic equipment.
Background technique
Currently, the type of electronic equipment is more and more, there is following demand in user: showing on some electronic equipment Picture, user wish to show on another electronic equipment.In order to meet the demand, mirror image is had developed in the prior art Technology.Mirror image technology mentioned here refers to that the picture transmission that will be shown on the electronic equipment of source to target electronic device, passes through mesh The technology that mark electronic equipment is shown.Such as: the content shown in mobile phone is projected into the large-size screen monitors such as TV or computer It is shown in equipment.Miracast technology is exactly one of them, and Miracast is by a kind of the more of point-to-point of Wi-Fi Alliance customization Media sharing agreement.
But current mirror image technology is important to notice that screen mirror image function, causes the function of electronic equipment more single One, the function of electronic equipment how is enriched, is those skilled in the art's problem in need of consideration.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of control method and control device, in abundant mirror-image system The function of target electronic device improves user experience.
To achieve the above object, the invention provides the following technical scheme:
The present invention discloses a kind of control method, is applied to the first electronic equipment, and first electronic equipment includes first aobvious Show unit, the control method includes:
Display data, which are based on, in first electronic equipment passes through first display unit output the first display content mistake Cheng Zhong, monitor whether to it is described first display content trigger event, wherein the display data for the second electronic equipment to The corresponding data of second display content in second electronic equipment that first electronic equipment is sent, in first display Hold identical with the second display content;
When monitoring the trigger event to the first display content, control information, the control packet are generated The trigger event is included in the trigger position information of the first display content;
The control information is sent to second electronic equipment, identifies the triggering to trigger second electronic equipment The corresponding operation object of event obtains file data corresponding to the operation object and sends to first electronic equipment;
Receive the file data that second electronic equipment is sent.
Optionally, in above-mentioned control method, the trigger event monitored whether to the first display content, packet It includes: the end whether monitoring operation body shows content region execution drag operation and the drag operation described first Whether point position is located at outside the first display content.
Optionally, in above-mentioned control method, the trigger event monitored whether to the first display content, packet Include: whether monitoring operation body touches the first display content region and touching duration reaches the first duration.
Optionally, in above-mentioned control method, the trigger event monitored whether to the first display content, packet Include: whether monitoring operation body is in first display content region execution clicking operation, and number of clicks meets threshold value.
Optionally, in above-mentioned control method, after receiving the file data that second electronic equipment is sent, the side Method further include: identify the type of the file data;Based on the type of the file data, handled according to corresponding processing strategie The file data.
Optionally, in above-mentioned control method, the type based on the file data, at corresponding processing strategie Manage the file data, comprising: judge whether the file data can voluntarily run, obtain the first judging result;Described When first judging result shows that the file data can voluntarily be run, the file data is run;In the first judgement knot When fruit shows that the file data can not voluntarily be run, the corresponding application of the file data is run, and utilize the application Load the file data.
Optionally, in above-mentioned control method, the file data that second electronic equipment is sent is received, specifically: pass through First transmission mode receives the file data that second electronic equipment is sent, wherein first transmission mode is different from using In the second transmission mode of transmitting display data.
On the other hand, invention additionally discloses a kind of control methods, are applied to the second electronic equipment, the control method packet It includes:
It is sent in display data procedures in second electronic equipment to the first electronic equipment, monitors whether to receive first The control information that electronic equipment is sent, wherein the display data are that the second display content is corresponding in second electronic equipment Data, first electronic equipment is based on the display data and shows content in the first display unit output first, described the One display content is identical as the second display content;
When receiving the control information that first electronic equipment is sent, the control information is parsed to determine and generates institute State the corresponding operation object of trigger event of control information;
Obtain the corresponding file data of the operation object;
The file data is sent to first electronic equipment.
Optionally, in above-mentioned control method, the first electronic equipment of Xiang Suoshu sends the file data, specifically: pass through Second data transmission channel sends the file data to first electronic equipment, wherein second data transmission channel Different from being used for transmission the data transmission channel of display data.
Optionally, in above-mentioned control method, in the case where the operation object is the icon of application, the operation is obtained The corresponding file data of object, comprising: determine the application that the icon is characterized;Obtain the application program of the application;Institute In the case where stating the icon that operation object is file, the corresponding file data of the operation object is obtained, comprising: identify the figure File name in mark;Obtain the file named with the file name;In the pattern that the operation object is network address In the case of, obtain the corresponding file data of the operation object, comprising: obtain the network address in current browser.
On the other hand, invention additionally discloses a kind of control device applied to the first electronic equipment, first electronics is set Standby includes the first display unit, and the control device includes:
Trigger event monitoring unit, it is single by first display for being based on display data in first electronic equipment During member output the first display content, the trigger event to the first display content is monitored whether, wherein the display Data are that the second electronic equipment second display content into second electronic equipment that first electronic equipment is sent is corresponding Data, it is described first display content with it is described second display content it is identical;
Information process unit, for generating control letter when monitoring the trigger event to the first display content Breath, the control information include trigger position information of the trigger event in the first display content;
First transmission unit, for sending the control information to second electronic equipment, to trigger second electricity Sub- equipment identifies the corresponding operation object of the trigger event, obtains file data corresponding to the operation object and to described First electronic equipment is sent;
Data receipt unit, the file data sent for receiving second electronic equipment.
Optionally, in above-mentioned control device, the trigger event monitoring unit includes the first monitoring modular, the second monitoring mould Block or third monitoring modular;Whether first monitoring modular is for monitoring operation body in first display content location Domain executes drag operation and whether the final position of the drag operation is located at outside the first display content;Described second Monitoring modular whether touches the first display content region for monitoring operation body and touching duration reaches First duration;The third monitoring modular for monitoring operation body whether it is described first display content region execute click Operation, and number of clicks meets threshold value.
Optionally, above-mentioned control device further include: data type identification unit, for identification class of the file data Type;First processing units handle the number of files according to corresponding processing strategie for the type based on the file data According to.
Optionally, in above-mentioned control device, the first processing units include: judgment module, for judging the file Whether data can voluntarily run, and obtain the first judging result;First processing module, for showing in first judging result When the file data can voluntarily be run, the file data is run;Second processing module, in the first judgement knot When fruit shows that the file data can not voluntarily be run, the corresponding application of the file data is run, and utilize the application Load the file data.
On the other hand, invention additionally discloses a kind of control device applied to the second electronic equipment, the control device packets It includes:
Information monitoring unit is controlled, for sending display data procedures to the first electronic equipment in second electronic equipment In, monitor whether the control information for receiving the transmission of the first electronic equipment, wherein the display data are that second electronics is set The corresponding data of second display content, first electronic equipment are based on the display data and export in the first display unit in standby First display content, the first display content are identical as the second display content;
Operation object determination unit, for parsing institute when receiving the control information that first electronic equipment is sent Control information is stated to determine the corresponding operation object of trigger event for generating the control information;
Data capture unit, for obtaining the corresponding file data of the operation object;
Second transmission unit, for sending the file data to first electronic equipment.
Optionally, in above-mentioned control device, second transmission unit is specifically used for: by the second data transmission channel to First electronic equipment sends the file data, wherein second data transmission channel is different from being used for transmission display The data transmission channel of data.
On the other hand, invention additionally discloses a kind of electronic equipment, the electronic equipment includes display unit and above-mentioned It anticipates a kind of control device.
It can be seen that the invention has the benefit that
The control method disclosed by the invention for being applied to the first electronic equipment and control device are based in the first electronic equipment Show data the first display unit output first display content during, when have to first display content trigger event When, it generates the control information for the trigger position for showing content first comprising the trigger event and is sent to the second electronic equipment, File data of second electronic equipment ready to receive based on control information feedback later, to enrich the function of the second electronic equipment Can, user experience can be improved.
The control method disclosed by the invention for being applied to the second electronic equipment and control device, the second electronic equipment is to During one electronic equipment sends display data, if receiving the control information of the first electronic equipment transmission, parsing should Information is controlled to determine the corresponding operation object of trigger event for generating the control information, it is corresponding to obtain the operation object later File data is simultaneously sent to the first electronic equipment, to enrich the function of the first electronic equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the control method disclosed by the invention for being applied to the first electronic equipment;
Fig. 2 is the flow chart of another control method disclosed by the invention for being applied to the first electronic equipment;
Fig. 3 is a kind of flow chart of the control method disclosed by the invention for being applied to the second electronic equipment;
Fig. 4 is a kind of structural schematic diagram of the control device disclosed by the invention for being applied to the first electronic equipment;
Fig. 5 is the structural schematic diagram of another control device disclosed by the invention for being applied to the first electronic equipment;
Fig. 6 is a kind of structural schematic diagram of the control device disclosed by the invention for being applied to the second electronic equipment.
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.
Firstly the need of explanation, for the ease of statement, the target electronic device in mirror image technology is known as in the present invention Source electronic equipment is known as the second electronic equipment by the first electronic equipment.Wherein, the first electronic equipment and the second electronic equipment can be with It is mobile phone, tablet computer, Laptop & Desktop lamp.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of the control method disclosed by the invention for being applied to the first electronic equipment.It should Control method includes:
Step S11: display data are based in the first electronic equipment and pass through the first display unit output the first display content mistake Cheng Zhong monitors whether the trigger event to the first display content.
Wherein, display data be the second electronic equipment is sent to the first electronic equipment, in the second electronic equipment second show Show that the corresponding data of content, the first display content are identical with the second display content.
In the process of running, the display content in the second display unit (for ease of description, is denoted as second electronic equipment Second display content) corresponding data (being denoted as display data) send to the first electronic equipment, the first electronic equipment itself First display unit shows the display data received, and the content that the first electronic equipment is shown in the first display unit (is denoted as One display content) it is consistent with the display content in the second display unit of the second electronic equipment, to realize the first electronic equipment It is shown with the mirror image of the second electronic equipment.
Display data are based on during the first display unit output the first display content in the first electronic equipment, in real time Monitor whether that the trigger event to the first display content, the trigger event are the touching executed to the object in the first display content Hair event.
Step S12: when monitoring the trigger event to the first display content, control information is generated.
The control information includes trigger position information of the trigger event in the first display content.In implementation, the trigger position The opposite position on four vertex that information can show content with first for trigger position of the trigger event in the first display content It sets, or the coordinate position in the coordinate system constructed using the specified point of the first display content as origin, as long as the trigger bit Confidence breath can characterize trigger event in the trigger position of the first display content.
Step S13: sending control information to the second electronic equipment, corresponding to trigger the second electronic equipment identification trigger event Operation object, obtain file data corresponding to the operation object and to the first electronic equipment send.
Second electronic equipment determines that the trigger event that the control information carries is shown first after receiving control information The trigger position information of content, due to the second display content of the second electronic equipment and the first display content of the first electronic equipment Identical, therefore, the second electronic equipment can determine the trigger bit for showing content first with trigger event in the second display content Corresponding position is set, identifies the object at the position later, which is the corresponding behaviour of trigger event in the first electronic equipment Make object.Later, the second electronic equipment obtains file data corresponding to the operation object, sends and obtains to the first electronic equipment The file data arrived.
What needs to be explained here is that file data is other data shown except data.
Step S14: the file data that the second electronic equipment is sent is received.
The control method disclosed by the invention for being applied to the first electronic equipment is based on display data in the first electronic equipment and exists During first display unit output the first display content, when there is the trigger event to the first display content, generation includes The control information for the trigger position that the trigger event shows content first is simultaneously sent to the second electronic equipment, ready to receive later Second electronic equipment can be improved based on the file data of control information feedback to enrich the function of the second electronic equipment User experience.
After the file data for receiving the transmission of the second electronic equipment, file data can store, so as to subsequent use. It is, of course, also possible to be handled using other modes file data.
Referring to fig. 2, Fig. 2 is the flow chart of another control method disclosed by the invention for being applied to the first electronic equipment. The control method includes:
Step S11: display data are based in the first electronic equipment and pass through the first display unit output the first display content mistake Cheng Zhong monitors whether the trigger event to the first display content.
Step S12: when monitoring the trigger event to the first display content, control information is generated.
Step S13: sending control information to the second electronic equipment, corresponding to trigger the second electronic equipment identification trigger event Operation object, obtain file data corresponding to the operation object and to the first electronic equipment send.
Step S14: the file data that the second electronic equipment is sent is received.
Step S15: the type of identification this document data.
Step S16: the type based on file data handles this document data according to corresponding processing strategie.
In control method shown in Fig. 2, after the file data for receiving the transmission of the second electronic equipment, this document is identified The type of data handles this document data based on the type of file data later with corresponding processing strategie, that is to say, that first Electronic equipment can automatically handle this document data after the file data for receiving the transmission of the second electronic equipment, be not necessarily to User operates.
In implementation, the type based on file data handles this document data according to corresponding processing strategie, can be using such as Under type:
Judge whether file data can voluntarily run, obtains the first judging result;Show file in the first judging result When data can voluntarily be run, this document data are run;When the first judging result shows that file data can not voluntarily be run, Application corresponding with this document data is run, and applies load document data using this.
It is illustrated here in conjunction with example:
If the application icon in the first display content that user exports for the first display unit of the first electronic equipment Trigger action is executed, then the subsequent application program based on the control acquisition of information application received of the second electronic equipment and to the One electronic equipment is sent, and after the first electronic equipment receives application program, is determined that the application program can voluntarily be run, is then run The application program.
If the file icon in the first display content that user exports for the first display unit of the first electronic equipment Trigger action is executed, then the second electronic equipment is subsequent based on file corresponding to the control acquisition of information this document icon received And sent to the first electronic equipment, after the first electronic equipment receives file, determine that this document can not voluntarily be run, then operation should The corresponding application of file, and the file received is loaded using the application.
In implementation, the file icon in the first display content can be for audio file icon, video file icon either Text file icon, then corresponding first electronic equipment will receive audio file, the video file of the second electronic equipment transmission Or text file.When the first electronic equipment receives the audio file and video file of the second electronic equipment transmission, operation Preset player controls audio file and video file that player plays receive later.When the first electronic equipment receives When text file (such as word document, PPT file) sent to the second electronic equipment, then corresponding program is run, and by text File is loaded onto the program.
If the network address in the first display content that user exports for the first display unit of the first electronic equipment Pattern execute trigger action, then the second electronic equipment it is subsequent based on the corresponding network address of control acquisition of information received and to First electronic equipment is sent, and after the first electronic equipment receives network address, opens preset browser, network address is loaded The address field for entering browser scans for.
In the present invention each control method applied to the first electronic equipment disclosed above, monitor whether to first The trigger event for showing content, can use various ways.It is illustrated separately below:
First, whether monitoring operation body in the first display content region executes drag operation and drag operation Whether final position is located at outside the first display content.
For a user, when user need to control the first electronic equipment from the second electronic equipment obtain certain an object institute it is right When the file data answered, then drag operation is executed in the first display unit of the first electronic equipment, the starting of the drag operation Position is located at except the first display content for some object in the first display content, final position.First electronic equipment is being examined It measures user and executes drag operation in the first display content region, and the final position of the drag operation is located at first and shows When showing except content, the trigger event occurred for the first display content is determined.In this case, trigger event is aobvious first Show that the trigger position information of content refers to the start position information of drag operation.
Second, whether monitoring operation body touches the first display content region and touching duration reaches first Duration.
For a user, when user need to control the first electronic equipment from the second electronic equipment obtain certain an object institute it is right When the file data answered, then press the position in the first display content where the object, and the pressing operation it is lasting when Between to reach the first duration.First electronic equipment is detecting that operating body touching first shows content region and touching is held When the continuous time reaches the first duration, the trigger event occurred for the first display content is determined.In this case, thing is triggered Part refers to the location information of touching operation in the trigger position information of the first display content.
Third, whether monitoring operation body is in the first display content region execution clicking operation, and number of clicks meets Threshold value.
For a user, when user need to control the first electronic equipment from the second electronic equipment obtain certain an object institute it is right When the file data answered, then the object position executes multiple clicking operation, and clicking operation in the first display content Number to reach threshold value.First electronic equipment is detecting operating body in the first display content region execution preset times Clicking operation when, determine occur for first display content trigger event.In this case, trigger event is aobvious first Show that the trigger position information of content refers to the location information of clicking operation.
In addition, receiving the second electricity in the present invention each control method applied to the first electronic equipment disclosed above The file data that sub- equipment is sent, can be in the following way: receiving what the second electronic equipment was sent by the first transmission mode File data, wherein the first transmission mode is different from the second transmission mode of transmitting display data.For different types of number According to using different transmission modes, so that data transmission can also be improved the speed and quality of data transmission with specific aim.
In specific implementation, the first transmission mode uses UDP (User Datagram Protocol, User Datagram Protocol View), the second transmission mode uses TCP (Transmission Control Protocol, transmission control protocol).
In addition, the first electronic equipment receives the file data that the second electronic equipment is sent, it can be with are as follows: pass through the second data and pass The file data that defeated the second electronic equipment of channel reception is sent.Wherein, the second data transmission channel is different from being used for transmission display The data transmission channel of data.That is, establishing the transmission of two datas between the first electronic device and the second electronic device Channel, wherein a data transmission channel is used for transmission display data, another data transmission channel is used for transmission file data, During the second electronic equipment sends file data to the first electronic equipment, the transmission speed to display data can reduce Influence.
The present invention control method applied to the first electronic equipment disclosed above, invention additionally discloses be applied to the second electricity The control method of sub- equipment.
Referring to Fig. 3, Fig. 3 is a kind of flow chart of the control method disclosed by the invention for being applied to the second electronic equipment.It should Control method includes:
Step S31: it is sent in display data procedures in the second electronic equipment to the first electronic equipment, monitors whether to receive The control information that first electronic equipment is sent.
Wherein, display data are that the corresponding data of the second display content, the first electronic equipment are based in the second electronic equipment Data are shown in the first display unit output the first display content, the first display content is identical as the second display content.
Step S32: when receiving the control information of the first electronic equipment transmission, parsing control information generates control to determine The corresponding operation object of the trigger event of information processed.
Second electronic equipment monitors whether to receive the during sending display data to the first electronic equipment The control information that one electronic equipment is sent.After the control information for receiving the transmission of the first electronic equipment, control letter is parsed Breath is to obtain the trigger position information that the trigger event of control information carrying shows content first.Due to the second electronic equipment Second display content it is identical with the display content of the first electronic equipment, and second display content size and first show in The size of appearance is in preset ratio, thus may determine that the triggering for showing content first with trigger event in the second display content The corresponding position in position, the object at the position is the corresponding operation object of trigger event.
What needs to be explained here is that: the corresponding operation object of trigger event includes but is not limited to the icon applied, file The icon of icon and network address.
Step S33: the corresponding file data of operation object is obtained.
Step S34: file data is sent to the first electronic equipment.
After determining the corresponding operation object of trigger event, obtain the corresponding file data of the operation object, backward One electronic equipment sends this document data.
The present invention control method applied to the second electronic equipment disclosed above, the second electronic equipment is to the first electronics During equipment sends display data, if receiving the control information of the first electronic equipment transmission, control letter is parsed Breath generates the corresponding operation object of trigger event of the control information to determine, obtains the corresponding number of files of the operation object later It is sent according to and to the first electronic equipment, to enrich the function of the first electronic equipment.
It is preferred that the second electronic equipment sends file data to the first electronic equipment, specifically: pass through the second number File data is sent to the first electronic equipment according to transmission channel, wherein the second data transmission channel is different from being used for transmission display The data transmission channel of data.That is, establishing the transmission of two datas between the first electronic device and the second electronic device Channel, wherein a data transmission channel is used for transmission display data, another data transmission channel is used for transmission file data. During the second electronic equipment sends file data to the first electronic equipment, the transmission speed to display data can reduce Influence.
In addition, no matter carrying out data biography by a data transmission channel between the second electronic equipment and the first electronic equipment Defeated, or carry out data by two data transmission channels, the second electronic equipment can be by the first transmission mode to first Electronic equipment sends file data, sends display data to the first electronic equipment by the second transmission mode.In specific implementation, the One transmission mode uses UDP, and the second transmission mode uses TCP.
In implementation, in the case where operation object is the icon of application, obtaining the corresponding file data of operation object includes: Determine the application that icon is characterized;Obtain the application program of application.In the case where operation object is the icon of file, behaviour is obtained Making the corresponding file data of object includes: the file name identified in icon;Obtain the file named with file name.Wherein, The icon of file can be audio file icon, video file icon and text file icon.It is network address in operation object Pattern in the case where, obtaining the corresponding file data of operation object includes: the network address obtained in current browser.
Invention additionally discloses the control devices for being applied to the first electronic equipment.
Referring to fig. 4, Fig. 4 is a kind of structural representation of the control device disclosed by the invention for being applied to the first electronic equipment Figure.The control device includes trigger event monitoring unit 110, information process unit 120, the first transmission unit 30 and data receiver Unit 140.
Wherein:
Trigger event monitoring unit 110, it is defeated by the first display unit for being based on display data in the first electronic equipment Out during the first display content, the trigger event to the first display content is monitored whether.Wherein, display data are the second electricity Sub- equipment second corresponding data of display content into the second electronic equipment that the first electronic equipment is sent, the first display content and Second display content is identical.
Information process unit 120, for generating control letter when monitoring the trigger event to the first display content Breath, control information include trigger position information of the trigger event in the first display content.
First transmission unit 130, for sending control information to the second electronic equipment, to trigger the identification of the second electronic equipment The corresponding operation object of trigger event obtains file data corresponding to operation object and sends to the first electronic equipment.
Data receipt unit 140, for receiving the file data of the second electronic equipment transmission.
The present invention control device applied to the first electronic equipment disclosed above is based on display number in the first electronic equipment According to during the first display unit output the first display content, when there is the trigger event to the first display content, generate It sends in the control information of the trigger position of the first display content and comprising the trigger event to the second electronic equipment, later File data of second electronic equipment based on control information feedback is received, it, can be with to enrich the function of the second electronic equipment Improve user experience.
In implementation, control device can store number of files after the file data for receiving the transmission of the second electronic equipment According to so as to subsequent use.In implementation, structure improvement can also be carried out to control device shown in FIG. 1.
Referring to Fig. 5, Fig. 5 is the structural representation of another control device disclosed by the invention for being applied to the first electronic equipment Figure.
Compared with control device shown in Fig. 4, data type identification unit is further arranged in control device shown in fig. 5 150 and first processing units 160.Here log-log according to the function of type identification unit 150 and first processing units 160 carry out Illustrate, the function of other units, which refers to, to be described above.Data receipt unit 140 receives data type 150 for identification The type of file data;First processing units 160 are used for the type based on file data, handle text according to corresponding processing strategie Number of packages evidence.
Wherein, first processing units 160 can be using the such as flowering structure, connect including judgment module, with judgment module One processing module and the Second processing module being connect with judgment module.Judgment module is for judging that file data whether can It voluntarily runs, obtains the first judging result;First processing module, for showing that file data can be voluntarily in the first judging result When operation, operating file data;Second processing module, for showing that file data can not voluntarily be run in the first judging result When, the corresponding application of operating file data, and using using load document data.
The present invention control device shown in fig. 5 for being applied to the first electronic equipment is sent receiving the second electronic equipment File data after, identify this document data type, handled later based on the type of file data with corresponding processing strategie This document data, that is to say, that the first electronic equipment, can be automatic right after the file data for receiving the transmission of the second electronic equipment This document data are handled, and are operated without user.
In Fig. 4 of the present invention and the control device shown in fig. 5 for being applied to the first electronic equipment, trigger event monitoring unit 110 monitor whether that various ways can be used to the trigger event of the first display content, correspondingly, trigger event monitoring is single Member 110 also has various structures.
Such as: trigger event monitoring unit 110 includes first detection module.First monitoring modular is used for monitoring operation body Whether the no final position for executing drag operation and drag operation in the first display content region is located in the first display Hold outer.
Such as: trigger event monitoring unit 110 includes the second detection module.Second monitoring modular is used for monitoring operation body No touching first shows content region and touching duration reaches the first duration.
Such as: trigger event monitoring unit 110 includes third detection module.Third monitoring modular is used for monitoring operation body It is no to execute clicking operation in the first display content region, and number of clicks meets threshold value.
It should be noted that data receipt unit 140 receives the file data that the second electronic equipment is sent, it can be using such as Under type: the file data that the second electronic equipment is sent is received by the first transmission mode, wherein the first transmission mode is different from Second transmission mode of transmitting display data.For different types of data, using different transmission modes, so that data are transmitted With specific aim, the speed and quality of data transmission can also be improved.In addition, data receipt unit 140 can pass through the second number The file data that the second electronic equipment is sent is received according to transmission channel.Wherein, the second data transmission channel is different from being used for transmission Show the data transmission channel of data.
Invention additionally discloses the control devices for being applied to the second electronic equipment.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of the control device disclosed by the invention for being applied to the second electronic equipment.It should Control device includes control information monitoring unit 210, operation object determination unit 220, data capture unit 230 and the second transmission Unit 240.
Wherein:
Information monitoring unit 210 is controlled, for sending display data procedures to the first electronic equipment in the second electronic equipment In, monitor whether the control information for receiving the transmission of the first electronic equipment.Wherein, display data are second in the second electronic equipment Showing the corresponding data of content, the first electronic equipment is based on display data and shows content in the first display unit output first, the One display content is identical as the second display content.
Operation object determination unit 220, for when receiving the control information of the first electronic equipment transmission, parsing to be controlled Information generates the corresponding operation object of trigger event of control information to determine.
Data capture unit 230, for obtaining the corresponding file data of operation object.
Second transmission unit 240, for sending file data to the first electronic equipment.
The present invention control device applied to the second electronic equipment disclosed above, the second electronic equipment is to the first electronics During equipment sends display data, if receiving the control information of the first electronic equipment transmission, control letter is parsed Breath generates the corresponding operation object of trigger event of the control information to determine, obtains the corresponding number of files of the operation object later It is sent according to and to the first electronic equipment, to enrich the function of the first electronic equipment.
The second transmission unit 240 is specifically used for as a preferred method: electric to first by the second data transmission channel Sub- equipment sends file data, wherein the second data transmission channel is different from being used for transmission the data transmission channel of display data.
That is, two data transmission channels are established between the first electronic device and the second electronic device, wherein one Data transmission channel is used for transmission display data, and another data transmission channel is used for transmission file data.In the second electronics During equipment sends file data to the first electronic equipment, the influence of the transmission speed to display data can reduce.
In addition, the second transmission unit 240 can send file data to the first electronic equipment by the first transmission mode.Its In, the first transmission mode is different from the second transmission mode of transmitting display data.In specific implementation, the first transmission mode is used UDP, the second transmission mode use TCP.
Invention additionally discloses a kind of electronic equipment, which includes display unit and times disclosed above of the invention It anticipates a kind of control device.
Preferably, which includes one of the control device applied to the first electronic equipment disclosed above, It further include one of the control device applied to the second electronic equipment disclosed above, then in mirror-image system, which is set It is standby both to can be used as source electronic equipment, it can also be used as target electronic device.
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.
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 device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (17)

1. a kind of control method, is applied to the first electronic equipment, first electronic equipment includes the first display unit, feature It is, the control method includes:
During first electronic equipment is based on display data by first display unit output the first display content, Monitor whether the trigger event to the first display content, wherein the display data are the second electronic equipment to described The second corresponding data of display content in second electronic equipment that first electronic equipment is sent, the first display content and The second display content is identical;
When monitoring the trigger event to the first display content, control information is generated, the control information includes institute Trigger event is stated in the trigger position information of the first display content;
The control information is sent to second electronic equipment, identifies the trigger event to trigger second electronic equipment Corresponding operation object obtains file data corresponding to the operation object and sends to first electronic equipment;
Receive the file data that second electronic equipment is sent.
2. control method according to claim 1, which is characterized in that described to have monitored whether to the first display content Trigger event, comprising:
The end whether monitoring operation body shows content region execution drag operation and the drag operation described first Whether point position is located at outside the first display content.
3. control method according to claim 1, which is characterized in that described to have monitored whether to the first display content Trigger event, comprising:
Whether monitoring operation body touches the first display content region and touching duration reaches the first duration.
4. control method according to claim 1, which is characterized in that described to have monitored whether to the first display content Trigger event, comprising:
Whether monitoring operation body is in first display content region execution clicking operation, and number of clicks meets threshold value.
5. control method according to any one of claim 1 to 4, which is characterized in that set receiving second electronics After the file data that preparation is sent, the method also includes:
Identify the type of the file data;
Based on the type of the file data, the file data is handled according to corresponding processing strategie.
6. control method according to claim 5, which is characterized in that the type based on the file data, according to Corresponding processing strategie handles the file data, comprising:
Judge whether the file data can voluntarily run, obtains the first judging result;
When first judging result shows that the file data can voluntarily be run, the file data is run;
When first judging result shows that the file data can not voluntarily be run, it is corresponding to run the file data Using, and the file data is loaded using the application.
7. control method according to claim 1, which is characterized in that receive the number of files that second electronic equipment is sent According to, specifically: the file data that second electronic equipment is sent is received by the first transmission mode, wherein described first passes Defeated mode is different from being used for transmission the second transmission mode of display data.
8. a kind of control method, it is applied to the second electronic equipment, which is characterized in that the control method includes:
It is sent in display data procedures in second electronic equipment to the first electronic equipment, monitors whether to receive the first electronics The control information that equipment is sent, wherein the display data are the corresponding number of the second display content in second electronic equipment According to first electronic equipment is based on the display data in the first display unit output the first display content, and described first is aobvious Show that content is identical as the second display content;
When receiving the control information that first electronic equipment is sent, the control information is parsed to determine and generates the control The corresponding operation object of the trigger event of information processed;
Obtain the corresponding file data of the operation object;
The file data is sent to first electronic equipment.
9. control method according to claim 8, which is characterized in that the first electronic equipment of Xiang Suoshu sends the number of files According to, specifically: the file data is sent to first electronic equipment by the second data transmission channel, wherein described the Two data transmission channels are different from being used for transmission the data transmission channel of display data.
10. control method according to claim 8 or claim 9, which is characterized in that
In the case where the operation object is the icon of application, the corresponding file data of the operation object is obtained, comprising: really The application that the fixed icon is characterized;Obtain the application program of the application;
In the case where the operation object is the icon of file, the corresponding file data of the operation object is obtained, comprising: know File name in the not described icon;Obtain the file named with the file name;
In the case where the operation object is the pattern of network address, the corresponding file data of the operation object is obtained, is wrapped It includes: obtaining the network address in current browser.
11. a kind of control device is applied to the first electronic equipment, first electronic equipment includes the first display unit, special Sign is that the control device includes:
Trigger event monitoring unit, it is defeated by first display unit for being based on display data in first electronic equipment Out during the first display content, the trigger event to the first display content is monitored whether, wherein the display data For the second electronic equipment into second electronic equipment that first electronic equipment is sent the second corresponding number of display content According to the first display content is identical with the second display content;
Information process unit, for generating control information, institute when monitoring the trigger event to the first display content Stating control information includes trigger position information of the trigger event in the first display content;
First transmission unit is set for sending the control information to second electronic equipment with triggering second electronics It is standby to identify the corresponding operation object of the trigger event, obtain file data corresponding to the operation object and to described first Electronic equipment is sent;
Data receipt unit, the file data sent for receiving second electronic equipment.
12. control device according to claim 11, which is characterized in that the trigger event monitoring unit includes the first prison Survey module, the second monitoring modular or third monitoring modular;
First monitoring modular for monitoring operation body whether it is described first display content region execute drag operation, And whether the final position of the drag operation is located at outside the first display content;
Second monitoring modular whether touches the first display content region for monitoring operation body and touching is held The continuous time reaches the first duration;
The third monitoring modular for monitoring operation body whether it is described first display content region execute clicking operation, And number of clicks meets threshold value.
13. control device according to claim 11 or 12, which is characterized in that the control device further include:
Data type identification unit, for identification type of the file data;
First processing units handle the number of files according to corresponding processing strategie for the type based on the file data According to.
14. control device according to claim 13, which is characterized in that the first processing units include:
Judgment module obtains the first judging result for judging whether the file data can voluntarily run;
First processing module, for running institute when first judging result shows that the file data can voluntarily be run State file data;
Second processing module, for running when first judging result shows that the file data can not voluntarily be run The corresponding application of the file data, and the file data is loaded using the application.
15. a kind of control device, it is applied to the second electronic equipment, which is characterized in that the control device includes:
Information monitoring unit is controlled, for being sent in display data procedures in second electronic equipment to the first electronic equipment, It monitors whether to receive the control information that the first electronic equipment is sent, wherein the display data are second electronic equipment In the second corresponding data of display content, first electronic equipment is based on the display data and exports the in the first display unit One display content, the first display content are identical as the second display content;
Operation object determination unit, for parsing the control when receiving the control information that first electronic equipment is sent Information processed generates the corresponding operation object of trigger event of the control information to determine;
Data capture unit, for obtaining the corresponding file data of the operation object;
Second transmission unit, for sending the file data to first electronic equipment.
16. control device according to claim 15, which is characterized in that second transmission unit is specifically used for: passing through Second data transmission channel sends the file data to first electronic equipment, wherein second data transmission channel Different from being used for transmission the data transmission channel of display data.
17. a kind of electronic equipment, the electronic equipment includes display unit, which is characterized in that the electronic equipment further include as Control device described in any one of claim 11 to 16.
CN201510319229.6A 2015-06-01 2015-06-11 Control method, control device and electronic equipment Active CN106293381B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510319229.6A CN106293381B (en) 2015-06-11 2015-06-11 Control method, control device and electronic equipment
US14/868,587 US10181309B2 (en) 2015-06-01 2015-09-29 Electronic device control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510319229.6A CN106293381B (en) 2015-06-11 2015-06-11 Control method, control device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106293381A CN106293381A (en) 2017-01-04
CN106293381B true CN106293381B (en) 2019-09-24

Family

ID=57660283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510319229.6A Active CN106293381B (en) 2015-06-01 2015-06-11 Control method, control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106293381B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390328B (en) * 2019-06-28 2022-11-22 联想(北京)有限公司 Information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453323A (en) * 2007-11-30 2009-06-10 联想(北京)有限公司 Wireless display adaptation method, data transmission equipment and data display equipment
CN101500036A (en) * 2009-01-06 2009-08-05 深圳华为通信技术有限公司 Method, mobile terminal and projector for controlling display content of projector
CN101937667A (en) * 2010-09-19 2011-01-05 深圳市中庆微科技开发有限公司 Multi-screen synchronous display controlling system
CN102546194A (en) * 2010-12-24 2012-07-04 联想(北京)有限公司 Display data processing method, system and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102008495B1 (en) * 2012-02-24 2019-08-08 삼성전자주식회사 Method for sharing content and mobile terminal thereof
KR20140012505A (en) * 2012-07-20 2014-02-03 삼성전자주식회사 Device and method for sharing content
CN103870143A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method for data transmission control and electronic device
KR102071579B1 (en) * 2013-09-02 2020-01-30 삼성전자주식회사 Method for providing services using screen mirroring and apparatus thereof
CN104618499B (en) * 2015-02-13 2019-03-29 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453323A (en) * 2007-11-30 2009-06-10 联想(北京)有限公司 Wireless display adaptation method, data transmission equipment and data display equipment
CN101500036A (en) * 2009-01-06 2009-08-05 深圳华为通信技术有限公司 Method, mobile terminal and projector for controlling display content of projector
CN101937667A (en) * 2010-09-19 2011-01-05 深圳市中庆微科技开发有限公司 Multi-screen synchronous display controlling system
CN102546194A (en) * 2010-12-24 2012-07-04 联想(北京)有限公司 Display data processing method, system and server

Also Published As

Publication number Publication date
CN106293381A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN103000015B (en) The accurate remote control thereof of display device based on wireless screen transmission and device
CN105630452A (en) Screen transmission method and electronic devices
WO2008019193A3 (en) Method and apparatus for monitoring and synchronizing user interface events with network data
CN104270662A (en) System of terminal equipment for controlling intelligent television through browser
CN103346952B (en) A kind of method and device adding group
CN103220489B (en) Video call
CN105228080B (en) Multi-screen interaction method, system and browser
CN102710549B (en) To be established a communications link the method for relation, terminal and system by shooting
CN103051498A (en) Network speed test method and network speed test system
CN103634689A (en) Method and device for installing application program into smart television through mobile communication terminal
CN104967886B (en) Wireless display method and system
CN102520850A (en) Processing method and device for input operation in wireless screen
CN113271592B (en) Data transmission method and device and electronic equipment
CN107948567A (en) The method and device of the wired biography screens of USB
CN103391240A (en) Instant messaging achieving method and device
TW201730739A (en) Information interaction method and device
CN103716577B (en) A kind of image processing method based on video communication and electronic equipment
CN106293381B (en) Control method, control device and electronic equipment
WO2017096812A1 (en) Webpage displaying method, mobile terminal, intelligent terminal, computer program, and storage medium
CN105898596B (en) Direct broadcasting room display control method and device
WO2023088198A1 (en) Network connection method and apparatus, and electronic device
CN103648054A (en) Network-data-resource transmission method and device
CN103078865A (en) Network server communication model based on transmission control protocol (TCP)
CN103716357B (en) A kind of mobile information synchronous method, device and mobile communication terminal
CN115665362A (en) Video conference processing method and device, electronic equipment and storage medium

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