CN106033246B - Data transmission method and electronic equipment - Google Patents

Data transmission method and electronic equipment Download PDF

Info

Publication number
CN106033246B
CN106033246B CN201510102426.2A CN201510102426A CN106033246B CN 106033246 B CN106033246 B CN 106033246B CN 201510102426 A CN201510102426 A CN 201510102426A CN 106033246 B CN106033246 B CN 106033246B
Authority
CN
China
Prior art keywords
electronic device
electronic equipment
data information
input unit
data
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
CN201510102426.2A
Other languages
Chinese (zh)
Other versions
CN106033246A (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 CN201510102426.2A priority Critical patent/CN106033246B/en
Publication of CN106033246A publication Critical patent/CN106033246A/en
Application granted granted Critical
Publication of CN106033246B publication Critical patent/CN106033246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data transmission method, a data receiving method and electronic equipment. The data transmission method is applied to first electronic equipment, the first electronic equipment and second electronic equipment can communicate, and the second electronic equipment sends display data corresponding to a display screen of the second electronic equipment to the first electronic equipment for display; the first electronic device has an input unit; the data transmission method comprises the following steps: acquiring input information received by the input unit; generating corresponding data information based on the input information; and sending the data information to the second electronic equipment. By adopting the method or the electronic equipment, the calling and sharing of the input unit can be realized between the first electronic equipment and the second electronic equipment which adopt the mirror image technology to transmit data, and the function of an application program which needs to use the data acquired in real time can be realized through the target-end electronic equipment.

Description

Data transmission method and electronic equipment
Technical Field
The present invention relates to the field of sensing control, and in particular, to a data transmission method and an electronic device.
Background
At present, the variety of electronic devices is increasing, and the following requirements often appear: in a picture played on one electronic device, a user wishes to play on another electronic device.
In order to meet the above requirements, mirror image technology has been developed in the prior art. The mirroring technique is a technique of transferring a screen displayed on a source electronic device to a destination electronic device and displaying the screen through the destination electronic device. For example, Miracast is one of them.
However, in the related art, the target electronic device has a display function only for a screen displayed on the source electronic device. If the application running on the source-end electronic device needs to use the data acquired by various sensors in real time, the source-end electronic device cannot obtain the data acquired by various sensors on the target-end electronic device. In other words, the user cannot realize the function of using the application program through the target electronic device.
Disclosure of Invention
The invention aims to provide a data transmission method and electronic equipment, which can realize the function of an application program needing to use data acquired in real time through target-end electronic equipment, namely, the source-end electronic equipment can effectively obtain the data acquired by various sensors on the target-end electronic equipment, and the user experience is improved.
In order to achieve the purpose, the invention provides the following scheme:
a data transmission method is applied to first electronic equipment, the first electronic equipment and second electronic equipment can communicate, and the second electronic equipment sends display data corresponding to a display picture of the second electronic equipment to the first electronic equipment for displaying; the first electronic device has an input unit;
the method comprises the following steps:
acquiring input information received by the input unit;
generating corresponding data information based on the input information;
and sending the data information to the second electronic equipment.
Optionally, the generating corresponding data information specifically includes:
generating corresponding sensing data information;
the input unit is a data acquisition unit for acquiring real-time data.
Optionally, the generating corresponding data information specifically includes:
processing the data information;
generating a first control instruction recognizable by the second electronic device; the first control instruction is used for instructing the second electronic equipment to execute a specific operation.
Optionally, before the obtaining of the input information received by the input unit, the method further includes:
acquiring a call request for the input unit, which is sent by the second electronic equipment;
and enabling the input unit to collect data.
Optionally, before sending the data information to the second electronic device, the method further includes:
acquiring identification information of the input unit;
adding the identification information to the data information;
the sending the data information to the second electronic device specifically includes:
and sending the data information added with the identification information to the second electronic equipment.
Optionally, before the enabling of the input unit to collect data, the method further includes:
judging whether the input unit is occupied by another application program or not to obtain a first judgment result;
and executing the step of enabling the input unit to collect data when the first judgment result indicates that the input unit is not occupied by another application program.
Optionally, when the first determination result indicates that the input unit is occupied by another application program, an identifier indicating that the input unit is occupied is sent to the second electronic device.
A data receiving method is applied to second electronic equipment, the second electronic equipment can communicate with first electronic equipment, and the second electronic equipment sends display data corresponding to a display picture of the second electronic equipment to the first electronic equipment for displaying;
the method comprises the following steps:
acquiring data information sent by the first electronic equipment; the data information is generated by the first electronic device based on the input information received by the input unit;
based on the data information, an operation is performed.
Optionally, the executing operation specifically includes:
and sending the data information to a third electronic device connected with the second electronic device through a network.
Optionally, the acquiring the data information sent by the first electronic device specifically includes:
acquiring a first control instruction sent by the first electronic equipment; the first control instruction is used for instructing the second electronic equipment to execute a specific operation;
the executing operation specifically includes:
and executing the specific operation indicated by the first control instruction.
Optionally, before acquiring the data information sent by the first electronic device, the method further includes:
and sending a call request for the input unit to the first electronic equipment.
An electronic device is a first electronic device, the first electronic device and a second electronic device can communicate, and the second electronic device sends display data corresponding to a display screen of the second electronic device to the first electronic device for displaying; the first electronic device has an input unit;
the first electronic device includes:
an input information acquisition unit for acquiring the input information received by the input unit;
the data information generating unit is used for generating corresponding data information based on the input information;
and the data information sending unit is used for sending the data information to the second electronic equipment.
Optionally, the data information generating unit specifically includes:
the sensing data information generating subunit is used for generating corresponding sensing data information;
the input unit is a data acquisition unit for acquiring real-time data.
Optionally, the data information generating unit specifically includes:
the data information processing subunit is used for processing the data information;
the first control instruction generating subunit is used for generating a first control instruction which can be identified by the second electronic equipment; the first control instruction is used for instructing the second electronic equipment to execute a specific operation.
Optionally, the method further includes:
the calling request acquisition unit is used for acquiring a calling request sent by the second electronic equipment to the input unit before acquiring the input information received by the input unit;
and the input unit starting unit is used for starting the input unit to acquire data.
An electronic device is a second electronic device which is communicable with a first electronic device, and the second electronic device transmits display data corresponding to a display screen of the second electronic device to the first electronic device for displaying;
the second electronic device includes:
the data information acquisition unit is used for acquiring data information sent by the first electronic equipment; the data information is generated by the first electronic device based on the input information received by the input unit;
and the operation execution unit is used for executing operation based on the data information.
Optionally, the operation execution unit specifically includes:
and the data information sending subunit is used for sending the data information to third electronic equipment connected with the second electronic equipment through a network.
Optionally, the data information obtaining unit specifically includes:
the first control instruction acquisition subunit is used for acquiring a first control instruction sent by the first electronic device; the first control instruction is used for instructing the second electronic equipment to execute a specific operation;
the operation execution unit specifically includes:
and the specific operation execution subunit is used for executing the specific operation indicated by the first control instruction.
Optionally, the method further includes:
and the call request sending unit is used for sending a call request for the input unit to the first electronic equipment before acquiring the data information sent by the first electronic equipment.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
according to the data transmission method and the electronic equipment, the input information received by the input unit is acquired; generating corresponding data information based on the input information; sending the data information to the second electronic equipment; the information acquired by the input unit on the first electronic device can be forwarded to the second electronic device, so that the calling and sharing of the input unit between the first electronic device and the second electronic device which adopt the mirror image technology to transmit data are realized, the function of an application program which needs to use data acquired in real time can be realized through the target-end electronic device, and the data acquired by various sensors on the target-end electronic device can be effectively acquired by the source-end electronic device.
The data receiving method of the invention obtains the data information sent by the first electronic device; the data information is generated by the first electronic device based on the input information received by the input unit; performing an operation based on the data information; the second electronic device may be enabled to receive the data information of the first electronic device and perform an operation based on the data information, so that a user may send data or a control instruction to the second electronic device through the first electronic device between the first electronic device and the second electronic device connected by using the mirroring technology.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of an embodiment 1 of a data transmission method according to the present invention;
fig. 2 is a flowchart of an embodiment 2 of the data transmission method of the present invention;
fig. 3 is a flowchart of an embodiment 3 of the data transmission method of the present invention;
fig. 4 is a flowchart of an embodiment 4 of the data transmission method of the present invention;
fig. 5 is a flow chart of an embodiment of a data receiving method of the present invention;
FIG. 6 is a block diagram of an embodiment of an electronic device of the present invention;
fig. 7 is a block diagram of another embodiment of an electronic device of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The data transmission method is applied to the first electronic equipment. The first electronic device is an electronic device having a display unit. The first electronic device may be a television, a tablet computer, a mobile phone, a notebook computer, a desktop computer, etc.
The first electronic device is communicable with a second electronic device. The second electronic device may be a portable electronic device such as a mobile phone and a tablet computer. The second electronic equipment sends display data corresponding to a display picture of the second electronic equipment to the first electronic equipment for displaying; the first electronic device has an input unit. The input unit of the first electronic device may be an operation input unit for receiving an operation input by a user, or a data acquisition unit for acquiring real-time data. Specifically, the operation input unit may be a keyboard, a mouse, a touch panel, or the like. The data acquisition unit may be a camera, a microphone, a fingerprint recognition device, etc.
Fig. 1 is a flowchart of a data transmission method according to embodiment 1 of the present invention. First, it should be noted that, in the embodiment of the present invention, the second electronic device sends the display data corresponding to the display screen of the second electronic device to the first electronic device for displaying, which indicates that the first electronic device and the second electronic device have been connected by using a mirror image technology, and a display unit of the first electronic device may display the display data originally received or generated by the first electronic device. The solution of the invention can be considered as an extension of the protocol of the mirroring technique.
As shown in fig. 1, the method may include:
step 101: acquiring input information received by the input unit;
the first electronic device can also acquire input information received by an input unit while displaying the display data. The input information may be data information acquired by a data acquisition unit such as a sensor, or operation information input by a user acquired by an input unit such as a keyboard. The operation information input by the user may be operation information that cannot be recognized by the second electronic device.
For example, when the input unit is a keyboard, operation information input by a user through the keyboard may be acquired; when the input unit is a camera, the image information can be collected by the camera.
Step 102: generating corresponding data information based on the input information;
when the input information can be recognized by the second electronic device, the generating of the data information may specifically be encapsulating the input information, and encapsulating the data information into a format that conforms to the specification of a data transmission protocol between the first electronic device and the second electronic device.
When the input information cannot be recognized by the second electronic device, the input information may be processed first, the input information is processed into data or an instruction that can be recognized by the second electronic device, and the processed data or instruction is encapsulated, so as to obtain the data information.
Step 103: and sending the data information to the second electronic equipment.
The manner in which the data information is sent to the second electronic device depends on the manner of connection between the first electronic device and the second electronic device. If the first electronic equipment is in wireless connection with the second electronic equipment, the data information is transmitted to the second electronic equipment in a wireless mode; and if the first electronic equipment is in wired connection with the second electronic equipment, transmitting the data information to the second electronic equipment in a wired mode.
In summary, in the embodiment, the input information received by the input unit is acquired; generating corresponding data information based on the input information; sending the data information to the second electronic equipment; the information acquired by the input unit on the first electronic device can be forwarded to the second electronic device, so that the calling and sharing of the input unit between the first electronic device and the second electronic device which adopt the mirror image technology to transmit data are realized, the function of an application program which needs to use data acquired in real time can be realized through the target-end electronic device, and the data acquired by various sensors on the target-end electronic device can be effectively acquired by the source-end electronic device.
In practical applications, when the input unit is a data acquisition unit for acquiring real-time data, the generating of the corresponding data information may specifically include:
and generating corresponding sensing data information.
The data acquisition unit may be various types of devices having sensors. For example, the data acquisition unit may be a camera, a microphone, a fingerprint recognition unit, a distance sensor, and the like.
When the input unit is an operation input unit (for example, a keyboard, a mouse, a touch screen, a remote controller, or the like), the generating of the corresponding data information may specifically include:
processing the data information;
generating a first control instruction recognizable by the second electronic device; the first control instruction is used for instructing the second electronic equipment to execute a specific operation.
For example, when the second electronic device can only receive touch operations, a user may input operations through a remote controller of the first electronic device, and the first electronic device may generate a first control instruction recognizable by the second electronic device according to operation data information input by the user, so as to implement control of the second electronic device by using an operation input unit of the first electronic device.
In the embodiment of the invention, a user can directly input information through the input unit on the first electronic device, and the first electronic device can directly send the generated data information to the second electronic device. In practical applications, the first electronic device may also send the data information to the second electronic device after receiving a call request sent by the second electronic device to the input unit.
Specifically, before the obtaining of the input information received by the input unit, the method may further include:
acquiring a call request for the input unit, which is sent by the second electronic equipment;
and enabling the input unit to collect data.
In practical applications, there may be a plurality of input units of the first electronic device, and in order to distinguish the input unit corresponding to the data information, or distinguish the input unit of the first electronic device from the input unit of the second electronic device, before sending the data information to the second electronic device, the method may further include:
acquiring identification information of the input unit;
adding the identification information to the data information;
the sending the data information to the second electronic device may specifically include:
and sending the data information added with the identification information to the second electronic equipment.
In practical applications, when the second electronic device sends a call request for the input unit to the first electronic device, if the input unit is occupied, for example, used by the first electronic device, the second electronic device will be temporarily unable to call the input unit. In order to avoid that the condition that the input unit is occupied affects the normal operation of the first electronic device or the second electronic device, before the input unit is enabled to collect data, the method may further include the following steps:
judging whether the input unit is occupied by another application program or not to obtain a first judgment result;
and executing the step of enabling the input unit to collect data when the first judgment result indicates that the input unit is not occupied by another application program.
When the first determination result indicates that the input unit is occupied by another application program, an identifier indicating that the input unit is occupied may be sent to the second electronic device, so that the second electronic device knows that the input unit is occupied.
Fig. 2 is a flowchart of a data transmission method according to embodiment 2 of the present invention. In this embodiment, the first electronic device may be a smart television. The input unit may be a camera. The second electronic device may be a cell phone. The mobile phone transmits display data displayed by the mobile phone to the smart television through a mirror image technology, and the display data is displayed on a screen of the smart television. As shown in fig. 2, the method may include:
step 201: the smart television acquires a calling request for the camera, which is sent by the mobile phone;
step 202: starting the camera to acquire image data;
step 203: generating corresponding display data information based on the image data;
the display data information conforms to a packaging format defined by a data transmission protocol between the smart television and the mobile phone.
Step 204: and sending the display data information to the mobile phone.
Step 205: and the mobile phone sends the display data information to a third electronic device connected with the mobile phone through a network.
The third electronic device may be another mobile phone, a tablet computer, or the like. The mobile phone may send a call request for the camera when running an application program that needs to use the camera. In particular, the application may be an instant video communication program. At this time, by using the method of the embodiment, the mobile phone user can perform video communication with another user on the smart television, that is, the mobile phone user can run an instant video communication program on the mobile phone, project a picture transmitted by another user equipment onto the smart television for display through a mirroring technology, and can call a camera on the smart television to acquire image data of the mobile phone user, and transmit the image data back to the mobile phone, and then transmit the image data to another user equipment through the mobile phone, so that the user can use the instant video communication program running on the mobile phone on the smart television through the mirroring technology.
Fig. 3 is a flowchart of a data transmission method according to embodiment 3 of the present invention. In this embodiment, the first electronic device may be a tablet computer. The input unit may be a fingerprint recognition unit. The second electronic device may be a cell phone. The mobile phone transmits display data displayed by the mobile phone to the tablet personal computer through a mirror image technology, and the display data is displayed on a screen of the tablet personal computer. As shown in fig. 3, the method may include:
step 301: the tablet personal computer acquires fingerprint information input by a user through the fingerprint identification unit;
step 302: the tablet computer processes the fingerprint information to generate a password which can be identified by the mobile phone; the password is used for indicating that the tablet personal computer of the mobile phone has the authority of calling the call function of the mobile phone;
step 303: and the tablet computer sends the password to the mobile phone.
Step 304: and the mobile phone identifies the password and determines that the tablet personal computer has the authority to call the call function of the mobile phone.
Step 305: the mobile phone forwards the subsequently received incoming call information to the tablet personal computer, so that the user can process the incoming call information on the tablet personal computer.
In this embodiment, by calling the fingerprint identification unit on the tablet computer, the mobile phone without the fingerprint identification function can also call the fingerprint identification unit on the tablet computer and identify the password corresponding to the fingerprint identification information, so that the mobile phone can realize the fingerprint identification function by using the fingerprint identification unit on the tablet computer.
Fig. 4 is a flowchart of a data transmission method embodiment 4 of the present invention. In this embodiment, the first electronic device may be a smart television. The input unit may be a camera and a microphone. The second electronic device may be a cell phone. The mobile phone transmits display data displayed by the mobile phone to the smart television through a mirror image technology, and the display data is displayed on a screen of the smart television. As shown in fig. 4, the method may include:
step 401: the smart television acquires a calling request for the camera, which is sent by the mobile phone;
step 402: judging whether the camera is occupied by another application program or not to obtain a first judgment result;
step 403: when the first judgment result shows that the camera is not occupied by other application programs, starting the camera to acquire image data;
step 404: generating corresponding display data information based on the image data;
step 405: acquiring identification information of the camera;
step 406: adding the identification information to the display data information;
step 407: and sending the display data information to the mobile phone.
Therefore, the mobile phone can call the camera of the smart television. In practical application, if the application program running on the mobile phone is an instant video communication program and a microphone of the smart television needs to be called, the following steps may also be included in this embodiment.
Step 408: the smart television acquires a calling request for the microphone, which is sent by the mobile phone;
step 409: judging whether the microphone is occupied by another application program or not to obtain a second judgment result;
step 410: enabling the microphone to acquire audio data when the second judgment result indicates that the microphone is not occupied by another application program;
step 411: generating corresponding audio data information based on the audio data;
step 412: acquiring identification information of the microphone;
step 413: adding identification information of the microphone to the audio data information;
step 414: and sending the audio data information to the mobile phone.
In summary, in this embodiment, the calling of the microphone and the camera of the smart television by the mobile phone can be realized. The identification information of the input unit is added in the data information sent to the mobile phone, so that the mobile phone can distinguish whether the received data information is from a microphone or a camera. Therefore, in the data transmission method in the embodiment of the present invention, the second electronic device may call the plurality of input units in the first electronic device.
The invention also discloses a data receiving method which is applied to the second electronic equipment. The second electronic device can communicate with the first electronic device, and the second electronic device sends display data corresponding to a display screen of the second electronic device to the first electronic device for displaying.
Fig. 5 is a flowchart of an embodiment of a data receiving method according to the present invention. As shown in fig. 5, the method may include:
step 501: acquiring data information sent by the first electronic equipment; the data information is generated by the first electronic device based on the input information received by the input unit;
step 502: based on the data information, an operation is performed.
In this embodiment, data information sent by the first electronic device is acquired; the data information is generated by the first electronic device based on the input information received by the input unit; performing an operation based on the data information; the second electronic device may be enabled to receive the data information of the first electronic device and perform an operation based on the data information, so that a user may send data or a control instruction to the second electronic device through the first electronic device between the first electronic device and the second electronic device connected by using the mirroring technology.
In practical applications, the executing operation may specifically include:
and sending the data information to a third electronic device connected with the second electronic device through a network.
In practical applications, the acquiring of the data information sent by the first electronic device may specifically include:
acquiring a first control instruction sent by the first electronic equipment; the first control instruction is used for instructing the second electronic equipment to execute a specific operation;
the executing operation may specifically include:
and executing the specific operation indicated by the first control instruction.
In practical applications, before the acquiring the data information sent by the first electronic device, the method may further include:
and sending a call request for the input unit to the first electronic equipment.
The invention also discloses an electronic device. The electronic equipment is the first electronic equipment. The first electronic equipment and second electronic equipment can communicate, and the second electronic equipment sends display data corresponding to a display screen of the second electronic equipment to the first electronic equipment for display; the first electronic device has an input unit.
Fig. 6 is a block diagram of an embodiment of an electronic device of the present invention. As shown in fig. 6, the electronic device may include:
an input information acquisition unit 601 configured to acquire input information received by the input unit;
a data information generating unit 602, configured to generate corresponding data information based on the input information;
a data information sending unit 603, configured to send the data information to the second electronic device.
In this embodiment, the input information received by the input unit is acquired; generating corresponding data information based on the input information; sending the data information to the second electronic equipment; the information acquired by the input unit on the first electronic device can be forwarded to the second electronic device, so that the input unit can be called and shared between the first electronic device and the second electronic device which adopt the mirror image technology to transmit data, and the function of an application program which needs to use data acquired in real time can be realized through the target-end electronic device.
In practical applications, the data information generating unit 602 may specifically include:
the sensing data information generating subunit is used for generating corresponding sensing data information;
the input unit is a data acquisition unit for acquiring real-time data.
In practical applications, the data information generating unit 602 may specifically include:
the data information processing subunit is used for processing the data information;
the first control instruction generating subunit is used for generating a first control instruction which can be identified by the second electronic equipment; the first control instruction is used for instructing the second electronic equipment to execute a specific operation.
In practical application, the method can further comprise the following steps:
the calling request acquisition unit is used for acquiring a calling request sent by the second electronic equipment to the input unit before acquiring the input information received by the input unit;
and the input unit starting unit is used for starting the input unit to acquire data.
The invention also discloses another electronic device. The another electronic device is a second electronic device. The second electronic device can communicate with the first electronic device, and the second electronic device sends display data corresponding to a display screen of the second electronic device to the first electronic device for displaying.
Fig. 7 is a block diagram of another embodiment of an electronic device of the present invention. As shown in fig. 7, the electronic device may include:
a data information obtaining unit 701, configured to obtain data information sent by the first electronic device; the data information is generated by the first electronic device based on the input information received by the input unit;
an operation execution unit 702, configured to execute an operation based on the data information.
In this embodiment, data information sent by the first electronic device is acquired; the data information is generated by the first electronic device based on the input information received by the input unit; performing an operation based on the data information; the second electronic device may be enabled to receive the data information of the first electronic device and perform an operation based on the data information, so that a user may send data or a control instruction to the second electronic device through the first electronic device between the first electronic device and the second electronic device connected by using the mirroring technology.
In practical applications, the operation executing unit 702 may specifically include:
and the data information sending subunit is used for sending the data information to third electronic equipment connected with the second electronic equipment through a network.
In practical applications, the data information obtaining unit 701 may specifically include:
the first control instruction acquisition subunit is used for acquiring a first control instruction sent by the first electronic device; the first control instruction is used for instructing the second electronic equipment to execute a specific operation;
the operation executing unit 702 may specifically include:
and the specific operation execution subunit is used for executing the specific operation indicated by the first control instruction.
In practical application, the method can further comprise the following steps:
and the call request sending unit is used for sending a call request for the input unit to the first electronic equipment before acquiring the data information sent by the first electronic equipment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and certainly may be implemented by hardware, but in many cases, the former is a better embodiment. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the electronic equipment disclosed by the embodiment, the description is relatively simple because the electronic equipment corresponds to the method disclosed by the embodiment, and the relevant part can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (13)

1. A data transmission method is applied to first electronic equipment, and is characterized in that the first electronic equipment and second electronic equipment can communicate, and the second electronic equipment sends display data corresponding to a display screen of the second electronic equipment to the first electronic equipment for displaying; the first electronic device has an input unit;
the method comprises the following steps:
acquiring a call request for the input unit, which is sent by the second electronic equipment;
enabling the input unit to collect data;
acquiring input information received by the input unit;
generating corresponding data information based on the input information;
sending the data information to the second electronic equipment;
and the data information comprises display data information, and the display data information is sent to the second electronic equipment, so that the second electronic equipment sends the display data information to third electronic equipment connected with the second electronic equipment through a network.
2. The method according to claim 1, wherein the generating of the corresponding data information specifically includes:
generating corresponding sensing data information;
the input unit is a data acquisition unit for acquiring real-time data.
3. The method according to claim 1, wherein the generating of the corresponding data information specifically includes:
processing the data information;
generating a first control instruction recognizable by the second electronic device; the first control instruction is used for instructing the second electronic equipment to execute a specific operation.
4. The method of claim 1, wherein before sending the data message to the second electronic device, further comprising:
acquiring identification information of the input unit;
adding the identification information to the data information;
the sending the data information to the second electronic device specifically includes:
and sending the data information added with the identification information to the second electronic equipment.
5. The method of claim 1, wherein prior to enabling the input unit to collect data, further comprising:
judging whether the input unit is occupied by another application program or not to obtain a first judgment result;
and executing the step of enabling the input unit to collect data when the first judgment result indicates that the input unit is not occupied by another application program.
6. The method according to claim 5, wherein when the first determination result indicates that the input unit is occupied by another application program, transmitting an identifier indicating that the input unit is occupied to the second electronic device.
7. A data receiving method is applied to second electronic equipment, and is characterized in that the second electronic equipment can communicate with first electronic equipment, and the second electronic equipment sends display data corresponding to a display screen of the second electronic equipment to the first electronic equipment for displaying;
the method comprises the following steps:
sending a call request for an input unit to the first electronic device; acquiring data information sent by the first electronic equipment; the data information is generated by the first electronic device based on the input information received by the input unit;
performing an operation based on the data information;
the executing operation specifically includes:
and the data information comprises display data information, and the display data information is sent to third electronic equipment connected with the second electronic equipment through a network.
8. The method according to claim 7, wherein the acquiring the data information sent by the first electronic device specifically includes:
acquiring a first control instruction sent by the first electronic equipment; the first control instruction is used for instructing the second electronic equipment to execute a specific operation;
the executing operation specifically includes:
and executing the specific operation indicated by the first control instruction.
9. An electronic device is a first electronic device, and is characterized in that the first electronic device is communicable with a second electronic device, and the second electronic device transmits display data corresponding to a display screen of the second electronic device to the first electronic device for displaying; the first electronic device has an input unit;
the first electronic device includes:
the calling request acquisition unit is used for acquiring a calling request sent by the second electronic equipment to the input unit before acquiring the input information received by the input unit;
the input unit starting unit is used for starting the input unit to acquire data;
an input information acquisition unit for acquiring the input information received by the input unit;
the data information generating unit is used for generating corresponding data information based on the input information;
and the data information sending unit is used for sending the data information to the second electronic equipment, specifically, the data information comprises display data information, and the display data information is sent to the second electronic equipment, so that the second electronic equipment sends the display data information to third electronic equipment connected with the second electronic equipment through a network.
10. The electronic device according to claim 9, wherein the data information generating unit specifically includes:
the sensing data information generating subunit is used for generating corresponding sensing data information;
the input unit is a data acquisition unit for acquiring real-time data.
11. The electronic device according to claim 9, wherein the data information generating unit specifically includes:
the data information processing subunit is used for processing the data information;
the first control instruction generating subunit is used for generating a first control instruction which can be identified by the second electronic equipment; the first control instruction is used for instructing the second electronic equipment to execute a specific operation.
12. An electronic device is a second electronic device, and is characterized in that the second electronic device is communicable with a first electronic device, and the second electronic device transmits display data corresponding to a display screen of the second electronic device to the first electronic device for displaying;
the second electronic device includes:
the calling request sending unit is used for sending a calling request for an input unit to the first electronic equipment before acquiring the data information sent by the first electronic equipment;
the data information acquisition unit is used for acquiring data information sent by the first electronic equipment; the data information is generated by the first electronic device based on the input information received by the input unit;
an operation execution unit configured to execute an operation based on the data information;
the data information includes display data information, and the operation execution unit specifically includes:
and the data information sending subunit is used for sending the display data information to a third electronic device connected with the second electronic device through a network.
13. The electronic device according to claim 12, wherein the data information obtaining unit specifically includes:
the first control instruction acquisition subunit is used for acquiring a first control instruction sent by the first electronic device; the first control instruction is used for instructing the second electronic equipment to execute a specific operation;
the operation execution unit specifically includes:
and the specific operation execution subunit is used for executing the specific operation indicated by the first control instruction.
CN201510102426.2A 2015-03-09 2015-03-09 Data transmission method and electronic equipment Active CN106033246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510102426.2A CN106033246B (en) 2015-03-09 2015-03-09 Data transmission method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510102426.2A CN106033246B (en) 2015-03-09 2015-03-09 Data transmission method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106033246A CN106033246A (en) 2016-10-19
CN106033246B true CN106033246B (en) 2020-03-24

Family

ID=57150266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510102426.2A Active CN106033246B (en) 2015-03-09 2015-03-09 Data transmission method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106033246B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677848A (en) * 2013-12-27 2014-03-26 厦门雅迅网络股份有限公司 Camera control method based on Android
CN103856374A (en) * 2012-11-28 2014-06-11 联想(北京)有限公司 Data transmission method, terminal and home interconnected system
CN104284246A (en) * 2013-07-08 2015-01-14 华为终端有限公司 Data transmission method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193683B (en) * 2010-03-12 2014-09-03 北京汇冠新技术股份有限公司 Control board and serial communication arbiter for touch screen with camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856374A (en) * 2012-11-28 2014-06-11 联想(北京)有限公司 Data transmission method, terminal and home interconnected system
CN104284246A (en) * 2013-07-08 2015-01-14 华为终端有限公司 Data transmission method and terminal
CN103677848A (en) * 2013-12-27 2014-03-26 厦门雅迅网络股份有限公司 Camera control method based on Android

Also Published As

Publication number Publication date
CN106033246A (en) 2016-10-19

Similar Documents

Publication Publication Date Title
KR101612390B1 (en) Augmenting capabilities of a host device
RU2609147C2 (en) Method and device for transmitting images
JP6945211B2 (en) Communication support devices, methods, and computer programs
CN110166439B (en) Equipment sharing method, terminal, router and server
JP2015531200A (en) Apparatus and method for providing N-screen service in broadcasting system
CN105704110B (en) Media transmission method, media control method and device
CN105430317A (en) Video background setting method and terminal equipment
KR102133514B1 (en) Status message service providing method of electronic apparatus and electronic apparatus thereof
CN108012270B (en) Information processing method, equipment and computer readable storage medium
KR20110132507A (en) Remote a/s method using video phone call between computer and mobile phone
CN111414097A (en) Interaction method, interaction system and display equipment
CN107038024B (en) Operation configuration method and equipment thereof
WO2015081716A1 (en) Method, system, and related device for providing application service
US20150139039A1 (en) Communication system and method for making telephone calls over the internet
US8498392B2 (en) Method and a system for establishing a communication channel between a predetermined number of selected devices and a device and a server arranged for use in the system
WO2016095449A1 (en) Virtual desktop display method, terminal and storage medium
CN106033246B (en) Data transmission method and electronic equipment
JP2015153347A (en) Information processor and computer program
CN111314319B (en) Data processing method, electronic equipment and server
JP2015002516A (en) Information processing apparatus, conference terminal, control method of the same, and program
WO2024001776A1 (en) Device control method, virtual set top box, physical set top box, and system
CN205594582U (en) Virtual reality equipment based on thing networking
CN111105345B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
WO2016199900A1 (en) Communication assistance device, method, and computer program
CN105472314A (en) Network monitoring system and emergency call method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant