WO2020114456A1 - 图像共享的控制方法、装置、终端及存储介质 - Google Patents

图像共享的控制方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2020114456A1
WO2020114456A1 PCT/CN2019/123300 CN2019123300W WO2020114456A1 WO 2020114456 A1 WO2020114456 A1 WO 2020114456A1 CN 2019123300 W CN2019123300 W CN 2019123300W WO 2020114456 A1 WO2020114456 A1 WO 2020114456A1
Authority
WO
WIPO (PCT)
Prior art keywords
image sharing
display mode
shared data
image
sharing control
Prior art date
Application number
PCT/CN2019/123300
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 中兴通讯股份有限公司
Publication of WO2020114456A1 publication Critical patent/WO2020114456A1/zh

Links

Images

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/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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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

Definitions

  • the present disclosure relates to the technical field of computer data sharing, and in particular, to a method, device, terminal, and storage medium for image sharing.
  • the WIFI Display standard is formulated by the WIFI Wireless Industry Alliance. Through this technology, device discovery and wireless settings can be simplified, and mobile phones/mobile PC-TVs/displays can be wirelessly connected to realize high-speed video transmission between devices. After the source and the receiver are connected to each other, the receiver displays and outputs the screen image and sound of the source at the same time, and all the content of the source can be shared. This application mode greatly facilitates content sharing.
  • the WIFI Display standard was originally designed for horizontal display devices, such as computer monitors, TVs, etc.
  • the image received at the receiving end shares the displayed image Very small, please refer to Figure 7.
  • the image displayed on the receiving side actually includes the effective display image and the black background on both sides, resulting in poor user experience.
  • an object of the present disclosure is to propose a control method for image sharing with good user experience.
  • An image sharing control method includes: receiving shared data sent by a source and determining a display mode of the shared data; determining whether the display mode of the shared data is consistent with a preset display mode; when determined When the determined result is inconsistent, the shared data is displayed according to a preset display mode.
  • Another object of the present disclosure is to propose a control device for image sharing with good user experience.
  • An image sharing control device includes: a transceiver module for receiving shared data sent by a source and determining a display mode of the shared data; and a judgment module for judging the display mode and the shared data Whether the preset display mode is consistent; the display module is configured to display the shared data according to the preset display mode when the judgment module determines that the display mode of the shared data is inconsistent with the preset display mode.
  • an image sharing control terminal in an embodiment of the present disclosure includes a memory and a processor, the memory stores a computer program for image sharing control, and the processor executes the computer program to implement the above The steps of the method.
  • a computer-readable storage medium in an embodiment of the present disclosure stores a computer program for image sharing control, and the computer program can be executed by at least one processor to implement the steps of the method described above .
  • FIG. 1 is a flowchart of an image sharing control method according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a network diagram of performing a rollback or fast forward operation on cached image sharing data according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of an image sharing control method according to another embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an image sharing control device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an image sharing control device according to another embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of image sharing when the image on the source side is a vertical screen in some cases.
  • the image sharing control method includes at least the following steps: S101, receiving shared data sent by a source, and determining a display mode of the shared data; S102, determining a display mode of the shared data Whether it is consistent with the preset display mode; S103, when it is determined that the judged result is inconsistent, display the shared data according to the preset display mode.
  • the shared data when the display mode of the shared data received by the receiving end is inconsistent with the preset display mode, the shared data will be displayed according to the preset display mode, thereby ensuring that regardless of the source end What display mode is the image, that is, regardless of whether the image on the source side is horizontal or vertical, the image displayed on the receiving side is always in a fixed display mode to improve the user experience.
  • step S103 when it is determined that the judged results are inconsistent, the step of displaying the shared data according to the preset display mode is: when it is determined that the judged results are inconsistent, according to the preset display mode
  • the background adjustment mode, effective screen display mode and resolution of the received shared data are determined to perform image processing and display. Examples include: removing the black background from the source image, retaining the effective screen image, and adjusting the resolution according to local settings.
  • the image sharing control method further includes: playing and caching the image sharing data
  • the control method further includes: detecting a pressing position when the user performs a pressing operation on the screen of the receiving end; when detected When the pressing position is on the first side of the screen, perform a rollback operation on the shared data; when it is detected that the pressing position is on the second side of the screen opposite to the first side , Fast forward the shared data.
  • the step of performing a rollback operation on the cached image sharing data includes: detecting the pressure of the user pressing on the first side, and adjusting the rollback operation according to the detected pressure Rewind speed; determine whether the current playback position is back to the beginning of the cache; if it is, determine that the pressing operation is invalid and play from the beginning of the cache; if not, further determine whether the user stops the pressing operation , If the user stops the pressing operation, it will stop going back and play the image sharing data at the current time; if the user does not stop the pressing operation, continue to perform the detection that the user presses on the first side The magnitude of the pressure, and the step of adjusting the retracting speed of the retracting operation according to the detected magnitude of the pressure.
  • the step of fast forwarding the shared data includes: judging whether the image sharing data is being played in real time; if yes, judging that the pressing operation is invalid and continuing to play the image sharing data in real time; if not, detecting that the user is The pressure of the second side to press, and adjust the fast-forward speed of the fast-forward operation according to the detected pressure; determine whether to fast-forward to the end of the buffer, and if so, determine the pressing operation Invalid, continue to play the image sharing data in real time, if not, it is further determined whether the user stops the pressing operation, if the user stops the pressing operation, then stops fast forward, plays the image sharing data at the current time, if the user does not stop the For the pressing operation, the steps of detecting the pressure of the user pressing on the second side and adjusting the fast-forward speed of the fast-forward operation according to the detected pressure are continued.
  • control method further includes: when it is determined that the display mode of the shared data is consistent with a preset display mode, directly playing and buffering the shared data.
  • an image sharing control method is applied to an image sharing receiver.
  • the control method proposed in this embodiment includes:
  • S201 Receive image sharing data sent from the source
  • step S201 it is first necessary to establish the interconnection between the receiving end and the source end, and the image sharing can be realized between the receiving end and the source end through WIFI Display or WIFI P2P interconnection.
  • setting the display mode of the image sharing includes: setting the display mode of the image sharing to be consistent with the source end horizontal or vertical screen or setting the display mode of the image sharing to be not consistent with the source end horizontal and vertical screen.
  • step S204 the image processing includes: removing the black background in the source-end image, retaining the effective screen image, adjusting the resolution, and ensuring that the resolution is consistent with the receiving end.
  • S205 Play and cache the image shared data after image processing, and perform a rewind or fast forward operation on the cached image shared data during the playback process.
  • the image sharing display mode is set In order not to keep the horizontal and vertical screen consistent with the source end, the image sharing data is directly played and cached.
  • rewinding or fast-forwarding the cached image sharing data during playback is implemented by pressure touch, which includes the following steps: receiving a user's pressing operation on the screen of the receiving end; judging the pressing position; when pressing the position When it is one side of the screen, in this embodiment, when the pressing position is on the left side of the screen, the backing operation is performed on the cached image sharing data, which is: adjusting the backing speed according to the pressure of the user pressing; judging Whether the current playback position of the receiving end is back to the starting position of the cache; if it is, the pressing is invalid, playing from the beginning of the cache, and prompting the user; if not, it is further determined whether the user stops pressing, if the user stops pressing , Then stop retreating and play the image sharing data at the current moment; if the user does not stop pressing, then continue the step of adjusting the retreating speed according to the pressure of the user pressing.
  • the fast-forward operation on the cached image sharing data is to determine whether the receiving end is playing in real time Image sharing data; if it is, the press is invalid, continue to play the image sharing data in real time; if not, adjust the fast-forward speed according to the pressure of the user’s pressure, and determine whether to fast-forward to the end of the cache, if it is, press the failure, continue Real-time playback of image sharing data, if not, then further determine whether the user stops pressing, if the user stops pressing, stop fast forward, play the current image sharing data, if the user does not stop pressing, continue to execute the Steps to adjust the fast forward speed of the pressure.
  • the screen at the receiving end in this embodiment uses a pressure touch screen.
  • the operation of rewinding or fast-forwarding the image sharing content at the receiving end is not limited to the method of using pressure touch, and the fast-forwarding and rewinding buttons can also be added at the receiving end, or through the volume, Press the button and so on to rewind or fast forward the image sharing content.
  • an embodiment of the present disclosure also provides an image sharing control device. Please refer to FIG. 5.
  • the control device includes: a transceiver module, configured to receive shared data sent by a source and determine the sharing The display mode of the data; the judgment module is used to judge whether the display mode of the shared data is consistent with the preset display mode; the display module is used to judge that the display mode of the shared data and the preset When the display modes are inconsistent, the shared data is displayed according to a preset display mode.
  • the control device further includes: a detection module for detecting a pressing position when the user performs a pressing operation on the screen of the receiving end; a retreating operation module for when the detecting module detects the pressing When the position is on the first side of the screen, perform a rollback operation on the shared data; according to an example of the present disclosure, the control device further includes: a fast-forward operation module for detecting when the detection module detects When the pressing position is on a second side of the screen opposite to the first side, a fast-forward operation is performed on the shared data.
  • the retracting operation module is configured to: detect the magnitude of pressure received by the first side, and adjust the retracting speed according to the detected magnitude of pressure.
  • the fast-forward operation module is configured to: detect the magnitude of pressure received by the second side, and adjust the fast-forward speed of the fast-forward operation according to the detected magnitude of pressure.
  • the display module is used for receiving the shared data according to the background adjustment mode, effective screen display mode and resolution in the preset display mode when it is determined that the judged results are inconsistent Make sure to perform image processing and display.
  • another embodiment of the present disclosure also provides an image sharing control device, including: a data transceiving module 10 for receiving image sharing data sent from a source end, using RTP and RTSP protocols, data transceiving The module 10 parses the RTP message and sends the load, that is, the media data, to the codec module 20.
  • the data transceiver module 10 is located at the bottom of the control device; the codec module 20 receives the data transceiver module 10 To decode the shared image data; the image processing module 30 receives the image shared data decoded by the codec module 20, and removes the black background in the image, retains the effective screen and adjusts the resolution of the decoded image shared data
  • the operation of the media storage module 40 is used to cache the image sharing data decoded by the codec module 20 or the image sharing data processed by the image processing module 30; the image sharing application 50 is used to provide an interactive interface for image sharing ,
  • the user operations include the operation of setting the image sharing display mode and the operation of rewinding or fast forwarding, the setting of the image sharing display mode includes setting the image sharing display mode to maintain the same horizontal or vertical screen as the source or set The display mode of the image sharing is not to be consistent with the source and the horizontal and vertical screens.
  • the image sharing application 50 is located at the top layer of the control device; the image sharing control module 60 interacts with the image sharing application 50 to respond to the The operation of the user in the image sharing application 50, after acquiring the image sharing data from the media storage module 40, controls the image sharing data accordingly;
  • the media playing module 70 is used to play the image sharing data under the control of the image sharing control module 60, and provide an interface for each control of the image sharing control.
  • the image sharing control module 60 responds to the user's corresponding operation, and obtains image sharing data from the media storage module 40, and plays or rewinds the image sharing data accordingly or Fast forward operation.
  • the control device further includes: a pressure sensor 80 for sensing the occurrence, position and size change of the screen pressure at the receiving end; a screen pressure feedback module 90 for receiving data sensed by the pressure sensor 80 And send the received data to the image sharing control module 60; when the pressure sensor 80 senses that the position of the screen pressure at the receiving end is on the first side of the screen, this embodiment takes the left side as an example, so The screen pressure feedback module 90 sends the perception information to the image sharing control module 60, and the image sharing control module 60 performs a rollback operation on the image sharing data after acquiring the image sharing data from the media storage module 40; When the pressure sensor 80 senses that the position where the screen pressure at the receiving end occurs is on the second side of the screen opposite to the first side, this embodiment takes the right side as an example, and the screen pressure feedback module 90 will The information is sent to the image sharing control module 60, and the image sharing control module 60 acquires the image sharing data from the media storage module 40 and performs a fast forward operation on the image sharing data
  • the pressure sensor 80 is used to monitor the pressure of the pressure and send the information of the pressure to the image sharing control module 60, the image sharing control module 60 according to the received pressure
  • the pressure information adjusts the retreat speed.
  • the image sharing application 50 first determines whether the current playback position retreats to the position where the buffer of the media storage module 40 starts. If it is, the pressure sensor 80 no longer works and the pressing fails , Play from the beginning of the cache, and prompt the user; if not, the pressure sensor 80 further determines whether the user stops pressing, if the user stops pressing, the image sharing control module 60 stops the back operation and plays the current time If the user does not stop pressing, the pressure sensor 80 continues to monitor the pressure of the pressing.
  • the pressure sensor 80 is used to monitor the pressure of the pressure and send the information of the pressure to the image sharing control module 60, the image sharing control module 60 according to the received pressure
  • the information of the pressure magnitude adjusts the fast forward speed.
  • the image sharing application 50 first determines whether the image sharing data is being played in real time; if it is, the pressure sensor 80 no longer works, the pressing fails, and the image sharing data continues to be played in real time; if not, Then, the pressure sensor 80 starts to monitor the pressure of the pressure, and sends the information of the pressure of the pressure to the image sharing control module 60, and the image sharing control module 60 adjusts the fast forward according to the information of the pressure of the received pressure Speed, the image sharing application 50 determines whether to fast-forward to the position where the buffer of the media storage module 40 ends, if it is, the pressure sensor 80 no longer works, the pressing fails, and the image sharing data continues to be played in real time, if not, then The pressure sensor 80 further determines whether the user stops pressing. If the user stops pressing,
  • the image shared data received by the data transceiving module 10 is displayed on the source side as a horizontal screen, or the image shared data received by the data transceiving module 10 is on the source side
  • the displayed image is a vertical screen
  • the image sharing display mode set by the user through the image sharing application 50 is not consistent with the source side, the image processing module 30 does not work, and the codec module 20
  • the decoded image sharing data is sent to the image sharing control module 60 and the media storage module 40, and the image sharing control module 60 controls the media
  • the playback module 70 plays the decoded image sharing data, and the media storage module 40 caches the decoded image sharing data.
  • the user when the image on the source side is a vertical screen, the user can select an image sharing mode on the receiving side that is consistent with the horizontal and vertical screens on the source side.
  • the image displayed on the receiving side will not produce black borders.
  • the user experience is improved, and the user can rewind or fast forward the image sharing content at the receiving end, enriching the image sharing function.
  • An image sharing control terminal in an embodiment of the present disclosure includes a memory and a processor.
  • the memory stores a computer program for image sharing control.
  • the processor executes the computer program to implement the steps of the method described above.
  • a computer-readable storage medium in an embodiment of the present disclosure stores a computer program for image sharing control, and the computer program may be executed by at least one processor to implement the steps of the method described above.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Examples of computer-readable media include the following: electrical connections (electronic devices) with one or more wires, portable computer cartridges (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other appropriate if necessary Process to obtain the program electronically and then store it in computer memory.
  • the shared data when the display mode of the shared data received by the receiving end is inconsistent with the preset display mode, the shared data will be displayed according to the preset display mode, thereby ensuring that What display mode is the image on the source side, and the image displayed on the receiving side is always a fixed display mode to improve the user experience.
  • the image sharing control method has the following advantages: when the display mode of the shared data received by the receiving end is inconsistent with the preset display mode, the shared data is displayed according to the preset display mode, thereby Ensure that regardless of the display mode of the image on the source side, that is, whether the image on the source side is horizontal or vertical, the image displayed on the receiving side is always in a fixed display mode to improve the user experience.

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)
  • Information Transfer Between Computers (AREA)

Abstract

一种图像共享的控制方法、装置、终端及存储介质,所述控制方法包括:接收源端发送的共享数据,确定所述共享数据的显示模式;判断所述共享数据的显示模式与预设的显示模式是否一致;当确定所判断的结果不一致时,对所述共享数据按照预设的显示模式进行显示。

Description

图像共享的控制方法、装置、终端及存储介质
本公开要求享有2018年12月05日提交的名称为“图像共享的控制方法及装置”的中国专利申请CN201811481725.1的优先权,其全部内容通过引用并入本文中。
技术领域
本公开涉及计算机数据共享技术领域,特别是涉及一种图像共享的控制方法、装置、终端及存储介质。
背景技术
WIFI Display标准由WIFI无线产业联盟制定,通过该技术可简化设备发现和无线设置,手机/移动PC-电视/显示器将可以实现无线连接,实现设备间高速传输视频。源端和接收端在相互连接后,接收端同步显示和输出源端的屏幕影像和声音,源端的所有内容均可共享,这样的应用模式大大地方便了内容分享。
但由于WIFI Display标准最初是为横屏的显示设备设计,比如电脑显示器,电视等,因此,在图像共享的过程中,当源端的图像为竖屏时,接收端接收到的图像共享显示的图像非常小,请参阅图7,当源端的图像为竖屏时,接收端显示的图像实际包括有效显示图像和两边的黑色背景,导致用户体验差。
发明内容
本公开旨在至少解决一些情况中存在的技术问题之一。为此,本公开的一个目的在于提出一种用户体验好的图像共享的控制方法。
根据本公开实施例的图像共享的控制方法,包括:接收源端发送的共享数据,确定所述共享数据的显示模式;判断所述共享数据的显示模式与预设的显示模式是否一致;当确定所判断的结果不一致时,对所述共享数据按照预设的显示模式进行显示。
本公开的另一个目的在于提出一种用户体验好的图像共享的控制装置。
根据本公开实施例的图像共享的控制装置,包括:收发模块,用于接收源端发送的共享数据,确定所述共享数据的显示模式;判断模块,用于判断所述共享数据的显示模式与预设的显示模式是否一致;显示模块,用于在所述判断模块判断到所述共享数据的显示模式与预设的显示模式不一致时,对所述共享数据按照预设的显示模式进行显示。
为解决上述技术问题,本公开实施例中的一种图像共享的控制终端,包括存储器和处理器,所述存储器存储图像共享的控制的计算机程序,所述处理器执行所述计算机程序以实现 如上所述方法的步骤。
为解决上述技术问题,本公开实施例中的一种计算机可读存储介质,存储有图像共享的控制的计算机程序,所述计算机程序可被至少一个处理器执行,以实现如上所述方法的步骤。
本公开的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。
附图说明
本公开的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:
图1是根据本公开一实施例的图像共享的控制方法的流程图;
图2是根据本公开实施例的对缓存的图像共享数据进行回退或快进操作的网络图流程图;
图3是根据本公开另一实施例的图像共享的控制方法的流程图;
图4是根据本公开实施例图像处理的流程图;
图5是根据本公开一实施例的图像共享的控制装置的结构示意图;
图6是根据本公开另一实施例的图像共享的控制装置的结构示意图;
图7是一些情况中当源端的图像为竖屏时图像共享的示意图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能理解为对本公开的限制。
在本公开的描述中,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本公开而不是要求本公开必须以特定的方位构造和操作,因此不能理解为对本公开的限制。
请参阅图1,本公开实施例的图像共享的控制方法,至少包括以下步骤:S101,接收源端发送的共享数据,确定所述共享数据的显示模式;S102,判断所述共享数据的显示模式与预设的显示模式是否一致;S103,当确定所判断的结果不一致时,对所述共享数据按照预设的显示模式进行显示。
根据本实施例的图像共享的控制方法,当接收端接收到的共享数据的显示模式与预设的显示模式不一致时,会对对共享数据按照预设的显示模式进行显示,从而保证不管源端的图像是何种显示模式,即不管源端的图像是横屏还是竖屏,接收端显示的图像始终为固定的显 示模式,提升用户体验。
其中,步骤S103中,当确定所判断的结果不一致时,对所述共享数据按照预设的显示模式进行显示的步骤为:当确定所判断的结果不一致时,根据所述预设的显示模式中的背景调整方式、有效屏幕画面显示方式以及分辨率对所接收的共享数据确定进行图像处理并进行显示。例如包括:去除源端图像中黑色背景、保留有效屏幕画面及按照本地设置调整分辨率等图像处理步骤。
此外,根据本公开的一个示例,步骤S103之后,该图像共享的控制方法还包括:播放并缓存所述图像共享数据;
请参阅图2,根据本公开的一个示例,所述播放并缓存所述图像共享数据的步骤之后,所述控制方法还包括:检测用户在接收端的屏幕进行按压操作时的按压位置;当检测到所述按压位置在所述屏幕的第一侧边时,对所述共享数据进行回退操作;当检测到所述按压位置在所述屏幕与所述第一侧边相对的第二侧边时,对所述共享数据进行快进操作。
其中,所述对缓存的图像共享数据进行回退操作的步骤包括:检测所述用户在所述第一侧边进行按压的压力大小,并根据检测到的所述压力大小调整所述回退操作的回退速度;判断当前的播放位置是否回退到缓存开始的位置;若是,则判断此次按压操作失效,从缓存最开始的地方播放;若否,则进一步判断用户是否停止所述按压操作,若用户停止所述按压操作,则停止回退,播放当前时刻的图像共享数据;若用户未停止所述按压操作,则继续执行所述检测所述用户在所述第一侧边进行按压的压力大小,并根据检测到的所述压力大小调整所述回退操作的回退速度的步骤。
其中,对所述共享数据进行快进操作的步骤包括:判断是否正在实时播放图像共享数据;若是,则判断此次按压操作失效,继续实时播放图像共享数据;若否,则检测所述用户在所述第二侧边进行按压的压力大小,并根据检测到的所述压力大小调整所述快进操作的快进速度;判断是否快进到缓存结束的位置,若是,则判断此次按压操作失效,继续实时播放图像共享数据,若否,则进一步判断用户是否停止所述按压操作,若用户停止所述按压操作,则停止快进,播放当前时刻的图像共享数据,若用户未停止所述按压操作,则继续执行所述检测所述用户在所述第二侧边进行按压的压力大小,并根据检测到的所述压力大小调整所述快进操作的快进速度的步骤。
根据本公开的一个示例,所述控制方法还包括:当判断到所述共享数据的显示模式与预设的显示模式一致时,直接播放并缓存所述共享数据。
参照下面的描述和附图,将清楚本公开的实施例的这些和其他方面。在这些描述和附图中,公开了本公开的实施例中的一些特定实施方式,来表示实施本公开的实施例的原理的一些方式,但是应当理解,本公开的实施例的范围不受此限制。相反,本公开的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。
请参阅图3,本公开另一实施例的图像共享的控制方法,应用于图像共享的接收端,本实施例提出的控制方法包括:
S201,接收从源端发送的图像共享数据;
在步骤S201之前,首先需建立接收端和源端的互联,可通过WIFI Display或WIFI P2P互联,在接收端和源端之间实现图像共享。
S202,设置图像共享的显示方式;
在步骤S202中,设置图像共享的显示方式包括:设置的图像共享的显示方式为与源端保持横竖屏一致或设置的图像共享的显示方式为不与源端保持横竖屏一致。
S203,对图像共享的数据进行解码;
S204,当所述图像共享数据在所述源端显示的图像为竖屏,且设置的图像共享的显示方式为与源端保持横竖屏一致时,则对解码后的图像共享数据进行图像处理;
请参阅图4,在步骤S204中,所述图像处理包括:去除源端图像中的黑色背景,保留有效的屏幕画面,调整分辨率,保证分辨率与接收端一致。
S205,播放并缓存经图像处理后的图像共享数据,播放过程中对缓存的图像共享数据进行回退或快进操作。
本实施例中,当所述图像共享数据在所述源端显示的图像为横屏,或当所述图像共享数据在所述源端显示的图像为竖屏,且设置的图像共享的显示方式为不与源端保持横竖屏一致时,直接播放并缓存所述图像共享数据。
本实施例中,播放过程中对缓存的图像共享数据进行回退或快进操作采用压力触控的方式实现,包括以下步骤:接收用户对接收端的屏幕的按压操作;判断按压位置;当按压位置为所述屏幕的其中一边时,本实施例中,当按压位置为所述屏幕的左边时,对缓存的图像共享数据进行回退操作,为:根据用户按压的压力大小调整回退速度;判断所述接收端当前的播放位置是否回退到缓存开始的位置;若是,则按压失效,从缓存最开始的地方播放,并提示用户;若否,则进一步判断用户是否停止按压,若用户停止按压,则停止回退,播放当前时刻的图像共享数据;若用户未停止按压,则继续执行所述根据用户按压的压力大小调整回退速度的步骤。
当按压位置为所述屏幕的另一边时,本实施例中,当按压位置为所述屏幕的右边时,对缓存的图像共享数据进行快进操作,为:判断所述接收端是否正在实时播放图像共享数据;若是,则按压失效,继续实时播放图像共享数据;若否,则根据用户按压的压力大小调整快进速度,并判断是否快进到缓存结束的位置,若是,则按压失效,继续实时播放图像共享数据,若否,则进一步判断用户是否停止按压,若用户停止按压,则停止快进,播放当前时刻的图像共享数据,若用户未停止按压,则继续执行所述根据用户按压的压力大小调整快进速度的步骤。
可以理解的,本实施例中所述接收端的屏幕采用压力触控屏。
此外,本公开中,在接收端对图像共享内容进行回退或快进的操作,并不限于使用压力触控的方式,还可以在接收端添加快进、回退按钮,或者通过音量上、下键等实现对图像共享内容进行回退或快进的操作。
基于同于同一发明构思,本公开实施例还提供了一种图像共享的控制装置,请参阅图5,所述控制装置包括:收发模块,用于接收源端发送的共享数据,确定所述共享数据的显示模式;判断模块,用于判断所述共享数据的显示模式与预设的显示模式是否一致;显示模块,用于在所述判断模块判断到所述共享数据的显示模式与预设的显示模式不一致时,对所述共享数据按照预设的显示模式进行显示。
根据本公开的一个示例,所述控制装置进一步包括:检测模块,用于检测用户在接收端的屏幕进行按压操作时的按压位置;回退操作模块,用于当所述检测模块检测到所述按压位置在所述屏幕的第一侧边时,对所述共享数据进行回退操作;根据本公开的一个示例,所述控制装置进一步包括:快进操作模块,用于当所述检测模块检测到所述按压位置在所述屏幕与所述第一侧边相对的第二侧边时,对所述共享数据进行快进操作。
根据本公开的一个示例,所述回退操作模块用于:检测所述第一侧边接收到的压力大小,并根据检测到的所述压力大小调整回退速度。
根据本公开的一个示例,快进操作模块用于:检测所述第二侧边接收到的压力大小,并根据检测到的所述压力大小调整所述快进操作的快进速度。
根据本公开的一个示例,所述显示模块用于当确定所判断的结果不一致时,根据所述预设的显示模式中的背景调整方式、有效屏幕画面显示方式以及分辨率对所接收的共享数据确定进行图像处理并进行显示。
请参阅图6,本公开另一实施例还提供了一种图像共享的控制装置,包括:数据收发模块10,用于接收从源端发送来的图像共享数据,采用RTP和RTSP协议,数据收发模块10对RTP报文进行解析,将其中的负载,即媒体数据发送给编解码模块20,数据收发模块10位于所述控制装置的最底层;编解码模块20,对所述数据收发模块10接收的图像共享数据进行解码;图像处理模块30,接收所述编解码模块20解码后的图像共享数据,并对解码后的图像共享数据进行去除图像中的黑色背景、保留有效屏幕画面、调整分辨率的操作;媒体存储模块40,用于缓存所述编解码模块20解码后的图像共享数据或者所述图像处理模块30图像处理的图像共享数据;图像共享应用50,用于提供图像共享的交互界面,实现用户操作,所述用户操作包括设置图像共享显示方式的操作和回退或快进的操作,所述设置图像共享显示方式包括设置图像共享的显示方式为与源端保持横竖屏一致或设置图像共享的显示方式为不与源端保持横竖屏一致,所述图像共享应用50位于所述控制装置的最顶层;图像共享控制模块60,与所述图像共享应用50交互,用于响应所述图像共享应用50中用户的操作,从所 述媒体存储模块40获取图像共享数据后对图像共享数据进行相应控制;
媒体播放模块70,用于在所述图像共享控制模块60的控制下对图像共享数据进行播放,并为所述图像共享控制的各项控制提供接口,当用户通过所述图像共享应用50发出播放或回退或快进的操作指令时,所述图像共享控制模块60响应用户的相应操作,并从所述媒体存储模块40中获取图像共享数据,对图像共享数据进行相应的播放或回退或快进的操作。
根据本公开的一个示例,所述控制装置进一步包括:压力传感器80,用于感知接收端屏幕压力的发生、位置及大小变化;屏幕压力反馈模块90,用于接收所述压力传感器80感知的数据,并将接收到的数据发送给所述图像共享控制模块60;当所述压力传感器80感知到接收端屏幕压力发生的位置在屏幕的第一侧边时,本实施例以左边为例,所述屏幕压力反馈模块90将该感知信息发送给所述图像共享控制模块60,所述图像共享控制模块60从所述媒体存储模块40获取图像共享数据后对图像共享数据进行回退操作;当所述压力传感器80感知到接收端屏幕压力发生的位置在所述屏幕与所述第一侧边相对的第二侧边时,本实施例以右边为例,所述屏幕压力反馈模块90将该感知信息发送给所述图像共享控制模块60,所述图像共享控制模块60从所述媒体存储模块40获取图像共享数据后对图像共享数据进行快进操作。
根据本公开的一个示例,所述压力传感器80用于监测按压的压力大小,并将按压的压力大小的信息发送至所述图像共享控制模块60,所述图像共享控制模块60根据接收到按压的压力大小的信息调整回退速度,所述图像共享应用50首先判断当前的播放位置是否回退到所述媒体存储模块40缓存开始的位置,若是,则所述压力传感器80不再工作,按压失效,从缓存最开始的地方播放,并提示用户;若否,则所述压力传感器80进一步判断用户是否停止按压,若用户停止按压,则所述图像共享控制模块60停止回退操作,播放当前时刻的图像共享数据;若用户未停止按压,所述压力传感器80继续监测按压的压力大小。
根据本公开的一个示例,所述压力传感器80用于监测按压的压力大小,并将按压的压力大小的信息发送至所述图像共享控制模块60,所述图像共享控制模块60根据接收到按压的压力大小的信息调整快进速度,所述图像共享应用50首先判断是否正在实时播放图像共享数据;若是,则所述压力传感器80不再工作,按压失效,继续实时播放图像共享数据;若否,则所述压力传感器80开始监测按压的压力大小,并将按压的压力大小的信息发送至所述图像共享控制模块60,所述图像共享控制模块60根据接收到按压的压力大小的信息调整快进速度,所述图像共享应用50判断是否快进到所述媒体存储模块40缓存结束的位置,若是,则所述压力传感器80不再工作,按压失效,继续实时播放图像共享数据,若否,则所述压力传感器80进一步判断用户是否停止按压,若用户停止按压,则停止快进,播放当前时刻的图像共享数据,若用户未停止按压,则所述压力传感器80继续监测按压的压力大小。
根据本公开的一个示例,所述数据收发模块10接收到的图像共享数据在所述源端显示的 图像为横屏时,或所述数据收发模块10接收到的图像共享数据在所述源端显示的图像为竖屏,且用户通过所述图像共享应用50设置的图像共享的显示方式为不与源端保持横竖屏一致时,所述图像处理模块30不工作,所述编解码模块20对所述数据收发模块10接收的图像共享数据进行解码后,将解码后的图像共享数据发送至所述图像共享控制模块60和所述媒体存储模块40,所述图像共享控制模块60控制所述媒体播放模块70对解码后的图像共享数据进行播放,所述媒体存储模块40对解码后的图像共享数据进行缓存。
本公开实施例的图像共享的控制装置,当源端的图像为竖屏时,用户可以在接收端选择与源端图像保持横竖屏一致的图像共享方式,接收端显示的图像不会产生黑边,提升用户体验,且用户可以在接收端对图像共享内容就行回退或快进,丰富了图像共享的功能。
本公开实施例中的一种图像共享的控制终端,包括存储器和处理器,所述存储器存储图像共享的控制的计算机程序,所述处理器执行所述计算机程序以实现如上所述方法的步骤。
本公开实施例中的一种计算机可读存储介质,存储有图像共享的控制的计算机程序,所述计算机程序可被至少一个处理器执行,以实现如上所述方法的步骤。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。
计算机可读介质的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的特征、结构、材料或者特点包含于 本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
根据本公开实施例提出的图像共享的控制方法,当接收端接收到的共享数据的显示模式与预设的显示模式不一致时,会对对共享数据按照预设的显示模式进行显示,从而保证不管源端的图像是何种显示模式,接收端显示的图像始终为固定的显示模式,提升用户体验。根据本公开实施例的图像共享的控制方法具有下列优点:当接收端接收到的共享数据的显示模式与预设的显示模式不一致时,会对对共享数据按照预设的显示模式进行显示,从而保证不管源端的图像是何种显示模式,即不管源端的图像是横屏还是竖屏,接收端显示的图像始终为固定的显示模式,提升用户体验。
尽管已经示出和描述了本公开的实施例,本领域的普通技术人员可以理解:在不脱离本公开的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本公开的范围由权利要求及其等同物限定。

Claims (14)

  1. 一种图像共享的控制方法,其中,所述控制方法包括:
    接收源端发送的共享数据,确定所述共享数据的显示模式;
    判断所述共享数据的显示模式与预设的显示模式是否一致;
    当确定所判断的结果不一致时,对所述共享数据按照预设的显示模式进行显示。
  2. 根据权利要求1所述的图像共享的控制方法,其中,所述对所述共享数据按照预设的显示模式进行显示的步骤之后,所述控制方法还包括:
    检测用户在接收端的屏幕进行按压操作时的按压位置;
    当检测到所述按压位置在所述屏幕的第一侧边时,对所述共享数据进行回退操作。
  3. 根据权利要求2所述的图像共享的控制方法,其中,所述检测用户在接收端的屏幕进行按压操作时的按压位置的步骤之后,所述控制方法还包括:
    当检测到所述按压位置在所述屏幕与所述第一侧边相对的第二侧边时,对所述共享数据进行快进操作。
  4. 根据权利要求2所述的图像共享的控制方法,其中,所述对所述共享数据进行回退操作的步骤包括:
    检测所述第一侧边接收到的压力大小,并根据检测到的所述压力大小调整回退速度。
  5. 根据权利要求3所述的图像共享的控制方法,其中,所述对所述共享数据进行快进操作的步骤包括:
    检测所述第二侧边接收到的压力大小,并根据检测到的所述压力大小调整所述快进操作的快进速度。
  6. 根据权利要求1至5任意一项所述的图像共享的控制方法,其中,所述对所述共享数据按照预设的显示模式进行显示的步骤包括:
    根据所述预设的显示模式中的背景调整方式、有效屏幕画面显示方式以及分辨率对所接收的共享数据确定进行图像处理并进行显示。
  7. 一种图像共享的控制装置,其中,包括:
    收发模块,用于接收源端发送的共享数据,确定所述共享数据的显示模式;
    判断模块,用于判断所述共享数据的显示模式与预设的显示模式是否一致;
    显示模块,用于在所述判断模块判断到所述共享数据的显示模式与预设的显示模式不一致时,对所述共享数据按照预设的显示模式进行显示。
  8. 根据权利要求7所述的图像共享的控制装置,其中,所述控制装置进一步包括:
    检测模块,用于检测用户在接收端的屏幕进行按压操作时的按压位置;
    回退操作模块,用于当所述检测模块检测到所述按压位置在所述屏幕的第一侧边时,对所述共享数据进行回退操作。
  9. 根据权利要求8所述的图像共享的控制装置,其中,所述控制装置进一步包括:
    快进操作模块,用于当所述检测模块检测到所述按压位置在所述屏幕与所述第一侧边相对的第二侧边时,对所述共享数据进行快进操作。
  10. 根据权利要求8所述的图像共享的控制装置,其中,所述回退操作模块用于:
    检测所述第一侧边接收到的压力大小,并根据检测到的所述压力大小调整回退速度。
  11. 根据权利要求9所述的图像共享的控制装置,其中,快进操作模块用于:
    检测所述第二侧边接收到的压力大小,并根据检测到的所述压力大小调整所述快进操作的快进速度。
  12. 根据权利要求7至11任意一项所述的图像共享的控制装置,其中,所述显示模块用于当确定所判断的结果不一致时,根据所述预设的显示模式中的背景调整方式、有效屏幕画面显示方式以及分辨率对所接收的共享数据确定进行图像处理并进行显示。
  13. 一种终端,其中,所述终端包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序以实现如权利要求1-6中任意一项所述图像共享的控制方法的步骤。
  14. 一种存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序可被至少一个处理器执行,以实现如权利要求1-6中任意一项所述图像共享的控制方法的步骤。
PCT/CN2019/123300 2018-12-05 2019-12-05 图像共享的控制方法、装置、终端及存储介质 WO2020114456A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811481725.1 2018-12-05
CN201811481725.1A CN111273876A (zh) 2018-12-05 2018-12-05 图像共享的控制方法及装置

Publications (1)

Publication Number Publication Date
WO2020114456A1 true WO2020114456A1 (zh) 2020-06-11

Family

ID=70973568

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123300 WO2020114456A1 (zh) 2018-12-05 2019-12-05 图像共享的控制方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN111273876A (zh)
WO (1) WO2020114456A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130009969A1 (en) * 2011-07-05 2013-01-10 Netanel Goldberg Methods circuits & systems for wireless transmission of a video signal from a computing platform
US20140096164A1 (en) * 2012-09-28 2014-04-03 Marvell World Trade Ltd. Enhanced user experience for miracast devices
CN106095084A (zh) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 投屏方法及装置
CN106210907A (zh) * 2016-08-12 2016-12-07 乐视控股(北京)有限公司 基于屏幕压力感应的文件播放进度调节方法、装置及终端
CN108874341A (zh) * 2018-06-13 2018-11-23 深圳市东向同人科技有限公司 屏幕投影方法及终端设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899620A (zh) * 2015-12-17 2017-06-27 西安中兴新软件有限责任公司 一种数据共享系统
CN108279953B (zh) * 2016-12-30 2021-01-19 法法汽车(中国)有限公司 投屏方法及投屏装置
CN107105184A (zh) * 2017-04-01 2017-08-29 深圳市蓝莓派科技有限公司 一种移动终端在竖屏广告机上的同屏投射方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130009969A1 (en) * 2011-07-05 2013-01-10 Netanel Goldberg Methods circuits & systems for wireless transmission of a video signal from a computing platform
US20140096164A1 (en) * 2012-09-28 2014-04-03 Marvell World Trade Ltd. Enhanced user experience for miracast devices
CN106095084A (zh) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 投屏方法及装置
CN106210907A (zh) * 2016-08-12 2016-12-07 乐视控股(北京)有限公司 基于屏幕压力感应的文件播放进度调节方法、装置及终端
CN108874341A (zh) * 2018-06-13 2018-11-23 深圳市东向同人科技有限公司 屏幕投影方法及终端设备

Also Published As

Publication number Publication date
CN111273876A (zh) 2020-06-12

Similar Documents

Publication Publication Date Title
US9913301B2 (en) Content sharing method and device
US10606544B2 (en) Display apparatus and method for controlling of display apparatus
US10869079B2 (en) Apparatus and control method for displaying content of peripheral device
US10788946B2 (en) Display apparatus, source apparatus, and methods of providing content
US10338689B1 (en) System and method for redirecting content based on gestures
US11656831B2 (en) Implementing wireless displays that handle rotation and/or portrait-first sinks
KR20140111859A (ko) 콘텐트 공유 방법 및 이를 위한 디바이스
US20150145750A1 (en) System and method for image processing, and vehicle electronic device and portable terminal supporting the same
US20150363091A1 (en) Electronic device and method of controlling same
WO2017054142A1 (zh) 获取视频数据的方法、装置、系统及计算机可读存储介质
US20150126121A1 (en) Display apparatus and method of controlling display apparatus
JP6022076B2 (ja) 電子機器および通信制御方法
WO2017088395A1 (zh) 用于多媒体预览的方法、装置、移动终端设备和计算机设备
KR101389807B1 (ko) 미러링과 파일 스트리밍 자동 전환 기능을 갖는 미러링 장치
KR102190888B1 (ko) 디스플레이장치 및 그 제어방법
WO2020114456A1 (zh) 图像共享的控制方法、装置、终端及存储介质
US8996763B2 (en) Electronic device, control method, program, and recording medium for remotely operating electronic device
US10506138B2 (en) Driving displays at cinematic frame rates
CN114615529A (zh) 显示设备、外接设备及音频播放方法
TW201643614A (zh) 切換按鍵功能之方法及具有應用該方法之可攜式裝置之顯示系統
WO2013145699A1 (ja) 画像転送システム、画像転送方法、端末装置、画像送信方法、及び、画像送信プログラムが格納された非一時的なコンピュータ可読媒体
US20130057771A1 (en) Electronic apparatus, control method, and recording medium

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: 19892352

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: 19892352

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19892352

Country of ref document: EP

Kind code of ref document: A1