WO2015054868A1 - 内容共享方法和终端设备 - Google Patents

内容共享方法和终端设备 Download PDF

Info

Publication number
WO2015054868A1
WO2015054868A1 PCT/CN2013/085409 CN2013085409W WO2015054868A1 WO 2015054868 A1 WO2015054868 A1 WO 2015054868A1 CN 2013085409 W CN2013085409 W CN 2013085409W WO 2015054868 A1 WO2015054868 A1 WO 2015054868A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
activation command
icon
shared content
screen
Prior art date
Application number
PCT/CN2013/085409
Other languages
English (en)
French (fr)
Inventor
吴钢
潘颀业
祁云飞
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201810792936.0A priority Critical patent/CN109144362A/zh
Priority to PCT/CN2013/085409 priority patent/WO2015054868A1/zh
Priority to CN201380001349.0A priority patent/CN104737113A/zh
Publication of WO2015054868A1 publication Critical patent/WO2015054868A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/16Use of wireless transmission of display information

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a content sharing method and a terminal device. Background technique
  • wireless technology such as Wireless Fidelity (abbreviation: WiFi) to connect devices
  • data exchange and content sharing between devices can be achieved.
  • Content sharing based on wireless technology is spreading in the field of lectures and presentations.
  • the wireless content sharing function of the mobile terminal can push and share the displayed content on the screen of the mobile terminal to other devices to realize real-time synchronization.
  • mobile terminals can share on-screen content such as images, audio, etc. in real time to the screen of other devices such as televisions, computers or projectors.
  • the screen of the other device can be synchronized with the display content of the screen of the mobile terminal.
  • DLNA Digital Living Network Alliance
  • the technical problem to be solved by the present invention is how to wirelessly control the shared content through the terminal device.
  • the present invention provides a content sharing method, including: The first terminal sends the shared content to the second terminal in a state that the first terminal is connected to the second terminal;
  • the first terminal generates mobile information according to its own movement trajectory
  • the first terminal sends the mobile information to the second terminal, instructing the second terminal to control the shared content displayed on the screen of the second terminal.
  • the sending, by the first terminal, the mobile information to the second terminal includes:
  • the first terminal sends an activation command to the second terminal in response to the user operation, where the activation command is used to instruct the second terminal to activate a control function for the shared content;
  • the first terminal sends the mobile information to the second terminal, instructing the second terminal to control the shared content displayed on the screen according to the mobile information.
  • the first terminal sends an activation command to the second terminal in response to a user operation, specifically: the first terminal And in response to the user operation, sending an indication function activation command or an identification function activation command to the second terminal, the indication function activation command is used to instruct the second terminal to generate a new layer and an indication icon on the screen, the identification function An activation command is used to instruct the second terminal to generate a new layer and an identification icon on the screen; or
  • the first terminal sends a display progress activation command to the second terminal in response to the user operation, where the display progress activation command is used to instruct the second terminal to activate a control function of the display progress of the shared content.
  • the first terminal sends the mobile information to the second terminal, indicating that the second terminal is configured according to the
  • the shared content displayed on the mobile information control screen specifically includes:
  • the indication icon is an icon having an indication function
  • the identification icon is an icon having a drawing function
  • the first terminal sends the mobile information to the second terminal, and instructs the second terminal to control the display progress of the shared content according to the movement trajectory corresponding to the mobile information on the screen.
  • the first terminal according to its own movement trajectory, Generate mobile information, including:
  • the spatial movement trajectory information is converted into the planar movement information.
  • the method further includes:
  • the first terminal acquires a sound signal through a microphone
  • the first terminal sends the sound signal to the second terminal, instructing the second terminal to control the speaker to play the sound signal.
  • the present invention provides a content sharing method, including:
  • the second terminal receives the shared content from the first terminal in a state that the first terminal is connected to the second terminal;
  • the second terminal receives mobile information from the first terminal, where the mobile information is generated by the first terminal according to a movement trajectory of the first terminal;
  • the second terminal controls the shared content displayed on the screen according to the movement information.
  • the second terminal is from the first
  • the terminal receives the mobile information, including:
  • the second terminal receives an activation command sent by the first terminal in response to a user operation, and activates a control function for the shared content according to the activation command;
  • the second terminal receives the mobile information from the first terminal.
  • the second terminal receives an activation command that is sent by the first terminal in response to a user operation, and activates a pair according to the activation command.
  • the control function of the shared content includes:
  • the second terminal Receiving, by the second terminal, the indication function activation command or the identification function activation command sent by the first terminal in response to the user operation, generating a new layer and an indication icon on the screen according to the indication function activation command or activating the command according to the identification function Generating a new layer and an identification icon on the screen; or the second terminal receives a display progress activation command sent by the first terminal in response to a user operation, and activates a control function of displaying progress of the shared content.
  • the second terminal controls the shared content displayed on the screen, including: the second The terminal controls, on a new layer on the screen, the indication icon or the identification icon to move along a movement track corresponding to the movement information, the indication icon is an icon having an indication function, and the identification icon has An icon for the drawing function; or
  • the second terminal controls the display progress of the shared content according to the movement trajectory corresponding to the movement information on the screen.
  • the method further includes:
  • the second terminal receives a sound signal from the first terminal, and controls the speaker to play the sound signal.
  • the present invention provides a terminal device, including: a sending module, configured to send, to a second terminal, a terminal device and a second terminal Send shared content;
  • a processing module configured to generate mobile information according to a movement trajectory of the user
  • the sending module is further configured to send the mobile information to the second terminal, and instruct the second terminal to control the shared content displayed on the screen.
  • the sending module includes: an activation command sending unit, configured to send an activation command to the second terminal in response to a user operation, where the activation command is used to indicate Said second terminal activates a control function for said shared content;
  • a mobile information sending unit configured to send the mobile information to the second terminal, to instruct the second terminal to control the shared content displayed on the screen according to the mobile information.
  • the activation command sending unit is specifically configured to:
  • the indication function activation command is used to instruct the second terminal to generate a new layer and an indication icon on the screen
  • the identification function An activation command is used to instruct the second terminal to generate a new layer and an identification icon on the screen
  • the mobile information sending unit is specifically configured to:
  • the indication icon is an icon having an indication function
  • the identification icon is an icon having a drawing function
  • the processing module includes: a detecting unit, configured to: When it changes its position, it detects its own moving direction, moving speed and tilting direction;
  • a determining unit configured to determine spatial movement trajectory information of the mobile device according to the moving direction, the moving speed, and the tilting direction;
  • the method further includes: a microphone, configured to acquire a sound signal;
  • the sending module is further configured to send the sound signal to the second terminal, and instruct the second terminal to control the speaker to play the sound signal.
  • the fourth aspect of the present invention provides a terminal device, including: a receiving module, configured to receive shared content from the first terminal in a state where the first terminal is connected to the terminal device;
  • the first terminal receives mobile information, where the mobile information is generated by the first terminal according to its own movement trajectory;
  • the receiving module includes: an activation command receiving unit, configured to receive an activation command sent by the first terminal in response to a user operation, where the control module is further used to Activating a control function for the shared content according to the activation command;
  • a mobile information receiving unit configured to receive the mobile information from the first terminal.
  • control module includes:
  • a first activation unit configured to receive, by the activation command receiving unit, the first terminal response
  • the user activates the instruction function activation command or the identification function activation command, generating a new layer and an indication icon on the screen according to the indication function activation command or generating a new layer and an identification icon on the screen according to the identification function activation command;
  • a second activation unit configured to activate a control function of displaying progress of the shared content when the mobile information receiving unit receives the display progress activation command sent by the first terminal in response to the user operation.
  • control module further includes: a first control unit And for controlling, on a new layer on the screen, the indication icon or the identification icon to move along a movement track corresponding to the movement information, the indication icon being an icon having an indication function, the identification icon For icons with drawing capabilities; or
  • a second control unit configured to control, on the screen, a display progress of the shared content according to a movement trajectory corresponding to the movement information.
  • the method includes:
  • the receiving module is further configured to receive a sound signal from the first terminal, and the control module is further configured to control the speaker to play the sound signal.
  • the fifth aspect of the present invention provides a terminal device, including: a transmitter, configured to send shared content to the second terminal in a state where the terminal device is connected to the second terminal;
  • a processor configured to generate mobile information according to a moving trajectory thereof
  • the transmitter is further configured to send the mobile information to the second terminal, and instruct the second terminal to control the shared content displayed on the screen.
  • the transmitter is further configured to respond And operating, sending, to the second terminal, an activation command, the activation command is used to instruct the second terminal to activate a control function for the shared content, and sending the mobile information to the second terminal, indicating The second terminal controls the shared content displayed on the screen according to the mobile information.
  • the transmitter is specifically configured to:
  • the indication function activation command is used to instruct the second terminal to generate a new layer and an indication icon on the screen
  • the identification function An activation command is used to instruct the second terminal to generate a new layer and an identification icon on the screen
  • the transmitter is further configured to:
  • the indication icon is an icon having an indication function
  • the identification icon is an icon having a drawing function
  • the processor is specifically configured to be in a position of itself When changing, detecting a moving direction, a moving speed, and an inclined direction of the self; determining, according to the moving direction, the moving speed, and the tilting direction, spatial moving track information of the user; converting the spatial moving track information into a plane The movement information.
  • the method further includes: a microphone, configured to acquire a sound signal;
  • the transmitter is further configured to send the sound signal to the second terminal, and instruct the second terminal to control the speaker to play the sound signal.
  • the present invention provides a terminal device, including: a receiver, configured to receive shared content from the first terminal in a state where the first terminal is connected to the terminal device;
  • the first terminal receives mobile information, where the mobile information is generated by the first terminal according to its own movement trajectory;
  • a processor configured to control the shared content displayed on the screen according to the movement information.
  • the receiver is specifically configured to receive an activation command that is sent by the first terminal in response to a user operation, and the processor is further configured to activate according to the activation command.
  • a control function for the shared content receiving the mobile information from the first terminal.
  • the processor is specifically configured to:
  • the receiver when the receiver receives the indication function activation command or the identification function activation command sent by the first terminal in response to the user operation, generating a new layer and an indication icon on the screen according to the indication function activation command or according to the identification function Activate the command to generate a new layer and logo icon on the screen; or
  • the control function of displaying the display progress of the shared content is activated.
  • the processor is further configured to: on a screen Controlling the indication icon or the identification icon to move along a movement trajectory corresponding to the movement information, the indication icon being an icon having an indication function, the indicator The icon is an icon with a drawing function; or
  • the display progress of the shared content is controlled according to the movement trajectory corresponding to the movement information.
  • the method includes:
  • the receiver is further configured to receive a sound signal from the first terminal, and the processor is further configured to control the speaker to play the sound signal.
  • the content sharing method of the present invention can control the shared content displayed on the screen of the second terminal by using the mobile information of the first terminal, and the operation is flexible and convenient to use.
  • FIG. 1A is a flowchart of a content sharing method according to Embodiment 1 of the present invention.
  • FIG. 1B is a schematic diagram of a content sharing method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a content sharing method according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a content sharing method according to Embodiment 3 of the present invention:
  • FIG. 4 is a flowchart of a content sharing method according to Embodiment 4 of the present invention.
  • FIG. 5 is a flowchart of a content sharing method according to Embodiment 5 of the present invention.
  • FIG. 6 is a structural block diagram of a terminal device according to Embodiment 6 of the present invention.
  • FIG. 7 is a structural block diagram of a terminal device according to Embodiment 7 of the present invention
  • 8 is a structural block diagram of a terminal device according to Embodiment 8 of the present invention
  • FIG. 9 is a structural block diagram of a terminal device according to Embodiment 9 of the present invention.
  • FIG. 10 is a structural block diagram of a terminal device according to Embodiment 10 of the present invention.
  • FIG. 11 is a structural block diagram of a terminal device according to Embodiment 11 of the present invention. detailed description
  • FIG. 1A is a flowchart of a content sharing method according to Embodiment 1 of the present invention. As shown in FIG. 1A, the content sharing method mainly includes:
  • Step S100 The first terminal sends the shared content to the second terminal in a state that the first terminal is connected to the second terminal.
  • the first terminal may be a mobile device such as a mobile phone or a tablet computer
  • the second terminal may be a device with a display function such as a computer, a television, or a projector.
  • the state in which the first terminal is connected to the second terminal may be a wireless connection such as a connection implemented by technologies such as WiFi, Bluetooth, infrared, NFC, and the like.
  • the first terminal and the second terminal may be configured by using a Transmission Control Protocol (English: Transmission Control Protocol, abbreviation: TCP). Interaction.
  • TCP Transmission Control Protocol
  • the shared content is content that is sent by the first terminal to the second terminal and needs to be shared to the second terminal, such as video, audio, PPT, and the like that need to be played during the speech.
  • the shared content can be synchronously displayed on the screens of the first terminal and the second terminal.
  • the shared content displayed on the first terminal may be closed or suspended, and the shared content may not be affected. Display on the second terminal.
  • Step S110 The first terminal generates mobile information according to its own movement trajectory.
  • the moving information is direction and speed information of the first terminal moving in the space, for example: in a set coordinate system, the movement information may include information such as a direction vector and a sub-speed from the coordinate A to the coordinate B.
  • Step S120 The first terminal sends the mobile information to the second terminal, and instructs the second terminal to control the shared content displayed on the screen.
  • FIG. 1B is a schematic diagram of a content sharing method according to Embodiment 1 of the present invention.
  • the second terminal 12 may calculate and A corresponding movement trajectory of the movement information is responded to on the screen, thereby controlling the shared content displayed on the screen.
  • a transparent new layer can be generated on the shared content displayed on the screen of the second terminal, and the moving track corresponding to the mobile information is displayed on the transparent new layer.
  • the display progress of the shared content can be directly controlled by the movement track corresponding to the mobile information, such as page turning of the PPT, fast forward of the video, and the next song of the song.
  • the content sharing method of the embodiment can control the shared content displayed on the screen of the second terminal by using the mobile information of the first terminal, and the operation is flexible and convenient to use.
  • FIG. 2 is a flowchart of a content sharing method according to Embodiment 2 of the present invention.
  • the steps in FIG. 2 having the same reference numerals as in FIG. 1 have the same functions, and a detailed description of these steps will be omitted for the sake of brevity.
  • the step S120 may include:
  • Step S200 The first terminal sends an activation command to the second terminal in response to a user operation.
  • the activation command is used to instruct the second terminal to activate a control function for the shared content.
  • the activation command can be as follows:
  • the first terminal sends an indication function activation command or an identification function activation command to the second terminal in response to the user operation, where the indication function activation command is used to instruct the second terminal to generate a new layer on the screen. And an indication icon, the identification function activation command is used to instruct the second terminal to generate a new layer and an identification icon on the screen.
  • Manner 2 The first terminal sends a display progress activation command to the second terminal in response to the user operation, where the display progress activation command is used to instruct the second terminal to activate a control function of displaying the shared content.
  • Step S210 The first terminal sends the mobile information to the second terminal, and instructs the second terminal to control the shared content displayed on the screen according to the mobile information.
  • the first terminal sends the mobile information to the second terminal, instructing the second terminal to control the indication icon or the identification icon along the new layer on the screen.
  • a movement trajectory corresponding to the movement information the indication icon is an icon having an indication function
  • the identification icon is an icon having a drawing function.
  • the first terminal sends the mobile information to the second terminal, and instructs the second terminal to control the display progress of the shared content according to the movement trajectory corresponding to the mobile information on the screen.
  • mode one can include the following:
  • the indication function activation command is used to instruct the second terminal to generate a new layer and an indication icon on the screen. Used to activate the indication control function for shared content.
  • the live command indicates that the function activation command is used to control the second terminal to generate a new layer and an indication icon on the screen.
  • the first button for implementing the indication function is set to "volume +" in advance.
  • the indicator function is activated, such as implementing the laser pointer function.
  • the first terminal sends an indication function activation command to the second terminal, and after receiving the indication function activation command, the second terminal may create a layer (English: Activity) on the screen, and the layer may be a transparent layer, and A point-like indicator icon is generated on the view of the layer (English: View), indicating the laser projection point.
  • the laser projection point can be moved according to the movement information sent by the first terminal to the second terminal to achieve the indicated effect, that is, the laser pointer function. Among them, it is also possible to control the disappearance of the laser projection point.
  • the laser projection point is displayed, and when the user stops pressing "volume +", the laser projection point disappears.
  • the identification function activation command is used to instruct the second terminal to generate a new layer and an identification icon on the screen. Used to activate identity control for shared content.
  • the identification function activation command is sent to the second terminal, and the identification function activation command is used to control the second terminal to generate a new layer and the identification icon on the screen.
  • the second button for implementing the indication function is set to "volume-" in advance.
  • the logo function is activated, such as the graffiti pen function.
  • the first terminal sends an identification function activation command to the second terminal, and after receiving the identification function activation command, the second terminal may create a layer on the screen, the layer may be a transparent layer, and the view in the layer A logo icon of a pen shape is generated to indicate a graffiti pen.
  • the graffiti pen can be moved according to the mobile information sent by the first terminal to the second terminal, and the mobile information is drawn on the second terminal to achieve the effect of the logo, that is, the graffiti pen function. Among them, you can also control the disappearance of the shape icon of the pen tip. For details, see the related description of controlling the disappearance of the laser projection point.
  • the second method is to display the progress activation command.
  • the first terminal sends the second terminal to the user terminal in response to the user operation.
  • the progress activation command is displayed, and the progress activation command is displayed to instruct the second terminal to activate the control function of the display progress of the shared content.
  • the first terminal sends the mobile information to the second terminal, and instructs the second terminal to control the display progress of the shared content according to the movement trajectory corresponding to the mobile information on the screen.
  • a signal for the user detected by the gravity sensor to shake the first terminal for realizing the display progress activation command is set in advance.
  • the first terminal may be a mobile phone.
  • the activation display progress activation command may be a PPT page down command, and the first terminal sends a display progress activation command to the second terminal.
  • the second terminal may control the shared PPT displayed by the second terminal to page down.
  • the activation display progress activation command may be a page up command of the PPT.
  • the first terminal sends a display progress activation command to the second terminal. After the second terminal receives the display progress activation command, it can control the page up of the shared PPT.
  • the indication function activation command, the identification function activation command, and the display progress activation command are just a few examples.
  • the first terminal responds to user operations, and the activated mobile control function may also include other functions. For example, the first terminal user double-clicks "volume +" to control the sharing of shared content such as video. The user can design the control functions required by the user according to the actual application scenario.
  • step S110 may include:
  • Step S220 When the position change of the first terminal occurs, detecting a moving direction, a moving speed, and a tilting direction of the first terminal.
  • a gyroscope may be used to detect the moving direction of the first terminal
  • an acceleration sensor is used to detect the moving speed of the first terminal
  • a gravity sensor is used to detect the tilting direction of the first terminal.
  • Step S230 Determine spatial movement trajectory information of the first terminal according to the moving direction, the moving speed, and the tilting direction.
  • Step S240 Convert the spatial movement trajectory information into the plane movement information.
  • the first terminal can establish a three-dimensional space rectangular coordinate system, and the three axes are represented as X, y, and z, and the related mobile information is processed by the three-dimensional space rectangular coordinate system.
  • the first terminal The starting position is point A in space, and the coordinate of point A is (0, 0, 0).
  • the first terminal moves to point B, and the gyroscope detects that the moving direction vector of the first terminal is (1, 1, 1), and the acceleration sensor detects three movements along the x, y, and z of the first terminal.
  • the sub-speeds of the directions are all 5 (the unit of motion velocity is expressed as a dimensionless quantity), and the moving speed vector is (5, 5, 5), and the position after the movement is B (5 ⁇ 1, 5 ⁇ 1, 5 ⁇ 1).
  • the first terminal processes the spatial movement trajectory information and converts it into planar movement information.
  • the projection method can be used to convert the three-dimensional spatial movement trajectory into two-dimensional plane movement trajectory information. For example, you can project the x-y plane and project the motion trajectory onto the x-y plane. After the projection, the moving speed vector of the first terminal in the x-y plane is (5, 5), and the position after the movement is ⁇ ' (5 ⁇ 1, 5 ⁇ 1).
  • the specific projection to the surface is not limited, and the projection can be performed on the xz plane and the yz plane, and the movement of the spatial movement trajectory information into a plane can be realized. Information can be.
  • the mobile information Sending, by the first terminal, the mobile information to the second terminal, that is, sending the motion speed vector (5, 5) to the second terminal, and appropriately scaling the speed vector, for example, the speed of the xy plane is enlarged ten times. , then the speed vector sent to the second terminal is (50, 50).
  • the initial coordinates of the laser pen projection point on the screen of the second terminal are (500, 500), and after receiving the movement information of the first terminal, the laser pen projection point on the screen of the second terminal follows The direction is 45 degrees to the upper right, and the x and y directions are moving at the moving speed 50.
  • the laser pointer is moved from the (500, 500) position to the (500+50 ⁇ 1, 500+50 ⁇ 1) position.
  • the At time is 1, the position moved to is (550, 550).
  • the first terminal can accurately measure its movement trajectory and transmit it to the second terminal.
  • the second terminal simultaneously detects whether the projection point of the laser pointer exceeds the maximum range of the current second terminal screen, and does not respond if the maximum range is exceeded.
  • the gravity sensor may be used to detect the tilt direction of the first terminal, and the information of the tilt direction is sent to the second terminal to control the display on the screen of the second terminal.
  • Share content For example, when the user presses a certain button on the first terminal and the first terminal is tilted to the left, the page change function activation command is sent to the second terminal, and the shared content page on the second terminal can be controlled.
  • measuring the movement information of the first terminal by using the gyroscope, the acceleration detector and the gravity sensor is only an example, and those skilled in the art should understand that the present invention is not limited thereto.
  • the user can detect the mobile information by using other instruments built in the first terminal according to the actual application scenario.
  • a global positioning system, a distance sensor, or the like can be used, as long as the effect of detecting the mobile information can be achieved.
  • the content sharing method of the embodiment can control the shared content displayed on the screen of the second terminal by using the mobile information of the first terminal, and the operation is flexible and convenient to use.
  • FIG. 3 is a flowchart of a content sharing method according to Embodiment 3 of the present invention.
  • the same steps in Fig. 3 as those in Fig. 1 have the same functions, and a detailed description of these steps will be omitted for the sake of brevity.
  • the content sharing method may further include:
  • Step S300 The first terminal acquires a sound signal through a microphone. Specifically, step S300 may include:
  • Step S3001 The first terminal detects, according to the connection condition of the microphone, whether to connect the external microphone. If yes, step S3002 may be performed; otherwise, step S3003 may be performed.
  • Step S3002 Turn on the external microphone, and go to step S3004.
  • the external microphone includes a headphone microphone and the like.
  • Step S3003 Start the microphone of the first terminal itself, and execute step S3004.
  • Step S3004 Detect a current human voice source of the first terminal, and acquire a sound signal.
  • Step S310 The first terminal sends the sound signal to the second terminal, instructing the second terminal to control a speaker to play the sound signal.
  • the microphone or the earphone microphone of the first terminal can detect the voice of the user, transmit to the second terminal in real time, and instruct the second terminal to pass the speaker (English:
  • Speaker Play the sound signal to achieve the effect of expanding the sound of the first end user.
  • the content sharing method of the embodiment can control the speaker of the second terminal to play the sound signal through the sound information of the first terminal, and the operation is flexible and convenient to use.
  • the content sharing method mainly includes:
  • Step S400 The second terminal receives the shared content from the first terminal in a state that the first terminal is connected to the second terminal.
  • the first terminal may be a mobile device such as a mobile phone or a tablet computer
  • the second terminal may be a device with a display function such as a computer, a television, or a projector.
  • the state in which the first terminal is connected to the second terminal may be a wireless connection such as a connection implemented by technologies such as WiFi, Bluetooth, infrared, NFC, and the like.
  • the first terminal starts the multi-screen sharing mode, such as the speaking push mode, and then sends the shared content to the second terminal, and the second terminal receives the shared content from the first terminal.
  • the shared content is content that can be simultaneously displayed by the first terminal and the second terminal, such as video, audio, PPT, and the like that need to be played during the presentation.
  • the shared content can be synchronously displayed on the screens of the first terminal and the second terminal.
  • the shared content displayed on the first terminal may be closed or suspended, and the shared content may not be affected. Display on the second terminal.
  • Step S410 The second terminal receives mobile information from the first terminal, where the mobile information is generated by the first terminal according to a movement trajectory of the first terminal.
  • the second terminal receives the mobile information from the first terminal, and the mobile information is generated according to the movement trajectory of the first terminal.
  • Gyro detection can be used when the position change of the first terminal occurs.
  • an acceleration sensor is used to detect the moving speed of the first terminal, thereby determining a moving trajectory of the first terminal, and calculating mobile information.
  • the movement information is direction and speed information of the first terminal moving in the space, for example: in a certain coordinate system, the movement information may include information such as a direction vector and a sub-speed from the coordinate A to the coordinate B.
  • Step S420 The second terminal controls the display on the screen according to the movement information, and specifically, referring to FIG. 1B, after the second terminal 12 receives the movement information of the first terminal 11, the second terminal may be on the screen. A new layer is created on the shared content displayed, the layer can be a transparent layer, and the movement track corresponding to the movement information is displayed on the new layer.
  • the second terminal can also directly control the display progress of the shared content on the screen by the mobile information, such as page turning of the PPT, fast forward of the video, next song of the song, and the like.
  • the content sharing method of the embodiment may receive the mobile information of the first terminal by using the second terminal, and control the shared content displayed on the screen of the second terminal according to the mobile information, which is flexible in operation and convenient to use.
  • FIG. 5 is a flowchart of a content sharing method according to Embodiment 5 of the present invention.
  • the same steps in Fig. 5 as those in Fig. 4 have the same functions, and a detailed description of these steps will be omitted for the sake of brevity.
  • the step S410 may include:
  • Step S500 The second terminal receives an activation command sent by the first terminal in response to a user operation, and activates a control function for the shared content according to the activation command. Specifically, the following conditions can be included:
  • Mode 1 indication function or identification function.
  • Method 2 Display the progress adjustment function.
  • the second terminal receives a display progress activation command sent by the first terminal in response to a user operation, and activates a control function of displaying progress of the shared content.
  • Step S510 The second terminal receives the mobile information from the first terminal.
  • step S420 may specifically include:
  • the second terminal controls the indication icon or the identification icon to move along a movement track corresponding to the movement information on a new layer on the screen, and the indication icon is an indication function.
  • An icon, the logo icon is an icon having a drawing function.
  • the second terminal controls the display progress of the shared content according to the mobile track corresponding to the mobile information on the screen.
  • Case 1 If the activation command received by the second terminal is an indication function activation command, the second terminal generates a new layer and an indication icon on the screen, and the indication function activation command is that the first terminal responds to the user pressing the first Issued by a button. On the new transparent layer on the second terminal screen, the indication icon can be moved according to the movement trajectory corresponding to the movement information.
  • Case 2 If the activation command received by the second terminal is an identification function activation command, the second terminal generates a new layer and an identifier icon on the screen, and the identifier function activation command is that the first terminal responds to the user pressing the first Two buttons issued.
  • the logo icon can generate a drawing stroke according to the movement track corresponding to the movement information.
  • Manner 2 The second terminal controls, on the screen, a display progress of the shared content according to a movement trajectory corresponding to the movement information.
  • a new layer may not be generated on the screen, but directly determines how to control the display progress of the shared content according to the movement trajectory corresponding to the movement information.
  • the movement track is to the right, it can indicate the page down of the PPT.
  • the mobile terminal receives the mobile information from the first terminal, and may be detected by the first terminal when the position changes, and is determined by using a gyroscope, an acceleration sensor, a gravity sensor, etc., and the specific determining method may be referred to as content sharing. A related description in the second embodiment of the method.
  • the second terminal receives a sound signal from the first terminal, the sound signal is sound information collected by the first terminal through its own microphone or an external microphone, and the sound signal is played by the speaker.
  • the sound signal is sound information collected by the first terminal through its own microphone or an external microphone, and the sound signal is played by the speaker.
  • the content sharing method of the embodiment may receive the mobile information of the first terminal by using the second terminal, and control the shared content displayed on the screen of the second terminal according to the mobile information, which is flexible in operation and convenient to use.
  • FIG. 6 is a structural block diagram of a terminal device according to Embodiment 6 of the present invention. As shown in FIG. 6, the terminal device mainly includes:
  • the sending module 600 is configured to send the shared content to the second terminal in a state where the terminal device is connected to the second terminal.
  • the processing module 610 is configured to generate mobile information according to its own moving trajectory.
  • the sending module 600 is further configured to send the mobile information to the second terminal, and instruct the second terminal to control the shared content displayed on the screen.
  • the terminal device may be a mobile device such as a mobile phone or a tablet computer
  • the second terminal may be a device with a display function such as a computer, a television, or a projector.
  • the terminal device is connected to the second terminal through the sending module 600, and the connection may be in a wireless connection such as: WiFi, Bluetooth, infrared, NFC, and the like.
  • the terminal device and the second terminal may interact with each other by using a transmission control protocol.
  • the sending module 600 sends the shared content to the second terminal.
  • the shared content is a terminal setting The content that can be displayed synchronously with the second terminal, such as video, audio, PPT, etc. that need to be played during the speech.
  • the shared content can be synchronously displayed on the screens of the terminal device and the second terminal.
  • the shared content displayed on the terminal device may be turned off or suspended, and the shared content may not be affected at the second terminal.
  • the processing module 610 in the display terminal device can include means for monitoring its own movement trajectory such as a gyroscope, an acceleration sensor, and the like.
  • the gyroscope may be used to detect the moving direction of the terminal device, and the acceleration sensor is used to detect the moving speed of the terminal device, thereby determining the moving track of the terminal device, and calculating the movement information.
  • the terminal device controls the shared content displayed on the second terminal by the mobile information can be seen in FIG. 1B and its related description.
  • the mobile device through which the terminal device of the embodiment can control the shared content displayed on the screen of the second terminal is flexible in operation and convenient to use.
  • FIG. 7 is a structural block diagram of a terminal device according to Embodiment 7 of the present invention.
  • the same components in Fig. 7 as those in Fig. 6 have the same functions, and a detailed description of these components will be omitted for the sake of brevity.
  • the sending module 600 may specifically include:
  • the activation command sending unit 700 is configured to send an activation command to the second terminal in response to the user operation, where the activation command is used to instruct the second terminal to activate a control function for the shared content.
  • the mobile information sending unit 710 is configured to send the mobile information to the second terminal, and instruct the second terminal to control the shared content displayed on the screen according to the mobile information.
  • the activation command sending unit 700 is further configured to: send an indication function activation command or an identification function activation to the second terminal in response to a user operation. a command, the indication function activation command is used to instruct the second terminal to generate a new layer and an indication icon on the screen, the identification function activation command is used to instruct the second terminal to generate a new layer and an identifier on the screen. icon.
  • the mobile information sending unit 710 is further configured to: send the mobile information to the second terminal, and indicate that the second terminal is on the new layer on the screen. Controlling the indication icon or the identification icon to move along a movement trajectory corresponding to the movement information, the indication icon being an icon having an indication function, and the identification icon is an icon having a drawing function.
  • the processing module 610 includes:
  • the detecting unit 720 is configured to detect the moving direction, the moving speed and the tilting direction of the self when the position change occurs.
  • the determining unit 730 is configured to determine its own spatial movement trajectory information according to the moving direction, the moving speed, and the tilting direction.
  • the converting unit 740 is configured to convert the spatial movement trajectory information into the plane of the movement information.
  • the terminal device further includes: a microphone 750, configured to acquire a sound signal.
  • the sending module 600 is further configured to send the sound signal to the second terminal, and instruct the second terminal to control the speaker to play the sound signal. See Figure 3 and its related description for specific methods.
  • the terminal device of this embodiment can control the shared content displayed on the screen of the second terminal by using the mobile information, and the operation is flexible and convenient to use.
  • FIG. 8 is a structural block diagram of a terminal device according to Embodiment 8 of the present invention. As shown in Figure 8, the terminal device mainly includes:
  • the receiving module 800 is configured to receive shared content from the first terminal in a state where the first terminal is connected to the terminal device, and receive mobile information from the first terminal, where the mobile information is that the first terminal according to the first terminal The resulting trajectory is generated.
  • the control module 810 is configured to control, according to the mobile information, the sharing displayed on the screen.
  • the first terminal may be a mobile device such as a mobile phone or a tablet computer, and the terminal device may be a computer, a television, a projector, or the like.
  • the state in which the first terminal is connected to the terminal device may be a wireless connection such as a connection implemented by technologies such as WiFi, Bluetooth, infrared, NFC, and the like.
  • the first terminal starts the multi-screen sharing mode, such as the speech push mode, and sends the shared content to the terminal device, where the receiving module 800 of the terminal device receives the shared content from the first terminal.
  • the shared content can be synchronously displayed on the screens of the first terminal and the terminal device.
  • the shared content displayed on the first terminal may be closed or suspended, and the shared content may not be affected at the terminal. Display on the device.
  • the terminal device receiving module 800 receives mobile information from the first terminal, and the mobile information is generated according to a movement trajectory of the first terminal.
  • the gyroscope may be used to detect the moving direction of the first terminal, and the acceleration sensor is used to detect the moving speed of the first terminal, thereby determining the movement trajectory of the first terminal, and calculating the movement information.
  • the terminal device controlling the displayed shared content according to the movement information of the first terminal can be seen in FIG. 1B and its related description.
  • the terminal device of this embodiment can control the shared content displayed on the screen of the terminal device according to the mobile information by receiving the mobile information of the first terminal, and the operation is flexible and convenient to use.
  • FIG. 9 is a structural block diagram of a terminal device according to Embodiment 9 of the present invention.
  • the components in Fig. 9 having the same reference numerals as in Fig. 8 have the same functions, and a detailed description of these components will be omitted for the sake of brevity.
  • the receiving module 800 includes:
  • the activation command receiving unit 900 is configured to receive an activation command sent by the first terminal in response to a user operation, and the control module is further configured to activate a control function for the shared content according to the activation command.
  • the mobile information receiving unit 910 is configured to receive the mobile information from the first terminal.
  • control module 810 includes:
  • the first activation unit 920 is configured to: when the activation command receiving unit 900 receives the indication function activation command or the identification function activation command sent by the first terminal in response to the user operation, activate the command according to the indication function on the screen. Generate new layers and indicator icons or generate new layers and logo icons on the screen based on the logo function activation command.
  • the second activation unit 930 is configured to activate a control function of the display progress of the shared content when the mobile information receiving unit 910 receives the display progress activation command sent by the first terminal in response to the user operation.
  • control module 810 further includes: a first control unit 940, configured to control, on a new layer on the screen, the indication icon or the identification icon to move along a movement track corresponding to the movement information, where the indication icon is an icon with an indication function
  • the identification icon is an icon having a drawing function.
  • the second control unit 950 is configured to control, on the screen, a display progress of the shared content according to a movement trajectory corresponding to the movement information.
  • the terminal device further includes a speaker 960 for playing a sound signal.
  • the receiving module 800 is further configured to receive a sound signal from the first terminal, and the control module 810 is further configured to control the speaker 960 to play the sound signal.
  • the control module 810 is further configured to control the speaker 960 to play the sound signal.
  • the terminal device of this embodiment can control the shared content displayed on the screen of the terminal device according to the mobile information by receiving the mobile information of the first terminal, and the operation is flexible and convenient to use.
  • FIG. 10 is a structural block diagram of a terminal device according to Embodiment 10 of the present invention. As shown in Figure 10, the terminal device mainly includes:
  • the transmitter 1000 is configured to send the shared content to the second terminal in a state where the terminal device is connected to the second terminal;
  • the processor 1010 is configured to generate mobile information according to a movement trajectory of the processor.
  • the transmitter 1000 is further configured to send the mobile information to the second terminal, and instruct the second terminal to control the shared content displayed on the screen.
  • the transmitter 1000 is further configured to respond to user operations,
  • the second terminal sends an activation command, where the activation command is used to instruct the second terminal to activate a control function for the shared content;
  • the mobile information is sent to the second terminal, indicating that the second terminal is The mobile information controls the shared content displayed on the screen.
  • the transmitter 1000 is specifically configured to:
  • the indication function activation command is used to instruct the second terminal to generate a new layer and an indication icon on the screen
  • the identification function An activation command is used to instruct the second terminal to generate a new layer and an identification icon on the screen
  • the transmitter 1000 is specifically configured to:
  • the indication icon is an icon having an indication function
  • the identification icon is an icon having a drawing function
  • the processor 1010 is specifically configured to detect a moving direction, a moving speed, and a tilting direction of the self when the position change occurs; according to the moving direction, the moving speed, and the tilting The direction, determining the spatial movement trajectory information of the self; converting the spatial movement trajectory information into the movement information of the plane.
  • the method further includes: a microphone, configured to acquire a sound signal; the transmitter 1000, further configured to send the sound signal to the second terminal, to instruct the second terminal to control the speaker Playing the sound signal.
  • the terminal device may be a mobile device such as a mobile phone or a tablet computer
  • the second terminal may be A device with a display function such as a computer, a television, or a projector.
  • the terminal device is connected to the second terminal through the transmitter 1000, and the connection may be a wireless connection such as: WiFi, Bluetooth, infrared, NFC, and the like.
  • the terminal device and the second terminal may interact with each other by using a transmission control protocol.
  • the transmitter 1000 transmits the shared content to the second terminal.
  • the shared content is content that the terminal device and the second terminal can simultaneously display, such as video, audio, PPT, and the like that need to be played during the speech.
  • the shared content can be synchronously displayed on the screens of the terminal device and the second terminal.
  • the shared content displayed on the terminal device may be turned off or suspended, and the shared content may not be affected at the second terminal.
  • the display on the top is a state of lock screen, hibernation, etc.
  • the processor 1010 in the terminal device may include means for monitoring its own movement trajectory such as a gyroscope, an acceleration sensor, and the like.
  • the gyroscope may be used to detect the moving direction of the terminal device
  • the acceleration sensor is used to detect the moving speed of the terminal device, thereby determining the movement information of the terminal device.
  • FIG. 1B A specific example in which the terminal device controls the shared content displayed on the second terminal by the mobile information can be seen in Fig. 1B and its related description.
  • the mobile device through which the terminal device of the embodiment can control the shared content displayed on the screen of the second terminal is flexible in operation and convenient to use.
  • FIG. 11 is a structural block diagram of a terminal device according to Embodiment 11 of the present invention. As shown in Figure 11, the terminal device mainly includes:
  • the receiver 1100 is configured to receive shared content from the first terminal in a state where the first terminal is connected to the terminal device, and receive mobile information from the first terminal, where the mobile information is that the first terminal according to the first terminal Generated by the movement track;
  • the processor 1110 is configured to control the shared content displayed on the screen according to the movement information.
  • the receiver 1100 is specifically configured to receive the first terminal. An activation command sent in response to a user operation, the processor further configured to activate a control function for the shared content according to the activation command; receiving the movement information from the first terminal.
  • the processor 1110 is specifically configured to: receive, by the receiver 1100, an indication function activation command or an identification function activation command sent by the first terminal in response to a user operation. Generating a new layer and an indication icon on the screen according to the indication function activation command or generating a new layer and an identification icon on the screen according to the identification function activation command; or
  • the control function of the display progress of the shared content is activated.
  • the processor 1110 is further configured to: control, on a new layer on the screen, the indication icon or the identifier icon along a corresponding to the movement information.
  • the indicator icon is an icon having an indication function
  • the logo icon is an icon having a drawing function
  • the display progress of the shared content is controlled according to the movement trajectory corresponding to the movement information.
  • the method includes:
  • the receiver 1100 is further configured to receive a sound signal from the first terminal, and the processor 1110 is further configured to control the speaker to play the sound signal.
  • the first terminal may be a mobile device such as a mobile phone or a tablet computer, and the terminal device may be a device with a display function such as a computer, a television, or a projector.
  • the state in which the first terminal is connected to the terminal device may be a wireless connection such as a connection implemented by technologies such as WiFi, Bluetooth, infrared, NFC, and the like.
  • the first terminal starts the multi-screen sharing mode, such as the speech push mode, and sends the shared content to the terminal device, where the receiver 1100 of the terminal device receives the shared content from the first terminal, for example. Video, audio, PPT, etc. that need to be played during the presentation.
  • the shared content can be synchronously displayed on the screen of the first terminal and the terminal device.
  • the shared content displayed on the first terminal may be closed or suspended, and the shared content may not be affected at the terminal. Display on the device.
  • the terminal device receiver 1100 receives mobile information from the first terminal, the mobile information being generated based on the movement trajectory of the first terminal.
  • the gyroscope may be used to detect the moving direction of the first terminal, and the acceleration sensor is used to detect the moving speed of the first terminal, thereby determining the movement information of the first terminal.
  • a specific example of the terminal device processor 1110 controlling the displayed shared content based on the movement information of the first terminal can be seen in FIG. 1B and its related description.
  • the terminal device of this embodiment can control the shared content displayed on the screen of the terminal device according to the mobile information by receiving the mobile information of the first terminal, and the operation is flexible and convenient to use.
  • the function is implemented in the form of computer software and sold or used as a stand-alone product, it may be considered to some extent that all or part of the technical solution of the present invention (for example, a part contributing to the prior art) is It is embodied in the form of computer software products.
  • the computer software product is typically stored in a computer readable storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes a USB flash drive, a mobile hard disk, a read-only memory (English: Read-Only Memory, abbreviation: ROM), a random access memory (English: Random Access Memory, abbreviation: RAM), a magnetic disk or an optical disk, and the like.
  • a medium that can store program code is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明涉及一种内容共享方法和终端设备,该方法包括:在第一终端与第二终端连接的状态下,所述第一终端向所述第二终端发送共享内容;所述第一终端根据自身的移动轨迹,产生移动信息;所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端控制第二终端屏幕上显示的所述共享内容。本发明的内容共享方法和终端设备可以通过第一终端的移动信息控制第二终端的屏幕上显示的共享内容,操作灵活、使用方便。

Description

内容共享方法和终端设备
技术领域
本发明涉及通信技术领域, 尤其涉及一种内容共享方法和终端设备。 背景技术
目前无线网络的技术快速发展和普及。使用无线技术例如:无线保真(英 文: Wireless Fidelity, 缩写: WiFi) 连接各设备, 可以实现设备间的数据交 换和内容共享。 基于无线技术的内容共享在演讲、 演示领域正在普及。
通常移动终端的无线内容共享功能, 可以将移动终端的屏幕上正在显示 内容的推送和共享到其他设备上, 实现实时同步。例如通过数字生活网络联 盟 (英文: Digital Living Network Alliance, 缩写: DLNA) 技术, 移动终端 可以将屏幕上内容如图像、 音频等, 实时共享到其他设备例如电视、 电脑或 投影仪的屏幕上。 这样, 其他设备的屏幕可以与移动终端的屏幕的显示内容 同步。
综上所述, 采用无线技术在设备之间只能共享屏幕上的内容, 操作不灵 活。 发明内容
技术问题
有鉴于此, 本发明要解决的技术问题是, 如何通过终端设备无线控制共 享的内容。
解决方案
为了解决上述技术问题, 第一方面, 本发明提供了一种内容共享方法, 包括: 在第一终端与第二终端连接的状态下,所述第一终端向所述第二终端发 送共享内容;
所述第一终端根据自身的移动轨迹, 产生移动信息;
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 控制第二终端屏幕上显示的所述共享内容。
结合第一方面,在第一种可能的实现方式中,所述第一终端将所述移动 信息发送给所述第二终端, 具体包括:
所述第一终端响应用户操作, 向所述第二终端发送激活命令, 其中, 所 述激活命令用于指示所述第二终端激活对所述共享内容的控制功能;
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 根据所述移动信息控制屏幕上显示的所述共享内容。
结合第一方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述第一终端响应用户操作, 向所述第二终端发送激活命令, 具体包括: 所述第一终端响应用户操作,向所述第二终端发送指示功能激活命令或 标识功能激活命令,所述指示功能激活命令用于指示所述第二终端在屏幕上 产生新图层和指示图标,所述标识功能激活命令用于指示所述第二终端在屏 幕上产生新图层和标识图标; 或
所述第一终端响应用户操作, 向所述第二终端发送显示进度激活命令, 所述显示进度激活命令用于指示所述第二终端激活所述共享内容的显示进 度的控制功能。
结合第一方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端根据 所述移动信息控制屏幕上显示的所述共享内容, 具体包括:
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 在屏幕上的所述新图层上控制所述指示图标或所述标识图标沿着与所述移 动信息对应的移动轨迹运动,所述指示图标为具有指示功能的图标,所述标 识图标为具有画图功能的图标; 或
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 在屏幕上根据所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
结合第一方面以及第一方面的第一种可能的实施方式至第三种可能的 实施方式中的任意一个,在第四种可能的实施方式中,所述第一终端根据自 身的移动轨迹, 产生移动信息, 具体包括:
在所述第一终端发生位置变化时,检测所述第一终端的移动方向、移动 速度和倾斜方向;
根据所述移动方向、所述移动速度和所述倾斜方向, 确定所述第一终端 的空间移动轨迹信息;
将所述空间移动轨迹信息转换为平面的所述移动信息。
结合第一方面以及第一方面的第一种可能的实施方式至第四种可能的 实施方式中的任意一个, 在第五种可能的实施方式中, 还包括:
所述第一终端通过麦克风获取声音信号;
所述第一终端向所述第二终端发送所述声音信号,指示所述第二终端控 制扬声器播放所述声音信号。
为了解决上述技术问题, 第二方面, 本发明提供了一种内容共享方法, 包括:
在第一终端与第二终端连接的状态下,所述第二终端从所述第一终端接 收共享内容;
所述第二终端从所述第一终端接收移动信息,所述移动信息是所述第一 终端根据自身的移动轨迹产生的;
所述第二终端根据所述移动信息, 控制屏幕上显示的所述共享内容。 结合第二方面,在第一种可能的实现方式中,所述第二终端从所述第一 终端接收移动信息, 包括:
所述第二终端接收所述第一终端响应用户操作而发送的激活命令,根据 所述激活命令激活对所述共享内容的控制功能;
所述第二终端从所述第一终端接收所述移动信息。
结合第二方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述第二终端接收所述第一终端响应用户操作而发送的激活命令,根据所述 激活命令激活对所述共享内容的控制功能, 包括:
所述第二终端接收所述第一终端响应用户操作而发送的指示功能激活 命令或标识功能激活命令,根据所述指示功能激活命令在屏幕上产生新图层 和指示图标或根据标识功能激活命令在屏幕上产生新图层和标识图标; 或 所述第二终端接收所述第一终端响应用户操作而发送的显示进度激活 命令, 激活所述共享内容的显示进度的控制功能。
结合第二方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述第二终端根据所述移动信息, 控制屏幕上显示的所述共享内容, 包括: 所述第二终端在屏幕上的新图层上,控制所述指示图标或所述标识图标 沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具有指示功能的 图标, 所述标识图标为具有画图功能的图标; 或
所述第二终端在屏幕上,根据所述移动信息对应的移动轨迹控制所述共 享内容的显示进度。
结合第二方面以及第二方面的第一种可能的实施方式至第三种可能的 实施方式中的任意一个, 在第四种可能的实施方式中, 还包括:
所述第二终端从所述第一终端接收声音信号,控制扬声器播放所述声音 信号。
为了解决上述技术问题,第三方面,本发明提供了一种终端设备,包括: 发送模块,用于在终端设备与第二终端连接的状态下, 向所述第二终端 发送共享内容;
处理模块, 用于根据自身的移动轨迹, 产生移动信息;
所述发送模块, 还用于将所述移动信息发送给所述第二终端,指示所述 第二终端控制屏幕上显示的所述共享内容。
结合第三方面, 在第一种可能的实现方式中, 所述发送模块包括: 激活命令发送单元,用于响应用户操作,向所述第二终端发送激活命令, 所述激活命令用于指示所述第二终端激活对所述共享内容的控制功能;
移动信息发送单元,用于将所述移动信息发送给所述第二终端, 指示所 述第二终端根据所述移动信息控制屏幕上显示的所述共享内容。
结合第三方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述激活命令发送单元具体用于:
响应用户操作,向所述第二终端发送指示功能激活命令或标识功能激活 命令,所述指示功能激活命令用于指示所述第二终端在屏幕上产生新图层和 指示图标,所述标识功能激活命令用于指示所述第二终端在屏幕上产生新图 层和标识图标; 或
响应用户操作, 向所述第二终端发送显示进度激活命令,所述显示进度 激活命令用于指示所述第二终端激活所述共享内容的显示进度的控制功能。
结合第三方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述移动信息发送单元具体用于:
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上的所 述新图层上控制所述指示图标或所述标识图标沿着与所述移动信息对应的 移动轨迹运动,所述指示图标为具有指示功能的图标,所述标识图标为具有 画图功能的图标; 或
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上根据 所述移动信息对应的移动轨迹控制所述共享内容的显示进度。 结合第三方面以及第三方面的第一种可能的实施方式至第三种可能的 实施方式中的任意一个, 在第四种可能的实施方式中, 所述处理模块包括: 检测单元, 用于在自身发生位置变化时, 检测自身的移动方向、 移动速 度和倾斜方向;
确定单元, 用于根据所述移动方向、所述移动速度和所述倾斜方向, 确 定自身的空间移动轨迹信息;
转换单元, 用于将所述空间移动轨迹信息转换为平面的所述移动信息。 结合第三方面以及第三方面的第一种可能的实施方式至第四种可能的 实施方式中的任意一个, 在第五种可能的实施方式中, 还包括: 麦克风, 用 于获取声音信号;
所述发送模块, 还用于向所述第二终端发送所述声音信号, 指示控制所 述第二终端控制扬声器播放所述声音信号。
为了解决上述技术问题,第四方面,本发明提供了一种终端设备,包括: 接收模块,用于在第一终端与终端设备连接的状态下,从所述第一终端 接收共享内容; 从所述第一终端接收移动信息,所述移动信息是所述第一终 端根据自身的移动轨迹产生的;
控制模块, 用于根据所述移动信息, 控制屏幕上显示的所述共享内容。 结合第四方面, 在第一种可能的实现方式中, 所述接收模块包括: 激活命令接收单元,用于接收所述第一终端响应用户操作而发送的激活 命令,所述控制模块还用于根据所述激活命令激活对所述共享内容的控制功 能;
移动信息接收单元, 用于从所述第一终端接收所述移动信息。
结合第四方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述控制模块包括:
第一激活单元,用于在所述激活命令接收单元接收到所述第一终端响应 用户操作而发送的指示功能激活命令或标识功能激活命令时,根据所述指示 功能激活命令在屏幕上产生新图层和指示图标或根据标识功能激活命令在 屏幕上产生新图层和标识图标; 或
第二激活单元,用于在所述移动信息接收单元接收到所述第一终端响应 用户操作而发送的显示进度激活命令时,激活所述共享内容的显示进度的控 制功能。
结合第四方面以及第四方面的第一种可能的实施方式至第二种可能的 实施方式中的任意一个,在第三种可能的实施方式中,所述控制模块还包括: 第一控制单元,用于在屏幕上的新图层上,控制所述指示图标或所述标 识图标沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具有指示 功能的图标, 所述标识图标为具有画图功能的图标; 或
第二控制单元,用于在屏幕上, 根据所述移动信息对应的移动轨迹控制 所述共享内容的显示进度。
结合第四方面以及第四方面的第一种可能的实施方式至第三种可能的 实施方式中的任意一个, 在第四种可能的实施方式中, 包括:
扬声器, 用于播放声音信号;
所述接收模块还用于从所述第一终端接收声音信号,所述控制模块还用 于控制所述扬声器播放所述声音信号。
为了解决上述技术问题,第五方面,本发明提供了一种终端设备,包括: 发射器,用于在终端设备与第二终端连接的状态下, 向所述第二终端发 送共享内容;
处理器, 用于根据自身的移动轨迹, 产生移动信息;
所述发射器,还用于将所述移动信息发送给所述第二终端, 指示所述第 二终端控制屏幕上显示的所述共享内容。
结合第五方面,在第一种可能的实现方式中,所述发射器还用于响应用 户操作, 向所述第二终端发送激活命令,所述激活命令用于指示所述第二终 端激活对所述共享内容的控制功能; 将所述移动信息发送给所述第二终端, 指示所述第二终端根据所述移动信息控制屏幕上显示的所述共享内容。
结合第五方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述发射器具体用于:
响应用户操作,向所述第二终端发送指示功能激活命令或标识功能激活 命令,所述指示功能激活命令用于指示所述第二终端在屏幕上产生新图层和 指示图标,所述标识功能激活命令用于指示所述第二终端在屏幕上产生新图 层和标识图标; 或
响应用户操作, 向所述第二终端发送显示进度激活命令,所述显示进度 激活命令用于指示所述第二终端激活所述共享内容的显示进度的控制功能。
结合第五方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述发射器具体还用于:
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上的所 述新图层上控制所述指示图标或所述标识图标沿着与所述移动信息对应的 移动轨迹运动,所述指示图标为具有指示功能的图标,所述标识图标为具有 画图功能的图标; 或
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上根据 所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
结合第五方面以及第五方面的第一种可能的实施方式至第三种可能的 实施方式中的任意一个,在第四种可能的实施方式中,所述处理器具体用于 在自身发生位置变化时, 检测自身的移动方向、 移动速度和倾斜方向; 根据 所述移动方向、所述移动速度和所述倾斜方向, 确定自身的空间移动轨迹信 息; 将所述空间移动轨迹信息转换为平面的所述移动信息。
结合第五方面以及第五方面的第一种可能的实施方式至第四种可能的 实施方式中的任意一个, 在第五种可能的实施方式中, 还包括: 麦克风, 用 于获取声音信号;
所述发射器,还用于向所述第二终端发送所述声音信号, 指示控制所述 第二终端控制扬声器播放所述声音信号。
为了解决上述技术问题,第六方面,本发明提供了一种终端设备,包括: 接收器,用于在第一终端与终端设备连接的状态下, 从所述第一终端接 收共享内容; 从所述第一终端接收移动信息,所述移动信息是所述第一终端 根据自身的移动轨迹产生的;
处理器, 用于根据所述移动信息, 控制屏幕上显示的所述共享内容。 结合第六方面,在第一种可能的实现方式中,所述接收器具体用于接收 所述第一终端响应用户操作而发送的激活命令,所述处理器还用于根据所述 激活命令激活对所述共享内容的控制功能;从所述第一终端接收所述移动信 息。
结合第六方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述处理器具体用于:
在所述接收器接收到所述第一终端响应用户操作而发送的指示功能激 活命令或标识功能激活命令时,根据所述指示功能激活命令在屏幕上产生新 图层和指示图标或根据标识功能激活命令在屏幕上产生新图层和标识图标; 或
在所述接收器接收到所述第一终端响应用户操作而发送的显示进度激 活命令时, 激活所述共享内容的显示进度的控制功能。
结合第六方面以及第六方面的第一种可能的实施方式至第二种可能的 实施方式中的任意一个, 在第三种可能的实施方式中, 所述处理器还用于: 在屏幕上的新图层上,控制所述指示图标或所述标识图标沿着与所述移 动信息对应的移动轨迹运动,所述指示图标为具有指示功能的图标,所述标 识图标为具有画图功能的图标; 或
在屏幕上,根据所述移动信息对应的移动轨迹控制所述共享内容的显示 进度。
结合第六方面以及第六方面的第一种可能的实施方式至第三种可能的 实施方式中的任意一个, 在第四种可能的实施方式中, 包括:
扬声器, 用于播放声音信号;
所述接收器还用于从所述第一终端接收声音信号,所述处理器还用于控 制所述扬声器播放所述声音信号。
有益效果
本发明的内容共享方法可以通过第一终端的移动信息控制第二终端的 屏幕上显示的共享内容, 操作灵活、 使用方便。
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及方 面将变得清楚。 附图说明
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了 本发明的示例性实施例、 特征和方面, 并且用于解释本发明的原理。
图 1 A为本发明实施例一的内容共享方法的流程图;
图 1B为本发明实施例一的内容共享方法的示意图;
图 2为本发明实施例二的内容共享方法的流程图;
图 3为本发明实施例三的内容共享方法的流程图:
图 4为本发明实施例四的内容共享方法的流程图;
图 5为本发明实施例五的内容共享方法的流程图;
图 6为本发明实施例六的终端设备的结构框图;
图 7为本发明实施例七的终端设备的结构框图; 图 8为本发明实施例八的终端设备的结构框图;
图 9为本发明实施例九的终端设备的结构框图;
图 10为本发明实施例十的终端设备的结构框图; 以及
图 11为本发明实施例十一的终端设备的结构框图。 具体实施方式
以下将参考附图详细说明本发明的各种示例性实施例、 特征和方面。 附 图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施 例的各种方面, 但是除非特别指出, 不必按比例绘制附图。
在这里专用的词 "示例性"意为 "用作例子、 实施例或说明性" 。 这里 作为 "示例性"所说明的任何实施例不必解释为优于或好于其它实施例。
另外, 为了更好的说明本发明, 在下文的具体实施方式中给出了众多的 具体细节。 本领域技术人员应当理解, 没有这些具体细节, 本发明同样可以 实施。 在另外一些实例中, 对于大家熟知的方法、 手段、 元件和电路未作详 细描述, 以便于凸显本发明的主旨。
实施例 1
图 1A为本发明实施例一的内容共享方法的流程图。 如图 1A所示, 该内 容共享方法主要包括:
步骤 S100、在第一终端与第二终端连接的状态下,所述第一终端向所述 第二终端发送共享内容。
具体地, 第一终端可以为手机、 平板电脑等移动设备, 第二终端可以为 电脑、 电视、 投影仪等带有显示功能的设备。第一终端与第二终端连接的状 态可以为无线连接例如: 通过 WiFi、 蓝牙、 红外、 NFC等技术实现的连接。 在第一终端与第二终端处于连接的状态下,第一终端和第二终端之间可以采 用传输控制协议 (英文: Transmission Control Protocol, 缩写: TCP) 进行 交互。第一终端启动多屏共享模式如演讲推送模式后, 向第二终端发送共享 内容。其中, 共享内容为第一终端向第二终端发送的、 需要共享给第二终端 的内容, 如演讲时需要播放的视频、 音频、 PPT等内容。 一般情况下, 第一 终端向第二终端发送共享内容后,第一终端和第二终端的屏幕上可以同步显 示该共享内容。可选地, 第一终端向第二终端发送共享内容后, 如果第一终 端处于锁屏、休眠等状态,也可以将第一终端上显示的共享内容关闭或暂停, 并且可以不影响共享内容在第二终端上的显示。
步骤 S110、 所述第一终端根据自身的移动轨迹, 产生移动信息。
其中, 移动信息为第一终端在空间中移动的方向和速度信息, 例如: 在 某一设定的坐标系中, 移动信息可以包括从坐标 A移动到坐标 B的方向矢量 和分速度等信息。
步骤 S120、所述第一终端将所述移动信息发送给所述第二终端,指示所 述第二终端控制屏幕上显示的所述共享内容。
具体地, 图 1B为本发明实施例一的内容共享方法的示意图, 如图 1B所 示,第一终端 11将移动信息发送给第二终端 12后,第二终端 12可以根据移动 信息计算并在屏幕上响应该移动信息相应的移动轨迹,从而控制屏幕上显示 的所述共享内容。例如:可以在第二终端的屏幕上显示的共享内容上产生一 个透明的新图层, 并在该透明的新图层上显示移动信息对应的移动轨迹。又 如: 可以在第二终端的屏幕上, 通过移动信息对应的移动轨迹, 直接控制共 享内容的显示进度如 PPT的翻页、 视频的快进、 歌曲的下一首等。
本实施例的内容共享方法可以通过第一终端的移动信息控制第二终端 的屏幕上显示的共享内容, 操作灵活、 使用方便。
实施例 2
图 2为本发明实施例二的内容共享方法的流程图。 图 2中标号与图 1相同 的步骤具有相同的功能, 为简明起见, 省略对这些步骤的详细说明。 如图 2所示, 图 2所示的内容共享方法与图 1所示的内容共享方法的主要 区别在于, 在步骤 S120可以包括:
步骤 S200、所述第一终端响应用户操作,向所述第二终端发送激活命令。 其中, 所述激活命令用于指示所述第二终端激活对所述共享内容的控制功 能。 激活命令具体可以采用以下方式:
方式一、所述第一终端响应用户操作, 向所述第二终端发送指示功能激 活命令或标识功能激活命令,所述指示功能激活命令用于指示所述第二终端 在屏幕上产生新图层和指示图标,所述标识功能激活命令用于指示所述第二 终端在屏幕上产生新图层和标识图标。
方式二、所述第一终端响应用户操作, 向所述第二终端发送显示进度激 活命令,所述显示进度激活命令用于指示所述第二终端激活所述共享内容的 显示进度的控制功能。
步骤 S210、所述第一终端将所述移动信息发送给所述第二终端,指示所 述第二终端根据所述移动信息控制屏幕上显示的所述共享内容。
对于方式一,所述第一终端将所述移动信息发送给所述第二终端, 指示 所述第二终端在屏幕上的所述新图层上控制所述指示图标或所述标识图标 沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具有指示功能的 图标, 所述标识图标为具有画图功能的图标。
对于方式二,所述第一终端将所述移动信息发送给所述第二终端, 指示 所述第二终端在屏幕上根据所述移动信息对应的移动轨迹控制所述共享内 容的显示进度。
举例而言, 方式一可以包括以下情况:
情况一、指示功能。指示功能激活命令用于指示第二终端在屏幕上产生 新图层和指示图标。 用于激活对共享内容的指示控制功能。
若用户按下所述第一终端上的第一按键,则向第二终端发送指示功能激 活命令,指示功能激活命令用于控制第二终端的屏幕上产生新图层和指示图 标。
例如, 预先设置用于实现指示功能的第一按键为 "音量 +" 。 用户按下 该 "音量 +" 时, 激活指示功能如实现激光笔功能。 第一终端向第二终端发 送指示功能激活命令,第二终端接收到指示功能激活命令之后, 可以在屏幕 上创建一个图层 (英文: Activity) , 该图层可以为透明的图层, 并在该图 层的视图 (英文: View) 上产生一个点状的指示图标, 表示激光投射点。 该激光投射点可以根据第一终端发送给第二终端移动信息移动,达到指示的 效果, 即激光笔功能。 其中, 还可以控制激光投射点的消失, 例如: 用户一 直按着第一终端的 "音量 +" , 则激光投射点显示, 在用户停止按 "音量 +" 时, 激光投射点消失。 又如: 用户按一次第一终端的 "音量 +" , 则激光投 射点显示, 在再按一次 "音量 +" 时, 激光投射点消失。
情况二、标识功能。标识功能激活命令用于指示第二终端在屏幕上产生 新图层和标识图标。 用于激活对共享内容的标识控制功能。
若用户按下第一终端上的第二按键,则向第二终端发送标识功能激活命 令, 标识功能激活命令用于控制第二终端的屏幕上产生新图层和标识图标。
例如, 预先设置用于实现指示功能的第二按键为 "音量- " 。 用户按下 该 "音量- " 时, 激活标识功能如实现涂鸦笔功能。 第一终端向第二终端发 送标识功能激活命令,第二终端接收到标识功能激活命令之后, 可以在屏幕 上创建一个图层, 该图层可以为透明的图层, 并在该图层的视图上产生一个 笔头形状的标识图标,表示涂鸦笔。该涂鸦笔可以根据第一终端发送给第二 终端移动信息移动, 在第二终端上绘制出该移动信息, 达到标识的效果, 即 涂鸦笔功能。其中, 也可以控制笔头形状图标消失, 具体方法可以参见控制 激光投射点的消失的相关描述。
方式二为显示进度激活命令。第一终端响应用户操作, 向第二终端发送 显示进度激活命令,显示进度激活命令用于指示第二终端激活共享内容的显 示进度的控制功能。第一终端将移动信息发送给第二终端,指示第二终端在 屏幕上根据移动信息对应的移动轨迹控制共享内容的显示进度。
例如,预先设置用于实现显示进度激活命令的为重力感应器检测到的用 户晃动第一终端的信号。第一终端可以为手机, 当手机的重力感应器检测到 用户向左晃手机时, 激活显示进度激活命令可以为 PPT的向下翻页命令, 第 一终端向第二终端发送显示进度激活命令。第二终端接收到该向下翻页命令 后, 可以控制第二终端显示的共享 PPT向下翻页。 当手机的重力感应器检测 到用户向右晃手机时, 激活显示进度激活命令可以为 PPT的向上翻页命令。 第一终端向第二终端发送显示进度激活命令。第二终端接收到显示进度激活 命令之后, 可以控制共享的 PPT的向上翻页。
需要说明的是,指示功能激活命令、标识功能激活命令和显示进度激活 命令仅为几种示例。第一终端响应用户操作, 激活的移动控制功能, 还可以 包括其他功能。 例如第一终端用户双击 "音量 +"可以控制共享内容如视频 的播放等。 用户可以根据实际应用场景设计用户所需控制功能。
进一步地, 步骤 S110可以包括:
步骤 S220、在所述第一终端发生位置变化时,检测所述第一终端的移动 方向、 移动速度和倾斜方向。例如, 可以采用陀螺仪检测所述第一终端的移 动方向,采用加速度感应器检测所述第一终端的移动速度,采用重力感应器 检测所述第一终端的倾斜方向。
步骤 S230、根据所述移动方向、所述移动速度和所述倾斜方向, 确定所 述第一终端的空间移动轨迹信息。
步骤 S240、 将所述空间移动轨迹信息转换为平面的所述移动信息。 具体地,第一终端可以建立一个三维空间直角坐标系, 三个轴表示为 X、 y和 z, 利用该三维空间直角坐标系处理相关的移动信息。例如, 第一终端初 始位置为空间中 A点, 设 A点坐标为 (0, 0, 0) 。 在 At时间内, 第一终端移 动到 B点, 陀螺仪检测第一终端的移动方向矢量为 (1, 1, 1 ) , 加速度感 应器检测第一终端的沿着 x、 y和 z三个移动方向的分速度均为 5 (运动速度等 单位表示为无量纲量) , 即可得到移动速度矢量为 (5, 5, 5 ) , 那么移动 后的位置是 B (5Δ1, 5Δ1, 5Δ1) 。
第一终端对空间移动轨迹信息进行处理, 转换为平面的移动信息。可以 采用投影方法, 把三维的空间移动轨迹转换为二维的平面移动轨迹信息。例 如可以向 x-y平面投影, 把运动轨迹投影到 x-y平面。 投影后第一终端在 x-y 平面的移动速度矢量为 (5, 5 ) , 移动后的位置是 Β ' (5Δ1, 5Δ1) 。
需要说明的是三维的空间移动轨迹转换为二维的平面移动轨迹信息时, 具体向那个面投影不做限制, 可以向 x-z平面、 y-z平面投影, 能实现将空间 移动轨迹信息转换为平面的移动信息即可。
所述第一终端将所述移动信息发送给所述第二终端,即把移动速度矢量 (5, 5 ) 发送到第二终端, 可以适当放大该速度矢量, 例如 x-y平面的速度 均放大十倍, 那么发送到第二终端的速度矢量为 (50, 50 ) 。
如第一终端激活指示功能,第二终端的屏幕上激光笔投射点初始坐标为 (500, 500 ) , 接收到第一终端的移动信息后, 第二终端的屏幕上的激光笔 投射点沿着方向右上 45度角, x、 y轴方向均以移动速度 50移动。在 At时间内, 则激光笔投射点从 (500, 500) 位置移动到 (500+50Δ1, 500+50Δ1) 位置。 当 At时间为 1时, 移动到的位置为 (550, 550) 。
如检测时间 At足够短, 则第一终端可以精确的测量其移动轨迹, 并传送 到第二终端。第二终端同时检测激光笔投射点移动是否超过现在第二终端屏 幕的最大范围, 若超出最大范围则不予响应。
在一种可能的实施方式中,可以采用重力感应器检测第一终端的倾斜方 向, 并把该倾斜方向的信息发送到第二终端,控制第二终端的屏幕上显示的 共享内容。 例如用户按下第一终端上的某个按键, 第一终端向左倾斜时候, 则向第二终端发送换页功能激活命令, 可以控制第二终端上的共享内容翻 页。
需要说明的是采用陀螺仪、加速度检测器和重力感应器测量第一终端的 移动信息仅为一种示例, 本领域技术人员应该能够理解, 本发明不限于此。 事实上,用户可以完全根据实际应用场景,采用其他的第一终端内置的仪器 检测移动信息, 例如可以采用全球定位系统、距离感应器等, 只要能达到检 测移动信息的效果即可。
本实施例的内容共享方法可以通过第一终端的移动信息控制第二终端 的屏幕上显示的共享内容, 操作灵活、 使用方便。
实施例 3
图 3为本发明实施例三的内容共享方法的流程图。 图 3中标号与图 1相同 的步骤具有相同的功能, 为简明起见, 省略对这些步骤的详细说明。
如图 3所示, 图 3所示的内容共享方法与图 1所示内容共享方法的主要区 别在于, 该内容共享方法还可以包括:
步骤 S300、所述第一终端通过麦克风获取声音信号。具体地, 步骤 S300 可以包括:
步骤 S3001、 第一终端根据麦克风连接情况, 检测判断是否连接外部麦 克风。 如果是, 则可以执行步骤 S3002; 否则可以执行步骤 S3003。
步骤 S3002、 开启外部麦克风, 执行步骤 S3004。 其中, 外部麦克风包 括耳机麦克风等。
步骤 S3003、 开启第一终端自身的麦克风, 执行步骤 S3004。
步骤 S3004、 检测第一终端当前的人声音源, 获取声音信号。
步骤 S310、所述第一终端向所述第二终端发送所述声音信号,指示所述 第二终端控制扬声器播放所述声音信号。 在一种可能的实施方式中,第一终端的麦克风或耳机麦克风可以检测用 户的声音, 实时的传输到第二终端, 并指示第二终端通过扬声器 (英文:
Speaker) 播放该声音信号, 达到扩大第一终端用户声音的效果。
本实施例的内容共享方法可以通过第一终端的声音信息控制第二终端 的扬声器播放声音信号, 操作灵活、 使用方便。
实施例 4
图 4为本发明实施例四的内容共享方法的流程图。如图 4所示, 该内容共 享方法主要包括:
步骤 S400、在第一终端与第二终端连接的状态下,所述第二终端从所述 第一终端接收共享内容。
具体地, 第一终端可以为手机、 平板电脑等移动设备, 第二终端可以为 电脑、 电视、 投影仪等带有显示功能的设备。第一终端与第二终端连接的状 态可以为无线连接例如: 通过 WiFi、 蓝牙、 红外、 NFC等技术实现的连接。 在第一终端与第二终端处于连接的状态下,第一终端启动多屏共享模式如演 讲推送模式后, 向第二终端发送共享内容,第二终端从所述第一终端接收共 享内容。其中, 共享内容为第一终端和第二终端能够同步显示的内容, 如演 讲时需要播放的视频、 音频、 PPT等内容。 一般情况下, 第一终端向第二终 端发送共享内容后, 第一终端和第二终端的屏幕上可以同步显示该共享内 容。可选地,第一终端向第二终端发送共享内容后,如果第一终端处于锁屏、 休眠等状态, 也可以将第一终端上显示的共享内容关闭或暂停, 并且可以不 影响共享内容在第二终端上的显示。
步骤 S410、所述第二终端从所述第一终端接收移动信息,所述移动信息 是所述第一终端根据自身的移动轨迹产生的。
具体地,第二终端从第一终端接收移动信息, 该移动信息是根据第一终 端的移动轨迹产生的。在第一终端发生位置变化时,可以采用陀螺仪检测第 一终端的移动方向,采用加速度感应器检测第一终端的移动速度,从而确定 第一终端的移动轨迹, 计算得到移动信息。其中, 移动信息为第一终端在空 间中移动的方向和速度信息, 例如: 在某一设定的坐标系中, 移动信息可以 包括从坐标 A移动到坐标 B的方向矢量和分速度等信息。
步骤 S420、所述第二终端根据所述移动信息,控制屏幕上显示的所述共 具体地, 参见图 IB, 第二终端 12接收到第一终端 11的移动信息后, 第 二终端可以在屏幕上显示的共享内容上产生一个新图层,该图层可以为透明 的图层, 并在新图层上显示移动信息对应的移动轨迹。第二终端也可以通过 移动信息直接控制屏幕上共享内容的显示进度如 PPT的翻页、 视频的快进、 歌曲的下一首等。
本实施例的内容共享方法可以通过第二终端接收第一终端的移动信息, 根据该移动信息控制第二终端的屏幕上显示的共享内容,操作灵活、使用方 便。
实施例 5
图 5为本发明实施例五的内容共享方法的流程图。 图 5中标号与图 4相同 的步骤具有相同的功能, 为简明起见, 省略对这些步骤的详细说明。
如图 5所示, 图 5所示的内容共享方法与图 4所示的内容共享方法的主要 区别在于, 在步骤 S410可以包括:
步骤 S500、所述第二终端接收所述第一终端响应用户操作而发送的激活 命令, 根据所述激活命令激活对所述共享内容的控制功能。具体可以包括以 下情况:
方式一、指示功能或标识功能。所述第二终端接收所述第一终端响应用 户操作而发送的指示功能激活命令或标识功能激活命令,根据所述指示功能 激活命令在屏幕上产生新图层和指示图标或根据标识功能激活命令在屏幕 上产生新图层和标识图标。
方式二、显示进度调整功能。所述第二终端接收所述第一终端响应用户 操作而发送的显示进度激活命令, 激活所述共享内容的显示进度的控制功 能。
步骤 S510、 所述第二终端从所述第一终端接收所述移动信息。
进一步地, 步骤 S420具体可以包括:
对于方式一,所述第二终端在屏幕上的新图层上,控制所述指示图标或 所述标识图标沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具 有指示功能的图标, 所述标识图标为具有画图功能的图标。
对于方式二,所述第二终端在屏幕上, 根据所述移动信息对应的移动轨 迹控制所述共享内容的显示进度。
方式一具体可以分为以下两种情况:
情况一、若第二终端接收到的激活命令为指示功能激活命令, 则第二终 端在屏幕上产生新图层和指示图标,指示功能激活命令是所述第一终端响应 所述用户按下第一按键而发出的。在第二终端屏幕上透明的新图层上, 指示 图标可以按照移动信息对应的移动轨迹运动。
情况二、若第二终端接收到的激活命令为标识功能激活命令, 则第二终 端在屏幕上产生新图层和标识图标,标识功能激活命令是所述第一终端响应 所述用户按下第二按键而发出的。标识图标可以按照移动信息对应的移动轨 迹产生画图笔迹。
具体地,第二终端响应第一终端产生的指示功能和标识功能的具体示例 可以参考实施例二中方式一的情况一和情况二的相关描述, 此处不再赘述。
方式二、所述第二终端在屏幕上,根据所述移动信息对应的移动轨迹控 制所述共享内容的显示进度。这种方式中, 屏幕上可以不产生新图层, 而是 直接根据移动信息对应的移动轨迹, 确定如何控制共享内容的显示进度。例 如: 移动轨迹为向右, 可以表示 PPT的向下翻页。 具体示例可以参考实施例 二中方式二的相关描述, 此处不再赘述。
其中,第二终端从第一终端接收到的移动信息,可以由第一终端在发生 位置变化时, 通过陀螺仪、 加速度感应器和重力感应器等检测确定的, 具体 的确定方法可以参见内容共享方法实施例二中的相关描述。
在一种可能的实施方式中,第二终端从第一终端接收声音信号, 该声音 信号是第一终端通过自身麦克风或者外部麦克风收集的声音信息,并通过扬 声器播放所述声音信号。 具体方法可以参见图 3及其相关描述。
本实施例的内容共享方法可以通过第二终端接收第一终端的移动信息, 根据该移动信息控制第二终端的屏幕上显示的共享内容,操作灵活、使用方 便。
实施例 6
图 6为本发明实施例六的终端设备的结构框图。如图 6所示, 该终端设备 主要包括:
发送模块 600, 用于在终端设备与第二终端连接的状态下, 向所述第二 终端发送共享内容。
处理模块 610, 用于根据自身的移动轨迹, 产生移动信息。
所述发送模块 600, 还用于将所述移动信息发送给所述第二终端, 指示 所述第二终端控制屏幕上显示的所述共享内容。
本实施例中, 终端设备可以为手机、 平板电脑等移动设备, 第二终端可 以为电脑、电视、投影仪等带有显示功能的设备。终端设备通过发送模块 600 与第二终端连接, 该连接的方式可以为无线连接例如: WiFi、 蓝牙、 红外、 NFC等。在终端设备与第二终端处于连接的状态下, 终端设备和第二终端之 间可以采用传输控制协议进行交互。终端设备启动多屏共享模式如演讲推送 模式后, 发送模块 600向第二终端发送共享内容。 其中, 共享内容为终端设 备和第二终端能够同步显示的内容, 如演讲时需要播放的视频、 音频、 PPT 等内容。一般情况下, 终端设备向第二终端发送共享内容后, 终端设备和第 二终端的屏幕上可以同步显示该共享内容。可选地, 终端设备向第二终端发 送共享内容后, 如果终端设备处于锁屏、休眠等状态, 也可以将终端设备上 显示的共享内容关闭或暂停, 并且可以不影响共享内容在第二终端上的显 终端设备中处理模块 610可以包括监测自身移动轨迹的装置例如陀螺 仪、 加速度感应器等。在终端设备发生位置变化时, 可以采用陀螺仪检测终 端设备的移动方向,采用加速度感应器检测终端设备的移动速度,从而确定 终端设备的移动轨迹, 计算得到移动信息。终端设备通过移动信息控制第二 终端上显示的共享内容的具体示例可以参见图 1B及其相关描述。
本实施例的终端设备可以通过的移动信息控制第二终端的屏幕上显示 的共享内容, 操作灵活、 使用方便。
实施例 7
图 7为本发明实施例七的终端设备的结构框图。 图 7中标号与图 6相同的 组件具有相同的功能, 为简明起见, 省略对这些组件的详细说明。
如图 7所示,图 7所示的终端设备与图 6所示的终端设备的主要区别在于, 所述发送模块 600具体可以包括:
激活命令发送单元 700, 用于响应用户操作, 向所述第二终端发送激活 命令, 所述激活命令用于指示所述第二终端激活对所述共享内容的控制功 能。
移动信息发送单元 710, 用于将所述移动信息发送给所述第二终端, 指 示所述第二终端根据所述移动信息控制屏幕上显示的所述共享内容。
在一种可能的实现方式中, 激活命令发送单元 700具体还用于: 响应用户操作,向所述第二终端发送指示功能激活命令或标识功能激活 命令,所述指示功能激活命令用于指示所述第二终端在屏幕上产生新图层和 指示图标,所述标识功能激活命令用于指示所述第二终端在屏幕上产生新图 层和标识图标。
响应用户操作, 向所述第二终端发送显示进度激活命令,所述显示进度 激活命令用于指示所述第二终端激活所述共享内容的显示进度的控制功能。
在一种可能的实现方式中, 所述移动信息发送单元 710具体还用于: 将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上的所 述新图层上控制所述指示图标或所述标识图标沿着与所述移动信息对应的 移动轨迹运动,所述指示图标为具有指示功能的图标,所述标识图标为具有 画图功能的图标。
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上根据 所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
激活命令发送单元 700具体执行激活命令的过程可以参见上述方法实施 例二的方式一和方式二及其相关描述, 此处不再赘述。
移动信息发送单元 710具体执行发送命令的过程可以参见上述方法实施 例二的方式一和方式二及其相关描述, 此处不再赘述。
在一种可能的实现方式中, 处理模块 610包括:
检测单元 720, 用于在自身发生位置变化时, 检测自身的移动方向、 移 动速度和倾斜方向。
确定单元 730,用于根据所述移动方向、所述移动速度和所述倾斜方向, 确定自身的空间移动轨迹信息。
转换单元 740, 用于将所述空间移动轨迹信息转换为平面的所述移动信 息。
具体的确定方法可以参见内容共享方法实施例二中移动信息确定过程 的相关描述。 在一种可能的实施方式中, 终端设备还包括: 麦克风 750, 用于获取声 音信号。
所述发送模块 600, 还用于向所述第二终端发送所述声音信号, 指示控 制所述第二终端控制扬声器播放所述声音信号。 具体方法可以参见图 3及其 相关描述。
本实施例的终端设备可以通过其移动信息控制第二终端的屏幕上显示 的共享内容, 操作灵活、 使用方便。
实施例 8
图 8为本发明实施例八的终端设备的结构框图。如图 8所示, 该终端设备 主要包括:
接收模块 800, 用于在第一终端与终端设备连接的状态下, 从所述第一 终端接收共享内容; 从所述第一终端接收移动信息,所述移动信息是所述第 一终端根据自身的移动轨迹产生的。
控制模块 810, 用于根据所述移动信息, 控制屏幕上显示的所述共享内 本实施例中, 第一终端可以为手机、 平板电脑等移动设备, 终端设备可 以为电脑、 电视、 投影仪等带有显示功能的设备。第一终端与终端设备连接 的状态可以为无线连接例如: 通过 WiFi、 蓝牙、 红外、 NFC等技术实现的连 接。在第一终端与终端设备处于连接的状态下,第一终端启动多屏共享模式 如演讲推送模式后, 向终端设备发送共享内容, 终端设备的接收模块 800从 所述第一终端接收共享内容如演讲时需要播放的视频、 音频、 PPT等内容。 一般情况下,第一终端向终端设备发送共享内容后,第一终端和终端设备的 屏幕上可以同步显示该共享内容。可选地,第一终端向终端设备发送共享内 容后, 如果第一终端处于锁屏、休眠等状态, 也可以将第一终端上显示的共 享内容关闭或暂停, 并且可以不影响共享内容在终端设备上的显示。 终端设备接收模块 800从第一终端接收移动信息, 该移动信息是根据第 一终端的移动轨迹产生的。在第一终端发生位置变化时, 可以采用陀螺仪检 测第一终端的移动方向,采用加速度感应器检测第一终端的移动速度, 从而 确定第一终端的移动轨迹, 计算得到移动信息。终端设备根据第一终端的移 动信息控制显示的共享内容的具体示例可以参见图 1B及其相关描述。
本实施例的终端设备可以通过接收第一终端的移动信息,根据该移动信 息控制终端设备的屏幕上显示的共享内容, 操作灵活、 使用方便。
实施例 9
图 9为本发明实施例九的终端设备的结构框图。 图 9中标号与图 8相同的 组件具有相同的功能, 为简明起见, 省略对这些组件的详细说明。
如图 9所示,图 9所示的终端设备与图 8所示的终端设备的主要区别在于, 所述接收模块 800包括:
激活命令接收单元 900, 用于接收所述第一终端响应用户操作而发送的 激活命令,所述控制模块还用于根据所述激活命令激活对所述共享内容的控 制功能。
移动信息接收单元 910, 用于从所述第一终端接收所述移动信息。
在一种可能的实施方式中, 所述控制模块 810包括:
第一激活单元 920,用于在所述激活命令接收单元 900接收到所述第一终 端响应用户操作而发送的指示功能激活命令或标识功能激活命令时,根据所 述指示功能激活命令在屏幕上产生新图层和指示图标或根据标识功能激活 命令在屏幕上产生新图层和标识图标。
第二激活单元 930,用于在所述移动信息接收单元 910接收到所述第一终 端响应用户操作而发送的显示进度激活命令时,激活所述共享内容的显示进 度的控制功能。
在一种可能的实施方式中, 所述控制模块 810还包括: 第一控制单元 940, 用于在屏幕上的新图层上, 控制所述指示图标或所 述标识图标沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具有 指示功能的图标, 所述标识图标为具有画图功能的图标。
第二控制单元 950, 用于在屏幕上, 根据所述移动信息对应的移动轨迹 控制所述共享内容的显示进度。
第一激活单元 920和第一控制单元 940中具体的激活和控制方法,可以参 考实施例二中方式一的相关描述, 此处不再赘述。
第二激活单元 930和第二控制单元 950中具体的激活和控制方法,可以参 考实施例二中方式二的相关描述, 此处不再赘述。
在一种可能的实施方式中, 终端设备还包括扬声器 960, 用于播放声音 信号。
所述接收模块 800还用于从所述第一终端接收声音信号, 所述控制模块 810还用于控制所述扬声器 960播放所述声音信号。 具体方法可以参见图 3及 其相关描述。
本实施例的终端设备可以通过接收第一终端的移动信息,根据该移动信 息控制终端设备的屏幕上显示的共享内容, 操作灵活、 使用方便。
实施例 10
图 10为本发明实施例十的终端设备的结构框图。如图 10所示, 该终端设 备主要包括:
发射器 1000,用于在终端设备与第二终端连接的状态下, 向所述第二终 端发送共享内容;
处理器 1010, 用于根据自身的移动轨迹, 产生移动信息;
所述发射器 1000,还用于将所述移动信息发送给所述第二终端,指示所 述第二终端控制屏幕上显示的所述共享内容。
在一种可能的实施方式中,所述发射器 1000还用于响应用户操作, 向所 述第二终端发送激活命令,所述激活命令用于指示所述第二终端激活对所述 共享内容的控制功能; 将所述移动信息发送给所述第二终端,指示所述第二 终端根据所述移动信息控制屏幕上显示的所述共享内容。
在一种可能的实施方式中, 所述发射器 1000具体用于:
响应用户操作,向所述第二终端发送指示功能激活命令或标识功能激活 命令,所述指示功能激活命令用于指示所述第二终端在屏幕上产生新图层和 指示图标,所述标识功能激活命令用于指示所述第二终端在屏幕上产生新图 层和标识图标; 或
响应用户操作, 向所述第二终端发送显示进度激活命令,所述显示进度 激活命令用于指示所述第二终端激活所述共享内容的显示进度的控制功能。
在一种可能的实施方式中, 所述发射器 1000具体还用于:
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上的所 述新图层上控制所述指示图标或所述标识图标沿着与所述移动信息对应的 移动轨迹运动,所述指示图标为具有指示功能的图标,所述标识图标为具有 画图功能的图标; 或
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上根据 所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
在一种可能的实施方式中,所述处理器 1010具体用于在自身发生位置变 化时, 检测自身的移动方向、 移动速度和倾斜方向; 根据所述移动方向、 所 述移动速度和所述倾斜方向, 确定自身的空间移动轨迹信息;将所述空间移 动轨迹信息转换为平面的所述移动信息。
在一种可能的实施方式中, 还包括: 麦克风, 用于获取声音信号; 所述发射器 1000,还用于向所述第二终端发送所述声音信号,指示控制 所述第二终端控制扬声器播放所述声音信号。
具体地, 终端设备可以为手机、 平板电脑等移动设备, 第二终端可以为 电脑、 电视、 投影仪等带有显示功能的设备。 终端设备通过发射器 1000与第 二终端连接, 该连接的方式可以为无线连接例如: WiFi、 蓝牙、 红外、 NFC 等。在终端设备与第二终端处于连接的状态下, 终端设备和第二终端之间可 以采用传输控制协议进行交互。终端设备启动多屏共享模式如演讲推送模式 后, 发射器 1000向第二终端发送共享内容。其中, 共享内容为终端设备和第 二终端能够同步显示的内容,如演讲时需要播放的视频、音频、 PPT等内容。 一般情况下, 终端设备向第二终端发送共享内容后, 终端设备和第二终端的 屏幕上可以同步显示该共享内容。可选地, 终端设备向第二终端发送共享内 容后, 如果终端设备处于锁屏、休眠等状态, 也可以将终端设备上显示的共 享内容关闭或暂停, 并且可以不影响共享内容在第二终端上的显示。
终端设备中处理器 1010可以包括监测自身移动轨迹的装置例如陀螺仪、 加速度感应器等。在终端设备发生位置变化时, 可以采用陀螺仪检测终端设 备的移动方向,采用加速度感应器检测终端设备的移动速度,从而确定终端 设备的移动信息。终端设备通过移动信息控制第二终端上显示的共享内容的 具体示例可以参见图 1B及其相关描述。
本实施例的终端设备可以通过的移动信息控制第二终端的屏幕上显示 的共享内容, 操作灵活、 使用方便。
实施例 11
图 11为本发明实施例十一的终端设备的结构框图。如图 11所示, 该终端 设备主要包括:
接收器 1100,用于在第一终端与终端设备连接的状态下, 从所述第一终 端接收共享内容; 从所述第一终端接收移动信息,所述移动信息是所述第一 终端根据自身的移动轨迹产生的;
处理器 1110,用于根据所述移动信息,控制屏幕上显示的所述共享内容。 在一种可能的实施方式中,所述接收器 1100具体用于接收所述第一终端 响应用户操作而发送的激活命令,所述处理器还用于根据所述激活命令激活 对所述共享内容的控制功能; 从所述第一终端接收所述移动信息。
在一种可能的实施方式中, 其特征在于, 所述处理器 1110具体用于: 在所述接收器 1100接收到所述第一终端响应用户操作而发送的指示功 能激活命令或标识功能激活命令时,根据所述指示功能激活命令在屏幕上产 生新图层和指示图标或根据标识功能激活命令在屏幕上产生新图层和标识 图标; 或
在所述接收器 1100接收到所述第一终端响应用户操作而发送的显示进 度激活命令时, 激活所述共享内容的显示进度的控制功能。
在一种可能的实施方式中, 其特征在于, 所述处理器 1110还用于: 在屏幕上的新图层上,控制所述指示图标或所述标识图标沿着与所述移 动信息对应的移动轨迹运动,所述指示图标为具有指示功能的图标,所述标 识图标为具有画图功能的图标; 或
在屏幕上,根据所述移动信息对应的移动轨迹控制所述共享内容的显示 进度。
在一种可能的实施方式中, 其特征在于, 包括:
扬声器, 用于播放声音信号;
所述接收器 1100还用于从所述第一终端接收声音信号,所述处理器 1110 还用于控制所述扬声器播放所述声音信号。
具体地, 第一终端可以为手机、 平板电脑等移动设备, 终端设备可以为 电脑、 电视、 投影仪等带有显示功能的设备。第一终端与终端设备连接的状 态可以为无线连接例如: 通过 WiFi、 蓝牙、 红外、 NFC等技术实现的连接。 在第一终端与终端设备处于连接的状态下,第一终端启动多屏共享模式如演 讲推送模式后, 向终端设备发送共享内容, 终端设备的接收器 1100从所述第 一终端接收共享内容如演讲时需要播放的视频、 音频、 PPT等内容。 一般情 况下,第一终端向终端设备发送共享内容后,第一终端和终端设备的屏幕上 可以同步显示该共享内容。 可选地, 第一终端向终端设备发送共享内容后, 如果第一终端处于锁屏、休眠等状态, 也可以将第一终端上显示的共享内容 关闭或暂停, 并且可以不影响共享内容在终端设备上的显示。
终端设备接收器 1100从第一终端接收移动信息,该移动信息是根据第一 终端的移动轨迹产生的。在第一终端发生位置变化时, 可以采用陀螺仪检测 第一终端的移动方向,采用加速度感应器检测第一终端的移动速度,从而确 定第一终端的移动信息。终端设备处理器 1110根据第一终端的移动信息控制 显示的共享内容的具体示例可以参见图 1B及其相关描述。
本实施例的终端设备可以通过接收第一终端的移动信息,根据该移动信 息控制终端设备的屏幕上显示的共享内容, 操作灵活、 使用方便。
本领域普通技术人员可以意识到, 本文所描述的实施例中的各示例性单 元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。 这些功能究竟以硬件还是软件形式来实现, 取决于技术方案的特定应用和设 计约束条件。专业技术人员可以针对特定的应用选择不同的方法来实现所描 述的功能, 但是这种实现不应认为超出本发明的范围。
如果以计算机软件的形式来实现所述功能并作为独立的产品销售或使 用时, 则在一定程度上可认为本发明的技术方案的全部或部分(例如对现有 技术做出贡献的部分)是以计算机软件产品的形式体现的。 该计算机软件产 品通常存储在计算机可读取的存储介质中,包括若干指令用以使得计算机设 备(可以是个人计算机、 服务器、 或者网络设备等) 执行本发明各实施例方 法的全部或部分步骤。 而前述的存储介质包括 U盘、 移动硬盘、 只读存储器 (英文: Read-Only Memory,缩写: ROM)、随机存取存储器(英文: Random Access Memory, 缩写: RAM)、 磁碟或者光盘等各种可以存储程序代码的 介质。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种内容共享方法, 其特征在于, 包括:
在第一终端与第二终端连接的状态下,所述第一终端向所述第二终端发 送共享内容;
所述第一终端根据自身的移动轨迹, 产生移动信息;
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 控制第二终端屏幕上显示的所述共享内容。
2、 根据权利要求 1所述的内容共享方法, 其特征在于, 所述第一终端将 所述移动信息发送给所述第二终端, 具体包括:
所述第一终端响应用户操作, 向所述第二终端发送激活命令, 其中, 所 述激活命令用于指示所述第二终端激活对所述共享内容的控制功能;
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 根据所述移动信息控制屏幕上显示的所述共享内容。
3、 根据权利要求 2所述的内容共享方法, 其特征在于, 所述第一终端响 应用户操作, 向所述第二终端发送激活命令, 具体包括:
所述第一终端响应用户操作,向所述第二终端发送指示功能激活命令或 标识功能激活命令,所述指示功能激活命令用于指示所述第二终端在屏幕上 产生新图层和指示图标,所述标识功能激活命令用于指示所述第二终端在屏 幕上产生新图层和标识图标; 或
所述第一终端响应用户操作, 向所述第二终端发送显示进度激活命令, 所述显示进度激活命令用于指示所述第二终端激活所述共享内容的显示进 度的控制功能。
4、 根据权利要求 3所述的内容共享方法, 其特征在于, 所述第一终端将 所述移动信息发送给所述第二终端,指示所述第二终端根据所述移动信息控 制屏幕上显示的所述共享内容, 具体包括:
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 在屏幕上的所述新图层上控制所述指示图标或所述标识图标沿着与所述移 动信息对应的移动轨迹运动,所述指示图标为具有指示功能的图标,所述标 识图标为具有画图功能的图标; 或
所述第一终端将所述移动信息发送给所述第二终端,指示所述第二终端 在屏幕上根据所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
5、 根据权利要求 1-4中任一项所述的内容共享方法, 其特征在于, 所述 第一终端根据自身的移动轨迹, 产生移动信息, 具体包括:
在所述第一终端发生位置变化时,检测所述第一终端的移动方向、移动 速度和倾斜方向;
根据所述移动方向、所述移动速度和所述倾斜方向, 确定所述第一终端 的空间移动轨迹信息;
将所述空间移动轨迹信息转换为平面的所述移动信息。
6、 根据权利要求 1-5中任一项所述的内容共享方法, 其特征在于, 还包 括:
所述第一终端通过麦克风获取声音信号;
所述第一终端向所述第二终端发送所述声音信号,指示所述第二终端控 制扬声器播放所述声音信号。
7、 一种内容共享方法, 其特征在于, 包括:
在第一终端与第二终端连接的状态下,所述第二终端从所述第一终端接 收共享内容;
所述第二终端从所述第一终端接收移动信息,所述移动信息是所述第一 终端根据自身的移动轨迹产生的;
所述第二终端根据所述移动信息, 控制屏幕上显示的所述共享内容。
8、根据权利要求 7所述的内容共享方法, 其特征在于, 所述第二终端从 所述第一终端接收移动信息, 包括: 所述第二终端接收所述第一终端响应用户操作而发送的激活命令,根据 所述激活命令激活对所述共享内容的控制功能;
所述第二终端从所述第一终端接收所述移动信息。
9、 根据权利要求 8所述的内容共享方法, 其特征在于, 所述第二终端接 收所述第一终端响应用户操作而发送的激活命令,根据所述激活命令激活对 所述共享内容的控制功能, 包括:
所述第二终端接收所述第一终端响应用户操作而发送的指示功能激活 命令或标识功能激活命令,根据所述指示功能激活命令在屏幕上产生新图层 和指示图标或根据标识功能激活命令在屏幕上产生新图层和标识图标; 或 所述第二终端接收所述第一终端响应用户操作而发送的显示进度激活 命令, 激活所述共享内容的显示进度的控制功能。
10、 根据权利要求 9所述的内容共享方法, 其特征在于, 所述第二终端 根据所述移动信息, 控制屏幕上显示的所述共享内容, 包括:
所述第二终端在屏幕上的新图层上,控制所述指示图标或所述标识图标 沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具有指示功能的 图标, 所述标识图标为具有画图功能的图标; 或
所述第二终端在屏幕上,根据所述移动信息对应的移动轨迹控制所述共 享内容的显示进度。
11、 根据权利要求 7-10中任一项所述的内容共享方法, 其特征在于, 还 包括:
所述第二终端从所述第一终端接收声音信号,控制扬声器播放所述声音 信号。
12、 一种终端设备, 其特征在于, 包括:
发送模块,用于在终端设备与第二终端连接的状态下, 向所述第二终端 发送共享内容; 处理模块, 用于根据自身的移动轨迹, 产生移动信息;
所述发送模块, 还用于将所述移动信息发送给所述第二终端,指示所述 第二终端控制屏幕上显示的所述共享内容。
13、根据权利要求 12所述的终端设备,其特征在于,所述发送模块包括: 激活命令发送单元,用于响应用户操作,向所述第二终端发送激活命令, 所述激活命令用于指示所述第二终端激活对所述共享内容的控制功能;
移动信息发送单元,用于将所述移动信息发送给所述第二终端, 指示所 述第二终端根据所述移动信息控制屏幕上显示的所述共享内容。
14、根据权利要求 13所述的终端设备, 其特征在于, 所述激活命令发送 单元具体用于:
响应用户操作,向所述第二终端发送指示功能激活命令或标识功能激活 命令,所述指示功能激活命令用于指示所述第二终端在屏幕上产生新图层和 指示图标,所述标识功能激活命令用于指示所述第二终端在屏幕上产生新图 层和标识图标; 或
响应用户操作, 向所述第二终端发送显示进度激活命令,所述显示进度 激活命令用于指示所述第二终端激活所述共享内容的显示进度的控制功能。
15、根据权利要求 14所述的终端设备, 其特征在于, 所述移动信息发送 单元具体用于:
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上的所 述新图层上控制所述指示图标或所述标识图标沿着与所述移动信息对应的 移动轨迹运动,所述指示图标为具有指示功能的图标,所述标识图标为具有 画图功能的图标; 或
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上根据 所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
16、 根据权利要求 12-15中任一项所述的终端设备, 其特征在于, 所述 处理模块包括:
检测单元, 用于在自身发生位置变化时, 检测自身的移动方向、 移动速 度和倾斜方向;
确定单元, 用于根据所述移动方向、所述移动速度和所述倾斜方向, 确 定自身的空间移动轨迹信息;
转换单元, 用于将所述空间移动轨迹信息转换为平面的所述移动信息。
17、 根据权利要求 12-16中任一项所述的终端设备, 其特征在于, 还包 括: 麦克风, 用于获取声音信号;
所述发送模块, 还用于向所述第二终端发送所述声音信号, 指示控制所 述第二终端控制扬声器播放所述声音信号。
18、 一种终端设备, 其特征在于, 包括:
接收模块,用于在第一终端与终端设备连接的状态下,从所述第一终端 接收共享内容; 从所述第一终端接收移动信息,所述移动信息是所述第一终 端根据自身的移动轨迹产生的;
控制模块, 用于根据所述移动信息, 控制屏幕上显示的所述共享内容。
19、根据权利要求 18所述的终端设备,其特征在于,所述接收模块包括: 激活命令接收单元,用于接收所述第一终端响应用户操作而发送的激活 命令,所述控制模块还用于根据所述激活命令激活对所述共享内容的控制功 能;
移动信息接收单元, 用于从所述第一终端接收所述移动信息。
20、根据权利要求 19所述的终端设备,其特征在于,所述控制模块包括: 第一激活单元,用于在所述激活命令接收单元接收到所述第一终端响应 用户操作而发送的指示功能激活命令或标识功能激活命令时,根据所述指示 功能激活命令在屏幕上产生新图层和指示图标或根据标识功能激活命令在 屏幕上产生新图层和标识图标; 或 第二激活单元,用于在所述移动信息接收单元接收到所述第一终端响应 用户操作而发送的显示进度激活命令时,激活所述共享内容的显示进度的控 制功能。
21、 根据权利要求 18-20中任一项所述的终端设备, 其特征在于, 所述 控制模块还包括:
第一控制单元,用于在屏幕上的新图层上,控制所述指示图标或所述标 识图标沿着与所述移动信息对应的移动轨迹运动,所述指示图标为具有指示 功能的图标, 所述标识图标为具有画图功能的图标; 或
第二控制单元,用于在屏幕上, 根据所述移动信息对应的移动轨迹控制 所述共享内容的显示进度。
22、 根据权利要求 18-21中任一项所述的终端设备, 其特征在于, 包括: 扬声器, 用于播放声音信号;
所述接收模块还用于从所述第一终端接收声音信号,所述控制模块还用 于控制所述扬声器播放所述声音信号。
23、 一种终端设备, 其特征在于, 包括:
发射器,用于在终端设备与第二终端连接的状态下, 向所述第二终端发 送共享内容;
处理器, 用于根据自身的移动轨迹, 产生移动信息;
所述发射器,还用于将所述移动信息发送给所述第二终端, 指示所述第 二终端控制屏幕上显示的所述共享内容。
24、根据权利要求 23所述的终端设备, 其特征在于, 所述发射器还用于 响应用户操作, 向所述第二终端发送激活命令,所述激活命令用于指示所述 第二终端激活对所述共享内容的控制功能;将所述移动信息发送给所述第二 终端, 指示所述第二终端根据所述移动信息控制屏幕上显示的所述共享内
25、根据权利要求 24所述的终端设备, 其特征在于, 所述发射器具体用 于:
响应用户操作,向所述第二终端发送指示功能激活命令或标识功能激活 命令,所述指示功能激活命令用于指示所述第二终端在屏幕上产生新图层和 指示图标,所述标识功能激活命令用于指示所述第二终端在屏幕上产生新图 层和标识图标; 或
响应用户操作, 向所述第二终端发送显示进度激活命令,所述显示进度 激活命令用于指示所述第二终端激活所述共享内容的显示进度的控制功能。
26、根据权利要求 25所述的终端设备, 其特征在于, 所述发射器具体还 用于:
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上的所 述新图层上控制所述指示图标或所述标识图标沿着与所述移动信息对应的 移动轨迹运动,所述指示图标为具有指示功能的图标,所述标识图标为具有 画图功能的图标; 或
将所述移动信息发送给所述第二终端,指示所述第二终端在屏幕上根据 所述移动信息对应的移动轨迹控制所述共享内容的显示进度。
27、 根据权利要求 23-26中任一项所述的终端设备, 其特征在于, 所述 处理器具体用于在自身发生位置变化时, 检测自身的移动方向、移动速度和 倾斜方向; 根据所述移动方向、所述移动速度和所述倾斜方向, 确定自身的 空间移动轨迹信息; 将所述空间移动轨迹信息转换为平面的所述移动信息。
28、 根据权利要求 23-27中任一项所述的终端设备, 其特征在于, 还包 括: 麦克风, 用于获取声音信号;
所述发射器,还用于向所述第二终端发送所述声音信号, 指示控制所述 第二终端控制扬声器播放所述声音信号。
29、 一种终端设备, 其特征在于, 包括: 接收器,用于在第一终端与终端设备连接的状态下, 从所述第一终端接 收共享内容; 从所述第一终端接收移动信息,所述移动信息是所述第一终端 根据自身的移动轨迹产生的;
处理器, 用于根据所述移动信息, 控制屏幕上显示的所述共享内容。
30、根据权利要求 29所述的终端设备, 其特征在于, 所述接收器具体用 于接收所述第一终端响应用户操作而发送的激活命令,所述处理器还用于根 据所述激活命令激活对所述共享内容的控制功能;从所述第一终端接收所述 移动信息。
31、根据权利要求 30所述的终端设备, 其特征在于, 所述处理器具体用 于:
在所述接收器接收到所述第一终端响应用户操作而发送的指示功能激 活命令或标识功能激活命令时,根据所述指示功能激活命令在屏幕上产生新 图层和指示图标或根据标识功能激活命令在屏幕上产生新图层和标识图标; 或
在所述接收器接收到所述第一终端响应用户操作而发送的显示进度激 活命令时, 激活所述共享内容的显示进度的控制功能。
32、 根据权利要求 29-31中任一项所述的终端设备, 其特征在于, 所述 处理器还用于:
在屏幕上的新图层上,控制所述指示图标或所述标识图标沿着与所述移 动信息对应的移动轨迹运动,所述指示图标为具有指示功能的图标,所述标 识图标为具有画图功能的图标; 或
在屏幕上,根据所述移动信息对应的移动轨迹控制所述共享内容的显示 进度。
33、 根据权利要求 29-32中任一项所述的终端设备, 其特征在于, 包括: 扬声器, 用于播放声音信号; 所述接收器还用于从所述第一终端接收声音信号,所述处理器还用于控 制所述扬声器播放所述声音信号。
PCT/CN2013/085409 2013-10-17 2013-10-17 内容共享方法和终端设备 WO2015054868A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201810792936.0A CN109144362A (zh) 2013-10-17 2013-10-17 内容共享方法和终端设备
PCT/CN2013/085409 WO2015054868A1 (zh) 2013-10-17 2013-10-17 内容共享方法和终端设备
CN201380001349.0A CN104737113A (zh) 2013-10-17 2013-10-17 内容共享方法和终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/085409 WO2015054868A1 (zh) 2013-10-17 2013-10-17 内容共享方法和终端设备

Publications (1)

Publication Number Publication Date
WO2015054868A1 true WO2015054868A1 (zh) 2015-04-23

Family

ID=52827572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085409 WO2015054868A1 (zh) 2013-10-17 2013-10-17 内容共享方法和终端设备

Country Status (2)

Country Link
CN (2) CN109144362A (zh)
WO (1) WO2015054868A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462729B (zh) * 2017-02-17 2023-01-10 北京三星通信技术研究有限公司 实现终端设备交互的方法和装置、终端设备及服务器
CN110389740B (zh) * 2019-07-05 2024-04-30 深圳市睿思聪科技有限公司 一种基于显示屏幕的文件演示系统、控制器及方法
CN111679881B (zh) * 2020-06-09 2022-03-15 腾讯科技(深圳)有限公司 一种文件处理方法、装置、计算机设备以及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500036A (zh) * 2009-01-06 2009-08-05 深圳华为通信技术有限公司 一种控制投影仪的显示内容的方法、移动终端及投影仪
CN102455843A (zh) * 2010-10-21 2012-05-16 浪潮乐金数字移动通信有限公司 一种ppt文件的操作控制方法和装置
US20130106586A1 (en) * 2011-10-26 2013-05-02 Monique S. Vidal Remote control
CN203027332U (zh) * 2012-10-15 2013-06-26 广东欧珀移动通信有限公司 一种可远程操作投影文档的移动终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407708C (zh) * 2003-08-27 2008-07-30 腾讯科技(深圳)有限公司 一种即时通讯中音/视频分享的方法和系统
KR20060088374A (ko) * 2005-02-01 2006-08-04 엘지전자 주식회사 이동단말기의 다자 통화 장치
CN101645952A (zh) * 2008-08-07 2010-02-10 深圳华为通信技术有限公司 会议电话终端、系统及共享数据的方法
CN102111475A (zh) * 2009-12-23 2011-06-29 康佳集团股份有限公司 一种手机音乐播放功能控制系统及控制方法
CN102447893B (zh) * 2010-09-30 2015-08-26 北京沃安科技有限公司 手机视频实时采集和发布的方法及系统
TWI475468B (zh) * 2011-03-23 2015-03-01 Acer Inc 可攜式裝置、資料傳輸系統及其相關顯示共享方法
CN202309954U (zh) * 2011-10-13 2012-07-04 杭州华银教育多媒体科技股份有限公司 交互式一体化电子白板和共享系统
KR101985275B1 (ko) * 2012-02-02 2019-09-03 삼성전자주식회사 근거리 무선 통신 시스템 및 그 운용 방법

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500036A (zh) * 2009-01-06 2009-08-05 深圳华为通信技术有限公司 一种控制投影仪的显示内容的方法、移动终端及投影仪
CN102455843A (zh) * 2010-10-21 2012-05-16 浪潮乐金数字移动通信有限公司 一种ppt文件的操作控制方法和装置
US20130106586A1 (en) * 2011-10-26 2013-05-02 Monique S. Vidal Remote control
CN203027332U (zh) * 2012-10-15 2013-06-26 广东欧珀移动通信有限公司 一种可远程操作投影文档的移动终端

Also Published As

Publication number Publication date
CN109144362A (zh) 2019-01-04
CN104737113A (zh) 2015-06-24

Similar Documents

Publication Publication Date Title
JP5937076B2 (ja) 移動デバイスにおけるジェスチャーベースのユーザ入力の検出のための方法および装置
CN109729411B (zh) 直播互动方法及装置
US8508671B2 (en) Projection systems and methods
KR20200028481A (ko) 촬상 장치, 화상 표시 시스템 및 조작 방법
JP7026819B2 (ja) カメラの位置決め方法および装置、端末並びにコンピュータプログラム
US9794495B1 (en) Multiple streaming camera navigation interface system
KR102329639B1 (ko) 원격 제어 장치 및 그 제어 방법
US20150304712A1 (en) Method, apparatus, and system for transferring digital media content playback
JP2016506556A (ja) ジェスチャを介したマルチデバイスのペアリングおよび共有
KR102381369B1 (ko) 전자 장치, 오디오 장치 및 전자 장치의 오디오 장치 네트워크 설정 방법
TWI555390B (zh) 控制電子設備的方法與電子裝置
CN108881286B (zh) 多媒体播放控制的方法、终端、音箱设备和系统
WO2014115387A1 (ja) 情報処理装置、情報処理方法およびプログラム
CN103970500A (zh) 一种图片显示的方法及装置
US20140223359A1 (en) Display processor and display processing method
US11367258B2 (en) Display device, user terminal device, display system including the same and control method thereof
EP3842106A1 (en) Method and device for processing control information, electronic equipment, and storage medium
KR20200136753A (ko) 외부 전자 장치를 통해 화면 공유 서비스를 제공하기 위한 전자 장치, 방법, 및 컴퓨터 판독가능 매체
CN105704110B (zh) 一种媒体传输方法、媒体控制方法及装置
CN112104648A (zh) 数据处理方法、装置、终端、服务器及存储介质
KR20180129677A (ko) 통신장치, 통신방법, 및 기억매체
KR20160144817A (ko) 디스플레이 장치, 포인팅 장치, 포인팅 시스템 및 그 제어 방법
WO2016095641A1 (zh) 数据交互方法及系统、移动终端
KR20190022307A (ko) 클라이언트 디바이스, 컴패니언 스크린 디바이스 및 그 동작방법
WO2015054868A1 (zh) 内容共享方法和终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13895541

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13895541

Country of ref document: EP

Kind code of ref document: A1