Patent Description:
With the development of Internet technology, screen projection technology has been widely used. Screen projection refers to projecting media files in a sending end device onto a receiving end device for display. Screen projection is also called multi-screen interaction. For example, a video in a mobile phone can be played on a smart TV, so that users can browse the video in the mobile phone on the smart TV.

In the current screen projection method, a receiving end device is configured with a screen projection code. After learning a screen projection code of the receiving end device, the user enters the screen projection code on the sending end device and selects to start screen projection. At this time, the sending end device will send local media file to the receiving end device, and the receiving end device will play and display the media file.

In practical applications, the screen projection code of the receiving end device has a certain period of validity. When the period of validity expires, the screen projection code will be invalid, and it is necessary to refresh the screen projection code. The user can learn the refreshed screen projection code again, and then enter the screen projection code and select to start the screen projection. It can be seen that the above screen projection method requires complicated manual operation, which leads to poor timeliness of screen projection operation.

Also, in the art are known some methods or devices as described in their respective documents.

For example, <CIT> discloses a method including obtaining preset environment data by a client terminal of a mobile group office platform; and performing, by the client terminal, collaborative processing on a preset office event according to the preset environment data.

<CIT> relates to a mobile terminal for controlling the screen output state of at least one external device outputted on a display device, and a control method therefor, the mobile terminal comprising: a display unit including a first display area and a second display area; a wireless communication unit for transmitting/receiving signals to/from a display device; and a control unit for performing control so as to output, to the first display area, the current screen division state of the at least one external device being outputted on the display device, and to output, to the second display area, at least one screen division option for the at least one external device.

The embodiments of the present application aim to provide a screen projection method, a receiving end device and a sending end device, so as to improve the timeliness of screen projection operation. Specifically, the technical solutions are as follows.

The above-mentioned objectives are solved with the features of independent claims.

Embodiments of the present application provide a screen projection method, a receiving end device and a sending end device. The receiving end device searches for a sending end device by using a preset wireless scanning technology, establishes a wireless connection with the sending end device when the sending end device is found, and the receiving end device acquires a screen projection code and sends the screen projection code to the connected sending end device. After receiving the screen projection code, the connected sending end device displays the screen projection code to prompt a screen projection operation. The receiving end device actively scans and searches for a sending end device wirelessly, and when the sending end device is found , establishes a wireless connection with the sending end device; and once the wireless connection is established, the receiving end device automatically sends a screen projection code to the connected sending end device, and the sending end device may prompt a user to perform a screen projection operation by means of displaying the screen projection code. In this process, there is no need for the user to perform complicated manual operations, the sending end device can automatically acquire the screen projection code and prompt the user to perform the screen projection operation in time, thus improving the timeliness of the screen projection operation.

In order to more clearly describe the technical solutions of the embodiments of the present application or of the prior art, drawings that need to be used in embodiments and the prior art will be briefly described below. Obviously, the drawings provided below are for only some embodiments of the present application; those skilled in the art may also obtain other drawings based on these drawings.

In order to make the objectives, technical solutions, and advantages of the present application clearer and more understandable, the present application will be described in more detail below with reference to the appended drawings and embodiments. Obviously, the described embodiments are only some, and not all, of the embodiments of the present application. All other embodiments obtained based on the embodiments of the present application by those skilled in the art fall into the scope of protection defined by the present application.

In order to improve the timeliness of screen projection operation, the embodiments of the present application provide a screen projection method, a receiving end device and a sending end device. The following first introduces the screen projection method provided by an embodiment of the present application.

The execution subject of a screen projection method provided by an embodiment of the present application may be a screen projection system, which includes a receiving end device (such as a smart TV, a projector, a conference tablet, etc.) for displaying media files and a sending end device (such as a mobile phone, a personal computer, etc.) for requesting screen projection. Firstly, screen projection methods respectively applied to the receiving end device and the sending end device are introduced.

As shown in <FIG>, a screen projection method applied to a receiving end device provided by the present application includes the following steps.

According to the embodiment of the present application, the receiving end device actively scans and searches for a sending end device wirelessly, and when the sending end device is found, it establishes a wireless connection with the sending end device; and once the wireless connection is established, the receiving end device automatically sends a screen projection code to the connected sending end device, and the sending end device may prompt a user to perform a screen projection operation by means of displaying the screen projection code. In this process, there is no need for the user to perform complicated manual operations, the sending end device can automatically acquire the screen projection code and prompt the user to perform the screen projection operation in time, thus improving the timeliness of the screen projection operation.

Wireless scanning technology is a wireless technology for searching devices, including WiFi (Wireless Fidelity) scanning technology, Bluetooth scanning technology, etc. The wireless scanning technology adopted by the receiving end device generally depends on what kind of wireless module is installed on the receiving end device. If the receiving end device is installed with a WiFi module, the WiFi scanning technology may be used to search for the sending end device, and once a sending end device enters a scanning range and its WiFi function is enabled, the receiving end device may scan the sending end device. If the receiving end device is installed with a Bluetooth module, the Bluetooth scanning technology may be used to search for the sending end device, and once a sending end device enters a scanning range and its Bluetooth function is enabled, the receiving end device may scan the sending end device. In one implementation, if the receiving end device is installed with both WiFi module and Bluetooth module, the Bluetooth function will be enabled first, and the Bluetooth scanning technology is used to search for the sending end device.

Optionally, S101 may specifically include: enabling a Bluetooth service, and periodically searching for a sending end device by using a Bluetooth scanning technology.

In an implementation manner of the embodiment of the present application, if the receiving end device is provided with a Bluetooth module, the receiving end device can use the Bluetooth scanning technology to search for a device by enabling the Bluetooth service of the Bluetooth module, and in order to effectively utilize the device resources, the searching may be performed periodically. The embodiment of the present application adopts the classic Bluetooth technology, which is a global standard open for wireless data and voice communication, and is a special short-range wireless technology connection based on low-cost short-range wireless connection to establish a communication environment for fixed and mobile devices.

When the receiving end device finds a sending end device, it means that the sending end device enables the same wireless function as that of the receiving end device, and the distance from the receiving end device is within a certain range, and the receiving end device may actively establish a wireless connection with the sending end device. The specific way of establishing wireless connection may be as follows: the receiving end device sends a request packet to the scanned sending end device, and the request packet carries verification information; after receiving the request packet, the sending end device verifies the verification information, if the verification is passed, it will feed back a response packet allowing connection to the receiving end device; after receiving the response packet, the receiving end device may establish a wireless connection with the sending end device. Screen projection software is installed on the sending end device. Specifically, the screen projection software on the sending end device interacts with the receiving end device to realize wireless connection between the sending end device and the receiving end device.

In an implementation of the embodiment of the present application, the wireless function of the sending end device may be controlled by the screen projection software, that is to say, a sending end device may only be controlled to enable the wireless function by the screen projection software only when the screen projection software is opened. In this way, the sending end device scanned by the receiving end device must have already opened the screen projection software, and the receiving end device can establish a connection with the sending end device directly when the sending end device is found. In another implementation of the embodiment of the present application, the screen projection software installed on the sending end device may also be integrated with a wireless pairing strategy.

S102 specifically includes: sending a request packet to the sending end device when the sending end device is found; receiving a response packet fed back by the sending end device, wherein the response packet carries identification information indicating whether the sending end device has opened a screen projection software; establishing a wireless connection with the sending end device when it is determined that the sending end device has opened the screen projection software based on the identification information.

In an implementation manner of the embodiment of the present application, when the receiving end device searches for a sending end device, it will send a request packet to the sending end device for requesting to establish a wireless connection with the sending end device. After the sending end device performs the above-mentioned verification operation, the screen projection software identifies the status that whether the current screen projection software is opened in the request packet, and it identifies whether the screen projection software has been opened; and when the sending end device feeds back the response packet to the receiving end device, the packet carries the identification information indicating whether the screen projection software has been opened. For example, a designated bit in the response packet may be preset as <NUM>, which means that the sending end device has opened the screen projection software, and if the designated bit ID is <NUM>, it means that the sending end device has not opened the screen projection software. Specifically, the designated bit may be any reserved bit in the response packet based on a specific transmission protocol, and the designated bit identification may be specifically set by a program running in a memory. According to the identification information, the receiving end device may determine whether the sending end device has opened the screen projection software, and establish wireless connection with the sending end device when it is determined that the screen projection software has been opened. If the sending end device does not open the screen projection software, it will not establish a wireless connection with the sending end device, that is, it will not trigger the screen projection operation. In one implementation, if the sending end device does not install the screen projection software, it will not respond to the request packet sent by the receiving end device. After the receiving end device sends the request packet to the sending end device, if it has not received a response packet within a period of time, it may be determined that the sending end device has not installed the screen projection software and will not establish a wireless connection with the sending end device , that is, the screen projection operation will not be triggered.

After the wireless connection between the receiving end device and the sending end device is established, the receiving end device automatically acquires the screen projection code. The screen projection code may be randomly generated locally by the receiving end device or pre-configured by the user on the receiving end device. The receiving end device sends the acquired screen projection code to the connected sending end device. After receiving the screen projection code, the sending end device may display the screen projection code on a local display interface to prompt the user that the screen projection code has been learned and that the user may select to start the screen projection operation. The user may click and select on the interface to trigger the screen projection operation. Of course, the receiving end device may also display the acquired screen projection code on the local display interface, and the user may determine whether the screen projection codes obtained by the receiving end device and the sending end device are the same by viewing the display contents of the two devices, so as to verify whether the communication between the two devices is abnormal. If the screen projection codes displayed by the two devices are different, the communication between the two devices is abnormal.

According to the embodiment shown in <FIG>, an embodiment of the present application provides another screen projection method applied to the receiving end device, as shown in <FIG>, which may include the following steps.

After one screen projection code expires, the receiving end device will update the screen projection code. In order to cope with the change of the screen projection code, the receiving end device may regularly detect whether the screen projection code changes after establishing a wireless connection with the sending end device. The receiving end device acquires the locally recorded screen projection code at certain intervals. If the current screen projection code acquired in a certain period is different from that acquired in the previous period, it means that the current screen projection code has changed. Once it is detected the current screen projection code changes, the changed current screen projection code will be acquired, and then the acquired screen projection code will be sent to the connected sending end device, which ensures that the sending end device may learn the changed screen projection code in real time and reliably, and further ensures the timeliness of the screen projection operation.

Optionally, after S203, the method provided by the embodiment of the present application may also include: if the current screen projection code does not change, return to S201.

If the current screen projection code does not change all the time, that is, the current screen projection codes acquired in several consecutive periods are the same, because the sending end device has already learned the screen projection code, the receiving end device will not repeatedly send the screen projection code to the sending end device, but will circularly execute the above screen projection method until the screen projection code changes, and then send the changed screen projection code to the sending end device.

For ease of understanding, the following describes the screen projection method applied to the receiving end device provided by an embodiment of the present application with reference to specific examples.

Taking the receiving end device as a conference tablet as an example, the conference tablet is a large-screen interactive display device applied to conferences, education and other scenarios. As shown in <FIG>, the screen projection method applied to the conference tablet may include the following steps.

Step <NUM>, enabling a Bluetooth service on the conference tablet.

The conference tablet is provided with a Bluetooth module. Before screen projection, the Bluetooth function of the Bluetooth module in the conference tablet should be enabled first.

Step <NUM>, performing Bluetooth scanning regularly.

After the Bluetooth is enabled, an operating system of the conference tablet will return a message indicating that the Bluetooth is enabled successfully, and after confirming that the Bluetooth is enabled successfully, it will automatically start a scheduled Bluetooth scanning to search for personal computers, mobile phones and other sending end devices for screen projection in a conference room.

Step <NUM>, determining whether a screen projection sending end device is searched, if yes, execute Step <NUM>, otherwise, return to Step <NUM>.

Step <NUM>, determining whether the searched screen projection sending end device has opened a screen projection software, if yes, execute step <NUM>, otherwise, return to Step <NUM>.

Specifically, the conference tablet sends a request packet to the sending end device, and the sending end device feeds back a response packet carrying identification information indicating whether the sending end device has opened a screen projection software, and then the conference tablet determines whether the searched sending end device has opened the screen projection software according to the identification information in the received response packet.

Step <NUM>, actively connecting with the searched screen projection sending end device.

The user enters the conference room with a screen projection sending end device that has opened the screen projection software, and the projection sending end device enables the Bluetooth function, and is within the Bluetooth search range of the conference tablet; in the response packet received by the conference tablet, the identification information indicates that the sending end device has opened the screen projection software, and then the conference tablet directly establishes Bluetooth connection with the screen projection sending end device.

Step <NUM>, detecting whether the current screen projection code changes, if yes, execute Step <NUM>, otherwise, return to execute Step <NUM>.

Step <NUM>, acquiring the current screen projection code.

Step <NUM>, sending the screen projection code to the connected screen projection sending end device.

Step <NUM>, determining whether the sending is successful, if not, return to Step <NUM>.

After the conference tablet establishes a Bluetooth connection with the screen projection sending end device, the conference tablet actively sends the changed screen projection code to the screen projection sending end device. After receiving the screen projection code, the screen projection sending end device will display the received screen projection code in the screen projection software to prompt the user to start the screen projection. If the conference tablet is connected to the screen projection sending end device for the first time, and the conference tablet sends the screen projection code to the screen projection sending end device for the first time, the conference tablet may directly send the screen projection code to the connected screen projection sending end device without determining whether the screen projection code is changed.

The present application also provides a screen projection method applied to a sending end device, as shown in <FIG>, which includes the following steps.

According to the embodiment of the present application, the sending end device actively scans and searches for a receiving end device, and when the receiving end device is found, it establishes a wireless connection with the receiving end device; and after the wireless connection is established, the sending end device will receive the screen projection code sent by the receiving end device, display the received screen projection code, and prompt the user to perform the screen projection operation by displaying the screen projection code. In this process, there is no need for the user to perform complicated manual operations, the sending end device can automatically acquire the screen projection code and prompt the user to perform the screen projection operation in time, thus improving the timeliness of the screen projection operation.

Optionally, S401 may be specifically configured for: enabling a Bluetooth service, and periodically searching for a receiving end device by using a Bluetooth scanning technology.

In an implementation manner of the embodiment of the present application, if the sending end device is provided with a Bluetooth module, the sending end device may search for a device through a Bluetooth scanning technology by enabling the Bluetooth service of the Bluetooth module, and in order to effectively utilize the device resources, the searching operation may be performed periodically.

When the sending end device finds the receiving end device, it means that the receiving end device has enabled the same wireless function as that of the sending end device, and the distance from the sending end device is within a certain range, and the sending end device may actively establish a wireless connection with the receiving end device. The specific process of establishing a wireless connection may be realized by the interaction between the screen projection software installed on the sending end device and the receiving end device.

After the wireless connection between the sending end device and the receiving end device is established, the receiving end device will send the screen projection code to the sending end device. After receiving the screen projection code, the sending end device may display the screen projection code on a local display interface to prompt the user that the screen projection code has been learned and that the user may select to start the screen projection operation. The user may click and select on the interface to trigger the screen projection operation.

Optionally, the sending end device has opened the screen projection software. Correspondingly, S403 may specifically include: receiving the screen projection code sent by the receiving end device; displaying a main interface of the screen projection software, and displaying the screen projection code on the main interface to prompt the screen projection operation.

After receiving the screen projection code sent by the receiving end device, the sending end device may pop up the main interface of the screen projection software, the main interface displays the screen projection code, and the user may see the screen projection code on the main interface of the screen projection software. After sees the screen projection code, the user may determine that the connection between the sending end device and the receiving end device has been established. At this time, the user may click and select on the interface to trigger the screen projection operation.

For ease of understanding, the following describes the screen projection method applied to the sending end device provided by the embodiment of the present application with reference to specific examples.

As shown in <FIG>, the screen projection method applied to the sending end device may include the following steps.

Step <NUM>, enabling a Bluetooth service.

The sending end device is provided with a Bluetooth module. Before screen projection, the Bluetooth function of the Bluetooth module should be enabled first. Specifically, the screen projection software installed on the sending end device may automatically enable the Bluetooth function of the Bluetooth module and set it to a detectable state.

After the Bluetooth is enabled, the sending end device actively and circularly performs Bluetooth scanning to search for a conference tablet.

Step <NUM>, determining whether a conference tablet is searched, if yes, execute Step <NUM>, otherwise, return to execute Step <NUM>.

Step <NUM>: actively connecting to the searched conference tablet via Bluetooth.

When the sending end device finds a conference tablet nearby, it will actively connect to the conference tablet via Bluetooth. The sending end device sends a connection request packet that carries identification information indicating whether the sending end device has opened the screen projection software to the conference tablet, and the conference tablet determines whether the sending end device has opened the screen projection software according to the identification information in the received connection request packet. If the identification information indicates that the sending end device has opened the screen projection software, the sending end device directly establishes Bluetooth connection with the conference tablet.

Step <NUM>, receiving the screen projection code sent by the conference tablet.

After the sending end device establishes a Bluetooth connection with the conference tablet, the conference tablet will send the screen projection code to the sending end device.

Step <NUM>, popping up a main interface of the screen projection software, and displaying the screen projection code to prompt the user to start screen projection.

After successfully receiving the screen projection code, the sending end device will actively pop up the main interface of the screen projection software and display the received screen projection code on the main interface. After the user sees the screen projection code on the main interface, the user may determine that the connection between the sending end device and the receiving end device has been established. At this time, the user may click and select on the interface to trigger the screen projection operation.

Corresponding to the above method embodiment, the present application provides a receiving end device, as shown in <FIG>, which includes a wireless module <NUM> and a transmission module <NUM>,.

Optionally, the wireless module <NUM> is specifically configured for: enabling a Bluetooth service, and periodically searching for the sending end device by using a Bluetooth scanning technology.

The wireless module <NUM> is specifically configured for: sending a request packet to the sending end device when the sending end device is found; receiving a response packet fed back by the sending end device, wherein the response packet carries identification information indicating whether the sending end device has opened a screen projection software; establishing the wireless connection with the sending end device when it is determined that the sending end device has opened the screen projection software based on the identification information.

Optionally, the receiving end device further includes:.

Optionally, the wireless module <NUM> is specifically configured for: when the current screen projection code does not changed, searching for the sending end device by using the preset wireless scanning technology.

According to the embodiment of the present application, the receiving end device actively scans and searches for a sending end device, and when the sending end device is found , it establishes a wireless connection with the sending end device; and once the wireless connection is established, the receiving end device automatically sends a screen projection code to the connected sending end device, and the sending end device may prompt a user to perform a screen projection operation by means of displaying the screen projection code. In this process, there is no need for the user to perform complicated manual operations, the sending end device can automatically acquire the screen projection code and prompt the user to perform the screen projection operation in time, thus improving the timeliness of the screen projection operation.

Based on the embodiment shown in <FIG>, the present application also provides a receiving end device, as shown in <FIG>, which includes a wireless module <NUM>, a transmission module <NUM> and a processing module <NUM>,.

The present application also provides a sending end device, as shown in <FIG>, which includes a wireless module <NUM> and a display screen <NUM>,.

Optionally, the wireless module <NUM> is specifically configured for: enabling a Bluetooth service, and performing periodically searching for the receiving end device by using a Bluetooth scanning technology.

Optionally, the sending end device has opened a screen projection software;
the display screen <NUM> is specifically configured for: receiving the screen projection code sent by the receiving end device; displaying a main interface of the screen projection software, and displaying the screen projection code on the main interface to prompt the screen projection operation.

The wireless module may be a Bluetooth module, a WiFi module, etc., which is not specifically limited in the embodiment of the present application.

As for the embodiments of the receiving end device and the sending end device, the content of the methods involved are basically similar to the above method embodiments, so the description is relatively simple. Please refer to the partial descriptions of the method embodiments for the relevant details.

It should be noted that the relationship terms use here, such as "first", "second" and the like are only to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply that there is actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any variants thereof are intended to cover a non-exclusive inclusion, such that processes, methods, articles, or devices, including a series of elements, include not only those elements that have been listed, but also other elements that have not specifically been listed or the elements intrinsic to these processes, methods, articles, or devices. Without further limitations, elements limited by the wording "comprise(s) a/an. " and "include(s) a/an. " do not exclude additional identical elements in the processes, methods, articles, or devices, including the listed elements.

Claim 1:
A screen projection method, performed by a receiving end device, characterized in that the method comprises:
searching for a sending end device by using a preset wireless scanning technology (S101; S201);
establishing a wireless connection with the sending end device when the sending end device, which has enabled a same wireless function as that of the receiving end device and a distance from the receiving end device being within a certain range, is found (S102; S202); wherein the establishing a wireless connection with the sending end device when the sending end device is found (S102; S202), comprises: sending a request packet to the sending end device when the sending end device is found; receiving a response packet fed back by the sending end device, wherein the response packet carries identification information indicating whether the sending end device has opened a screen projection software; and establishing the wireless connection with the sending end device when it is determined that the sending end device has opened the screen projection software based on the identification information;
acquiring a screen projection code, and sending the screen projection code to the connected sending end device, so that the connected sending end device displays the screen projection code to prompt a screen projection operation (S103).